On 2009-06-03 00:11, Florin Grosu wrote:
> Hello,
>
> I recently installed clamav 0.95.1 from sources, on Centos 5. I have an error 
> when i try to start clamd. From log:
> ---
> clamd daemon 0.95.1 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
> Running as user defang (UID 501, GID 501)
> Log file size limited to 1048576 bytes.
> Reading databases from /usr/local/share/clamav
> Not loading PUA signatures.
> Loaded 570839 signatures.
> LOCAL: Unix socket file /var/clamav/clamd.socket
> LOCAL: Setting connection queue length to 30
> ERROR: daemonize() failed
> Socket file removed.
> ---
> From command line, with option "-x" in clamd file:
> ---
> ...
> +
>
> progdir=/etc/init.d/.libs                                                     
>                                                                               
>          
>
> +
> test '!' -f
> /etc/init.d/.libs/lt-clamd                                                    
>                                                                            
>
> ++
> ls -1dt /etc/init.d/.libs/lt-clamd
> /etc/init.d/.libs/../lt-clamd                                                 
>                                                    
>
> ++
> /bin/sed
> 1q                                                                            
>                                                                              
>
> +
>
> file=/etc/init.d/.libs/lt-clamd                                               
>                                                                               
>          
>
> +
> test X/etc/init.d/.libs/lt-clamd '!='
> X/etc/init.d/.libs/lt-clamd                                                   
>                                                  
>
> + test -f /etc/init.d/.libs/lt-clamd
> + test '' '!=' '%%%MAGIC variable%%%'
> + exec /etc/init.d/.libs/lt-clamd status
> Can't open /dev/null
>   

Are you running this in a chroot that doesn't have /dev/null?

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to