Find the answer to your Linux question:
Results 1 to 3 of 3
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2004
    Posts
    4

    Squid redirect_program: tried to use squidguard as redirect


    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..

  2. #2
    Just Joined!
    Join Date
    Jan 2008
    Posts
    1

    redirect_program /usr/bin/squidGuard

    Is a case censetive, Please try to check the pointed directory the squidGuard is exist. If it is exist please use case sensetivity in opointing filename.

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Hi diazphi !

    Welcome to the LinuxForums !

    This thread is 4 years old. Please post solutions in a bit recent threads.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •