• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Newbie Question : Cannot Start WebServer Services

F

fire692

Guest
Hi There,

We recently had Plesk 7.5.2 installed by SW-Soft on a Linux machine. We can access the admin control panel but noticed cannot start WebServices (error message is below), thus
nothing is resolving via http.

I'm pretty sure that Apache is not running and that port 80 and 443 are closed.

I have root access to the machine but I have asked the hosting
to open the ports (I am a Linux Ultra Novice) so that I can try to start httpd.

Am I on the right track here? Any help or direction is appreciated.


<<<
Unable to make action: Unable to manage service by websrvmng: websrvmng: Service httpd failed to restart

--------------------------------------------------------------------------------

0: /usr/local/psa/admin/htdocs/server/restart_services.php:19 psaerror(string "Unable to make action: Unable to manage service by websrvmng: websrvmng: Service httpd failed to restart")
>>>

Thanks,
Scott Mehaffey
 
try starting apache by being user root

command = /usr/local/psa/rc.d/httpd start

failing this

/usr/local/psa/rc.d/psa stop
/usr/local/psa/rc.d/psa start

this will restart all services.

if you have an error, post that here.....

also check /usr/local/psa/apache/log/error_log this may give you some indication as to what is going on.

Cheers
 
Thanks for the reply.

I don't seem to have a "rc.d" directory below psa.

I will keep looking.
 
sorry.

The directory structure must be different for linux users

try
/usr/local/etc/rc.d/
 
Hi etan,

Again I am seeing no such directory in the folder you've suggested.

I am also not seeing any reference to Apache in any like folder so I think thinking that I need to confirm that Apache is installed and running first (I know ...duh!)

Thank you for the help.

SM

<<<<<Edit by Fire692>>>>> March 12, 2005

Our issue was solved by confirming that Apache services were not set to run on boot and OS start up. Our issue was solved once we reconfigured Apache through the help of the hosting provider.

Thanks to all..

Scott
 
This error popped up unexpectedly

I am also getting this error:

Unable to make action: Unable to manage service by websrvmng: websrvmng: Service httpd failed to restart: Operation not permitted
> 0: /usr/local/psa/admin/htdocs/server/restart_services.php:2 psaerror(string "Unable to make action: Unable to manage service by websrvmng: websrvmng: Service httpd failed to restart: Operation not permitted")

I've made no changes to the server which was running with no probs. Well mostly no probs. We have to restart the webserver quite often because of load problems, but that is another story.


I'm unable to Stop or Start the web server as suggested in this and the other threads.

I've checked to make sure the old httpd.pid file is not there (and its not).

Here is my error log.
----------------------------------------------------------
websrvmng: Service httpd failed to status: No such file or directory
spammng: PID file exists but process (pid 702) is not running.
websrvmng: Service httpd failed to restart: Operation not permitted
Processing config directory: /usr/local/psa/admin/conf/httpsd.*.include

[Fri Mar 11 12:00:43 2005] [warn] pid file /usr/local/psa/admin/logs/httpsd.pid overwritten -- Unclean shutdown of previous Apac
he run?
[Fri Mar 11 12:00:43 2005] [notice] Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7a PHP/4.3.10 configured -- resuming normal
operations
[Fri Mar 11 12:00:43 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
websrvmng: Service httpd failed to status: No such process
websrvmng: Service httpd failed to restart: Operation not permitted
websrvmng: Service httpd failed to status: No such process
websrvmng: Service httpd failed to restart: Operation not permitted
Processing config directory: /usr/local/psa/admin/conf/httpsd.*.include
[Sat Mar 12 22:44:29 2005] [warn] pid file /usr/local/psa/admin/logs/httpsd.pid overwritten -- Unclean shutdown of previous Apac
he run?
[Sat Mar 12 22:44:29 2005] [notice] Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7a PHP/4.3.10 configured -- resuming normal
operations
[Sat Mar 12 22:44:29 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
websrvmng: Service httpd failed to status: No such process
websrvmng: Service httpd failed to restart: Operation not permitted
-------------------------------------------------------

Like I said, this problem just occurred out of the blue. Any suggestions?
 
Apache cannot start

I had the same problem... The problem was that the host name was not registered correctly in /etc/hosts.

Just open etc/hosts and edit it to reflect your real host name / Server IP.

I have done that and was able to start Apache normally through the PSA.

Antoine
 
Back
Top