• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved cgi_wrapper cannot be accessed (No such file)

Fran1

New Pleskian
Hi, I have a really big problem in my server and I have no idea how to solve it. Hope you guys can help me.

I don't know why, but PHP has been updated from 5.3 to 5.4 and all my domains stopped working.

Now, when I try to start apache
$ /etc/init.d/httpd start

I get this error:

Starting httpd: Syntax error on line 85 of /etc/httpd/conf/plesk.conf.d/ip_default/myDomain.org.conf:
Wrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be accessed: (2)No such file or directory

Trying to solve the problem, I have downgraded php to 5.3 again but I get the same error.

Googling I found a fix to this problem executing this:

$ ln -s /usr/bin/php-cgi /var/www/cgi-bin/cgi_wrapper/cgi_wrapper

Solved the previous error but my domains still not working and this log reveals a new problem:

$ less /etc/httpd/logs/error_log
uid: (10009/webserver) gid: (503/503) cmd: cgi_wrapper
cannot stat program: (cgi_wrapper)

Could anyone help me? How can I solve this problem?
Thank you
 
Hello IgorG

I did exec
# plesk bin repair --restore-vhosts-permissions
# plesk bin repair --update-vhosts-structure

but domains still not working "Internal Server Error appears when try the reach the websites"

thanks by advance
 
Back
Top