Re: [squid-users] Squid with SquidGuard

From: Mark Sansome <msansome@dont-contact.us>
Date: Thu, 26 Jan 2006 21:18:53 +0000

Mark Elsen wrote:

>>Sorry, My mistake - again.
>>
>>[root@localhost mark]# su - squid
>>This account is currently not available.
>>
>>hmmm..
>>
>>[root@localhost mark]# vim /etc/passwd
>> {change squid:x:23:23::/var/spool/squid:/sbin/nologin to
>>squid:x:23:23::/var/spool/squid:/bin/bash}
>>
>>[root@localhost mark]# su - squid
>>-bash-3.00$ /usr/local/squidguard/bin/squidGuard -d
>>2006-01-26 20:47:29 [6046] squidGuard 1.2.0 started (1138308449.370)
>>2006-01-26 20:47:29 [6046] squidGuard ready for requests (1138308449.372)
>>
>>OK?
>>
>>Thanks (yet) again...
>>
>>
>>
>
> Ok, and now, since the status of the squid account in the pw file
>was changed you should, simply (only) ,try :
>
> root # _path_to_squid/squid
>
>Check whether this works.
>
>M.
>
>
>
[root@localhost mark]# whereis squid
squid: /usr/sbin/squid /etc/squid /usr/lib/squid /usr/share/squid
/usr/share/man /man8/squid.8.gz
[root@localhost mark]# /usr/sbin/squid
[root@localhost mark]# ps -ef | grep squid
[root@localhost mark]# ps -ef | grep squid
root 6017 5105 0 20:46 pts/3 00:00:00 su - squid
squid 6018 6017 0 20:46 pts/3 00:00:00 -bash
root 6195 1 0 21:11 ? 00:00:00 /usr/sbin/squid
squid 6197 6195 0 21:11 ? 00:00:00 (squid)
squid 6198 6197 0 21:11 ? 00:00:00 (squidGuard) -c
/etc/squidguard.conf
squid 6199 6197 0 21:11 ? 00:00:00 (squidGuard) -c
/etc/squidguard.conf
squid 6200 6197 0 21:11 ? 00:00:00 (squidGuard) -c
/etc/squidguard.conf
squid 6201 6197 0 21:11 ? 00:00:00 (squidGuard) -c
/etc/squidguard.conf
squid 6202 6197 0 21:11 ? 00:00:00 (squidGuard) -c
/etc/squidguard.conf
squid 6203 6197 0 21:11 ? 00:00:00 (unlinkd)
root 6209 5055 0 21:12 pts/2 00:00:00 grep squid
[root@localhost mark]#

Looking good...

Logs (both /var/log/squid/cache.log &
/var/log/squidguard/squidGuard.log) also show squid + squidGuard started OK

What now?

Mark

Received on Thu Jan 26 2006 - 14:19:23 MST

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