Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Squid Conf: Squid Failed When I Type Insert Redire, FATAL: redirect_program /usr/bin/squidgu
niceman2005
post Nov 25 2004, 07:50 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 25-November 04
Member No.: 4,226



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..
I have tried to set all the permissions of most of the squidguard files to be owned and writable by user squid but the message "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]" still comes out each time I restart. Only when I remove that redirect_program configuration then everything becomes normal.
thanks in advance.
Go to the top of the page
 
+Quote Post
Robert83
post Nov 26 2004, 04:12 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069



Hi,

have a look at this please : http://www.linuxhelp.ca/forums/index.php?a...=ST&f=15&t=3717

Sincerely
Robert B


--------------------
Robert Becskei
robert83@linuxhelp.net
--------------------
May the source be with us!
--------------------
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
250GB+250GB
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
--------------------
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 10:31 AM