On 2008-09-18 16:16, Vladimir wrote: > kzc> Vladimir wrote: > >>> Hi. >>> >>> FreeBSD 5.4-RELEASE-patched-p8 >>> ClamAV 0.94 from ports >>> >>> Clamd does not work. When starting, i get this in logs: >>> However, clamd is not running and is not in processes list ("ps ax | grep >>> clamd" shows >>> nothing). There are no errors and warnings of any kind. >>> >>> How can i find out what is wrong? >>> >>> > > kzc> You can always run it with "Foreground yes" and see what it dumps > kzc> out on the console. > > Thanks. On the console i get: > > [skipped] > HTML support enabled. > Self checking every 1800 seconds. > Bus error > > What is "Bus error" and how can i deal with it? >
Bus error can mean different things depending on your architecture, such as unaligned memory reference, stack overrun, etc. For i386 it can't be unaligned references, so we need some further data here. 1. Try running clamd under strace (strace clamd) 2. Run clamd from gdb (gdb clamd, then type run, when it stops with an error type backtrace) Best regards, --Edwin _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml