Thursday, October 4, 2012

Apache2 does not come up on (NAS SSLSessionCache DBM file)

Apache was not coming up. 
Error that was reported in error_log was 
Cannot create SSLSessionCache DBM file 

Google search with the above keywords gave a few results. But that was not applicable to this current scenario.
As part of debugging, pointed the logs directory to a local directory and 
apache came up fine.
The problem was because rpc.statd was not started after reboot 
This was confirmed from the following messages 
dmesg gives this
FS-Cache: Loaded
statd: server localhost not responding, timed out
lockd: cannot monitor 10.224.16.60
 Unix sysadmin started the rpc.statd process and apache came up fine without having to create logs in local directory
From man pages for rpc.stad
The rpc.statd server implements the NSM (Network Status Monitor) RPC protocol. This service is somewhat misnomed, since it doesn't actually provide active monitoring as one might suspect; instead, NSM implements a reboot notification service. It is used by the NFS file locking service, rpc.lockd, to implement lock recovery when the NFS server machine crashes and reboots.  

No comments:

Post a Comment