The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Apache down

Discussion in 'EasyApache' started by Secret Agent, Jun 29, 2005.

  1. Secret Agent

    Secret Agent Guest

    Can't get apache to work:

    Logs:

    [Wed Jun 29 12:39:37 2005] [error] mod_ssl: Child could not open SSLMutex lockfile /usr/local/apache/logs/ssl_mutex.30768 (System error follows)
    [Wed Jun 29 12:39:37 2005] [error] System: Permission denied (errno: 13)


    it shows the above repeatedly in the logs

    Ran:
    /scripts/easyapache (#8)
    /scripts/updatenow
    /scripts/upcp --force

    service httpd stop
    service httpd startssl

    httpd configtest
    syntax ok

    This thread had no fix
    http://forums.cpanel.net/showthread.php?t=40337&highlight=SSLMutex+lockfile
     
  2. dave9000

    dave9000 Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    891
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    arkansas
    cPanel Access Level:
    Root Administrator
    ssh into the box and check the permissions on that file

    ownership should be nobody:root

    and perms should be 0600
     
  3. Secret Agent

    Secret Agent Guest

    Code:
    -rw-------   1 nobody root      0 Jun 29 14:27 ssl_mutex.1100
    -rw-------   1 nobody root      0 Jun 29 15:42 ssl_mutex.11303
    -rw-------   1 nobody root      0 Jun 29 15:05 ssl_mutex.14636
    -rw-------   1 nobody root      0 Jun 29 13:03 ssl_mutex.15311
    -rw-------   1 nobody root      0 Jun 13 11:31 ssl_mutex.17803
    -rw-------   1 nobody root      0 Jun 29 13:31 ssl_mutex.19213
    -rw-------   1 nobody root      0 Jun 29 16:56 ssl_mutex.19864
    -rw-------   1 nobody root      0 Jun 29 16:57 ssl_mutex.21054
    -rw-------   1 nobody root      0 Jun 13 11:19 ssl_mutex.22065
    -rw-------   1 nobody root      0 Jun 29 15:14 ssl_mutex.22499
    -rw-------   1 nobody root      0 Jun 29 13:22 ssl_mutex.23561
    -rw-------   1 nobody root      0 Jun 29 18:00 ssl_mutex.23593
    -rw-------   1 nobody root      0 Jun 29 13:50 ssl_mutex.24684
    -rw-------   1 nobody root      0 Jun 29 12:36 ssl_mutex.24811
    -rw-------   1 nobody root      0 Jun 29 14:09 ssl_mutex.25120
    -rw-------   1 nobody root      0 Jun 20 14:02 ssl_mutex.26091
    -rw-------   1 nobody root      0 Jun 22 10:46 ssl_mutex.27418
    -rw-------   1 nobody root      0 Jun 29 17:43 ssl_mutex.27484
    -rw-------   1 nobody root      0 Jun 29 16:53 ssl_mutex.27812
    -rw-------   1 nobody root      0 Jun 29 16:10 ssl_mutex.27933
    -rw-------   1 nobody root      0 Jun 29 12:54 ssl_mutex.28158
    -rw-------   1 nobody root      0 Jun 29 15:24 ssl_mutex.28344
    -rw-------   1 nobody root      0 Jun 29 16:29 ssl_mutex.28423
    -rw-------   1 nobody root      0 Jun 22 10:51 ssl_mutex.29797
    -rw-------   1 nobody root      0 Jun 29 13:59 ssl_mutex.30370
    -rw-------   1 nobody root      0 Jun 29 12:35 ssl_mutex.32671
    -rw-------   1 nobody root      0 Jun 29 17:50 ssl_mutex.3575
    -rw-------   1 nobody root      0 Jun 29 13:13 ssl_mutex.4828
    -rw-------   1 nobody root      0 Jun 29 17:30 ssl_mutex.5034
    -rw-------   1 nobody root      0 Jun 29 16:47 ssl_mutex.8008
    
     
  4. Secret Agent

    Secret Agent Guest

    Strange...update apache in WHM shows this

    httpd has failed, please contact the sysadmin.


    Yet httpd configtest shows syntax ok
     
  5. Secret Agent

    Secret Agent Guest

    Another thing I noticed after updating apache a few times,
    it always takes a very long delay after this piece

    root 3447 0.6 0.5 44008 5396 ? S 18:16 0:00 /usr/local/apache/bin/httpd -DSSL


    to show this

    httpd has failed, please contact the sysadmin.
     
  6. Secret Agent

    Secret Agent Guest

    I commented mod_ssl (addon modules) in httpd.conf

    How do I know correct the problem?
     
  7. nudist

    nudist Registered

    Joined:
    May 6, 2005
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    /usr/local/apache/bin/httpd -t
     
  8. gpreston

    gpreston Well-Known Member

    Joined:
    Jan 31, 2004
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    West Chester, PA
    Last time this happened to me, our disk was full. Do a 'df -k' and make sure none of your partitions are at 100% while you are at it.
     
Loading...

Share This Page