Unable to start apache: /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be accessed: (2)No such file or directory

Created:

2016-11-16 13:21:29 UTC

Modified:

2017-08-16 16:06:36 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to start apache: /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be accessed: (2)No such file or directory

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 11.x for Linux

Symptoms

Unable to start Apache due to the error:

Syntax error on line 34 of /etc/apache2/plesk.conf.d/horde.conf: Wrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be accessed: (2)No such file or directory

Cause

The file /var/www/cgi-bin/cgi_wrapper/cgi_wrapper does not exist on the server.

Resolution

Reinstall psa-php5-configurator package.

In example below psa-php5-configurator package was reinstalled for Plesk 11.5 x64 for Ubuntu 12.04:

  1. Download psa-php5-configurator package:

    # wget http://autoinstall.plesk.com/PSA_11.5.30/dist-deb-Ubuntu-12.04-x86_64/opt/php5/psa-php5-configurator_1.6.3-ubuntu12.04.build115130724.18_amd64.deb
  2. Reinstall it with command below:

    # dpkg -i psa-php5-configurator_1.6.3-ubuntu12.04.build115130724.18_amd64.deb

The following example is for Plesk 12.5 x64 for CentOS 5.

# rpm -Uvh http://autoinstall.plesk.com/PSA_12.5.30/dist-rpm-CentOS-5-x86_64/opt/php5/psa-php5-configurator-1.7.0-cos5.build1205150820.19.x86_64.rpm
Have more questions? Submit a request
Please sign in to leave a comment.