[K12OSN] OT: Smoothwall and Dansguardian

Jon Spriggs jon.spriggs at gmail.com
Tue May 3 16:05:01 UTC 2005


On 5/3/05, Henry Hartley <henryhartley at westat.com> wrote:
> On: Tue, 03 May 2005 at 11:32 AM, Jon Spriggs said:
> >>
> >> On 5/3/05, Henry Hartley <henryhartley at westat.com> wrote:
> >> >
> >> > When I run:
> >> > /etc/rc.d/init.d/dansguardian status
> >> > I get:
> >> > Parent DansGuardian pid:2112
> >> >
> >> > so it seems to be running. I've changed the DG loglevel to 3 but
> >> > /var/log/dansguardian/access.log is still 0 bytes long. Actually,
> >> > I deleted that file and had a bit of trouble because dansguardian
> >> > couldn't create it (because of permissions). I created a file and
> >> > made "nobody" the owner. At that point, dansguardian stopped
> >> > complaining but it still doesn't seem to be doing anything.
> >>
> >> Which account actually runs the Dansguardian script? Have you given
> >> that account write permissions to that file?
> >>
> >> Run the following command to check and see if actually is running
> >>
> >> ps aux |grep -i dans
> >>
> >> If it's not running, then how about giving rw perms to all users
> >> with regards to that file initially, and seeing where it fails.
> 
> It seems to be running as nobody.  That's what's weird.
> 
> [root at hhh-gateway root]# ps aux | grep -i dans
> nobody 4444 0.0 29.9 19828 18560 ? S May01 0:00 /usr/sbin/dansgua
> nobody 4445 0.0 29.9 19832 18560 ? S May01 0:00 /usr/sbin/dansgua
> nobody 4446 0.0 30.0 20808 18564 ? S May01 0:00 /usr/sbin/dansgua
> root  29946 0.0  0.7  1424  456 ttyp1 S 11:29 0:00 grep -i dans
> 
> [root at hhh-gateway dansguardian]# ls -la
> total 8
> drwxr-xr-x    2 nobody   root         4096 May  1 17:42 ./
> drwxr-xr-x    7 root     root         4096 May  1 17:54 ../
> -rw-r--r--    1 nobody   root            0 May  1 17:42 access.log
> 
> It's running but not logging anything.  Obviously (or apparently,
> anyway) it's being bypassed but everything (that I've checked) implies
> that it shouldn't be being bypassed.
> 
> --
> Henry
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
> 

OK, chmod 666 the log file, and see if anything is written then...
-- 
Jon "Four Star Gun" Spriggs AKA
Jon "The Nice Guy" Spriggs




More information about the K12OSN mailing list