dansguardian does not stop
hello debian people,
my problem with dansguardian started when I saw this message:
error: error running postrotate script for /var/log/dansguardian/access.log
I began to investigate, and found that the dansguardian init scripts don't
work properly; in fact, after I type:
# /etc/init.d/dansguardian stop
I can see /var/run/dansguardian.pid still there, some dansguardian processes
with "ps aux" and netstat -nltp shows someone still listening on port 8080,
i.e. it seems that the stop script is doing nothing!
As a matter of fact, If shortly after do:
# /etc/init.d/dansguardian start
it complains saying that it is already running! (Failed); I think the reason
is what I am saying about the faulty stop script.
Since logrotate issues a stop - start command to dansguardian, I strongly
suppose that if I manage to properly stop dansguardian, then I shoul solve
the postrotate error as well.
One more thing: manuallly deleting dansguardian pid and processes resumes
normal starting, but this is of no help.
I cannot figure out why dansguardian does not stop at all, anyone can help me,
I have searched internet for hours, but no answer found.