On Tue, Dec 07, 2004 at 02:24:58PM +0100, Steffen Heil said:
> Hi
> 
> I use clamscan to scan mails usings exim4 with exiscan.
> I am running the following on deiban sarge:
> 
> mail:~# apt-cache policy clamav
> clamav:
>   Installed: 0.80-7
>   Candidate: 0.80-7
>   Version Table:
>  *** 0.80-7 0
>         500 http://updates.ipx-server.de sarge/main Packages
>         500 http://ftp.de.debian.org sarge/main Packages
>         100 /var/lib/dpkg/status
>      0.80-6 0
>         500 http://people.debian.org sarge/main Packages
> 
> I am running the same setup on anther higher load mashine with no problems.
> However on this system I get:
> 
> Mon Dec  6 07:59:17 2004 -> Segmentation fault :-( Bye..
> 
> Which also stops exim4 from receiving mail.
> 
> Now, first, what can I do to get more details?
> Second, how can I check if all prerequisites for clamav are matched?
> Everything that is required by the package is available except for unrar and
> lha, which are "unavailable".

The packages in debian main are stripped, that is, they don't have
debugging information in them, so you are unlikely to get a useful core
dump out of a segfault.  If you want to do useful debugging on the
problem, do the following:

apt-get build-dep clamav
apt-get source clamav
cd clamav-0.80/
$EDITOR debian/rules - remove all the dh_strip calls towards the end.
dpkg-buildpackage -rfakeroot
cd ../
dpkg -i all the debs you are currently using (clamd,clamdscan,
libclamav1, etc)

Then wait for a segfault and take a look at the core file with the
instructions on the wiki.

Alternatively, you can increase your logging level - take a look at 
man cland.conf(5) for more information there.  It is unlikely that you 
are missing a depedency.  I think it is more likely that you're getting 
hit with an odd mail that is causing clam to segfault.
-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | You're not an alcoholic unless you go   |
|  [EMAIL PROTECTED]             | to the meetings.                        |
|  http://www.lobefin.net/~steve |                                         |
 --------------------------------------------------------------------------

Attachment: pgp4eTttZJzis.pgp
Description: PGP signature

_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to