Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Can't start jail after reboot

    Scheduled Pinned Locked Moved Virtualization
    2 Posts 1 Posters 2.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      grab3
      last edited by

      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
      
      1 Reply Last reply Reply Quote 0
      • G
        grab3
        last edited by

        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??

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.