Unfortunately, it may not be fixed on Solaris 9. My earlier problem went away with the update to daily.cld 13840. This different problem began yesterday with the update to daily.cld 13842.

This is the update I saw in freshclam.log:
Received signal: wake up
ClamAV update process started at Mon Oct 24 05:46:02 2011
main.cld is up to date (version: 54, sigs: 1044387, f-level: 60, builder: sven) daily.cld is up to date (version: 13843, sigs: 15910, f-level: 60, builder: guitar)
connect_error: getsockopt(SO_ERROR): fd=5 error=146: Connection refused
Can't connect to port 80 of host db.us.clamav.net (IP: 69.12.162.28)
Downloading bytecode-151.cdiff [100%]
Downloading bytecode-152.cdiff [100%]
bytecode.cld updated (version: 152, sigs: 38, f-level: 60, builder: edwin)
Database updated (1060335 signatures) from db.us.clamav.net (IP: 64.22.33.90)
--------------------------------------

and the next datacheck produced this in clamd.log:

Mon Oct 24 06:27:15 2011 -> No stats for Database check - forcing reload
Mon Oct 24 06:27:16 2011 -> Reading databases from /opt/ClamAV/share/clamav
Mon Oct 24 06:27:27 2011 -> ERROR: Database initialization error: can't compile engine: Failure in bytecode testmode
Mon Oct 24 06:27:27 2011 -> Terminating because of a fatal error.
Mon Oct 24 06:27:27 2011 -> Waiting for all threads to finish
Mon Oct 24 06:27:27 2011 -> Shutting down the main socket.
Mon Oct 24 06:27:27 2011 -> Pid file removed.
Mon Oct 24 06:27:27 2011 -> --- Stopped at Mon Oct 24 06:27:27 2011
Mon Oct 24 06:27:27 2011 -> Closing the main socket.
Mon Oct 24 06:27:27 2011 -> Socket file removed.

my output from clamconf -n:

Checking configuration files in /opt/ClamAV/etc

Config file: clamd.conf
-----------------------
LogFile = "/var/log/clamd.log"
LogFileMaxSize = "1048576000"
LogTime = "yes"
LogSyslog = "yes"
LogVerbose = "yes"
PidFile = "/var/run/clamd.pid"
LocalSocket = "/var/spool/MIMEDefang/clamd.sock"
StreamMaxLength = "52428800"
SelfCheck = "7200"
PhishingScanURLs disabled
StructuredSSNFormatNormal disabled

Config file: freshclam.conf
---------------------------
LogFileMaxSize = "10485760"
PidFile = "/var/run/freshclam.pid"
UpdateLogFile = "/var/log/freshclam.log"
Checks = "24"
DatabaseMirror = "db.us.clamav.net", "database.clamav.net"

Config file: clamav-milter.conf
-------------------------------

Software settings
-----------------
Version: 0.97.1
Optional features supported: MEMPOOL IPv6 AUTOIT_EA06 BZIP2 RAR

Database information
--------------------
Database directory: /opt/ClamAV/share/clamav
main.cld: version 54, sigs: 1044387, built on Tue Oct 11 07:34:20 2011
daily.cld: version 13843, sigs: 15910, built on Sun Oct 23 20:10:43 2011
bytecode.cld: version 152, sigs: 38, built on Mon Oct 24 05:07:39 2011
Total number of signatures: 1060335

Platform information
--------------------
uname: solaris2.9
OS: solaris2.9, ARCH: sparc, CPU: sparc
Full OS version:                         Solaris 9 9/04 s9s_u7wos_09 SPARC
zlib version: 1.1.4 (1.1.4)
platform id: 0x0e613d3d1800000000030403

Build information
-----------------
GNU C: 3.4.3 (3.4.3)
CPPFLAGS: -I/opt/GNUmp/include -I/opt/sendmail/include
CFLAGS: -g -O2
CXXFLAGS:
LDFLAGS: -static-libgcc -L/opt/GNUmp/slib -L/opt/sendmail/lib
Configure: '--prefix=/opt/ClamAV' '--sysconfdir=/opt/ClamAV/etc' '--with-user=clamav' '--with-group=clamav' '--enable-readdir_r' '--enable-milter' 'CC=gcc' 'LDFLAGS=-static-libgcc -L/opt/GNUmp/slib -L/opt/sendmail/lib' 'CPPFLAGS=-I/opt/GNUmp/include -I/opt/sendmail/include' --enable-ltdl-convenience
sizeof(void*) = 8
Engine flevel: 61, dconf: 61

--On Monday, October 24, 2011 3:23 PM +0200 Matthias Egger <maeg...@ee.ethz.ch> wrote:

Hello Edwin

On 24.10.2011 14:23, Török Edwin wrote:
152 is out which should include the fix for this crash on Sparc.
Once it reaches your mirrors and freshclam confirms that you got
bytecode.cvd 152 can you test again to see if it fixed the crash for you?

* bytecode has been updated a few minutes ago:

Oct 24 14:45:05 drwho.ee.ethz.ch freshclam[25498]: [ID 702911 mail.info]
bytecode.cld updated (version: 152, sigs: 38, f-level: 60, builder: edwin)

Oct 24 14:45:08 tranquillity freshclam[2004]: [ID 702911 mail.info]
bytecode.cld updated (version: 152, sigs: 38, f-level: 60, builder: edwin)

* I manually stopped and restarted clamav.

* After 10 Minutes:

Oct 24 14:58:19 tranquillity clamd[2115]: [ID 702911 mail.info] No stats
for Database check - forcing reload
Oct 24 14:58:19 tranquillity clamd[2115]: [ID 702911 mail.info] Reading
databases from /usr/pack/clamav-0.97.3-me/share/clamav
Oct 24 14:58:36 tranquillity clamd[2115]: [ID 702911 mail.info] Database
correctly reloaded (1103188 signatures)

Oct 24 14:59:52 tardis clamd[16095]: [ID 702911 mail.info] No stats for
Database check - forcing reload
Oct 24 14:59:53 tardis clamd[16095]: [ID 702911 mail.info] Reading
databases from /usr/pack/clamav-0.97.3-me/share/clamav
Oct 24 15:00:07 tardis clamd[16095]: [ID 702911 mail.info] Database
correctly reloaded (1103188 signatures)

* After 10 more Minutes:
Oct 24 15:08:36 tranquillity.ee.ethz.ch clamd[2115]: [ID 702911
mail.info] SelfCheck: Database status OK.
Oct 24 15:10:11 tardis clamd[16095]: [ID 702911 mail.info] SelfCheck:
Database status OK.

* And after 10 more Minutes (just to be sure :-) ):
Oct 24 15:18:36 tranquillity.ee.ethz.ch clamd[2115]: [ID 702911
mail.info] SelfCheck: Database status OK.
Oct 24 15:20:12 tardis clamd[16095]: [ID 702911 mail.info] SelfCheck:
Database status OK.

So looks like you solved it Edwin. Thanks a lot!

Best regards
Matthias
-- Matthias Egger
ETH Zurich
Department of Information Technology          maeg...@ee.ethz.ch
and Electrical Engineering
IT Support Group (ISG.EE), ETL/F/24.1         Phone +41 (0)44 632 03 90
Physikstrasse 3, CH-8092 Zurich               Fax   +41 (0)44 632 11 95
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml



___________________________________
David Alix
Information Systems and Computing
david.a...@isc.ucsb.edu
(805)893-4456
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to