Product:
Search Type:

[FreeBSD only] I cannot start Web server from Plesk panel, No such file '/usr/local/etc/rc.d/apache2.sh' error appears

Article ID: 3075 
Last Review: Nov,19 2007
APPLIES TO:
  • Plesk 8.1.x for Linux/Unix
  • Plesk 8.2.x 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.


Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields