• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

websrvmng not restarting apache gracefully

JP Kelly

Regular Pleskian
I am using WHMCS to create new domains in Plesk 10. When the domain is created via a php page form submission, the resulting page returns a "Server cannot be found" error. This seems to be because websrvmng is not gracefully restarting apache. Apache goes down for a brief amount of time and the response page for the domain creation script does not show up because Apache is down. This was not an issue in Plesk 8.6.

As a workaround I have disabled websrvmng because the domain creation script still modifies the Apache .conf files correctly, only Apache needs to be restarted manually. For me this is a better scenario than having my new clients be presented with a "server cannot be found" error.
 
Ok c'mon guys

This is really starting to become an issue!
Can someone from Parallels please acknowledge that this is something they are looking at?
 
Found a Fix on WHMCS forum

Someone posted this on the WHMCS forum and it worked for me.

I researched the purpose of websrvmng and it seems that it is only to give plesk the ability to call the httpd init script for start/stop/graceful/reload/and status.

Since the problem is that Plesk misues it to do hard restart s when we don't want hard restarts, I have replaced this with something that can only do graceful

So, replace your websrvmng with a perl script like this...

#!/usr/bin/perl
system("/etc/init.d/httpd graceful");

And of course chmod to 755 same persmissions and mode as previous websrvmng
 
I had the same issue, we ended up running whmcs under lighttpd - but that brought in some SSL conflicts
 
After upgrading to 10.3.1 apache restart is very slow and API with WHMCS is broken again.
Any ideas?
 
Back
Top