LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-08-2010, 03:06 AM   #1
struggled_newbie
Member
 
Registered: Sep 2009
Posts: 125

Rep: Reputation: 15
Centos 5.2 squid problem AGAIN


Hello Linux Gurus

I've tried to install CentOS 5.2 w/ squid service and w/ 2 lan cards 1 for the public ip and 1 for the private network for users gateway, I used to configure it correctly on a redhat 9 machine and it works smoothly w/ minimal configurations. But in CentOS 5.2 I'm stuck on clients pc browsing because of the browser still cant access internet, I've checked /var/squid/access.log and there it Hits.

I am encountering a message:

SELinux is preventing squid (squid_t) "read" to ./squid.pid (var_run_t)

I've tried to disable SElinux using:
echo 0 >/selinux/enforce

but still failure I used to be,
please help me
 
Old 09-08-2010, 03:24 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi,

Check with
Code:
sestatus
to see if it really is disabled. You can also create a policy for Squid (have a look at the example here).

Kind regards,

Eric
 
Old 09-08-2010, 05:55 AM   #3
struggled_newbie
Member
 
Registered: Sep 2009
Posts: 125

Original Poster
Rep: Reputation: 15
Smile

Quote:
Originally Posted by EricTRA View Post
Hi,

Check with
Code:
sestatus
to see if it really is disabled. You can also create a policy for Squid (have a look at the example here).

Kind regards,

Eric
I'll make try of it
 
Old 09-08-2010, 06:02 AM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi,

Great! Let us know how it goes.

Kind regards,

Eric
 
Old 09-08-2010, 11:08 PM   #5
struggled_newbie
Member
 
Registered: Sep 2009
Posts: 125

Original Poster
Rep: Reputation: 15
Smile

Quote:
Originally Posted by EricTRA View Post
Hi,

Great! Let us know how it goes.

Kind regards,

Eric
it is enabled, how it comes even I tried to disable it, anyway thanks for the tip I guess I have to review the selinux article you've given.

Thanks....
 
Old 09-09-2010, 12:59 AM   #6
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello,

Great to hear you got a solution. Have fun with Linux.

Kind regards,

Eric
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
centos is not booting after installing squid server mcs_o8_01 Linux - Newbie 1 08-19-2010 01:25 AM
CentOs Squid settings rahul_khatavkar Linux - Security 2 10-09-2009 05:05 PM
WHich squid for CentOS? qwertyjjj Linux - Server 12 08-04-2009 11:52 AM
squid error on centos 5 ssilayaraja Linux - Networking 1 03-26-2008 05:13 AM
[CentOS] Squid, iptables, dhcp server ? prixone Linux - Newbie 0 01-18-2008 01:37 AM


All times are GMT -5. The time now is 05:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration