HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Amavis/ClamAv problem (http://www.howtoforge.com/forums/showthread.php?t=49453)

MattJo. 15th October 2010 15:48

Amavis/ClamAv problem
 
Not Sure where to post this, but I recently screwed up trying to upgrade ClamAV and subsequently had to reinstall it per the ISPConfig instructions. Thought it was ok. Shortly afterwards I upgraded both Ubuntu to 10.10 and ISPConfig to 3.0.3 from 3.0.2.1 and everything seems to be fine except I am now seeing the errors below.

Any thoughts?

thanks,

Matt



Mail Warn Log

Oct 15 06:52:44 server amavis[1372]: (01372-01) (!)run_av (ClamAV-clamd) FAILED - unexpected , output="/var/lib/amavis/tmp/amavis-20101015T065244-01372/parts: lstat() failed: Permission denied. ERROR\n"
Oct 15 06:52:44 server amavis[1372]: (01372-01) (!)ClamAV-clamd av-scanner FAILED: CODE(0x313c610) unexpected , output="/var/lib/amavis/tmp/amavis-20101015T065244-01372/parts: lstat() failed: Permission denied. ERROR\n" at (eval 117) line 594.
Oct 15 06:52:44 server amavis[1372]: (01372-01) (!!)WARN: all primary virus scanners failed, considering backups
Mail Error Log
Oct 13 06:32:58 server amavis[1427]: (01427-01) (!!)WARN: all primary virus scanners failed, considering backups
Oct 14 06:50:47 server amavis[1373]: (01373-01) (!!)WARN: all primary virus scanners failed, considering backups
Oct 15 06:52:44 server amavis[1372]: (01372-01) (!!)WARN: all primary virus scanners failed, considering backups
ClamAV Log
Thu Oct 14 00:51:41 2010 -> SelfCheck: Database status OK.
Thu Oct 14 01:51:41 2010 -> SelfCheck: Database status OK.
Thu Oct 14 02:51:41 2010 -> SelfCheck: Database status OK.
Thu Oct 14 03:51:41 2010 -> SelfCheck: Database status OK.
Thu Oct 14 04:51:42 2010 -> SelfCheck: Database status OK.
Thu Oct 14 05:51:42 2010 -> SelfCheck: Database status OK.
Thu Oct 14 06:50:47 2010 -> WARNING: lstat() failed on: /var/lib/amavis/tmp/amavis-20101014T065047-01373/parts
Thu Oct 14 07:50:47 2010 -> SelfCheck: Database status OK.
Thu Oct 14 08:50:47 2010 -> SelfCheck: Database status OK.
Thu Oct 14 09:50:47 2010 -> SelfCheck: Database modification detected. Forcing reload.
Thu Oct 14 09:50:47 2010 -> Reading databases from /var/lib/clamav
Thu Oct 14 09:50:52 2010 -> Database correctly reloaded (843364 signatures)
Thu Oct 14 10:50:52 2010 -> SelfCheck: Database status OK.
Thu Oct 14 11:50:52 2010 -> SelfCheck: Database status OK.
Thu Oct 14 12:50:52 2010 -> SelfCheck: Database status OK.
Thu Oct 14 13:50:52 2010 -> SelfCheck: Database status OK.
Thu Oct 14 14:50:52 2010 -> SelfCheck: Database status OK.
Thu Oct 14 15:50:52 2010 -> SelfCheck: Database status OK.
Thu Oct 14 16:50:52 2010 -> SelfCheck: Database status OK.
Thu Oct 14 17:50:52 2010 -> SelfCheck: Database status OK.
Thu Oct 14 18:50:52 2010 -> SelfCheck: Database status OK.
Thu Oct 14 19:50:52 2010 -> SelfCheck: Database status OK.
Thu Oct 14 20:50:53 2010 -> SelfCheck: Database status OK.
Thu Oct 14 21:50:53 2010 -> SelfCheck: Database status OK.
Thu Oct 14 22:50:53 2010 -> SelfCheck: Database status OK.
Thu Oct 14 23:50:53 2010 -> SelfCheck: Database modification detected. Forcing reload.
Thu Oct 14 23:50:53 2010 -> Reading databases from /var/lib/clamav
Thu Oct 14 23:50:57 2010 -> Database correctly reloaded (843369 signatures)
Fri Oct 15 00:50:58 2010 -> SelfCheck: Database status OK.
Fri Oct 15 01:50:58 2010 -> SelfCheck: Database status OK.
Fri Oct 15 02:50:58 2010 -> SelfCheck: Database status OK.
Fri Oct 15 03:50:58 2010 -> SelfCheck: Database status OK.
Fri Oct 15 04:50:58 2010 -> SelfCheck: Database status OK.
Fri Oct 15 05:50:58 2010 -> SelfCheck: Database status OK.
Fri Oct 15 06:50:58 2010 -> SelfCheck: Database status OK.
Fri Oct 15 06:52:44 2010 -> WARNING: lstat() failed on: /var/lib/amavis/tmp/amavis-20101015T065244-01372/parts
Fri Oct 15 07:52:44 2010 -> SelfCheck: Database modification detected. Forcing reload.
Fri Oct 15 07:52:45 2010 -> Reading databases from /var/lib/clamav
Fri Oct 15 07:52:49 2010 -> Database correctly reloaded (843373 signatures)
Freshclam Log
Fri Oct 15 05:51:51 2010 -> --------------------------------------
Fri Oct 15 06:51:51 2010 -> Received signal: wake up
Fri Oct 15 06:51:51 2010 -> ClamAV update process started at Fri Oct 15 06:51:51 2010
Fri Oct 15 06:51:51 2010 -> main.cvd is up to date (version: 52, sigs: 704727, f-level: 44, builder: sven)
Fri Oct 15 06:51:51 2010 -> daily.cld is up to date (version: 12138, sigs: 139868, f-level: 53, builder: guitar)
Fri Oct 15 06:51:51 2010 -> bytecode.cld is up to date (version: 80, sigs: 10, f-level: 53, builder: edwin)
Fri Oct 15 06:51:51 2010 -> --------------------------------------
Fri Oct 15 07:51:51 2010 -> Received signal: wake up
Fri Oct 15 07:51:51 2010 -> ClamAV update process started at Fri Oct 15 07:51:51 2010
Fri Oct 15 07:51:51 2010 -> main.cvd is up to date (version: 52, sigs: 704727, f-level: 44, builder: sven)
Fri Oct 15 07:52:12 2010 -> connect_error: getsockopt(SO_ERROR): fd=4 error=110: Connection timed out
Fri Oct 15 07:52:12 2010 -> Can't connect to port 80 of host db.local.clamav.net (IP: 65.120.238.5)
Fri Oct 15 07:52:12 2010 -> Trying host db.local.clamav.net (168.143.19.95)...
Fri Oct 15 07:52:12 2010 -> Downloading daily-12139.cdiff [100%]
Fri Oct 15 07:52:12 2010 -> daily.cld updated (version: 12139, sigs: 139872, f-level: 53, builder: ccordes)
Fri Oct 15 07:52:12 2010 -> bytecode.cld is up to date (version: 80, sigs: 10, f-level: 53, builder: edwin)
Fri Oct 15 07:52:12 2010 -> Database updated (844609 signatures) from db.local.clamav.net (IP: 168.143.19.95)
Fri Oct 15 07:52:12 2010 -> --------------------------------------

till 15th October 2010 17:02

Did you do the ispconfig update after you updated ubuntu and did you choose to reconfigure services during ispconfig update?

MattJo. 16th October 2010 04:07

Hi Till,

I updated ISPConfig after the Ubuntu update and I didn't reconfigure anything that I recall.

thanks,

Matt

falko 16th October 2010 10:45

The updater asks you if you want to reconfigure services. Did you answer no or yes there?

MattJo. 16th October 2010 16:05

falko,

No, I didn't reconfigure anything-i just "entered" through everything as default or selected keep old settings in both the Ubuntu update and ISPConfig update.

thanks,

Matt

falko 17th October 2010 11:16

Ok, try to update again and then choose to reconfigure services.

MattJo. 19th October 2010 06:20

Thanks to you both. That did it--as I don't see the errors in the logs anymore.

Although I've this in ISPConfig Cron - Log now

PHP Notice: Undefined offset: 1 in /usr/local/ispconfig/server/cron_daily.php on line 95
PHP Notice: Undefined offset: 1 in /usr/local/ispconfig/server/cron_daily.php on line 95
PHP Notice: Undefined offset: 1 in /usr/local/ispconfig/server/cron_daily.php on line 95
PHP Notice: Undefined offset: 1 in /usr/local/ispconfig/server/cron_daily.php on line 95
PHP Notice: Undefined offset: 1 in /usr/local/ispconfig/server/cron_daily.php on line 95
PHP Notice: Undefined offset: 1 in /usr/local/ispconfig/server/cron_daily.php on line 95

is this an artifact of the upgrade as well?

thanks in advance,

Matt

falko 20th October 2010 17:18

I think you just need to change the error reporting level in your php.ini.


All times are GMT +2. The time now is 06:03.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.