freshclam error after installing ispconfig

Discussion in 'ISPConfig 3 Priority Support' started by Tom John, Nov 14, 2021.

  1. Tom John

    Tom John Active Member HowtoForge Supporter

    Hi guys,
    i just made a fresh install of ubuntu 20.04 and ispconfig 3 according to:

    https://www.howtoforge.com/community/threads/autoinstall-ispconfig.87470/#post-426305

    during the installation and after put freshclam -v i get the following error
    Code:
    
    root@server3:~# freshclam -v
    WARNING: Ignoring deprecated option SafeBrowsing at /etc/clamav/freshclam.conf:22
    ERROR: /var/log/clamav/freshclam.log is locked by another process
    ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
    ERROR: initialize: libfreshclam init failed.
    ERROR: Initialization error!
    
    
    can you help me what i did wrong with the autoinstall of ispconfig?
    thanks a lot for your kind help
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    It may take some time until freshclam updated the signatures, if you run freshclam again during that phase, you'll get an error. Freshclam probably runs also as systemd unit anyway. Just look into the log file /var/log/clamav/freshclam.log to see if signatures got updated and don't run freshclam -v manually. So there is no issue with the install as far as I see, the only issue is that you run freshclam manually which then showed you the message that it is running already.
     
  3. Tom John

    Tom John Active Member HowtoForge Supporter

    thanks for your quick answer.
    as i see the logfile is ok (daily.cld, main.cvd bytecode.cvd database is up do date ) is that right?
    Code:
    Sun Nov 14 13:56:05 2021 -> --------------------------------------
    Sun Nov 14 14:56:05 2021 -> Received signal: wake up
    Sun Nov 14 14:56:05 2021 -> ClamAV update process started at Sun Nov 14 14:56:05 2021
    Sun Nov 14 14:56:05 2021 -> WARNING: Your ClamAV installation is OUTDATED!
    Sun Nov 14 14:56:05 2021 -> WARNING: Local version: 0.103.2 Recommended version: 0.103.4
    Sun Nov 14 14:56:05 2021 -> DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav
    Sun Nov 14 14:56:05 2021 -> daily.cld database is up-to-date (version: 26353, sigs: 1945034, f-level: 90, builder: raynman)
    Sun Nov 14 14:56:05 2021 -> main.cvd database is up-to-date (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr)
    Sun Nov 14 14:56:05 2021 -> bytecode.cvd database is up-to-date (version: 333, sigs: 92, f-level: 63, builder: awillia2)
    Sun Nov 14 14:56:05 2021 -> --------------------------------------
    Sun Nov 14 15:56:05 2021 -> Received signal: wake up
    Sun Nov 14 15:56:05 2021 -> ClamAV update process started at Sun Nov 14 15:56:05 2021
    Sun Nov 14 15:56:06 2021 -> WARNING: Your ClamAV installation is OUTDATED!
    Sun Nov 14 15:56:06 2021 -> WARNING: Local version: 0.103.2 Recommended version: 0.103.4
    Sun Nov 14 15:56:06 2021 -> DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav
    Sun Nov 14 15:56:06 2021 -> daily.cld database is up-to-date (version: 26353, sigs: 1945034, f-level: 90, builder: raynman)
    Sun Nov 14 15:56:06 2021 -> main.cvd database is up-to-date (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr)
    Sun Nov 14 15:56:06 2021 -> bytecode.cvd database is up-to-date (version: 333, sigs: 92, f-level: 63, builder: awillia2)
    Sun Nov 14 15:56:06 2021 -> --------------------------------------
    
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, the logfile is fine and your signatures are up to date.
     
  5. Tom John

    Tom John Active Member HowtoForge Supporter

    thanks a lot for your kind help as always
    you guys are doing a great job even on sundays
    thanks so much
     
    till likes this.

Share This Page