-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ian Abbott wrote: > On 14/02/2007 20:09, Rick Pim wrote: >> it's true; if i start clamd and then check, the clamd socket isn't >> there. but if i leave clamd alone for a few seconds the socket >> appears and clamav-milter starts happily after that. i've tucked >> a "sleep 30" into the startup script and things seem happy. is >> there anything obvious i'm missing? > > That will be because it forks before reading the database (which > causes the delay) and before creating the sockets. I.e. the initial > process exits before everything is ready. > > Maybe it would be better if it forked after creating the sockets. > No, because then you would have two active sockets and a replicated database per instance (fork). Not good practice, unless you really want the results.
- -James -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF1bbskNLDmnu1kSkRArsQAJ44sgqychWJuRugHRmCeYhXlwQduwCfUP1t O/Z39tvyKOIyRS4syKusj9c= =OhqU -----END PGP SIGNATURE----- -- Scanned by ClamAV - http://www.clamav.net _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
