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-10-2009, 06:57 AM   #1
kr1spen
LQ Newbie
 
Registered: Sep 2009
Posts: 8

Rep: Reputation: 0
Squid failing to start fedora 5


Squid gives the follwoing error messages when i attepmt to start it:

Sep 10 12:33:24 localhost (squid): Cannot open '/var/log/squid/access.log' for writing. The parent directory must be writeable by the user 'squid', which is the cache_effective_user set in squid.conf.
Sep 10 12:33:24 localhost squid[3423]: Squid Parent: child process 3446 started

Would greatly appreciate the help i can get out there.
 
Old 09-10-2009, 07:09 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,516

Rep: Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501
You should run:
Code:
chown -R squid /var/log/squid
 
Old 09-10-2009, 07:25 AM   #3
kr1spen
LQ Newbie
 
Registered: Sep 2009
Posts: 8

Original Poster
Rep: Reputation: 0
squid failing to start fedora 5

Quote:
Originally Posted by bathory View Post
You should run:
Code:
chown -R squid /var/log/squid
i have done that and its still giving the same error msg. the following is part of the squid.conf file:

cache_effective_user squid
cache_effective group squid
 
Old 09-10-2009, 07:34 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,516

Rep: Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501
It's not an error. squid just complains that it cannot write its log in that directory. Now we know also the group you can use:
Code:
chown -R squid:squid /var/log/squid
Since you're running Fedora, this could be a SELinux problem. If that's hte case, then this could be of help.

Regards
 
  


Reply

Tags
squidaccesslog


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
installing squid : service squid start --> error jonaskellens Linux - Software 2 09-05-2008 04:06 AM
openldap failing to start kcorupe Linux - Server 1 05-12-2008 02:32 PM
Dovecot Failing to start mrJimmbo Linux - Server 6 01-24-2007 09:51 PM
Squid Failing to Start WarlockofVirgo Linux - Networking 2 09-03-2004 04:59 AM
X failing to start... Tayl Linux - Newbie 5 07-19-2002 05:51 AM


All times are GMT -5. The time now is 06:24 AM.

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