I would consider giving the script the full path to the named file. In my named script, mine is more like:
daemon /usr/local/sbin/named In <007e01c28910$296ee250$[EMAIL PROTECTED]>, on 11/12/2002 at 03:23 PM, "cj" <[EMAIL PROTECTED]> said: >G'day all >Im using RedHat 7.1 >I am trying to get named to start with the named script in >/etc/rc.d/init.d/named >this is how the script starts named >start() { > # Start daemons. > echo -n $"Starting $prog: " ># if [ -n "${ROOTDIR}" -a "x${ROOTDIR}" != "x/" ]; then # >OPTIONS="${OPTIONS} -t ${ROOTDIR}" ># fi ># daemon named -u named ${OPTIONS} > daemon named -u named ># named > RETVAL=$? > [ $RETVAL -eq 0 ] && touch /var/lock/subsys/named > echo > return $RETVAL >But I get the following error message. >Stopping named: [FAILED] >Starting named: execvp: No such file or directory >I have done a find for execvp and it comes up with the following files. >./usr/lib/perl5/5.6.1/i386-linux/auto/POSIX/execvp.al >./usr/share/man/man3/execvp.3.gz >Does any one have any Ideas why this error message would be happening? >what rpms do I need to install to get execvp? -- ----------------------------------------------------------- Steve Garcia using MR/2 ICE #10133 with Warp 4 [EMAIL PROTECTED] For PGP key, send mail to [EMAIL PROTECTED] with subject "PGP key" ----------------------------------------------------------- The Operating System/2 Version is 4.50 Revision 14.062 There are 39 Processes with 144 Threads. GHARLANE: uptime is 15 days, 14:52 hours and 39 seconds * They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Benjamin Franklin -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list