On Feb 05, 2005, at 17:53, Jona Tallieu wrote:

Hi everyone,

Just upgraded from 0.80 to 0.81 on OSX 10.3.7.

Now my StartUpItem does not work anymore.

I have this as StartUpItem:

if [ "${CLAMAV:=-NO-}" = "-YES-" ]; then
ConsoleMessage "Starting ClamAV daemons"
/usr/local/sbin/clamd -c /usr/local/etc/clamd.conf
/usr/local/bin/freshclam -d
fi


Freshclam starts up at boot, but clamd does not.

If I do /usr/local/sbin/clamd -c /usr/local/etc/clamd.conf
manually, clamd starts without problem...


Anyone any idea how to solve this?

Thanks!

Jona, I rewrote the Mac HOWTO because of this problem and have new Startup and logroll files.


1 ) Download the latest devel of ClamAV (and amvisd-new 2.2.1 if using it).

2 ) stop ClamAV (and amvisd-new if installed).

3 ) move your ClamAV conf files (and amvisd-new conf file if installed) to the desktop.

{SKIP TO 6 if you didn't edit your postfix files)
4 ) copy the master.cf and main.cf to the desktop.

5 ) edit the running (not the copies) master.cf, main.cf and hostconfig files and remove all references to amavisd-new/clamav.

6 ) if you edited the periodic files, undo those edits.

7 ) delete your ClamAV folder(s) (and amvisd-new conf file if installed).

8 ) in WGM, delete the ClamAV (amavis I believe) user and group (but remember the ID number).

9 ) restart the server.

10) install using the latest instruction found in the Macintosh.tar.gz file in the ClamAV archive (you can skip the 'perl -MCPAN' stuff).

11) transfer any custom settings from your conf files to the new installed conf files.

12) restart the server and everything should be OK.

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

Reply via email to