hi,
thanks for reply,i changed to the directory /etc/init.d and run the ./clamd start and get the same error:
Starting clamd: execvp: No such file or directory
this is the chkconfig --list clamd output:
clamd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
and the clamd is installed to /usr/sbin/,as the whereis clamd output is:
clamd: /usr/sbin/clamd


From: Ren� Berber <[EMAIL PROTECTED]>
Reply-To: ClamAV users ML <[email protected]>
To: [email protected]
Subject: [Clamav-users] Re: Sysetm boot error:Starting clamd: execvp: Nosuch file or directory
Date: Fri, 18 Feb 2005 21:39:09 -0600


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

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


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

Reply via email to