Operating System - Linux
1834425 Members
1656 Online
110067 Solutions
New Discussion

Not able to create swap directories

 
logaraman
Regular Advisor

Not able to create swap directories

I ahve installed RHEL 4 on a server and am configuring squid .. I am unable to create the swap directories using squid -z . when the cmd is executed it comes back to hash prompt with no outputs.. Also in the messages log i found the below error while trying to start the squid.

"Aug 3 09:59:58 IC-PROXY-03 squid[4875]: Squid Parent: child process 4877 starte
Aug 3 09:59:58 IC-PROXY-03 kernel: audit(1154579398.482:0): avc: denied { cre
te } for pid=4877 exe=/usr/sbin/squid key=4994048 scontext=root:system_r:squid_
tcontext=root:system_r:squid_t tclass=msgq
Aug 3 09:59:58 IC-PROXY-03 (squid): msgget failed
Aug 3 09:59:58 IC-PROXY-03 squid[4875]: Squid Parent: child process 4877 exited
due to signal 6"

Any sugestions please
1 REPLY 1
Alexander Chuzhoy
Honored Contributor

Re: Not able to create swap directories

Looks like you have selinux enabled.
I suggest you to disable it:

edit the file /etc/selinux/config
and change
SELINUX=enforced to SELINUX=disabled
after that reboot your machine and tell us what's going on.