On Tue, 13 Apr 2004 11:04:26 +0200
Jorge Rodríguez <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I think database initialization is OK. I make the upgrade through 
> freshclam and it seems everythink OK. Why is it working for hours and 
> then stop? How can I fix the error 50: Database initialization 
> error.??

Please increase the soflimit value.

-- 
   oo    .....         Tomasz Kojm <[EMAIL PROTECTED]>
  (\/)\.........         http://www.ClamAV.net/gpg/tkojm.gpg
     \..........._         0DCA5A08407D5288279DB43454822DC8985A444B
       //\   /\              Tue Apr 13 13:19:02 CEST 2004

 

-----Mensaje original-----
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] En nombre de Tomasz Kojm
Enviado el: martes, 13 de abril de 2004 13:19
Para: [EMAIL PROTECTED]
Asunto: Re: [Clamav-users] ClamAV Hangs with an error message

I think the way is to use softlimit before initialization of qmail-smtpd. I
tried this on my /etc/init.d/qmail file:

        ulimit -v 8192
        sh -c "start-stop-daemon --start --quiet --user qmaild \
        --exec /usr/local/bin/softlimit -- -m 2000000 \
            /usr/bin/tcpserver -R -H \
            -u `id -u qmaild` -g `id -g nobody` -x
/var/vpopmail/etc/tcp.smtp.cdb 0 smtp \
            /usr/sbin/qmail-smtpd /var/vpopmail/bin/vchkpw /bin/true 2>&1 \
            | $logger -t qmail -p mail.notice &"

Is it that ok??? Qmail starts but I receive messages from syslog with
problems allocating memory,  which is the value for softlimit I have to set
up?

Thanks a lot,

Jorge



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to