From owner-freebsd-questions@FreeBSD.ORG Sat Feb 28 17:01:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D57151065679 for ; Sat, 28 Feb 2009 17:01:46 +0000 (UTC) (envelope-from mtang17@comcast.net) Received: from QMTA07.emeryville.ca.mail.comcast.net (qmta07.emeryville.ca.mail.comcast.net [76.96.30.64]) by mx1.freebsd.org (Postfix) with ESMTP id BB5688FC18 for ; Sat, 28 Feb 2009 17:01:46 +0000 (UTC) (envelope-from mtang17@comcast.net) Received: from OMTA08.emeryville.ca.mail.comcast.net ([76.96.30.12]) by QMTA07.emeryville.ca.mail.comcast.net with comcast id MUQ21b02F0FhH24A7V1nNE; Sat, 28 Feb 2009 17:01:47 +0000 Received: from Ming ([98.212.133.166]) by OMTA08.emeryville.ca.mail.comcast.net with comcast id MV1l1b0083baCMu8UV1m08; Sat, 28 Feb 2009 17:01:47 +0000 From: "Ming Tang" To: "'Bill Moran'" Date: Sat, 28 Feb 2009 11:01:40 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6838 In-Reply-To: <20090227145716.9e3bdc3c.wmoran@potentialtech.com> Importance: Normal Thread-Index: AcmZFZkt7ipfTRD+QvKcYtBrh4sArgArsZEg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Mailman-Approved-At: Sat, 28 Feb 2009 17:41:03 +0000 Cc: freebsd-questions@freebsd.org Subject: RE: ClamAV execusion died without error messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2009 17:01:47 -0000 Bill, Thank you for the response. I tried and did not figure out where is the problem. I am attaching the command line prompts and clamd.log and freshclam.log content here. ns1# ns1# ./clamav-clamd.sh status clamav_clamd is not running. ns1# ./clamav-clamd.sh start Starting clamav_clamd. LibClamAV Warning: ************************************************** LibClamAV Warning: *** The virus database is older than 7 days! *** LibClamAV Warning: *** Please update it as soon as possible. *** LibClamAV Warning: ************************************************** ns1# ./clamav-clamd.sh status clamav_clamd is not running. ns1# ns1# cat clamd.log +++ Started at Sat Feb 28 10:43:36 2009 clamd daemon 0.94.1 (OS: freebsd5.4, ARCH: i386, CPU: i386) Running as user clamav (UID 1#, GID 1#) Log file size limited to 1048576 bytes. Reading databases from /var/db/clamav Not loading PUA signatures. Loaded 455125 signatures. LOCAL: Removing stale socket file /var/run/clamav/clamd.sock LOCAL: Unix socket file /var/run/clamav/clamd.sock LOCAL: Setting connection queue length to 15 Limits: Global size limit set to 104857600 bytes. Limits: File size limit set to 26214400 bytes. Limits: Recursion level limit set to 16. Limits: Files limit set to 10000. Archive support enabled. Algorithmic detection enabled. Portable Executable support enabled. ELF support enabled. Mail files support enabled. OLE2 support enabled. PDF support enabled. HTML support enabled. Self checking every 1800 seconds. ...... ns1# ns1# ./clamav-freshclam.sh status clamav_freshclam is not running. ns1# ./clamav-freshclam.sh start Starting clamav_freshclam. ns1# ./clamav-freshclam.sh status clamav_freshclam is not running. ns1# ns1# cat freshclam1.log -------------------------------------- freshclam daemon 0.94.1 (OS: freebsd5.4, ARCH: i386, CPU: i386) Thanks. - Ming =20 -----Original Message----- From: Bill Moran [mailto:wmoran@potentialtech.com]=20 Sent: Friday, February 27, 2009 1:57 PM To: mtang17@comcast.net Cc: freebsd-questions@freebsd.org Subject: Re: ClamAV execusion died without error messages In response to mtang17@comcast.net: >=20 >=20 > My server is currently running on FreeBSD 5.4-RELEASE #0. >=20 >=20 >=20 > I installed=A0the port=A0software,=A0P5-Mail-ClamAV with = sendmail=A0along with=20 > others:=A0Spamassassin and Milter etc. Everything was=A0compiled = fine,=A0and sendmail=A0is working with Spamassin too. However, when I execute=A0clamav-clamd.sh, clamav-freshclam.sh, both software start for = a=A0very short momonet and died without any complaims. I could not see any clamav items running by executing=A0'ps -axw'. >=20 >=20 >=20 > My last executed piece software, clamav-milter.sh is complaining=20 > missing and waiting for a socket, clam-milter.sorc. >=20 >=20 >=20 > I did configuration for sendmail, but very=A0littler on clamav. Can=20 > anyone familiar with Clamav=A0helps to provide a clue on=A0what is = going=20 > wrong? The rc script isn't going to tell you anything. Look at your clamd.conf to see where it's logging to, then look at the = log files to see what's going wrong. --=20 Bill Moran http://www.potentialtech.com = http://people.collaborativefusion.com/~wmoran/