Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
Upgrade or clean install "Could not execute /usr/local/etc/rc.bootup"
« previous
next »
Print
Pages: [
1
]
Author
Topic: Upgrade or clean install "Could not execute /usr/local/etc/rc.bootup" (Read 5586 times)
mxc
Newbie
Posts: 2
Karma: 0
Upgrade or clean install "Could not execute /usr/local/etc/rc.bootup"
«
on:
May 16, 2023, 03:34:08 pm »
Hi there,
Not sure which forum to post this in. But it is this one or the 23.1 forum I think.
We had a opnsense install which we have upgraded for several years. We were promoted to upgraded major versions which we did. When the router rebooted we see the following error on the console "Launching init system ...flock Could not execute /usr/local/etc/rc.bootup no such file or directory." The file does exist.
We then tried a clean install with a restore. The same error. We tried a clean install, ran the wizard and rebooted, same error. We tried install Pather and did a restore. Same error. It seems we are the only ones experiencing this issue. Any help will be appreciated
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Upgrade or clean install "Could not execute /usr/local/etc/rc.bootup"
«
Reply #1 on:
May 16, 2023, 04:44:11 pm »
That's highly unusual. Is the disk ok? USB stick plugged in booting the wrong file system?
Cheers,
Franco
Logged
mxc
Newbie
Posts: 2
Karma: 0
Re: Upgrade or clean install "Could not execute /usr/local/etc/rc.bootup"
«
Reply #2 on:
May 16, 2023, 07:02:01 pm »
Ok so I figured out why I am getting the same error on reinstall. I was only making the changes to the ram version and was not installing it to disk.
The only issue then was the error on upgrade where the upgrade would fail on reboot with the error described. "Launching inti system ...flock. Could not execute /usr/local/etc/rc.bootup". It was strange because the file was there. When I tried running "php /usr/local/etc/rc.boottup" Php could not be found.
Logged
Chiny
Newbie
Posts: 8
Karma: 2
Re: Upgrade or clean install "Could not execute /usr/local/etc/rc.bootup"
«
Reply #3 on:
August 10, 2023, 08:09:16 pm »
I also have this error, rebooting after upgrading from 23.1.11-1 (I think it was) to 23.7 Can I recover from this error somehow ? I hope not a re-install
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Upgrade or clean install "Could not execute /usr/local/etc/rc.bootup"
«
Reply #4 on:
August 10, 2023, 08:41:39 pm »
The error can have many causes (mainly due to some missing PHP package). A screenshot always helps.
But then again partial upgrades are never a good sign as the disk/file system didn't remember the files it just wrote... Remember that our sets are signed and verified
Cheers,
Franco
Logged
Chiny
Newbie
Posts: 8
Karma: 2
Re: Upgrade or clean install "Could not execute /usr/local/etc/rc.bootup"
«
Reply #5 on:
August 10, 2023, 11:54:06 pm »
OK, well not good news. I did a re-install from a USB stick after finding I could import my configuration from the PC SSD, whew. It now boots fine and I've not yet found anything not working. Audits appear happy. Shame to have lost my VnStat numbers but maybe they are there, somewhere, on the USB stick.
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Upgrade or clean install "Could not execute /usr/local/etc/rc.bootup"
«
Reply #6 on:
August 11, 2023, 08:36:07 am »
No, those are not imported as they are somewhere in /var, but the config import only deals with /conf directory content.
Cheers,
Franco
Logged
Chiny
Newbie
Posts: 8
Karma: 2
Re: Upgrade or clean install "Could not execute /usr/local/etc/rc.bootup"
«
Reply #7 on:
August 11, 2023, 09:11:09 am »
OK, a challenge for when I have a moment; rsync my VmStats or somesuch. Thanks for your help.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
Upgrade or clean install "Could not execute /usr/local/etc/rc.bootup"