Re: clamd keeps exiting
On Monday 19 July 2004 10:19 am, Mipam wrote: Do you have a file /etc/clamav.conf ? There is a line in the default clamav.conf: # Example This line must be un-commented (remove the #). You mean this part: # Comment or remove the line below. #Example This is commented as you can see, so you suggest to uncomment this line? What is the function of this Example in the clamav.conf? Ach - no... sorry - I made a mistake - the line _should_ be commented just as you've shown it. Uncommenting it prevents clamd from parsing the file. Do you have a /var/clamav directory that the _clamav user can write its pid sock files to? What user is listed as owner of the /var/vlamav directory? Did you read the INSTALL file? Jay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: clamd keeps exiting
On Sat, 17 Jul 2004, Jay Moore wrote: On Thursday 15 July 2004 08:34 am, Mipam wrote: ls /var/log/clamav/clamd.log yields: +++ Started at Wed Jul 14 10:30:57 2004 clamd daemon 0.74 (OS: freebsd5.2.1, ARCH: i386, CPU: i386) Log file size limited to 2097152 bytes. Verbose logging activated. Running as user clamav (UID 1006, GID 1007) Reading databases from /usr/local/share/clamav Protecting against 22678 viruses. Unix socket file /var/run/clamav/clamd Setting connection queue length to 15 Listening daemon: PID: 859 Archive: Archived file size limit set to 10485760 bytes. Archive: Recursion level limit set to 5. Archive: Files limit set to 1000. Archive: Compression ratio limit set to 200. Archive support enabled. RAR support disabled. Mail files support enabled. OLE2 support enabled. Self checking every 3600 seconds. and in var/log/messages Jul 14 10:33:10 rbns01 kernel: pid 859 (clamd), uid 1006: exited on signal 6 For the rest i couldnt find anything just this. I have no clue why it keeps exiting. The deps: /usr/local/sbin/clamd: libclamav.so.1 = /usr/local/lib/libclamav.so.1 (0x28086000) libz.so.2 = /lib/libz.so.2 (0x280ae000) libbz2.so.1 = /usr/lib/libbz2.so.1 (0x280bc000) libgmp.so.6 = /usr/local/lib/libgmp.so.6 (0x280cb000) libc_r.so.5 = /usr/lib/libthr.so.1 (0x280f9000) libc.so.5 = /lib/libc.so.5 (0x2810a000) kern.version: FreeBSD 5.2.1-RELEASE-p9 #3: Thu Jul 8 16:43:50 CEST 2004 Any clues? I cant seem to get any more debug info about what happend even not with the --debug option enabled. Any hints? Do you have a file /etc/clamav.conf ? There is a line in the default clamav.conf: # Example This line must be un-commented (remove the #). You mean this part: # Comment or remove the line below. #Example This is commented as you can see, so you suggest to uncomment this line? What is the function of this Example in the clamav.conf? Bye, Mipam. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: clamd keeps exiting
On Thursday 15 July 2004 08:34 am, Mipam wrote: ls /var/log/clamav/clamd.log yields: +++ Started at Wed Jul 14 10:30:57 2004 clamd daemon 0.74 (OS: freebsd5.2.1, ARCH: i386, CPU: i386) Log file size limited to 2097152 bytes. Verbose logging activated. Running as user clamav (UID 1006, GID 1007) Reading databases from /usr/local/share/clamav Protecting against 22678 viruses. Unix socket file /var/run/clamav/clamd Setting connection queue length to 15 Listening daemon: PID: 859 Archive: Archived file size limit set to 10485760 bytes. Archive: Recursion level limit set to 5. Archive: Files limit set to 1000. Archive: Compression ratio limit set to 200. Archive support enabled. RAR support disabled. Mail files support enabled. OLE2 support enabled. Self checking every 3600 seconds. and in var/log/messages Jul 14 10:33:10 rbns01 kernel: pid 859 (clamd), uid 1006: exited on signal 6 For the rest i couldnt find anything just this. I have no clue why it keeps exiting. The deps: /usr/local/sbin/clamd: libclamav.so.1 = /usr/local/lib/libclamav.so.1 (0x28086000) libz.so.2 = /lib/libz.so.2 (0x280ae000) libbz2.so.1 = /usr/lib/libbz2.so.1 (0x280bc000) libgmp.so.6 = /usr/local/lib/libgmp.so.6 (0x280cb000) libc_r.so.5 = /usr/lib/libthr.so.1 (0x280f9000) libc.so.5 = /lib/libc.so.5 (0x2810a000) kern.version: FreeBSD 5.2.1-RELEASE-p9 #3: Thu Jul 8 16:43:50 CEST 2004 Any clues? I cant seem to get any more debug info about what happend even not with the --debug option enabled. Any hints? Do you have a file /etc/clamav.conf ? There is a line in the default clamav.conf: # Example This line must be un-commented (remove the #). Jay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: clamd keeps exiting
On Wed, 14 Jul 2004, Jay Moore wrote: On Tuesday 13 July 2004 10:30 am, Mipam wrote: I am using clamav to check on virusses. This works well. However, when i try to use clamd, it never runs long. Mostly within a minute or a couple, it exists with signal 6. I am using this libmap.conf snip, snip Maybe i should adjust some things to make it work fine? Did anyone else encouter these problems? This is a non-answer, but I use clamav (0.73 0.74) on 2 OpenBSD (3.4 3.5) systems for the past week or so, and I've not had this problem. In fact other than being kind of tedious to install configure it seems to be working well. OpenBSD has no libmap.conf - I'm just curious as to what makes you think library mappings are at fault? I wasnt sure it had something to do with the libmaps i used but i wondered it might be so. The --debug option didnt reveal any info at all, other then i already had. In the example libmap.conf they had a lib setting for apache so i figured this might be important for clam as well. Maybe the program is linked to some libs during compile time, but at running time is uses other libs? I wonder why i seem to be the only one who is running into trouble like this. Big difference with OpenBSD is that FreeBSD 5 does threading and supports SMP, which is applicable for the machine i run clam on. Not that this answer is sensefull, but i wondered if i am the only one experiencing trouble with clamd. Bye, Mipam. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: clamd keeps exiting
On Thu, 15 Jul 2004, Mipam wrote: Maybe the program is linked to some libs during compile time, but at running time is uses other libs? I wonder why i seem to be the only one who is running into trouble like this. Big difference with OpenBSD is that FreeBSD 5 does threading and supports SMP, which is applicable for the machine i run clam on. Not that this answer is sensefull, but i wondered if i am the only one experiencing trouble with clamd. Is anything logged in /var/log/clamav/clamd.log? -Warren Block * Rapid City, South Dakota USA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: clamd keeps exiting
Warren Block wrote: On Thu, 15 Jul 2004, Mipam wrote: Maybe the program is linked to some libs during compile time, but at running time is uses other libs? I wonder why i seem to be the only one who is running into trouble like this. Big difference with OpenBSD is that FreeBSD 5 does threading and supports SMP, which is applicable for the machine i run clam on. Not that this answer is sensefull, but i wondered if i am the only one experiencing trouble with clamd. Is anything logged in /var/log/clamav/clamd.log? -Warren Block * Rapid City, South Dakota USA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I had issues with clamd doing the samething. I'm running 4.10 and what I did to fix mine was to chown /var/run/clamd to vscan to allow amavisd to run it. Maybe it's different for you but, that's what I had to do. Michael -- Michael D. Whities [EMAIL PROTECTED] http://www.one-arm.com -- There are four colors of hats to watch for: Black, White, Grey, and Red. The meanings are: Cracker, Hacker, Guru, and Victim. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: clamd keeps exiting
On Thu, 15 Jul 2004, Warren Block wrote: On Thu, 15 Jul 2004, Mipam wrote: Maybe the program is linked to some libs during compile time, but at running time is uses other libs? I wonder why i seem to be the only one who is running into trouble like this. Big difference with OpenBSD is that FreeBSD 5 does threading and supports SMP, which is applicable for the machine i run clam on. Not that this answer is sensefull, but i wondered if i am the only one experiencing trouble with clamd. Is anything logged in /var/log/clamav/clamd.log? -Warren Block * Rapid City, South Dakota USA ls /var/log/clamav/clamd.log yields: +++ Started at Wed Jul 14 10:30:57 2004 clamd daemon 0.74 (OS: freebsd5.2.1, ARCH: i386, CPU: i386) Log file size limited to 2097152 bytes. Verbose logging activated. Running as user clamav (UID 1006, GID 1007) Reading databases from /usr/local/share/clamav Protecting against 22678 viruses. Unix socket file /var/run/clamav/clamd Setting connection queue length to 15 Listening daemon: PID: 859 Archive: Archived file size limit set to 10485760 bytes. Archive: Recursion level limit set to 5. Archive: Files limit set to 1000. Archive: Compression ratio limit set to 200. Archive support enabled. RAR support disabled. Mail files support enabled. OLE2 support enabled. Self checking every 3600 seconds. and in var/log/messages Jul 14 10:33:10 rbns01 kernel: pid 859 (clamd), uid 1006: exited on signal 6 For the rest i couldnt find anything just this. I have no clue why it keeps exiting. The deps: /usr/local/sbin/clamd: libclamav.so.1 = /usr/local/lib/libclamav.so.1 (0x28086000) libz.so.2 = /lib/libz.so.2 (0x280ae000) libbz2.so.1 = /usr/lib/libbz2.so.1 (0x280bc000) libgmp.so.6 = /usr/local/lib/libgmp.so.6 (0x280cb000) libc_r.so.5 = /usr/lib/libthr.so.1 (0x280f9000) libc.so.5 = /lib/libc.so.5 (0x2810a000) kern.version: FreeBSD 5.2.1-RELEASE-p9 #3: Thu Jul 8 16:43:50 CEST 2004 Any clues? I cant seem to get any more debug info about what happend even not with the --debug option enabled. Any hints? Bye, Mipam. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: clamd keeps exiting
On Tuesday 13 July 2004 10:30 am, Mipam wrote: I am using clamav to check on virusses. This works well. However, when i try to use clamd, it never runs long. Mostly within a minute or a couple, it exists with signal 6. I am using this libmap.conf snip, snip Maybe i should adjust some things to make it work fine? Did anyone else encouter these problems? This is a non-answer, but I use clamav (0.73 0.74) on 2 OpenBSD (3.4 3.5) systems for the past week or so, and I've not had this problem. In fact other than being kind of tedious to install configure it seems to be working well. OpenBSD has no libmap.conf - I'm just curious as to what makes you think library mappings are at fault? Jay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]