Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: holck on February 25, 2007, 08:49:12 PM
-
I was courageous enough to install clamav, clamd, and clamav-db in version 0.90-3 from the "sme testing" repository. I found out that these new versions required changes in clamd.conf and freshclam.conf: now a number of options are boolean and must be marked with "yes" or "no". So, e.g. in clamd.conf
Foreground
must be changed to Foreground yes
This required some changes in the template files, but that was pretty easy.
I have more problems in getting logging to work. The old clamd.conf and freshclam.conf contained the lines LogFile /dev/stderr
but the new versions of clamd and freshclam were unhappy with this and gave error messages like
ERROR: Problem with internal logger. Please check the permissions on the /dev/stderr file.
ERROR: Can't open /dev/stderr in append mode (check permissions!).
Running as user clamav (UID 407, GID 402)
As a workaround I have changed the above line in clamd.conf to
LogFile /var/log/clamav/clamav.log
but this is obviously not what was intended. Should clamd and freshclam run with super user privileges? Or is there another way to solve this problem?
Jesper, Denmark
-
As a workaround I have changed the above line in clamd.conf to
LogFile /var/log/clamav/clamav.log
but this is obviously not what was intended. Should clamd and freshclam run with super user privileges? Or is there another way to solve this problem?
Jesper, Denmark
Jesper, could you open a bug ticket as this will help us iron out any bugs. Thanks!
-
I suspect that there must be at least an "smeserver-clamxxx" or "e-smith-clamxxx" rpm required for such an upgrade - just not the original clam rpms only?
Michael
-
Except from the logging problems, which I were not able to solve satisfactorily (also problems with logrotate, I think), I also had several situations where clamd would cause near 100% CPU-load for hours - some memory allocation problem... So now I've gone back to the old, official version clamav.
I can open a bug ticket, but I really don't know where to file it?
-
I can open a bug ticket, but I really don't know where to file it?
Please use the Bugzilla link which is at the top of this page. Don't worry about making mistakes filling out the form, any errors will be gently corrected if that is required.
-
This has been raised as Bug 2508 http://bugs.contribs.org/show_bug.cgi?id=2508 (and 2611), fixed by smeserver-clamav-1.2.0-11.el4.sme.noarch.rpm , and will be released in 7.1.2