Modify

Ticket #2243 (closed defect: worksforme)

Opened 3 years ago

Last modified 2 years ago

The antivirus database has not been updated since the module was enabled

Reported by: trungpc@… Owned by: ejhernandez@…
Milestone: 2.0.X Component: antivirus
Severity: major Keywords:
Cc:

Description

Hello,

I am new to Zentyal, but thanks to the GUI and structure to configure the system as a gateway. I just don't understand the log of AntiVirus? indicated that "Status:The antivirus database has not been updated since the module was enabled", although the uptime is more than one week. Zentyal doesn't let me use root account, so I don't know how top update Freshclam manually.

Please help!

Thanks,

Trung

Attachments

Change History

comment:1 Changed 3 years ago by jsoriano@…

To log in to a shell you can use the same account that you are using to log in to Zentyal, you can use sudo to run privileged commands.

We'll investigate the updates problem. Could you please attach your ebox.log?

Thanks!

comment:2 Changed 3 years ago by anonymous

I have the same status of antivirus database update about 2 days. However var/log/clamav/freshclam.log shows that clamav is up to date:

Tue Sep 14 07:40:30 2010 -> Received signal: wake up Tue Sep 14 07:40:30 2010 -> ClamAV update process started at Tue Sep 14 07:40:30 2010 Tue Sep 14 07:40:31 2010 -> main.cvd is up to date (version: 52, sigs: 704727, f-level: 44, builder: sven) Tue Sep 14 07:40:31 2010 -> Trying host db.local.clamav.net (84.17.12.94)... Tue Sep 14 07:40:32 2010 -> Downloading daily-11902.cdiff [100%] Tue Sep 14 07:40:32 2010 -> daily.cld updated (version: 11902, sigs: 123503, f-level: 53, builder: guitar) Tue Sep 14 07:40:32 2010 -> bytecode.cld is up to date (version: 49, sigs: 10, f-level: 53, builder: edwin) Tue Sep 14 07:40:32 2010 -> Database updated (828240 signatures) from db.local.clamav.net (IP: 84.17.12.94) Tue Sep 14 07:40:32 2010 -> Clamd successfully notified about the update.

comment:3 Changed 3 years ago by Serega

Hello I have the same situation. Status: The antivirus database has not been updated since the module was enabled I tried to install zentyal-2.0-1-i386.iso and zentyal-2.0-1-amd64.iso on KVM.

comment:4 Changed 3 years ago by Sergey

  • priority changed from high to highest

Hello people. Module antivirus Status: The antivirus database has not been updated since the module was enabled. Does anyone help?

comment:5 Changed 3 years ago by anonymous

The antivirus database has not been updated since the module was enabled.

same issue here

comment:6 Changed 3 years ago by ejhernandez@…

  • Owner changed from javier.amor.garcia@… to ejhernandez@…

comment:7 Changed 3 years ago by ejhernandez@…

(In [18957]) Two things here:

  • Use freshclam as a daemon instead of cron script
  • Bugfix: Include a tailored AppArmor? profile to let observer scripts execution refs #2243

comment:8 Changed 3 years ago by ejhernandez@…

(In [18959]) Check AppArmor? is installed prior to restart the service refs #2243

comment:9 Changed 3 years ago by ejhernandez@…

  • Status changed from new to closed
  • Resolution set to fixed

(In [18961]) NN: Merging ejhernandez/fix-antivirus-msg branch to solve these bugs:

  • Use freshclam as a daemon instead of cron script (avoid two freshclam instances)
  • Include a tailored AppArmor? profile to allow the observer scripts execution closes #2243

comment:10 Changed 3 years ago by Serega

  • Status changed from closed to reopened
  • Resolution fixed deleted

After these changes Status: Last update successful, but in the Dashboard-> Module Status displays Antivirus - Stopped

comment:11 Changed 3 years ago by ejhernandez@…

Could you check if clamd and freshclam daemons are running? If not, could you check /var/log/clamav/clamav.log and /var/log/clamav/freshclam.log for details?

Best,

comment:12 Changed 3 years ago by anonymous

Yes, daemons is running

# ps ax | grep clamd

1729 pts/1 D+ 0:00 grep --color=auto clamd 4689 ? Ssl 1:28 /usr/sbin/clamd

# ps ax | grep freshclam

1424 ? Ss 0:00 /usr/bin/freshclam -d --quiet 5046 pts/1 R+ 0:00 grep --color=auto freshclam

comment:13 Changed 3 years ago by Serega

Yes, daemons is running

# ps ax | grep clamd

1729 pts/1 D+ 0:00 grep --color=auto clamd 4689 ? Ssl 1:28 /usr/sbin/clamd

# ps ax | grep freshclam

1424 ? Ss 0:00 /usr/bin/freshclam -d --quiet 5046 pts/1 R+ 0:00 grep --color=auto freshclam

comment:14 Changed 3 years ago by ejhernandez@…

  • Status changed from reopened to closed
  • Resolution set to fixed

(In [18987]) NN: Using freshclam cron script in the right position and discard freshclam as a daemon closes #2243

comment:15 Changed 2 years ago by kmj@…

  • Status changed from closed to reopened
  • Resolution fixed deleted
  • Severity changed from critical to major

Problem still exists ... has NOT been fixed!

comment:16 Changed 2 years ago by jacalvo@…

  • Status changed from reopened to closed
  • Resolution set to worksforme

What version of the ebox-antivirus package are you using?

Can you confirm this still happens in the last 2.0.4 version? We can't reproduce it.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.