This one time, at band camp, Marcus C. Gottwald said:
> clamd won't start because it can't open its communication
> socket because permission to access/create it is denied.
> /var/run/clamav was created by clamav-base and is owned by
> root. Changing its user/group to "clamav" fixes the problem
> but might not be the most elegant/secure solution.
> 
> 
> # tail /var/log/clamav/clamav.log
> Wed Feb  9 16:26:50 2005 -> +++ Started at Wed Feb  9 16:26:50 2005
> Wed Feb  9 16:26:50 2005 -> clamd daemon 0.82 (OS: linux-gnu, ARCH: i386, 
> CPU: i386)
> Wed Feb  9 16:26:50 2005 -> Log file size limit disabled.
> Wed Feb  9 16:26:50 2005 -> Running as user clamav (UID 103, GID 103)
> Wed Feb  9 16:26:50 2005 -> Reading databases from /var/lib/clamav/
> Wed Feb  9 16:26:50 2005 -> Protecting against 30454 viruses.
> Wed Feb  9 16:26:50 2005 -> ERROR: Socket file /var/run/clamav/clamd.ctl 
> could not be bound: Permission denied
> 
> # ls -la /var/run/clamav/
> total 8
> drwxr-xr-x   2 root root 4096 Feb  8 02:24 .
> drwxr-xr-x  13 root root 4096 Feb  9 16:26 ..

Edit /var/lib/dpkg/info/clamav-base.postinst, and change #!/bin/sh to
#!/bin/sh -x.  Then run dpkg-reconfigure clamav-base and send me the
output.  This should have been handled automatically, but I would like
to see what went wrong.

Thanks for reporting and sorry to take so long getting back,
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        [EMAIL PROTECTED] |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: pgpqY4fOfXycn.pgp
Description: PGP signature

Reply via email to