clamav-daemon dosen't start with ERROR: initgroups() failed.

Bug #579661 reported by Braiam Peguero on 2010-05-12
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
clamav (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: clamav

This error doesn't allow me to start the scanner trough the network.

I have the last version.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: clamav-daemon 0.96+dfsg-2ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic-pae 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic-pae i686
Architecture: i386
Date: Wed May 12 16:28:48 2010
ProcEnviron:
 LANG=es_DO.UTF-8
 SHELL=/bin/bash
SourcePackage: clamav

Braiam Peguero (braiampe) wrote :
security vulnerability: yes → no
visibility: private → public
Scott Kitterman (kitterman) wrote :

Please describe what you are trying to accomplish and the exact commands used so we can try to replicate your problem and understand it.

Changed in clamav (Ubuntu):
status: New → Incomplete
Braiam Peguero (braiampe) wrote :

braiam@servidor:~$ clamd
ERROR: Can't open /var/log/clamav/clamav.log in append mode (check permissions!).
ERROR: Can't initialize the internal logger
braiam@servidor:~$ sudo clamd
[sudo] password for braiam:
ERROR: initgroups() failed.
braiam@servidor:~$

I think I am affected by the same bug.

I installed clamav-daemon using the command line:
sudo apt-get install clamav-daemon

anatoly@NLANGo:~$ clamd
ERROR: Can't open /var/log/clamav/clamav.log in append mode (check permissions!).
ERROR: Can't initialize the internal logger
anatoly@NLANGo:~$ sudo clamd
[sudo] password for anatoly:
ERROR: initgroups() failed.
anatoly@NLANGo:~$ clamd -V
ClamAV 0.95.3/11104/Sun May 30 14:38:16 2010

I am running Ubuntu 9.10, i386
I will try to add some additional information to this bug report using apport-collect command on my computer.

Probably, this bug is related to Bug #433764
https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/433764
The fix has been released, but the same error message is still there.

Architecture: i386
DistroRelease: Ubuntu 9.10
Package: clamav 0.95.3+dfsg-1ubuntu0.09.10.2
PackageArchitecture: i386
ProcEnviron:
 SHELL=/bin/bash
 LANG=ru_RU.UTF-8
 LANGUAGE=ru_RU.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-21.59-generic
Uname: Linux 2.6.31-21-generic i686
UserGroups: adm admin audio cdrom dialout fuse lpadmin netdev plugdev sambashare

Changed in clamav (Ubuntu):
status: Incomplete → New
tags: added: apport-collected
Chuck Short (zulcss) on 2010-05-31
Changed in clamav (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Scott Kitterman (kitterman) wrote :

Does sudo /etc/init.d/clamav-daemon start work?

Changed in clamav (Ubuntu):
status: Confirmed → Incomplete

Scott,
Yes, it works. We have already discussed it at https://bugs.launchpad.net/bugs/433764
Here is the output in the terminal:

anatoly@NLANGo:~$ sudo /etc/init.d/clamav-daemon start
[sudo] password for anatoly:
 * Starting ClamAV daemon clamd
/usr/sbin/clamd already running.
                                                                       [ OK ]

Now I agree that in my case it is not a bug.
Thank you for responding to the issue!

Changed in clamav (Ubuntu):
status: Incomplete → Invalid
Braiam Peguero (braiampe) wrote :

I found out the problem.

braiam@servidor:~$ sudo /etc/init.d/clamav-daemon start
[sudo] password for braiam:
 * Starting ClamAV daemon clamd /usr/sbin/clamd already running.
                                                                         [ OK ]
braiam@servidor:~$ sudo /etc/init.d/clamav-daemon stop
 * Stopping ClamAV daemon clamd [ OK ]
braiam@servidor:~$ sudo clamd --debug
[sudo] password for braiam:
^Z
[1]+ Detenido sudo clamd --debug
braiam@servidor:~$ bg 1
[1]+ sudo clamd --debug &
braiam@servidor:~$ sudo /etc/init.d/clamav-daemon start
 * Starting ClamAV daemon clamd /usr/sbin/clamd already running. [ OK ]
braiam@servidor:~$

The error seem be if i have already running.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers