Cameron,

At a guess I'd say you don't have /usr/local/bin and /usr/local/sbin in your system path.

At a terminal prompt type:

        which clamd

and if you don't get

        /usr/local/sbin/clamd

in your output then that's the problem. The easiest solution is simply to add the fully qualified pathnames to your /Library/StartupItems script, i.e.

        /usr/local/sbin/clamd
        /usr/local/bin/freshclam

Note that many sysadmins will tell you this is good practice anyway [I'm not criticising the writer of the CLAMAV SystemStarter script, that's just a personal opinion].

Best wishes,
Damon

On 23/12/2004, at 2:01 AM, [EMAIL PROTECTED] wrote:

From: Cameron Bales <[EMAIL PROTECTED]>
Date: 23 December 2004 2:00:47 AM
To: ClamAV users ML <[email protected]>
Subject: [Clamav-users] Problem with OS X SystemStarter CLAMAV script.
Reply-To: ClamAV users ML <[email protected]>


Hi I'm having a problem with the CLAMAV system starter script.

I'm running ClamAV 0.80 on OS X server 10.3.6. My mta is Communigate not Postfix

If I run the startup script:
sudo SystemStarter start "CLAMAV"

I get this response:
Welcome to Macintosh.
Unable to open parameters file
/System/Library/StartupItems/Postfix.tar/StartupParameters.plist for
item Postfix.tar. (Not a directory)
Initializing network
Starting ClamAV
/System/Library/StartupItems/CLAMAV/CLAMAV: line 7: freshclam: command not found
/System/Library/StartupItems/CLAMAV/CLAMAV: line 8: clamd: command not found
CLAMAV (1091) did not complete successfully.
The following StartupItems failed to properly start:
/System/Library/StartupItems/CLAMAV - execution of Startup script failed
Startup complete.
Hangup


I checked the script and I notice that
freshclam is called simply "freshclam" instead of
"/usr/local/bin/freshclam" similarly clamd has no path.  I tried
rehash, but I think that is for normal users not root - didn't seem to
help.

Thanks in advance.

Cameron .:.

--
Cameron Bales .:.
www.bales.ca  [EMAIL PROTECTED] [EMAIL PROTECTED]

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

Reply via email to