Koozali.org: home of the SME Server

Dansguardian 2.10 and SME Server 7.4

Offline devtay

  • *
  • 145
  • +0/-0
Dansguardian 2.10 and SME Server 7.4
« on: December 05, 2008, 10:35:02 PM »
Ok, I have been searching the forums for something to cover my problem with no results that match. I think it has something to do with dansguardian 2.10, but don't know enough to be sure. Here is my problem. A user updated dansguardian with:

>yum update --enablerepo=smecontribs

This resulted:

Installed: smeserver-phpmyadmin.noarch 0:2.11.1.2-3.el4.sme
Dependency Installed: libart_lgpl.i386 0:2.3.16-3 phpmyadmin.noarch 0:2.11.9.3-1.el4.rf
Updated: dansguardian.i386 0:2.10-1.el4.sme libxml2.i386 0:2.6.16-12.6 libxml2-python.i386 0:2.6.16-12.6 perl-rrdtool.i386 0:1.2.28-1.el4.rf rrdtool.i386 0:1.2.28-1.el4.rf smeserver-dansguardian.noarch 0:2.9-5.el4.sme vim-common.i386 1:6.3.046-1.el4_7.5z vim-enhanced.i386 1:6.3.046-1.el4_7.5z vim-minimal.i386 1:6.3.046-1.el4_7.5z
Replaced: smeserver-phpmyadmin.noarch 0:2.10.0.2-0.dmay
Complete!

>signal-event post-upgrade; signal-event reboot

Dansguardian (dungog version) didn't start at reboot. A dansguardian at the command prompt resulted in:

Config problem; check allowed values for maxcontentfilecachescansize
Error parsing the dansguardian.conf file or other DansGuardian configuration files

I did some searching and found an item relating to Ubuntu, but not to SME Server. Before issuing a db command and screwing up my template for the dansguardian.conf file, I edited the file and added maxcontentfilecachescansize = 20000 as a test. The message changed to a more generic configuration file message and dansguardian still will not start. Any ideas?

Clamav Version: 0.94.2/8728/Fri Dec 5 09:44:27 2008
SME Server 7.4
Dansguardian 2.10

I would like to just roll back the update, but I can't find any information about rolling back a yum update. Is it possible that I have sme-dansguardian and dungog-dansguardian installed and they are conflicting?
You can't stop what's coming. It ain't all waiting on you.

Offline devtay

  • *
  • 145
  • +0/-0
Re: Dansguardian 2.10 and SME Server 7.4
« Reply #1 on: December 05, 2008, 11:10:47 PM »
Crazy little update. I have two sme server's on site. One is email and web server and the broken one is a proxy server. If I change the client browser config to use the proxy.pac file on the mail server, the proxy will respond and ask for authentication. Almost looks like a DNS issue, but dansguardian is not running as a process on the proxy server.
You can't stop what's coming. It ain't all waiting on you.

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: Dansguardian 2.10 and SME Server 7.4
« Reply #2 on: December 06, 2008, 08:09:06 AM »
This needs to be reported to the bug tracker. Stephen Noble from Dungog Networks does not browse the forum very often.

Offline devtay

  • *
  • 145
  • +0/-0
Re: Dansguardian 2.10 and SME Server 7.4
« Reply #3 on: December 07, 2008, 06:40:05 PM »
This needs to be reported to the bug tracker. Stephen Noble from Dungog Networks does not browse the forum very often.

Ok, I just thought I messed up something. I will go to the bugtracker and open this item.
You can't stop what's coming. It ain't all waiting on you.

Offline devtay

  • *
  • 145
  • +0/-0
Re: Dansguardian 2.10 and SME Server 7.4
« Reply #4 on: December 08, 2008, 03:34:39 PM »
Ok, it looks like the bugtracker is a no go because it was closed as invalid. I guess I will try to find a support link on the dungog wiki.
You can't stop what's coming. It ain't all waiting on you.

Offline devtay

  • *
  • 145
  • +0/-0
Re: Dansguardian 2.10 and SME Server 7.4
« Reply #5 on: December 08, 2008, 06:51:19 PM »
It looks like this could be the problem. All contribs installed on the server were updated vice just the dansguardian one. I am looking for known issues for these packages (this thread is for future people that have the same problem).

Updated:
libxml2.i386 0:2.6.16-12.6
rrdtool.i386 0:1.2.28-1.el4.rf
dansguardian.i386 0:2.10-1.el4.sme
libxml2-python.i386 0:2.6.16-12.6
smeserver-phpmyadmin.noarch 0:2.11.1.2-3.el4.sme
vim-minimal.i386 1:6.3.046-1.el4_7.5z
perl-rrdtool.i386 0:1.2.28-1.el4.rf
smeserver-dansguardian.noarch 0:2.9-5.el4.sme
vim-common.i386 1:6.3.046-1.el4_7.5z
vim-enhanced.i386 1:6.3.046-1.el4_7.5z
phpmyadmin.noarch 0:2.11.9.3-1.el4.rf
libart_lgpl.i386 0:2.3.16-3

>FROM THE SME WIKI
>Be careful updating software from these repositories. Only update packages by name eg.

>yum update --enablerepo=reponame  packagename
>Do not do a general update with the 3rd party repository enabled as it could update many >packages that will overwrite SME versions.
You can't stop what's coming. It ain't all waiting on you.

Offline devtay

  • *
  • 145
  • +0/-0
Re: Dansguardian 2.10 and SME Server 7.4
« Reply #6 on: December 08, 2008, 09:10:15 PM »
I got dansguardian to load by manually adding the following to the dansguardian.conf file (I know the next template-expand or reboot will kill the changes I made, but just trying now).

maxcontentramcachescansize = 2000
maxcontentfilecachescansize = 20000
downloadmanager = '/etc/dansguardian/downloadmanagers/default.conf

Now typing dansguardian shows a successfull start in the messages log. The problem is dansguardian is not asking for a password (I set up the browser to the correct settings port 8080, etc) and reporting the error - your username is not allowed to web browse: -. I am thinking there is something else missing in the configuration file. Continuing to search.
You can't stop what's coming. It ain't all waiting on you.

Offline janet

  • *****
  • 4,812
  • +0/-0
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline devtay

  • *
  • 145
  • +0/-0
Re: Dansguardian 2.10 and SME Server 7.4
« Reply #8 on: December 13, 2008, 05:23:02 AM »
devtay

http://wiki.contribs.org/Dansguardian

http://wiki.contribs.org/Dansguardian/ConfigFiles

Thanks for the response Mary. I had already fixed the issue with the help of Stephen (thanks a lot) from dungog.net. These items you pointed out are actually what got me in trouble in the first place.

Let me help out those people out there like me (not developers, just trying to keep things running). If there is a problem with dansguardian, just remove it and the dungog contribs then re-install it. It will save you a lot of time troubleshooting. I took both off and the dependency with the software panel from the server-manager. Just be sure if you are using the dungog contrib you have access to the repo. Those guys at dungog are a ton of help and are very patient with people that are not experts. I found the dungog instructions to be the best for my particular situation.

http://www.dungog.net/wiki/Dungog-dansguardian
You can't stop what's coming. It ain't all waiting on you.