Discussion:
[Bug 433764] Re: After upgrade, clamav's clamd gives "ERROR: initgroups() failed."
(too old to reply)
Anatoly Gorokhoff
2010-05-30 22:07:12 UTC
Permalink
I suspect that the problem is still there.
The fix has been released, but the same error message is still there.

I have a freshy installed clamav-daemon
sudo apt-get install clamav-daemon

Look what I have got:

anatoly at NLANGo:~$ clamd
ERROR: Can't open /var/log/clamav/clamav.log in append mode (check permissions!).
ERROR: Can't initialize the internal logger
anatoly at NLANGo:~$ sudo clamd
[sudo] password for anatoly:
ERROR: initgroups() failed.
anatoly at 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.
--
After upgrade, clamav's clamd gives "ERROR: initgroups() failed."
https://bugs.launchpad.net/bugs/433764
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to clamav in ubuntu.
Anatoly Gorokhoff
2010-05-30 22:09:21 UTC
Permalink
There is a related bug report in Launchpad: Bug #579661
https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/579661
--
After upgrade, clamav's clamd gives "ERROR: initgroups() failed."
https://bugs.launchpad.net/bugs/433764
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to clamav in ubuntu.
Anatoly Gorokhoff
2010-05-30 22:16:24 UTC
Permalink
Architecture: i386
DistroRelease: Ubuntu 9.10
Package: clamd (not installed)
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
--
After upgrade, clamav's clamd gives "ERROR: initgroups() failed."
https://bugs.launchpad.net/bugs/433764
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to clamav in ubuntu.
Anatoly Gorokhoff
2010-05-30 22:16:26 UTC
Permalink
** Attachment added: "XsessionErrors.txt"
http://launchpadlibrarian.net/49408757/XsessionErrors.txt

** Tags added: apport-collected
--
After upgrade, clamav's clamd gives "ERROR: initgroups() failed."
https://bugs.launchpad.net/bugs/433764
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to clamav in ubuntu.
Scott Kitterman
2010-05-30 22:26:49 UTC
Permalink
What happens if you do:

sudo /etc/init.d/clamav-daemon start
--
After upgrade, clamav's clamd gives "ERROR: initgroups() failed."
https://bugs.launchpad.net/bugs/433764
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to clamav in ubuntu.
Anatoly Gorokhoff
2010-05-31 14:13:24 UTC
Permalink
Scott,
here is a reply to your question:

anatoly at NLANGo:~$ sudo /etc/init.d/clamav-daemon start
[sudo] password for anatoly:
* Starting ClamAV daemon clamd /usr/sbin/clamd already running.
[ OK ]
--
After upgrade, clamav's clamd gives "ERROR: initgroups() failed."
https://bugs.launchpad.net/bugs/433764
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to clamav in ubuntu.
Scott Kitterman
2010-05-31 16:42:01 UTC
Permalink
Not a bug then. Thats the correct way to start clamd. If you want
something a user can run, see clamdscan or clamscan.
--
After upgrade, clamav's clamd gives "ERROR: initgroups() failed."
https://bugs.launchpad.net/bugs/433764
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to clamav in ubuntu.
Scott Steele
2012-01-03 21:14:30 UTC
Permalink
I am getting the same problem 'After upgrade, clamav's clamd gives
"ERROR: initgroups() failed."' upgrading to clamav 0.96.5+dfsg-
1ubuntu1.10.10.2. This is the latest version using apt-get. The
recommended fix is in place in /etc/apparmor.d/usr.sbin.clamd.

corp-postfix:~$ sudo /usr/sbin/clamd VERSION
ERROR: initgroups() failed.


Thank you.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to clamav in Ubuntu.
https://bugs.launchpad.net/bugs/433764

Title:
After upgrade, clamav's clamd gives "ERROR: initgroups() failed."

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/433764/+subscriptions
Scott Steele
2012-01-03 21:21:24 UTC
Permalink
Ignore my post. Thank you.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to clamav in Ubuntu.
https://bugs.launchpad.net/bugs/433764

Title:
After upgrade, clamav's clamd gives "ERROR: initgroups() failed."

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/433764/+subscriptions
Continue reading on narkive:
Loading...