• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

apache not starting

T

tezhit

Guest
Hi,

We are having problem in starting apache. Apache service is stopped while restarting it from plesk service management.
Now while starting it agin it is showing me some error..

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

please help me out of this problem

Thank you
 
There could be a number of reasons for this.

have a look in in the various files you'll fine in /var/log/httpd/ (e.g. error.log) to see if anything obvious is shown (most "warning"s are not bad. Only actual errors are likely to be problems). Also look in /var/log/messages for anything in there.

Or simply try restaring apache from the command line (e.g. "service httpd restart" if you have red hat/centos type linux) in case something obvious is shown there.

Faris.
 
Thank you so much Faris

I used service httpd restart
and it showed me errors in vhost.conf file. It was comments in file. I removed comments and it worked fine for me.
Now all sites are on.
but I cannot understand why changes from vhost.conf file was not applying earlier.
I restarted apache server before this also from control panel.
 
Confusing things like this can happen from time to time. There is almost always a rational explanation but it is often hard to figure out :)
 
actually.....I think I may know.

Restarting Apache (from anywhere) does not make it look at the vhosts files. You need to use websrvmngr -u -a to do this (then restart apache).

However, if you add a new domain, or do certain other things then this command gets run by Plesk itself. So that may be why you didn't see the problem until now.

Faris.
 
Back
Top