[Clamav-users] update error
when try to update my clamAV database I am getting the error like this freshclam: relocation error: freshclam: undefined symbol: cl_gentemp how can i solve this pronlem thanking you ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
- Original Message - From: "Tomasz Kojm" <[EMAIL PROTECTED]> To: "ClamAV users ML" Sent: Monday, January 24, 2005 4:31 PM Subject: Re: [Clamav-users] Problem with clamd hanging > > It's rather a SESSION related bug. See my yesterday's post on a > > temporary workaround for this problem. > > > >This fix was related to clamav-milter right? We don't use it, don't > >have the milter package > >installed at all (built own rpm from source), so should we install the > >milter package(with the fix) >> to fix the clamd bug? >In your case it's rather a zlib problem. Make sure you have installed >the new version properly - by default its Makefile only installs the >static library. Tried on 1 box that had the problem. Compiled zlib 1.2.2-1 from source, with shared libraries. This morning it happened again Is there anything else we can try or check to try solve this? thanks, shaun bugler PS: you say its a zlib problem, what specifically is this problem? > ___ > http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users > ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
[Clamav-users] chmod prblm
I tried to change chmod of Clamav datbase dir .but i changed it as wrong i changed to drw- rw- r-- wht was the orginal chmod after changing tht when I try to freshclam I am getting the error can't change the directory to /usr/local/share/clamav my database is in this directory how can i slove this prblm thanking you ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] chmod prblm
On Tue, 25 Jan 2005 11:47:42 +0300 in [EMAIL PROTECTED] "jijo" <[EMAIL PROTECTED]> wrote: > I tried to change chmod of Clamav datbase dir .but i changed it as > wrong i changed to drw- rw- r-- wht was the orginal chmod 755 -- Brian Morrison bdm at fenrir dot org dot uk GnuPG key ID DE32E5C5 - http://wwwkeys.uk.pgp.net/pgpnet/wwwkeys.html ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
"Shaun Bugler" <[EMAIL PROTECTED]> > Date: Tue, 25 Jan 2005 10:26:07 +0200 > Subject: Re: [Clamav-users] Problem with clamd hanging > > >> > It's rather a SESSION related bug. See my yesterday's post on a >> > temporary workaround for this problem. >> > >> >This fix was related to clamav-milter right? We don't use it, don't >> >have the milter package >> >installed at all (built own rpm from source), so should we install the >> >milter package(with the fix) >>> to fix the clamd bug? > >>In your case it's rather a zlib problem. Make sure you have installed >>the new version properly - by default its Makefile only installs the >>static library. > >Tried on 1 box that had the problem. >Compiled zlib 1.2.2-1 from source, with shared libraries. >This morning it happened again Is there anything else we can try or >check to try solve this? >thanks, >shaun bugler > >PS: you say its a zlib problem, what specifically is this problem? > I have tried with 0.81rc1 + zlib 1.2.2 and still hang several times this night. f.g. ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
On Tue, 2005-01-25 at 10:26 +0200, Shaun Bugler wrote: > > Tried on 1 box that had the problem. > Compiled zlib 1.2.2-1 from source, with shared libraries. > This morning it happened again Is there anything else we can try or > check to try solve this? > thanks, > shaun bugler attach gdb to the running clamd and do a backtrace *in each thread* when it crashes or stops responding > > PS: you say its a zlib problem, what specifically is this problem? It seg faults due to not handling an error correctly. -trog signature.asc Description: This is a digitally signed message part ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] update error
On Tue, 25 Jan 2005 11:01:51 +0300, jijo <[EMAIL PROTECTED]> wrote: > when try to update my clamAV database I am getting the error like this > > freshclam: relocation error: freshclam: undefined symbol: cl_gentemp > > how can i solve this pronlem Search the list archive, it's been answered a few times already. -- Please keep list traffic on the list. Rob MacGregor Whoever fights monsters should see to it that in the process he doesn't become a monster. Friedrich Nietzsche ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] chmod prblm
hai thank you it works but when i try to freshclam i am getting the error like this freshclam: relocation error: freshclam: undefined symbol: cl_gentemp how can i solve this prblm ? thanking you - Original Message - From: "Brian Morrison" <[EMAIL PROTECTED]> To: "ClamAV users ML" Sent: Tuesday, January 25, 2005 11:54 AM Subject: Re: [Clamav-users] chmod prblm > On Tue, 25 Jan 2005 11:47:42 +0300 in > [EMAIL PROTECTED] "jijo" > <[EMAIL PROTECTED]> wrote: > > > I tried to change chmod of Clamav datbase dir .but i changed it as > > wrong i changed to drw- rw- r-- wht was the orginal chmod > > 755 > > -- > > Brian Morrison > > bdm at fenrir dot org dot uk > > GnuPG key ID DE32E5C5 - http://wwwkeys.uk.pgp.net/pgpnet/wwwkeys.html > ___ > http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
[Clamav-users] uninstalling clamav
Hello how can uninstall clamav 0.71 ..? bye using make clean ?? thanking you ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] uninstalling clamav
On Tue, 2005-01-25 at 13:19 +0300, jijo wrote: > Hello > > how can uninstall clamav 0.71 ..? > bye using make clean ?? > make uninstall -trog signature.asc Description: This is a digitally signed message part ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
On Tue, 25 Jan 2005 10:00:13 +0100 [EMAIL PROTECTED] wrote: > I have tried with 0.81rc1 + zlib 1.2.2 and still hang several times > this night. We can't help you unless you provide some useful information (backtraces, etc.). -- oo. Tomasz Kojm <[EMAIL PROTECTED]> (\/)\. http://www.ClamAV.net/gpg/tkojm.gpg \..._ 0DCA5A08407D5288279DB43454822DC8985A444B //\ /\ Tue Jan 25 11:44:27 CET 2005 pgpMhz3bvu4ps.pgp Description: PGP signature ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
Content-Transfer-Encoding: plain - Original Message - From: "Trog" <[EMAIL PROTECTED]> To: "ClamAV users ML" Sent: Tuesday, January 25, 2005 11:02 AM Subject: Re: [Clamav-users] Problem with clamd hanging > > > Tried on 1 box that had the problem. >> Compiled zlib 1.2.2-1 from source, with shared libraries. > > This morning it happened again Is there anything else we can try or >> check to try solve this? > > thanks, > > shaun bugler > attach gdb to the running clamd and do a backtrace *in each thread* when > it crashes or stops responding > > > > > PS: you say its a zlib problem, what specifically is this problem? > > It seg faults due to not handling an error correctly. > > -trog While I was waiting to get a new version of gdb, I saw the problem appearing again. I saved the emails and retried scanning, it stalled again... Did a strace: shmat(4, 0x3, 0x3) = -1 ENOSYS (Function not implemented) fcntl(4, F_GETFL) = 0x2 (flags O_RDWR) fstat(4, {st_mode=S_IFLNK|S_ISVTX|0254, st_size=0, ...}) = 0 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000 _llseek(0x4, 0, 0, 0xbfffe680, 0x1) = -1 ESPIPE (Illegal seek) read(4, and thats there it stopped. I did a clamscan and got: [EMAIL PROTECTED] dd]# clamscan 1106645880.4304-0.mail1a.your-server.co.za LibClamAV Warning: Unknown encoding type "plain" - report to [EMAIL PROTECTED] 1106645880.4304-0.mail1a.your-server.co.za: OK I investigatd further and found the following line was causing the problem: Content-Transfer-Encoding: plain Once removed the emails went through fine. Should I report this to [EMAIL PROTECTED] or is this a know problem? thanks, shaun bugler > ___ > http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users > ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
On Tuesday 25 Jan 2005 10:50, Shaun Bugler wrote: > [EMAIL PROTECTED] dd]# clamscan 1106645880.4304-0.mail1a.your-server.co.za > LibClamAV Warning: Unknown encoding type "plain" - report to [EMAIL PROTECTED] > 1106645880.4304-0.mail1a.your-server.co.za: OK > > I investigatd further and found the following line was causing the problem: > Content-Transfer-Encoding: plain > > Once removed the emails went through fine. Should I report this to [EMAIL > PROTECTED] > or is this a know > problem? Does 0.81rc1 fix the problem? > thanks, > shaun bugler -- Nigel Horne. Arranger, Composer, Typesetter. NJH Music, Barnsley, UK. ICQ#20252325 [EMAIL PROTECTED] http://www.bandsman.co.uk ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
On Tue, 2005-01-25 at 12:50 +0200, Shaun Bugler wrote: > and thats there it stopped. I did a clamscan and got: > > [EMAIL PROTECTED] dd]# clamscan 1106645880.4304-0.mail1a.your-server.co.za > LibClamAV Warning: Unknown encoding type "plain" - report to [EMAIL PROTECTED] > 1106645880.4304-0.mail1a.your-server.co.za: OK > > I investigatd further and found the following line was causing the problem: > Content-Transfer-Encoding: plain > > Once removed the emails went through fine. Should I report this to [EMAIL > PROTECTED] > or is this a know > problem? Please send the whole email, in a password protected zip file to the above address, and to me directly. Thanks, -trog signature.asc Description: This is a digitally signed message part ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
On Tue, 2005-01-25 at 12:22 +0100, [EMAIL PROTECTED] wrote: > > Btw I did a truss a few days ago on the hanging process and it was stopped in > an accept syscall. > Thats normal behaviour. A gdb backtrace of each thread when it is "hanging" is the most helpful thing at the moment. -trog signature.asc Description: This is a digitally signed message part ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
On Tue, 2005-01-25 at 12:50 +0200, Shaun Bugler wrote: > I saved the emails and retried scanning, it stalled again... > Did a strace: > > shmat(4, 0x3, 0x3) = -1 ENOSYS (Function not > implemented) > fcntl(4, F_GETFL) = 0x2 (flags O_RDWR) > fstat(4, {st_mode=S_IFLNK|S_ISVTX|0254, st_size=0, ...}) = 0 > mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = > 0x40018000 > _llseek(0x4, 0, 0, 0xbfffe680, 0x1) = -1 ESPIPE (Illegal seek) > read(4, > > and thats there it stopped. I did a clamscan and got: What is this a trace of? Could you send the full trace? This seek() on a pipe is rather odd. I can't think how clam would do that, ATM. Could you give a full inventory of your software and configuration please. MTA; software used to pass emails to clam; any patches you have applied (to all, but primarily to clam). Versions of each. Thanks, -trog signature.asc Description: This is a digitally signed message part ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
[Clamav-users] Manuel updates
hello how can i install ClamAv updates manuely not running freshclam i want to download it then i want to add it current data base . thanks ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
[Clamav-users] public key
hello how to install the public key for clamav 0.71? from where we will get this ? ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Manuel updates
On Tue, 25 Jan 2005 15:27:51 +0300, jijo <[EMAIL PROTECTED]> wrote: > hello > > how can i install ClamAv updates manuely not running freshclam > > i want to download it then i want to add it current data base . There was a long (very long) thread on this recently. If you trawl the archive you'll find it. -- Please keep list traffic on the list. Rob MacGregor Whoever fights monsters should see to it that in the process he doesn't become a monster. Friedrich Nietzsche ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
- Original Message - From: "Trog" <[EMAIL PROTECTED]> To: "ClamAV users ML" Sent: Tuesday, January 25, 2005 2:20 PM Subject: Re: [Clamav-users] Problem with clamd hanging >MTA; software used to pass emails to clam; any patches you have applied >(to all, but primarily to clam). Versions of each. even when we use clamdscan it hangs, so our mta has nothing to do with the problem. havving a bit of trouble with gdb configuration it aint working. but still working on it > ___ > http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users > ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] "Directory recursion limit exceeded" error in clamd.log file (clamav version 0.80)
On Monday 24 January 2005 05:21, Tomasz Papszun wrote: > On Mon, 24 Jan 2005 at 3:04:22 -0700, Hal Goldfarb wrote: > > [...] > > I am running Mandrake 10.1 with all mdk updates applied as of this > > message. I am running clamav 0.80 with the latest virus database > > updates. The RPM is release 5.1.101mdk, to be exact. > > > > Problem: When I run clamdscan (which uses the daemon), it generates > > zillions of errors in the clamd.log file something like "Directory > > recursion limit exceeded at /home/hal/.tvtime". However, when I run > > clamscan (which does not use the daemon, right?), > > Right. > > > it does not generate these errors as far as I can tell. > > I am using the default recursion of 20 levels, so I think I should be ok. > > To be precise: according to clamd.conf the default is 15: Pardon me, you are right. I was looking at the "default" setting for MaxDirectoryRecursion in Mandrake's version of clamd.conf, which is 20, but is commented out. > >MaxDirectoryRecursion NUMBER > Maximal depth directories are scanned at. > Default: 15 > > > How many levels of subdirectories have you got under /home/hal/.tvtime ? That directory is a leaf node. Just a couple of xml files, not archived or compressed. > Or maybe there is some archive file with many subdirectories? > > [...] > > > However, clamdscan seems to automatically trigger recursion > > when calling the daemon to do its work. This seems asymetrical to me, > > but perhaps you can educate me why it is this way. > > As clamdscan is only an interface to clamd, the way it works depends on > clamd.conf. To be sure what settings are used for clamd, you have to > check the contents of clamd.conf. OK, I see what you mean: The MaxDirectoryRecursion parameter, aforementioned, is the symmetric partner of clamdscan's "-r" option. > Moreover: make sure there are _no_ > other - forgotten clamav related files in the system because one may be > using them instead of these one is thinking is using. > Check also the clamd.log file (the fragment after "Started at") for > settings used by clamd. This is a brand new, first time installation of clamav. Could this be a memory leak of some kind? Thanks, Hal ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
[Clamav-users] clamav-milter -q ??
Hello, I would like to disable the virus intercepted message for postmaster, but keep it for the users who receive the email. There is a way to do this? BR, Matías. ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] update error
On Jan 25, 2005, at 03:01, jijo wrote: when try to update my clamAV database I am getting the error like this freshclam: relocation error: freshclam: undefined symbol: cl_gentemp how can i solve this pronlem thanking you It looks like the libraries that ClamAV app was built with is different than the one currently being used. A rebuild of ClamAV should take care of this issue. ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] uninstalling clamav
On Jan 25, 2005, at 05:19, jijo wrote: Hello how can uninstall clamav 0.71 ..? bye using make clean ?? thanking you make uninstall ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
[Clamav-users] libclamav problems
I am running Debian woody and had clam-0.80 working fine. I tried installing SquidClamAV_Redirector which required libclamav. I downloaded libclamav1 from Debian, installed it and now I get this: /usr/bin/freshclam: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file or directory libgmp.so.3 is on my system, any help is greatly appreciated. -- Thomas J. Raef e-Based Security, Inc. [EMAIL PROTECTED] "You're either hardened - or you're hacked!" ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] public key
On Tue, 25 Jan 2005 15:40:41 +0300, jijo <[EMAIL PROTECTED]> wrote: > hello > how to install the public key for clamav 0.71? Don't use 0.71, use 0.80 (or the shortly to be released 0.81). -- Please keep list traffic on the list. Rob MacGregor Whoever fights monsters should see to it that in the process he doesn't become a monster. Friedrich Nietzsche ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] "Directory recursion limit exceeded" error in clamd.log file (clamav version 0.80)
On Tue, 25 Jan 2005 at 6:42:33 -0700, Hal Goldfarb wrote: > On Monday 24 January 2005 05:21, Tomasz Papszun wrote: > > On Mon, 24 Jan 2005 at 3:04:22 -0700, Hal Goldfarb wrote: > > > [...] > > > Problem: When I run clamdscan (which uses the daemon), it generates > > > zillions of errors in the clamd.log file something like "Directory > > > recursion limit exceeded at /home/hal/.tvtime". However, when I run > > > clamscan (which does not use the daemon, right?), > > [...] > > > > How many levels of subdirectories have you got under /home/hal/.tvtime ? > > That directory is a leaf node. Just a couple of xml files, not archived or > compressed. > > > As clamdscan is only an interface to clamd, the way it works depends on > > clamd.conf. To be sure what settings are used for clamd, you have to > > check the contents of clamd.conf. > > OK, I see what you mean: The MaxDirectoryRecursion parameter, > aforementioned, is the symmetric partner of clamdscan's "-r" option. clamdscan has _no_ "-r" option. > This is a brand new, first time installation of clamav. > > Could this be a memory leak of some kind? I doubt it. Try to experiment with setting other values of MaxDirectoryRecursion (and don't forget to reload the clamd). Also, try to reproduce the error in some other, nested directories (e.g. created for testing purposes). -- Tomasz Papszun SysAdm @ TP S.A. Lodz, Poland | And it's only [EMAIL PROTECTED] http://www.lodz.tpsa.pl/iso/ | ones and zeros. [EMAIL PROTECTED] http://www.ClamAV.net/ A GPL virus scanner ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
Trog <[EMAIL PROTECTED]> > Date: Tue, 25 Jan 2005 11:27:01 GMT > Subject: Re: [Clamav-users] Problem with clamd hanging > >On Tue, 2005-01-25 at 12:22 +0100, [EMAIL PROTECTED] wrote: > >>=20 >> Btw I did a truss a few days ago on the hanging process and it was stoppe= >d in an accept syscall. >>=20 > >Thats normal behaviour. A gdb backtrace of each thread when it is >"hanging" is the most helpful thing at the moment. > I just checked, and the problem is that clamd no more hangs but disapear. So it may crash. The problem is that it does run with / as current dir but not as uid root. So it can't core dumps. I'm wondering what I can do... f.g. ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
On Tue, 2005-01-25 at 16:08 +0100, [EMAIL PROTECTED] wrote: > > I just checked, and the problem is that clamd no more hangs but disapear. > So it may crash. > The problem is that it does run with / as current dir but not as uid root. > So it can't core dumps. > > I'm wondering what I can do... You must use attach gdb to the running clamd process and then wait for it to mis-behave: Something like the following should work out ok: 1. Use 'ps' to get the PID of clamd: ps -aux (ps -elf on SYSV) clamav 24897 0.0 1.9 38032 10068 ? SJan13 0:00 clamd ^ pid 2. Attach gdb to the running process gdb /usr/local/bin/clamd 24897 ^--- path to ^--- process id, from above clamd binary 3. you should now get the gdb prompt, as: (gdb) 4. type the command 'cont' to continue normal operation 5. wait for crash 6. you should now get the gdb prompt, as: (gdb) 7. the command 'bt' will give a backtrace for the current thread. The command 'info threads' will tell you how many threads there are. The command 'thread ' will change to the specified thread, after which you can use the 'bt' command again to get it's backtrace. So, you basically want to do: a. 'info threads' to get the number of threads and their id numbers b. for each thread do: thread bt 8. exit from gdb with the 'quit' command. Reply 'y' to the question about the program still running. -trog signature.asc Description: This is a digitally signed message part ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] libclamav problems
On Tuesday 25 Jan 2005 14:21, [EMAIL PROTECTED] wrote: > I am running Debian woody and had clam-0.80 working fine. I tried > installing SquidClamAV_Redirector which required libclamav. > > I downloaded libclamav1 from Debian, installed it and now I get this: > > /usr/bin/freshclam: error while loading shared libraries: libgmp.so.3: > cannot open shared object file: No such file or directory > > libgmp.so.3 is on my system, any help is greatly appreciated. ensure that the path to it is in /etc/ld.so.conf, if it is not, add it and run ldconfig -- - Bob Hutchinson Midwales dot com - ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] libclamav problems
On Tue, Jan 25, 2005 at 02:21:33PM -, [EMAIL PROTECTED] said: > I am running Debian woody and had clam-0.80 working fine. I tried installing > SquidClamAV_Redirector which required libclamav. > > I downloaded libclamav1 from Debian, installed it and now I get this: > > /usr/bin/freshclam: error while loading shared libraries: libgmp.so.3: > cannot open shared object file: No such file or directory > > libgmp.so.3 is on my system, any help is greatly appreciated. The file libgmp.so.3 should be a symlink to the real library, and it may be that the real library is missing for some reason. This is what I have on my system: [EMAIL PROTECTED]:~$ ll /usr/lib/libgmp.so.3 lrwxrwxrwx 1 root root 15 Feb 8 2004 /usr/lib/libgmp.so.3 -> libgmp.so.3.2.1 What does yours have? First try locate libgmp.so.3 to find out what locations you have on your system. HTH, -- -- | Stephen Gran | BOFH excuse #370: Virus due to | | [EMAIL PROTECTED] | computers having unsafe sex.| | http://www.lobefin.net/~steve | | -- pgpE5bkqyNGiD.pgp Description: PGP signature ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
[Clamav-users] supervise error possibly meessing with clamd
Hi, when we run supervise for clamd we get this error Jan 25 17:24:34 mail1a clamd: supervise: fatal: unable to chdir to log: file does not exist Our run file contains this: #!/bin/shexec 2>&1CLAMD_FILE=/var/run/clamav/clamd.sockSCAN_FILE=$0 # Check for a leftover socket.if [ -e $CLAMD_FILE ]then echo "run: WARNING: file $CLAMD_FILE exists" if clamdscan $SCAN_FILE then echo "run: FATAL: Clamd is already running. Trying to start anyway..." else echo "run: INFO: Clamd is not running. Deleting $CLAMD_FILE" rm -f $CLAMD_FILE fifi # Run the scanner daemon.exec /usr/sbin/clamd don't have aclue where the log comes into this... thanks, -- Shaun Bügler Hetzner Africa Tel: +27 21 970 2000 Fax: +27 21 970 2001 Email Disclaimer: http://www.hetzner.co.za/index.php?id=245 [ * Awarded Top 50 ICT Companies status in SA - 2003/4][ * Awarded Top 300 National Companies status - 2004/5/6] ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] supervise error possibly meessing with clamd
On Tue, 2005-01-25 at 17:49 +0200, Shaun Bugler wrote: > Hi, when we run supervise for clamd we get this error > > Jan 25 17:24:34 mail1a clamd: supervise: fatal: unable to chdir to > log: file does not exist > > Our run file contains this: > #!/bin/sh > exec 2>&1 Why are you doing this redirection? svscan looks for a file called log -trog signature.asc Description: This is a digitally signed message part ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
Trog <[EMAIL PROTECTED]> >Thats normal behaviour. A gdb backtrace of each thread when it is >"hanging" is the most helpful thing at the moment. > Ok, so I did not use gdb as gdb core dump (maybe because I compiled clamav with sun cc). I used dbx and here is the backtrace : I can send you the email that was scanned. =>[1] __zzip_find_disk_trailer(fd = 12, filesize = 31981, trailer = 0xfeb7b29e, io = 0xff30c2b0), line 289 in "zzip-zip.c" [2] __zzip_dir_parse(dir = 0x490698), line 634 in "zzip-zip.c" [3] zzip_dir_fdopen_ext_io(fd = 12, errcode_p = 0xfeb7b410, ext = (nil), io = (nil)), line 600 in "zzip-zip.c" [4] zzip_dir_fdopen(fd = 12, errcode_p = 0xfeb7b410), line 580 in "zzip-zip.c" [5] cli_scanzip(desc = 11, virname = 0xfeb7b970, scanned = (nil), root = 0x42a48, limits = 0xffbff6d0, options = 111U, arec = 0xfeb7b770, mrec = 0xfeb7b76c), line 305 in "scanners.c" [6] cli_magic_scandesc(desc = 11, virname = 0xfeb7b970, scanned = (nil), root = 0x42a48, limits = 0xffbff6d0, options = 111U, arec = 0xfeb7b770, mrec = 0xfeb7b76c), line 1234 in "scanners.c" [7] cl_scandesc(desc = 11, virname = 0xfeb7b970, scanned = (nil), root = 0x42a48, limits = 0xffbff6d0, options = 111U), line 1369 in "scanners.c" [8] cl_scanfile(filename = 0x490658 "/var/amavis/tmp/amavis-20050125T165028-17394/parts/p003", virname = 0xfeb7b970, scanned = (nil), root = 0x42a48, limits = 0xffbff6d0, options = 111U), line 1395 in "scanners.c" [9] dirscan(dirname = 0xfeb7baa4 "/var/amavis/tmp/amavis-20050125T165028-17394/parts", virname = 0xfeb7b970, scanned = (nil), root = 0x42a48, limits = 0xffbff6d0, options = 111, copt = 0x43510, odesc = 8, reclev = 0xfeb7b974, contscan = 1), line 156 in "scanner.c" [10] scan(filename = 0xfeb7baa4 "/var/amavis/tmp/amavis-20050125T165028-17394/parts", scanned = (nil), root = 0x42a48, limits = 0xffbff6d0, options = 111, copt = 0x43510, odesc = 8, contscan = 1), line 251 in "scanner.c" [11] command(desc = 8, root = 0x42a48, limits = 0xffbff6d0, options = 111, copt = 0x43510, timeout = 120), line 105 in "session.c" [12] scanner_thread(arg = 0x4d7028), line 84 in "server-th.c" [13] thrmgr_worker(arg = 0x490608), line 199 in "thrmgr.c" (/opt/SUNWspro/bin/./../WS6U2/bin/sparcv9/dbx) go go: not found (/opt/SUNWspro/bin/./../WS6U2/bin/sparcv9/dbx) cont [EMAIL PROTECTED] ([EMAIL PROTECTED]) signal BUS (invalid address alignment) in __zzip_find_disk_trailer at line 289 in file "zzip-zip.c" 289 __fixup_rootseek (offset + tail-mapped, trailer); ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
On Tue, 25 Jan 2005 17:48:08 +0100 [EMAIL PROTECTED] wrote: > > Trog <[EMAIL PROTECTED]> > > >Thats normal behaviour. A gdb backtrace of each thread when it is > >"hanging" is the most helpful thing at the moment. > > > > Ok, so I did not use gdb as gdb core dump (maybe because I compiled > clamav with sun cc). I used dbx and here is the backtrace : > I can send you the email that was scanned. > > =>[1] __zzip_find_disk_trailer(fd = 12, filesize = 31981, trailer = > 0xfeb7b29e, io = 0xff30c2b0), line 289 in "zzip-zip.c" This is a known problem when using Sun's cc. Recompile with gcc. -- oo. Tomasz Kojm <[EMAIL PROTECTED]> (\/)\. http://www.ClamAV.net/gpg/tkojm.gpg \..._ 0DCA5A08407D5288279DB43454822DC8985A444B //\ /\ Tue Jan 25 18:09:19 CET 2005 pgp0NCTcUQ5aJ.pgp Description: PGP signature ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
[Clamav-users] clamav-milter prblm
hello I want to add clamv-milter with my sendmail when I try to add like this form the bash /etc/mail/sendmail.mc:INPUT_MAIL_FILTER(`clamav-milter',`S=local:/var/run/cl amav/clamav-milter.sock, F=T,T=S:4m;R:4m;E:10m')dnl I am getting the error like this -bash: syntax error near unexpected token ``clamav-milter',`S=local:/var/run/clamav/clamav-milter.sock,' how can I add this Input mail fiter to sendmail.mc when I try to add manualy by editing sendmail.mc I am getting error while restarting sendmail how can I add it correctly thanks ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] clamav-milter prblm
On Wednesday 26 Jan 2005 06:52, jijo wrote: > I want to add clamv-milter with my sendmail when I try to add like this form > the bash > > /etc/mail/sendmail.mc:INPUT_MAIL_FILTER(`clamav-milter',`S=local:/var/run/cl > amav/clamav-milter.sock, F=T,T=S:4m;R:4m;E:10m')dnl You have no closing quote before the second comma: INPUT_MAIL_FILTER(`clamav-milter',`S=local:/var/run/clamav/clamav-milter.sock', F=T,T=S:4m;R:4m;E:10m')dnl ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
Tomasz Kojm <[EMAIL PROTECTED]> > Date: Tue, 25 Jan 2005 11:46:21 +0100 > Subject: Re: [Clamav-users] Problem with clamd hanging >--===0580729670== >Content-Type: multipart/signed; protocol="application/pgp-signature"; >micalg="pgp-sha1"; >boundary="Signature=_Tue__25_Jan_2005_11_46_21_+0100_blOhG=eoymkvrdcT" > >--Signature=_Tue__25_Jan_2005_11_46_21_+0100_blOhG=eoymkvrdcT >Content-Type: text/plain; charset=US-ASCII >Content-Disposition: inline >Content-Transfer-Encoding: 7bit > >On Tue, 25 Jan 2005 10:00:13 +0100 >[EMAIL PROTECTED] wrote: > >> I have tried with 0.81rc1 + zlib 1.2.2 and still hang several times >> this night. > >We can't help you unless you provide some useful information >(backtraces, etc.). I'll do that, but for now you just asked me to try zlib 1.2.2 and 0.81rc1. I'll try to see the backtrace. Btw I did a truss a few days ago on the hanging process and it was stopped in an accept syscall. f.g. ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users