clamd failed after attempt to update clamav

Discuss our MailScanner install script and MailScanner itself
Post Reply
budjoe
Junior Member
Posts: 3
Joined: 07 Jan 2016, 19:36

clamd failed after attempt to update clamav

Post by budjoe »

CENTOS 5.11 x86_64 standard – server3 WHM 11.50.0 (build 10)
MailScanner - v4.84.5
ConfigServer MailScanner Script - v2.94
MailScanner Front-End - v5.00
A new version of ClamAV (Current:v New:v0.99) is available

Was initially installed and configured by Way to the Web

Unpacking, building and installing new ClamAV package...
Retrieving ClamAV tarball from Sourceforge...

/usr/local/etc/freshclam.conf converted
/usr/local/etc/freshclam.conf converted
/usr/local/bin/freshclam: error while loading shared libraries: libclamav.so.6: cannot open shared object file: No such file or directory
`/usr/mscpanel/clamd' -> `/etc/init.d/clamd'
Stopping clamd: [FAILED]
Starting clamd: [FAILED]
Tidying up...
Shutting down MailScanner daemons:
MailScanner:
Waiting for MailScanner to stop...
Starting MailScanner daemons:
MailScanner: [ OK ]
...All done.

Checked the forums for similar, but found nothing that helps.
Checked the settings in Service Manager.
ClamAV Daemon is Enabled but not Monitored
clamav in Additional Services is Enabled and Monitored

Have tried the update multiple times with no change.
budjoe
Junior Member
Posts: 3
Joined: 07 Jan 2016, 19:36

Re: clamd failed after attempt to update clamav

Post by budjoe »

Just found this in /usr/local/cpanel/logs/error_log:
http://www.clamav.net/downloads/product ... .99.tar.gz
Location: https://s3.amazonaws.com/clamav-site/pr ... %2F66eI%3D [following]
https://s3.amazonaws.com/clamav-site/pr ... %2F66eI%3D: HTTPS support not compiled in.
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
configure: line 9: cd: /usr/src/clamav.tar.gz: Not a directory
sh: configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
mv: cannot stat `/usr/local/etc/clamd.conf.sample': No such file or directory
mv: cannot stat `/usr/local/etc/freshclam.conf.sample': No such file or directory
replace: File '/usr/local/etc/clamd.conf' not found (Errcode: 2)
replace: File '/usr/local/etc/clamd.conf' not found (Errcode: 2)
replace: File '/usr/local/etc/clamd.conf' not found (Errcode: 2)

So it appears that the problem is/was in the update.
Note the "unexpected end of file"
Sarah
Moderator
Posts: 934
Joined: 09 Dec 2006, 22:49

Re: clamd failed after attempt to update clamav

Post by Sarah »

You could try updating clamav manually following the instructions on our website:
http://www.configserver.com/free/clamav.html

If that does not work please submit a ticket on the helpdesk and we'll try to help.

Regards,
Sarah
budjoe
Junior Member
Posts: 3
Joined: 07 Jan 2016, 19:36

Re: clamd failed after attempt to update clamav

Post by budjoe »

Manual install was successful.
Now running OK.
Post Reply