[squid-users] Squid 3.5.2 will not start correctly "FATAL: Ipc::Mem::Segment::open failed to shm_open(/squid-ssl_session_cache.shm): (2) No such file or directory"

Stanford Prescott stan.prescott at gmail.com
Wed Mar 25 23:41:21 UTC 2015


I have installed Squid 3.5.2 on the Smoothwall Express 3.1 firewall
distribution and it will not start correctly. I get this error

*2015/03/25 19:28:30.623 kid1| Acl.cc(380) ~ACL: freeing ACL *
*2015/03/25 19:28:30.623 kid1| Acl.cc(380) ~ACL: freeing ACL *
*2015/03/25 19:28:33 kid1| Current Directory is /*
*2015/03/25 19:28:33 kid1| Starting Squid Cache version 3.5.2 for
i586-pc-linux-gnu...*
*2015/03/25 19:28:33 kid1| Service Name: squid*
*2015/03/25 19:28:33 kid1| Process ID 3638*
*2015/03/25 19:28:33 kid1| Process Roles: worker*
*2015/03/25 19:28:33 kid1| With 1024 file descriptors available*
*2015/03/25 19:28:33 kid1| Initializing IP Cache...*
*2015/03/25 19:28:33 kid1| DNS Socket created at 0.0.0.0, FD 8*
*2015/03/25 19:28:33 kid1| Adding nameserver 127.0.0.1 from
/etc/resolv.conf*
*2015/03/25 19:28:33 kid1| helperOpenServers: Starting 5/5 'ssl_crtd'
processes*
*FATAL: Ipc::Mem::Segment::open failed to
shm_open(/squid-ssl_session_cache.shm): (2) No such file or directory*

*Squid Cache (Version 3.5.2): Terminated abnormally.*
*CPU Usage: 0.023 seconds = 0.017 user + 0.007 sys*
*Maximum Resident Size: 26816 KB*
*Page faults with physical i/o: 0*
*2015/03/25 19:28:33.672 kid1| Acl.cc(380) ~ACL: freeing ACL *
*2015/03/25 19:28:33.672 kid1| Acl.cc(380) ~ACL: freeing ACL *
*2015/03/25 19:28:33.672 kid1| Acl.cc(380) ~ACL: freeing ACL *
*2015/03/25 19:28:33.672 kid1| Acl.cc(380) ~ACL: freeing ACL *
*2015/03/25 19:28:33.672 kid1| Acl.cc(380) ~ACL: freeing ACL *
*2015/03/25 19:28:33.672 kid1| Acl.cc(380) ~ACL: freeing ACL *
*2015/03/25 19:28:33.672 kid1| Acl.cc(380) ~ACL: freeing ACL *


I have patched main.cc with the enter_suid(); statements described in the
fix for open_shm errors. But I keep getting the error of
"squid-ssl_session_cache.shm" no such file or directory.

Where is the ssl_session_cache file or directory supposed to be? Why
doesn't one exist? What might cause this file or directory to not exist?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20150325/a84835bd/attachment.html>


More information about the squid-users mailing list