From owner-freebsd-questions@FreeBSD.ORG Thu Mar 5 13:50:40 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 00C7B1065670 for ; Thu, 5 Mar 2009 13:50:40 +0000 (UTC) (envelope-from mtang17@comcast.net) Received: from QMTA10.emeryville.ca.mail.comcast.net (qmta10.emeryville.ca.mail.comcast.net [76.96.30.17]) by mx1.freebsd.org (Postfix) with ESMTP id DC4118FC14 for ; Thu, 5 Mar 2009 13:50:34 +0000 (UTC) (envelope-from mtang17@comcast.net) Received: from OMTA03.emeryville.ca.mail.comcast.net ([76.96.30.27]) by QMTA10.emeryville.ca.mail.comcast.net with comcast id PRLG1b0070b6N64AARqbLj; Thu, 05 Mar 2009 13:50:35 +0000 Received: from Ming ([98.212.133.166]) by OMTA03.emeryville.ca.mail.comcast.net with comcast id PRqZ1b0063baCMu8PRqaUh; Thu, 05 Mar 2009 13:50:34 +0000 From: "Ming Tang" To: "'Bill Moran'" Date: Thu, 5 Mar 2009 07:50:29 -0600 Message-ID: <51E3D55451E04BFC97DDD30607FE1B58@Ming> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6838 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Importance: Normal In-Reply-To: <20090301193633.c9ed3807.wmoran@potentialtech.com> Thread-Index: AcmazvKMtanYgNp4RhiL5PqRDPWh0wCyR/Ag X-Mailman-Approved-At: Thu, 05 Mar 2009 14:06:34 +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: Thu, 05 Mar 2009 13:50:40 -0000 I did not find any other error messages in log files. The following = lines appeared in the section for "kernel log messages" in daily email message = for Security Run Output. > pid 840 (freshclam), uid 1#: exited on signal 11 > pid 875 (clamd), uid 1#: exited on signal 10 I am not sure what they mean exactly. Thanks. - Ming =20 -----Original Message----- From: Bill Moran [mailto:wmoran@potentialtech.com]=20 Sent: Sunday, March 01, 2009 6:37 PM To: Ming Tang Cc: freebsd-questions@freebsd.org Subject: Re: ClamAV execusion died without error messages "Ming Tang" wrote: > > Bill, >=20 > Thank you for the response. >=20 > I tried and did not figure out where is the problem. I am attaching=20 > the command line prompts and clamd.log and freshclam.log content here. >=20 > 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# >=20 > 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. >=20 > ...... >=20 > 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# >=20 > ns1# cat freshclam1.log > -------------------------------------- > freshclam daemon 0.94.1 (OS: freebsd5.4, ARCH: i386, CPU: i386) That's certainly strange. Try starting the processes manually instead of using the rc scripts, and = see if they exit with an error of some sort. Also, I seem to remember = having difficult with permissions under some circumstances, where the processes couldn't write to directories they needed -- check that both clamd and freshclam are running as the same user/group. See if you're getting = core files anywhere (check /var/log/messages for coredump messages). Audit = your config files and make sure nothing is out of sorts. Sorry I can't give you any more specific information, but I've not seen = the problem you're having. --=20 Bill Moran http://www.potentialtech.com