fry2010 Posted October 2, 2011 Share Posted October 2, 2011 Hi, I have vps solution using parralells plesk control panel. All services are running, except httpd service will not start and it gives no errors. It simply states: failed. I have checked the httpd error files and get this: error_log.txt = [sun Oct 02 04:10:57 2011] [notice] Digest: generating secret for digest authentication ... [sun Oct 02 04:10:57 2011] [notice] Digest: done [sun Oct 02 04:10:58 2011] [notice] mod_python: Creating 4 session mutexes based on 10 max processes and 0 max threads. [sun Oct 02 15:42:03 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) error_log.1.txt = [sun Oct 02 04:10:57 2011] [notice] SIGHUP received. Attempting to restart WARNING: MaxClients of 256 exceeds ServerLimit value of 10 servers, lowering MaxClients to 10. To increase, please see the ServerLimit directive. I have then looked into the conf.d/swtune.conf file since that seems to be where the max client problem is occuring and changed the values to this: <IfModule prefork.c> StartServers 1 MinSpareServers 1 MaxSpareServers 5 ServerLimit 255 MaxClients 255 MaxRequestsPerChild 4000 </IfModule> There is also a worker.c mod but I have not changed that. It looks like: <IfModule worker.c> StartServers 1 MaxClients 10 MinSpareThreads 1 MaxSpareThreads 4 ThreadsPerChild 25 MaxRequestsPerChild 0 </IfModule> Btw I only made this change AFTER the problem occured. Quote Link to comment Share on other sites More sharing options...
cags Posted October 3, 2011 Share Posted October 3, 2011 Probably a stupid question, but how are you attempting to start the server? If you are ssh'd in, are you running it as root (or using sudo). I can't remember whether you get an actual error message with invalid permissions or not. Quote Link to comment Share on other sites More sharing options...
fry2010 Posted October 3, 2011 Author Share Posted October 3, 2011 Thanks cags, yes I was ssh as root, but I found the problem now. I had mod_ssl set to on in two config files that seemed to cause a conflict. I should have updated this thread, but forgot. Quote Link to comment Share on other sites More sharing options...
cags Posted October 3, 2011 Share Posted October 3, 2011 Ahh, all good, at least you solved it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.