#StackBounty: #ubuntu #proxy #squid #ubuntu-18.04 #slackware Squid Proxy Server Error : Upon Starting

Bounty: 50

I got this error upon starting Squid Proxy Server using the command sudo squid -z

fatal: ipc::mem::segment::create failed to shm_open(/squid-cf__metadata.shm): 13 permission denied

How shall I fix it? Im using version 3.5.26 of Squid. I tried any fixes I found in the web but nothing works.

I tried implementing the fix below I found in the web:

Just add the following line to your /etc/fstab file: 
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 
After that use (as root): 
# mount shm 

Unfortunately, it doesn’t work. Another possible fix on the web is error reading squid.pid

squid: ERROR: Could not read pid file
/var/run/squid.pid: (13) Permission denied

Unfortunately, as I look in my directory, I could not find squid.pid.

How will I get my Squid working? Thanks.

Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.