libclamav.so error after New ClamAV v0.93
Hello Sarah!
here is what i did now and same results:
admin@ns10 [~]# su - root
Password:
root@ns10 [~]# bash: ldconfig: command not found
-bash: bash:: command not found
root@ns10 [~]# freshclam
freshclam: error while loading shared libraries: libclamav.so.4: cannot open shared object file: No such file or directory
root@ns10 [~]# service clamd restart
Stopping clamd: [FAILED]
Starting clamd: /usr/local/sbin/clamd: error while loading shared libraries: libclamav.so.4: cannot open shared object file: No such file or directory
[FAILED]
here is what i did now and same results:
admin@ns10 [~]# su - root
Password:
root@ns10 [~]# bash: ldconfig: command not found
-bash: bash:: command not found
root@ns10 [~]# freshclam
freshclam: error while loading shared libraries: libclamav.so.4: cannot open shared object file: No such file or directory
root@ns10 [~]# service clamd restart
Stopping clamd: [FAILED]
Starting clamd: /usr/local/sbin/clamd: error while loading shared libraries: libclamav.so.4: cannot open shared object file: No such file or directory
[FAILED]
Some other helpful info can be read here as well.
http://forums.cpanel.net/showthread.php ... post360724
http://forums.cpanel.net/showthread.php ... post360724
Thanks for that information.
Regardingy your comments on the cPanel forum about your posts never appearing on the configserver blog, as stated at the top of the blog page:
"Please note that support is not provided through this blog - any support related comments will be removed."
The appropriate place to get specific help about anything related to our scripts is either here in this forum or on our helpdesk. Thanks.
Regardingy your comments on the cPanel forum about your posts never appearing on the configserver blog, as stated at the top of the blog page:
"Please note that support is not provided through this blog - any support related comments will be removed."
The appropriate place to get specific help about anything related to our scripts is either here in this forum or on our helpdesk. Thanks.
ClamAv wont upgrade
Hi everybody,
I made upgrades yesterday to MailScanner and MailScanner Front-End.
i just upgrade CLAMAV, i did the upgrade using mailscanner Interface in WHM, it keep telling me ClamAv is outdated :
i found in upgrade log this error :
i tryed to restart :
i get :
My MS version :
MailScanner - v4.68.8 installed
ConfigServer MailScanner Script - v2.65 installed and up to date
MailScanner Front-End - v4.22 installed and up to date
CPANEL:WHM :
WHM 11.23.0
cPanel 11.23.1-C24775
FEDORA 4 i686
on standard - WHM X v3.1.0
Can anyone help ?, or has any ideas ?
PS Sarah, i hav lost my account Infos
how can i get it back ?
Eric Zudas.
I made upgrades yesterday to MailScanner and MailScanner Front-End.
i just upgrade CLAMAV, i did the upgrade using mailscanner Interface in WHM, it keep telling me ClamAv is outdated :
Code: Select all
A new version of ClamAV (Current:v0.91.2 New:v0.93) is available
i found in upgrade log this error :
Code: Select all
checking for gcc bug PR28045... configure: error: your compiler has gcc PR28045 bug, use a different compiler, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28045
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
.....................
Stopping clamd: [FAILED]
Starting clamd: [FAILED]
Code: Select all
service clamd restart
Code: Select all
Stopping clamd: [FAILED]
Starting clamd: ERROR: Please define server type (local and/or TCP).
[FAILED]
MailScanner - v4.68.8 installed
ConfigServer MailScanner Script - v2.65 installed and up to date
MailScanner Front-End - v4.22 installed and up to date
CPANEL:WHM :
WHM 11.23.0
cPanel 11.23.1-C24775
FEDORA 4 i686
on standard - WHM X v3.1.0
Can anyone help ?, or has any ideas ?
PS Sarah, i hav lost my account Infos
how can i get it back ?
Eric Zudas.
You are running Fedora Core 4, which has a known bug in gcc as stated in the error message you're getting when trying to upgrade:
1. Remove current installation of clamav:
2. Re-install version 0.91.2:
3. Make sure clamav is checked in WHM - Service Manager.
4. Check the MailScanner Configuration and make sure Virus Scannerrs is set to clamd and not clamavmodule.
And be sure not to try to upgrade clamav in MSFE until you have sorted out the OS problem.
Regards,
Sarah
You will need to either fix that (sorry we can't help with that), switch to a supported OS, or downgrade clamav. To downgrade clamav back to 0.91.2, follow these instructions:checking for gcc bug PR28045... configure: error: your compiler has gcc PR28045 bug, use a different compiler, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28045
1. Remove current installation of clamav:
Code: Select all
killall clamd
rpm -e clamav-db clamd clamav clamav-devel
/bin/rm -Rfv /usr/bin/clam*
/bin/rm -Rfv /usr/sbin/clam*
/bin/rm -Rfv /usr/lib/libclam*
/bin/rm -Rfv /usr/share/clam*
/bin/rm -Rfv /usr/include/clam*
/bin/rm -Rfv /usr/bin/freshclam*
/bin/rm -Rfv /usr/etc/clamav*
/bin/rm -Rfv /usr/local/bin/clam*
/bin/rm -Rfv /usr/local/sbin/clam*
/bin/rm -Rfv /usr/local/lib/libclam*
/bin/rm -Rfv /usr/local/share/clam*
/bin/rm -Rfv /usr/local/include/clam*
/bin/rm -Rfv /usr/local/bin/freshclam*
/bin/rm -Rfv /usr/local/etc/clamav*
/bin/rm -fv /etc/cron.daily/freshclam
/bin/rm -fv /etc/cron.hourly/freshclam
/bin/rm -fv /etc/cron.d/freshclam
useradd clamav
groupadd clamav
Code: Select all
cd /root/rpms
rm -fv /usr/local/etc/clamd.conf
wget http://prdownloads.sourceforge.net/clamav/clamav-0.91.2.tar.gz
tar -xzf clamav-*
cd clamav-*
./configure --disable-zlib-vcheck
make
make install
replace "Example" "#Example" -- /usr/local/etc/freshclam.conf
replace "Example" "#Example" -- /usr/local/etc/clamd.conf
replace "LocalSocket /tmp/clamd.socket" "LocalSocket /tmp/clamd" -- /usr/local/etc/clamd.conf
freshclam
/bin/cp -fv contrib/init/RedHat/clamd /etc/init.d/clamd
chown root:root /etc/init.d/clamd
chmod x /etc/init.d/clamd
chkconfig clamd on
service clamd restart
cd ..
/bin/rm -Rf clamav-*
cd /root/rpms/
echo 'service[clamav]=x,x,x,service clamd restart,clamd,root' > /etc/chkserv.d/clamav
touch /var/log/clam-update.log
>/var/log/clam-update.log
chown clamav:clamav /var/log/clam-update.log
service chkservd restart
4. Check the MailScanner Configuration and make sure Virus Scannerrs is set to clamd and not clamavmodule.
And be sure not to try to upgrade clamav in MSFE until you have sorted out the OS problem.
Regards,
Sarah
I also have this problem...
I all - I have a CentOS machine running clamav / clamd (both with green lights) and in my exim mainlog I see the following:
May 4 15:40:41 frank MailScanner[12029]: Virus and Content Scanning: Starting
May 4 15:40:41 frank MailScanner[13992]: Cannot find Socket (/tmp/clamd.socket) Exiting!
Can someone please provide some assistance? I tried upping the size limit from 200000 to 300000 and that didn't seem to cure it.
Thank you so much!
May 4 15:40:41 frank MailScanner[12029]: Virus and Content Scanning: Starting
May 4 15:40:41 frank MailScanner[13992]: Cannot find Socket (/tmp/clamd.socket) Exiting!
Can someone please provide some assistance? I tried upping the size limit from 200000 to 300000 and that didn't seem to cure it.
Thank you so much!
You need to change the setting for "Clamd Socket" in MailScanner Configuration from /tmp/clamd.socket to /tmp/clamd.
Then restart MailScanner and clamd (service clamd restart).
However, you should only have one clam service enabled in service manager. You should enable the "clamav" service under Additional Services, NOT the "clamd" service in the main section, which should have both boxes unchecked so it is disabled.
Regards,
Sarah
Then restart MailScanner and clamd (service clamd restart).
However, you should only have one clam service enabled in service manager. You should enable the "clamav" service under Additional Services, NOT the "clamd" service in the main section, which should have both boxes unchecked so it is disabled.
Regards,
Sarah