> [EMAIL PROTECTED] /usr/local/etc/rc.d]$ sa-spamd.sh stop
> bash: sa-spamd.sh: command not found
> [EMAIL PROTECTED] /usr/local/etc/rc.d]$  clamav-clamd.sh stop
> bash: clamav-clamd.sh: command not found
> [EMAIL PROTECTED] /usr/local/etc/rc.d]$
> 
> How is it possible that the commands aren't found?  They're right there in the
> directory? 

Root typically uses a fixed PATH that doesn't include the current directory
(for security reasons). Try giving it an explicit path:
./clamav-clamd.sh stop

or

/usr/local/etc/rc.d/clamav-clamd.sh stop

and that should work.
-- 
Dave Pooser
Cat-Herder-in-Chief, Pooserville.com
"You're useless when you're high on catnip, you know that?"


Reply via email to