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 Failed ! mod_ssl Cannot open SSLSessionCache DBM file logs/ssl_scache

Discussion in 'EasyApache' started by vishal, May 6, 2003.

  1. vishal

    vishal Well-Known Member

    Joined:
    Jan 28, 2003
    Messages:
    340
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    Hello,

    WHM 6.2.0
    Cpanel 6.4.0-S16
    RedHat 7.3
    Apache Core 1.3.27
    mod_log_bytes 1.2
    mod_bwlimited 1.0
    PHP 4.3.1
    FrontPage 5.0.2.2510
    mod_ssl 2.8.12
    OpenSSL 0.9.6b

    Apache Failed last night due to :(

    [Tue May 6 01:19:21 2003] [notice] Apache/1.3.27 (Unix) mod_log_bytes/1.2 mod_bwlimited/1.0 PHP/4.3.1 FrontPa
    ge/5.0.2.2510 mod_ssl/2.8.12 OpenSSL/0.9.6b configured -- resuming normal operations
    [Tue May 6 01:19:21 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Tue May 6 01:19:21 2003] [notice] Accept mutex: sysvsem (Default: sysvsem)
    [Tue May 6 01:19:22 2003] [crit] (98)Address already in use: make_sock: could not bind to port 443
    [Tue May 6 01:20:01 2003] [error] mod_ssl: Cannot open SSLSessionCache DBM file `/usr/local/apache/logs/ssl_s
    cache' for status retrival (System error follows)
    [Tue May 6 01:20:01 2003] [error] System: No such file or directory (errno: 2)
    [Tue May 6 01:25:00 2003] [error] mod_ssl: Cannot open SSLSessionCache DBM file `/usr/local/apache/logs/ssl_s
    cache' for status retrival (System error follows)
    [Tue May 6 01:25:00 2003] [error] System: No such file or directory (errno: 2)
    [Tue May 6 01:29:19 2003] [notice] SIGUSR1 received. Doing graceful restart

    I googled and searched from the modssl.org site. It says that Cannot open SSLSessionCache DBM file `/usr/local/apache/logs/ssl_scache

    That's true bcoz the file itself does not exists on the server.
    Now after a Reboot Apache is fine Now! :)

    My question is why did this happen ? Apache was running fine from 20+ days and then it failed!

    Why apache needed the file Yesterday Only?
    I checked /usr/local/apache/logs

    -rw------- 1 nobody root 0 May 6 06:35 ssl_scache.dir
    -rw------- 1 nobody root 0 May 6 06:35 ssl_scache.pag

    Right now i have these two files.

    Anyways!
    Do i need to create this file and what should i chmod and chown to ?

    Regards,
    :confused:
     
  2. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    Dude, I had the exact same problem two nights ago. I have a cron job to start apache every 10 minutes, and strangely enough restarting apache got rid of the error. It hasn't shown up since, but I would like to know what happened, since the server was down for 8 minutes.
     
  3. vishal

    vishal Well-Known Member

    Joined:
    Jan 28, 2003
    Messages:
    340
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    Yes a Restart solved this prob. Can u post the cron here.

    Regards,
     
  4. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
  5. vishal

    vishal Well-Known Member

    Joined:
    Jan 28, 2003
    Messages:
    340
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    Thanks!!:)
     
  6. Snowman30

    Snowman30 Well-Known Member
    PartnerNOC

    Joined:
    Apr 7, 2002
    Messages:
    681
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    I know this is an old thread but i cant find much in relation to this issue.

    I am having the same errors in the apache log and my apache keeps restarting and no sites seem to load.

    ive tried 3 easyapache updates and whats been suggested but still no luck

    any other suggestions???
     
  7. jdstallings

    jdstallings Well-Known Member

    Joined:
    Jul 27, 2003
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    Instead of putting your root password on the drive in plan text, why not just add:

    to a crontab instead?
     
  8. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    or

    /scripts/restartsrv_httpd

    also if cpservd is down ..this method will work. it doesn't rely on doing things through a lynx web browser and cpservd server and it doesn't require a login like that.
     
    #8 rpmws, Sep 3, 2006
    Last edited: Sep 3, 2006
Loading...

Share This Page