Article ID: 3075, created on Nov 15, 2007, last review on May 8, 2014

  • Applies to:
  • Plesk 8.2 for Linux/Unix
  • Plesk 8.1 for Linux/Unix

Symptoms

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




Resolution

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.

5dd10e4b1e2dd7a2aa8a50c580dd41a2 583c136e45a1f548d12213fea9b7833d b8ef5052d936e902043e41759118114e 29d1e90fd304f01e6420fbe60f66f838 a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF