Yong Bong Fong sighed and wrote::
> Dear all,
> 
>  I have got the problems before sorted out. Now I have clamdctl in the
> following path:
> 
> /usr/local/bin/clamdctl
> /usr/local/clamav/bin/clamdctl
> 
> however, when I stopped clamdctl with the command "clamdctl stop" it
> replied
> *Stopping clamd...
>  clamd
> /usr/local/bin/clamdctl: line 27: svc: command not found

Let me have a try at this.

Try :

vi /usr/local/bin/clamdctl

What is on line 27?

Better yet, what is in clamdctl?

In fact, which Linux distribution do you have?

And one last thing.   Do you have svc in any of
your paths?   It apparently cannot find svc,
meaning :

1) it's either not in any of the paths, it's in
   a non-standard path

2) it's not installed on your system

3) (assuming that svc is a standard RH command.  I don't
use RH, so pardon my ignorance),  you are not running
RH.

Please check which distribution you are using and whether
svc is in your system somewhere.

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

Reply via email to