Attempts to start or stop apache web service on Server > Services page fail with error

ERROR: PleskFatalException
Unable to make action: Unable to manage service by websrvmng:
websrvmng: No such file ‘/usr/local/etc/rc.d/apache2.sh’:
No such file or directory System error 2: No such file or directory

 

Apache startup script name is specified with the following variable in /etc/psa/psa.conf file:

#apache startup script
HTTPD_SERVICE apache2

Find out what the actual apache startup script file name is, it may be either apache2 or apache2.sh:

# ls /usr/local/etc/rc.d/apache2*
/usr/local/etc/rc.d/apache2

then set the correct value in /etc/psa/psa.conf for HTTPD_SERVICE variable.}