Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 497762 - app-antivirus/clamav - clamd: ERROR: LOCAL: Socket file /run/clamav/clamd.sock could not be bound: Permission denied
Summary: app-antivirus/clamav - clamd: ERROR: LOCAL: Socket file /run/clamav/clamd.soc...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-11 05:16 UTC by David Heidelberg (okias)
Modified: 2014-04-08 16:14 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Heidelberg (okias) 2014-01-11 05:16:46 UTC
...
Jan 11 06:09:44 leonix clamd[3561]: ERROR: LOCAL: Socket file /run/clamav/clamd.sock could not be bound: Permission denied
Jan 11 06:09:44 leonix systemd[1]: clamd.service: control process exited, code=exited status=1
Jan 11 06:09:44 leonix systemd[1]: Failed to start Generic ClamAV scanner daemon.
Jan 11 06:09:44 leonix systemd[1]: Unit clamd.service entered failed state.
Jan 11 06:09:44 leonix systemd[1]: clamd.service holdoff time over, scheduling restart.
Jan 11 06:09:44 leonix systemd[1]: Stopping Generic ClamAV scanner daemon...
Jan 11 06:09:44 leonix systemd[1]: Starting Generic ClamAV scanner daemon...
Jan 11 06:09:49 leonix clamd[3565]: ERROR: LOCAL: Socket file /run/clamav/clamd.sock could not be bound: Permission denied
Jan 11 06:09:49 leonix systemd[1]: clamd.service: control process exited, code=exited status=1
Jan 11 06:09:49 leonix systemd[1]: Failed to start Generic ClamAV scanner daemon.
Jan 11 06:09:49 leonix systemd[1]: Unit clamd.service entered failed state.
Jan 11 06:09:49 leonix systemd[1]: clamd.service holdoff time over, scheduling restart.
Jan 11 06:09:49 leonix systemd[1]: Stopping Generic ClamAV scanner daemon...
Jan 11 06:09:49 leonix systemd[1]: Starting Generic ClamAV scanner daemon...
Jan 11 06:09:54 leonix clamd[3569]: ERROR: LOCAL: Socket file /run/clamav/clamd.sock could not be bound: Permission denied

## sometime here I run
# chown amavis:amavis /run/clamav/ -R
## and it works...
Jan 11 06:09:54 leonix systemd[1]: clamd.service: control process exited, code=exited status=1
Jan 11 06:09:54 leonix systemd[1]: Failed to start Generic ClamAV scanner daemon.
Jan 11 06:09:54 leonix systemd[1]: Unit clamd.service entered failed state.
Jan 11 06:09:54 leonix systemd[1]: clamd.service holdoff time over, scheduling restart.
Jan 11 06:09:54 leonix systemd[1]: Stopping Generic ClamAV scanner daemon...
Jan 11 06:09:54 leonix systemd[1]: Starting Generic ClamAV scanner daemon...

Not sure, maybe it's my mistake, but it's weird, when failing and restarting endlessly again.

I'll check this today later, too exhausted today...

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2014-04-07 18:45:42 UTC
How your tests ended? :/
Comment 2 David Heidelberg (okias) 2014-04-08 16:14:04 UTC
I think it worked for while somehow (after reboot) and then after some time I removed clamav.