Error when enabling chroot: execv("/bin/bash") failed, system error: Permission denied

Created:

2017-01-17 00:18:54 UTC

Modified:

2017-08-08 13:41:24 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Error when enabling chroot: execv("/bin/bash") failed, system error: Permission denied

Applicable to:

  • Plesk Onyx for Linux

Symptoms

  • When trying to enable /bin/bash (chrooted) at Domains > example.com > Web Hosting Access > Access to the server over SSH , the following error is shown:

    execv("/bin/bash") failed
    system error: Permission denied
  • If enable debug logging in Plesk, no errors are shown in the /var/log/plesk/panel.log .

  • The solution from the knowledge base article does not help.

  • plesk repair fs command also does not resolve the issue.

Cause

A partition which contains /var/www directory is mounted with the noexec option.

Resolution

Remount a partition which contains /var/www directory without the noexec option.

Have more questions? Submit a request
Please sign in to leave a comment.