Can't start jail after reboot
-
hi! created jail with jailctl based on jail template where i've hosted some web applications. But after reboot of pfsense i cannot start my jail with webface nor with #jailctl start myjail in console. It returns next few sentences:
[: =: unexpected operator [: =: unexpected operator [: =: unexpected operator Starting jail benkevich.ru... jail: execv: /bin/sh: No such file or directory jexec: Cannot identify jail. [/code] What i've done before reboot of pfsense is installed apache22, installed mysql50, compiled php(latest from php.net) and installed bash. The only change to the system itself i've made is probably replacing shell for root to bash in master.passwd of jailed system. Could that be a reason? thanks for help Anton
-
Ok, figured out, but still don't know how to fix it. ???
My jail's bin sbin lib are empty. Seems like symlinks from template were not restored after reboot, so jail cannot start. Is there any command to rebuild symlinks??
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.