Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496038 - app-antivirus/clamav - Freshclam Error: connect(): No such file or directory
Summary: app-antivirus/clamav - Freshclam Error: connect(): No such file or directory
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Antivirus Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-26 00:58 UTC by Roger
Modified: 2016-05-29 19:45 UTC (History)
1 user (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 Roger 2013-12-26 00:58:39 UTC
Running "freshclam --no-warnings --quiet" responds with " connect(): No such file or directory" error.

Per ArchLinux ClamAV Wiki Troubleshooting, a missing file is to blame for this error.

# touch /var/lib/clamav/clamd.sock
# chown clamav:clamav /var/lib/clamav/clamd.sock

There error disappears and there seems to be no need to uncomment or add the additional line to the /etc/clamav/clamd.conf file:

LocalSocket /var/lib/clamav/clamd.sock


Reproducible: Always
Comment 1 Roger 2013-12-28 04:56:26 UTC
Oops.  Looks like /etc/clamd.conf shows this files location should be "/var/run/clamav/clamd.sock"!

As such,

# mv /var/lib/clamav/clamd.sock /var/run/clamav/clamd.sock
Comment 2 Thomas Raschbacher gentoo-dev 2016-05-29 19:45:27 UTC
closing as OBSOLETE considering how old this bug is with no activity.