Re: [squid-users] Squid with SquidGuard

From: Mark Sansome <msansome@dont-contact.us>
Date: Sun, 22 Jan 2006 18:51:24 +0000

Hello Chaps,

I'm still struggling (and still failing) to to squidGuard to work with
squid. For those of you who have not been following each gripping
instalment of this thread here is a quick recap...

I can run squid very happily on my FC4 machine. I have tried installing
squidGuard by RPM, by Yum and finally from source. I have (I think)
changed all the file ownerships and permissions that I should have done
and yet I have always got (and still get) the same error when I include
squidGuard as a redirector in squid:

2006/01/14 21:36:07| helperOpenServers: Starting 5 'squidGuard'
processes
2006/01/14 21:36:07| comm_open: FD 6 is a new socket
2006/01/14 21:36:07| fd_open FD 6 squidGuard
2006/01/14 21:36:07| comm_open: FD 7 is a new socket
2006/01/14 21:36:07| fd_open FD 7 squidGuard
2006/01/14 21:36:07| ipcCreate: prfd FD 7
2006/01/14 21:36:07| ipcCreate: pwfd FD 7
2006/01/14 21:36:07| ipcCreate: crfd FD 6
2006/01/14 21:36:07| ipcCreate: cwfd FD 6
2006/01/14 21:36:07| ipcCreate: FD 7 sockaddr 127.0.0.1:32990
2006/01/14 21:36:07| ipcCreate: FD 6 sockaddr 127.0.0.1:32989
2006/01/14 21:36:07| ipcCreate: FD 6 listening...
2006/01/14 21:36:07| leave_suid: PID 12881 called
2006/01/14 21:36:07| leave_suid: PID 12881 giving up root priveleges
forever
2006/01/14 21:36:07| ipcCreate: calling accept on FD 6
2006/01/14 21:36:07| comm_close: FD 6
2006/01/14 21:36:07| commCallCloseHandlers: FD 6
2006/01/14 21:36:07| fd_close FD 6 squidGuard
2006/01/14 21:36:07| connect FD 7: (13) Permission denied
2006/01/14 21:36:07| comm_close: FD 7
2006/01/14 21:36:07| commCallCloseHandlers: FD 7
2006/01/14 21:36:07| fd_close FD 7 squidGuard
2006/01/14 21:36:07| WARNING: Cannot run
'/usr/local/squidguard/bin/squidGuard' process.

The "Permission denied" message has led me down the file ownership /
permissions route; but I am able to run squidGuard from the command line
with the "sudo" command:
[root@localhost bin]# sudo -u squid /usr/local/squidguard/bin/squidGuard -d
2006-01-22 18:30:36 [14702] squidGuard 1.2.0 started (1137954636.066)
2006-01-22 18:30:36 [14702] squidGuard ready for requests (1137954636.096)

Now, after some Googling, I see that this problem (or at least similar
problems) can be caused by a firewall on the loopback interface. Do you
think this is the cause of my problem? (I posted my Iptables output in
an earlier post).

However, as a test, I temporarily disabled the firewall and
unfortunately still got the same problem. That is the firewall on this
FC4 machine... I am connected to the Internet via a wireless connection
which has its own firewall - but surely that should not affect this (or
should it?)

What should my next step be?

Dying of frustration here.....

Many thanks for your patience...

Mark

Received on Sun Jan 22 2006 - 11:51:45 MST

This archive was generated by hypermail pre-2.1.9 : Wed Feb 01 2006 - 12:00:01 MST