Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
# dpkg -l | grep clamav
ii clamav 0.90.1dfsg-4etch19 antivirus scanner for Unix
ii clamav-base 0.90.1dfsg-4etch19 base package for clamav, an anti-virus utili
ii clamav-daemon 0.90.1dfsg-4etch19 antivirus scanner daemon
ii clamav-freshclam 0.90.1dfsg-4etch19 downloads clamav virus databases from the In
ii libclamav2 0.90.1dfsg-4etch19 virus scanner library
If I start freshclam then I'm getting this Error message:
In my experience you often need to run antivirus as root. Depending on different distribution it varies.
Try running FreshClam as root and see what that happens.
In my experience you often need to run antivirus as root. Depending on different distribution it varies.
Try running FreshClam as root and see what that happens.
Is it already running? If you can reboot, does that clear it up? If it's actually not running there's probably a lock file you have to remove. Try /etc/init.d/clamav-freshclam restart
Since /var/lib/clamav is owned by clamav, it shouldn't be just a permissions problem. Have you tried stopping all of the *clam* processes and removing /var/lib/clamav/.dbLock? The only info I saw using google that might be relevant was here (as Steel_J noted in his post), although according to this you might get some more data by running:
Are you sure you are using the clamav user? IIRC, frechclam picks up user info from clamd.conf (or similar). There should be a user specified in there ("User clamav" for example).
Are you sure you are using the clamav user? IIRC, frechclam picks up user info from clamd.conf (or similar). There should be a user specified in there ("User clamav" for example).
the clamav user already exists and ist configured in /etc/clamav/clamd.conf
That wasn't the point of my post if you re-read it. Do you have a clamd.conf (or similar under Debian), and what is the prescibed user nominated in it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.