-1

I am using Centos 6 and clamd (clamav daemon) cannot start:

Here is the error message:

Starting Clam AntiVirus Daemon: LibClamAV Error: cli_load(): Can't open file /var/clamav/lmd.user.hdb
LibClamAV Error: cli_loaddbdir(): error loading database /var/clamav/lmd.user.hdb
ERROR: Can't open file or directory

Please note that /var/clamav/lmd.user.hdb points to a non-existent file: /usr/local/maldetect/tmp/.runtime.user.14151.hdb

Thanks in advance for any help!

tonytz
  • 153
  • 1
  • 5
  • 11
  • Where did you install clamd from? What do you mean by "points to"? Is there a symlink named `lmd.user.hdb` in your `/var/clamav` directory? Where does that come from? Did you try removing it? – Tilman Schmidt Sep 20 '15 at 15:57
  • yes, by "points to" i was referring to a symlink named lmd.user.hdb in the /var/clamav directory. not sure where it came from, so i never want to risk the server by removing it. however, reinstalling maldet helped..pls see below – tonytz Sep 21 '15 at 03:29
  • i am not exactly know why someone downvoted my question? i thought this is an entirely legitimate question considering that some other people might have run into the same issue too – tonytz Sep 21 '15 at 03:30
  • 1
    The reason is most probably because your question is unclear (omitting essential information like the packages installed) and shows little research effort (not even checking out that symlink with rpm or Google), perhaps also that it appears off topic in Serverfault (giving the impression that yours is not a business environment.) If you edit your question to improve that the downvoter may well take back the downvote. – Tilman Schmidt Sep 21 '15 at 09:40

1 Answers1

2

Despite Tony's very rude answer, and plz check the following link: https://askubuntu.com/questions/676176/clamav-daemon-cant-open-lmd-user-ndb-wont-start

Forcing maldet reinstall solved the problem for me too.

Regards.

Paranoico
  • 36
  • 1
  • thank you for your help! it worked after maldet was reinstalled..only extra thing i did was to change the permission of the new database files so that clamd can access – tonytz Sep 21 '15 at 03:28