Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Apache Won't Start

Discussion in 'EasyApache' started by grayloon, Oct 31, 2007.

  1. grayloon

    grayloon Well-Known Member

    Joined:
    Oct 31, 2007
    Messages:
    109
    Likes Received:
    3
    Trophy Points:
    68
    Location:
    Evansville, IN
    cPanel Access Level:
    Root Administrator
    Twitter:
    Anyone know how to diagnose this issue?


    Code:
    [root@138973-web1 logs]# /usr/local/apache/bin/apachectl status
    
    Looking up localhost
    Making HTTP connection to localhost
    Alert!: Unable to connect to remote host.
    
    lynx: Can't access startfile http://localhost/whm-server-status

    Here's the error_log output when I try to restart apache via cPanel:
    Code:
    [Wed Oct 31 17:09:43 2007] [info] mod_unique_id: using ip addr 192.168.1.163
    [Wed Oct 31 17:09:44 2007] [info] Init: Initializing OpenSSL library
    [Wed Oct 31 17:09:44 2007] [info] Init: Seeding PRNG with 136 bytes of entropy
    [Wed Oct 31 17:09:44 2007] [info] Init: Generating temporary RSA private keys (512/1024 bits)
    [Wed Oct 31 17:09:44 2007] [info] Init: Generating temporary DH parameters (512/1024 bits)
    [Wed Oct 31 17:09:44 2007] [info] Init: Initializing (virtual) servers for SSL
    [Wed Oct 31 17:09:44 2007] [info] mod_ssl/2.0.61 compiled against Server: Apache/2.0.61, Library: OpenSSL/0.9.7a
    [Wed Oct 31 17:09:44 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Wed Oct 31 17:09:44 2007] [notice] ModSecurity for Apache 2.1.3 configured
    [Wed Oct 31 17:09:44 2007] [info] mod_unique_id: using ip addr 192.168.1.163
    [Wed Oct 31 17:09:44 2007] [info] Init: Initializing OpenSSL library
    [Wed Oct 31 17:09:44 2007] [info] Init: Seeding PRNG with 136 bytes of entropy
    [Wed Oct 31 17:09:44 2007] [info] Init: Generating temporary RSA private keys (512/1024 bits)
    [Wed Oct 31 17:09:45 2007] [info] Init: Generating temporary DH parameters (512/1024 bits)
    [Wed Oct 31 17:09:45 2007] [info] Init: Initializing (virtual) servers for SSL
    [Wed Oct 31 17:09:45 2007] [info] mod_ssl/2.0.61 compiled against Server: Apache/2.0.61, Library: OpenSSL/0.9.7a
    [Wed Oct 31 17:09:45 2007] [emerg] (28)No space left on device: Couldn't create accept lock
    
    here's the output of df -h:
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda5 265G 83G 170G 33% /
    /dev/sda1 99M 12M 82M 13% /boot
    none 2.0G 0 2.0G 0% /dev/shm
    /dev/sda2 2.0G 265M 1.7G 14% /tmp
    /tmp 2.0G 265M 1.7G 14% /tmp
     
  2. sarhosting

    sarhosting Well-Known Member

    Joined:
    Oct 1, 2007
    Messages:
    164
    Likes Received:
    2
    Trophy Points:
    68
    Location:
    United States
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi there,

    I had this problem a few days ago - httpd - kept on dropping off as the load was peaking to around 5 - I simply suspended the necessary websites and then started httpd via SSH

    You could try:

    stop httpd

    start httpd

    PM me if you require any more information.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. grayloon

    grayloon Well-Known Member

    Joined:
    Oct 31, 2007
    Messages:
    109
    Likes Received:
    3
    Trophy Points:
    68
    Location:
    Evansville, IN
    cPanel Access Level:
    Root Administrator
    Twitter:
    This seemed to fix it:
    Code:
    ipcs -s | grep nobody | perl -e 'while (<STDIN>) { @a=split(/\s+/); print `ipcrm sem $a[1]`}'
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice