[root@mail init.d]# pwd
/etc/rc.d/init.d
[root@mail init.d]# ls -l httpd
-rwxr-xr-x    1 root     root         1532 May 21 14:14 httpd
[root@mail init.d]#


/etc/rc.d/init.d/httpd start
/etc/rc.d/init.d/httpd: set: unknown option:
: command not foundtpd:
: No such file or directoryc/rc.d/init.d/functions
: command not foundtpd:
: No such file or directoryc/sysconfig/network
: command not foundtpd:
/etc/rc.d/init.d/httpd: [: =: unary operator expected
: command not foundtpd:
: command not foundtpd:
: command not foundtpd:
'etc/rc.d/init.d/httpd: line 25: syntax error near unexpected token `in
'etc/rc.d/init.d/httpd: line 25: `case "$1" in

This is the script that you gave me Philip.

Arvind

----- Original Message -----
From: "Philip S Tellis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 21, 2002 1:46 PM
Subject: Re: [LIH]how to start apache


| 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


_______________________________________________________________

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

Reply via email to