On Tue, 21 May 2002, Arvind wrote: > I used your script and i am getting this error, same as before with the > earlier script. > > service httpd start > env: /etc/init.d/httpd: No such file or directory > > /etc/rc.d/init.d/httpd start > : bad interpreter: No such file or directory
Somewhere at the top of the script, add this line: set -x then, when executing the script, it will trace through all the commands. You can then see at what point the error occurs. Also, just a thought, is /etc/init.d/httpd an executable file? -- If God wishes thee to perish, He causes thy steps to lead thee to the place of thy demise. -Cant of the Shariat _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
