-   Linux - Software (
-   -   Starting Apache2 using Service Command (

liaaam 06-13-2004 06:16 AM

Starting Apache2 using Service Command
I have recently upgraded to Apache2 however am having trouble starting it. I was not surprised that I would need to modify the /etc/init.d/httpd file to point to the new install however it does not run as I thought it would.

When I try service httpd start on my RedHat9 system I get the error:
"env: /etc/init.d/httpd: No such file or directory"

The file does exist though and so I am confused.

Can anyone shed some light on how I can get this going as it is anoying having to manually use:
/./usr/local/apache2/bin/apachectl start


barrys 06-13-2004 09:14 AM

If you checked that the file exists, then you should check the properties
-advanced permissions that it can be read.
:Pengy: :Pengy: :Pengy: :Pengy:

liaaam 06-14-2004 06:06 AM

I figured that permissions would possibley be a problem so when it didnt work I set them to 777.

But still no luck.

All times are GMT -5. The time now is 11:54 PM.