Page 1 of 1

Not the typical ClamAV issue.

Posted: 04 Apr 2010, 05:56
by jols
We get this when attempting to update ClamAV via the MailScannerFE. I've tried everything I can find, without any luck so far:

UNAME_VERSION = #1 SMP Tue Aug 18 15:51:54 EDT 2009
configure: error: cannot guess build type; you must specify one
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
/usr/local/etc/freshclam.conf converted
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)
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
ClamAV update process started at Sat Apr 3 23:22:25 2010
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.95.3 Recommended version: 0.96
DON'T PANIC! Read http://www.clamav.net/support/faq
main.cld is up to date (version: 52, sigs: 704727, f-level: 44, builder: sven)
daily.cld is up to date (version: 10699, sigs: 49678, f-level: 44, builder: guitar)
`/usr/mscpanel/clamd' -> `/etc/init.d/clamd'
Stopping clamd: [FAILED]
Starting clamd: [FAILED]

Posted: 04 Apr 2010, 05:58
by jols
By the way, I found that /usr/local/etc/freshclam.conf was empty, so I tried copying the contents in from another server. Still a no-go. And yes, we have plenty of room on the server's drive partitions.

Posted: 04 Apr 2010, 06:05
by jols
Just got this same symptom on another server, not sure what to do about this one. Some clamAV updates go well, others don't.

Posted: 04 Apr 2010, 06:48
by jols
Here's a bit of an extended log when trying to update clamav:


2010-04-04 00:42:19 (1.35 MB/s) - `clamav-0.96.tar.gz' saved [39792593/39792593]

checking build system type... config/config.guess: unable to guess system type

This script, last modified 2009-06-10, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

http://git.savannah.gnu.org/gitweb/?p=c ... ss;hb=HEAD
and
http://git.savannah.gnu.org/gitweb/?p=c ... ub;hb=HEAD

If the version you run (config/config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to in order to provide the needed
information to handle your system.

config.guess timestamp = 2009-06-10

uname -m = i686
uname -r = 2.6.18-164.6.1.el5PAE
uname -s = Linux
uname -v = #1 SMP Tue Oct 27 11:46:58 EDT 2009

/usr/bin/uname -p =
/bin/uname -X =

hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch = i686
/usr/bin/oslevel =
/usr/convex/getsysinfo =

UNAME_MACHINE = i686
UNAME_RELEASE = 2.6.18-164.6.1.el5PAE
UNAME_SYSTEM = Linux
UNAME_VERSION = #1 SMP Tue Oct 27 11:46:58 EDT 2009
configure: error: cannot guess build type; you must specify one
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
/usr/local/etc/freshclam.conf converted
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)
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
ClamAV update process started at Sun Apr 4 00:42:28 2010
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.95.3 Recommended version: 0.96
DON'T PANIC! Read http://www.clamav.net/support/faq
main.cvd is up to date (version: 52, sigs: 704727, f-level: 44, builder: sven)
daily.cld is up to date (version: 10699, sigs: 49678, f-level: 44, builder: guitar)
`/usr/mscpanel/clamd' -> `/etc/init.d/clamd'
Stopping clamd: [ OK ]
Starting clamd: [FAILED]

Tidying up...

-----------------------------------

All our servers are:

cPanel 11.25.0-R43473 - WHM 11.25.0 - X 3.9
REDHAT Enterprise 5.5 i686 standard

And we are running the most recent versions of MailScanner

Posted: 04 Apr 2010, 18:08
by Sarah
We haven't seen this exact problem before, though we have seen a somewhat similar problem when /usr/local/etc/clamd.conf was empty - have you checked that? Have you tried to reinstall clamd manually by following the instructions on our website?

Regards,
Sarah

Posted: 05 Apr 2010, 10:20
by jols
Thanks for your reply.

Yes, on each server where we have this issue, I have found that clamd.conf is empty, but it does not help to replace this (e.g. from another server), as soon as we try to update again via WHM, the clamd.conf file is wiped/blanked again.

I will try to re-install manually. But shouldn't I un-install the old installation first? If so, how do I do this?

Thanks again.

Posted: 05 Apr 2010, 14:10
by Infopro

Posted: 06 Apr 2010, 04:20
by jols
Thanks Infopro, but there is nothing in the link you provided that addresses this particular issue.

CORRECTION: I finally spotted the instructions at the very bottom about uninstalling, etc. Thanks much.

Same error, stopped again.

Posted: 06 Apr 2010, 04:32
by jols
Stopped again:

After uninstalling, I follow the instructions found here:
http://www.configserver.com/free/clamav.html

Then I get to this line:
./configure --disable-zlib-vcheck

... and the following occurs (note that I get this same error even here: "unable to guess system" and "error: cannot guess build type;"):
---------------------------------------------------------------
[~/downloads/clamav-0.96]# ./configure --disable-zlib-vcheck
checking build system type... config/config.guess: unable to guess system type

This script, last modified 2009-06-10, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

http://git.savannah.gnu.org/gitweb/?p=c ... ss;hb=HEAD
and
http://git.savannah.gnu.org/gitweb/?p=c ... ub;hb=HEAD

If the version you run (config/config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches@gnu.org> in order to provide the needed
information to handle your system.

config.guess timestamp = 2009-06-10

uname -m = i686
uname -r = 2.6.18-164.el5
uname -s = Linux
uname -v = #1 SMP Tue Aug 18 15:51:54 EDT 2009

/usr/bin/uname -p =
/bin/uname -X =

hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch = i686
/usr/bin/oslevel =
/usr/convex/getsysinfo =

UNAME_MACHINE = i686
UNAME_RELEASE = 2.6.18-164.el5
UNAME_SYSTEM = Linux
UNAME_VERSION = #1 SMP Tue Aug 18 15:51:54 EDT 2009
configure: error: cannot guess build type; you must specify one
---------------------------------------------------------------

Resolved

Posted: 06 Apr 2010, 07:14
by jols
cPanel.net reminded me that we have a few utilities in the server chattr locked and this was causing the issue. Their response:

-----------
Your /usr/bin/strings was chattr +i, which was preventing binutils from being installed correctly. The following series of commands seems to have resolved this.

chattr -i /usr/bin/strings
yum -y install binutils
-----------

Thanks Sarah and Inforpro for your help!