shams rahman wrote:

i installed the clamav-0.83.tar.gz,and configrued it for local socket,then installed the clamd and clamav-milter from /clamav-0.83//contrib/init/RedHat to the /etc/init.d,then i changed to the directory /etc/init.d and run the commmand "clamd start" ,clamd started successfuly without any error,but after reboot of system clamd failed to autostart with this system boot error:
Starting clamd: execvp: No such file or directory

Where did you install clamd? The default is /usr/local/sbin and that is what the init.d/clamd script uses.


The above error means that either clamv is not in "progdir" or the file /etc/init.d/functions doesn't exist. To correct either of those errors you'll have to edit the script.

the other point is if i run this command "/etc/init.d/clamd start" from other directory there is the same above error,but if first i changed to the directory /etc/ inint.d and then run the command "clamd start",clamd starting successfuly without any error,i am using fc3,can any one help me?

You have to use chkconfig to finish setting up the clamd server startup (add and enable it to start automatically.)


Running "clamd start" is a little strange, one usually does "./clamd start" which is more specific and if the first form does run it may be finding a clamd executable somewhere else... and that would be very strange since /usr/local/sbin is not usually in the PATH. That's why I asked where did you installed it.

Hope this helps.
--
Ren� Berber

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

Reply via email to