LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Thread Tools
Old 11-23-2004, 01:43 AM   #1
Niceman2005
Member
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 328
Thanked: 0
squid conf: squid failed when I type insert redirect_program /usr/bin/squidguard


[Log in to get rid of this advertisement]
Dear all,

I am trying to use squidguard with squid. Everything seems to be fine so far till I realised that when I try to insert a redirect_program /usr/bin/squidguard in the squid.conf, the whole squid cannot work.

Below is what I did:
I inserted the line redirect_program /usr/bin/squidguard in the squid.conf file.

then I typed squid -k reconfigure
and the outcome came out as: Aborted

when I tried to service squid restart the following output came out:


[root@matrix squid]# service squid restart
Stopping squid: /etc/init.d/squid: line 82: 4924 Aborted $SQUID -k check >>/var/log/squid/squid.out 2>&1
[FAILED]
Starting squid: /etc/init.d/squid: line 53: 4925 Aborted $SQUID $SQUID_OPTS >>/var/log/squid/squid.out 2>&1
[FAILED]


and inside the log file squid.out in /var/log/squid the following output came out:
FATAL: redirect_program /usr/bin/squidguard: (13) Permission denied
Squid Cache (Version 2.5.STABLE6): Terminated abnormally.
CPU Usage: 0.015 seconds = 0.009 user + 0.006 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
FATAL: redirect_program /usr/bin/squidguard: (13) Permission denied
Squid Cache (Version 2.5.STABLE6): Terminated abnormally.
CPU Usage: 0.014 seconds = 0.009 user + 0.005 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0


obviously the problem is because I changed the configurtion for the redirect_program to /usr/bin/squidguard, but that is what has been suggested in websites all over the internet.
Anyway know anything please direct me...this is just one final step for me to get squidguard working....

really appreciate any help....thanks all..
Niceman2005 is offline     Reply With Quote
Old 11-24-2004, 03:29 PM   #2
peter_robb
Moderator
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458
Thanked: 0
Make sure the user squid is running as can access and run the squidguard binary and any other files squidguard needs..
peter_robb is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
SQUID for blocking yahoo and msn [inc squid.conf] chrisfirestar Linux - Security 10 03-03-2008 09:33 AM
path in services wrong for clamav updated frm 0.75 to 0.80 usr/bin vs usr/local/bin Emmanuel_uk Linux - Newbie 3 04-22-2005 02:02 AM
making squidguard start whenever squid starts Niceman2005 Linux - Software 2 11-24-2004 07:31 PM
Squid, SquidGuard rewrite swingheim Linux - Networking 1 10-26-2004 02:01 PM
Can squid/squidguard be used to do this? Jeff D Linux - Newbie 2 01-13-2003 04:45 AM


All times are GMT -5. The time now is 07:11 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration