Jump to content

Need Help HTTPD server wont start


fry2010

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.