Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: AndyCocker on March 31, 2006, 02:50:58 PM
-
Hi,
I have a fresh install of SME7RC1. Did YUM update from server-manager.
I then installed Dansguardian:
http://mirror.contribs.org/smeserver//contribs/dungog/packages/smeserver/7.0/i386/RPMS.dungog/dansguardian-2.8.0.6-1.2.el4.rf.i386.rpm
http://mirror.contribs.org/smeserver//contribs/dungog/packages/smeserver/7.0/i386/RPMS.dungog/dungog-blacklists-0.1-12.noarch.rpm
http://mirror.contribs.org/smeserver//contribs/dungog/packages/smeserver/7.0/i386/RPMS.dungog/smeserver-dansguardian-1.2-4.noarch.rpm
with
yum install *.rpm
Everything seems to go to install fine, and dansguardian starts OK on reboot.
My question is this: When I make changes to dansguardian config files, how do I refresh dansguardian?
I have tried dansguardian restart
, but get this error:
Error binding server socket (is something else running on the filter port? [8080])
Exiting with error
I am forced to reboot in order for the changes I made to be enforced.
If I'm using the wrong command(s), please let me know. Otherwise I'll report it as a bug.
Andy
-
You should be able to do...
/etc/rc7.d/S**dansguardian restart
Where ** is the 2 digit start number
-
You should be able to do...
/etc/rc7.d/S**dansguardian restart
Where ** is the 2 digit start number
Byte,
Thanks for replying.
I tried /etc/rc7.d/S91dansguardian restart
which indeed appears to restart dansguardian, but then I am no longer able to access any websites from my client machine... I get 'Page cannot be displayed'.. not dansguardian block page that I got previously.
Whilst a reboot fixes things once more, it's clearly not the best solution.
Do I need to restart any other services? I tried restarting S86httpd-e-smith
and S86httpd-admin
but neither helped.
Andy
-
Got it working,
BUT... it's strange.... it seems I have to restart dansguardian twice to get the changes to register!
At least this seems to now work.
Andy
-
AndyCocker
[root@server7 ~]# /etc/init.d/dansguardian status
dansguardian (pid 3059 3058 3057 3056 3055 3054 3053 3051 3050 3049 3023) is running...
[root@server7 ~]# /etc/init.d/dansguardian restart
Shutting down Web Content Filter (dansguardian): [ OK ]
Starting Web Content Filter (dansguardian): [ OK ]
Most of the steps in my HOWTO are still apllicable to sme7.
Just use the newer rpms and there are now 2 basic config files to modify, search for a recent forum post about this.
Also see
http://mirror.contribs.org/smeserver//contribs/rmitchell/smeserver/howto/dansguardian%20instal%20&%20configure%20HOWTO%20for%20sme%20server.htm
-
RayMitchell,
Many thanks for the info.
All the best,
Andy Cocker