Link to home
Start Free TrialLog in
Avatar of misscarbonara
misscarbonara

asked on

mod_ssl - Cannot open SSLSessionCache DBM file

Hello,

I am currently running Apache 2.0.48 compiled with mod_ssl on Solaris 8. I am running a Cryus/Imap mail system and users log in via a secure web interface. However, I keep receiving errors in the appache error_log as follows:

[Wed Sep 22 12:15:15 2004] [error] mod_ssl: Cannot open SSLSessionCache DBM file `/opt/local/silkymail.v1110/silkymail/apache/../www/logs/ssl_gcache_data' for reading (fetch) (System error follows)
[Wed Sep 22 12:15:15 2004] [error] System: Resource temporarily unavailable (errno: 11)


Could this be because too many users are trying to connect at once? I've already tried to increase the SSLSessionCache from 300 secs to 600 secs but it hasn't got rid of this problem.

SSLSessionCache  dbm:/opt/local/silkymail.v1110/silkymail/apache/../www/logs/ssl_gcache_data
SSLSessionCacheTimeout 600

Any ideas would be more than welcome.

Regards
Bernie
Avatar of jlevie
jlevie

Does ../www/logs/ssl_gcache_data exist? What is the file owned and readable/writeable by the Apache user?

Was Apache built against the Berkeley DB and did that package change between the time Apache was build and now?
Avatar of misscarbonara

ASKER

Hello there!

I gave you some mis-information. This server is still running apache version 1.3.27.  We don't use Berkely DB at all.

You know the file doesn't exist as an ascii text file but in the  dir that is alluded to, /opt/local/silkymail.v1110/silkymail/apache/../www/logs we have

2 files... ssl_gcache_data.dir and ssl_gcache_data.pag

# file ssl_gcache_data.dir
ssl_gcache_data.dir:    data
# file ssl_gcache_data.pag
ssl_gcache_data.pag:    data

I created a file called ssl_gcache_data  and restarted apache but when apache restarts it removes it and created 2 new files ssl_gcache_data.dir and ssl_gcache_data.pag. They both start up as the apache user.

Sigh.

Bernie
If you have Cyrus IMAP running on this box you have Berkeley DB since Cyrus requires it.

The presence of .dir & .pag files would suggest that Apache is trying to use the native DB on Solaris. Depending on how & where the Berkeley DB is intalled there could be a clash between the two implementations.
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial