LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Starting Apache2 using Service Command (https://www.linuxquestions.org/questions/linux-software-2/starting-apache2-using-service-command-192939/)

liaaam 06-13-2004 05: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

Liaaam

barrys 06-13-2004 08: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 05: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 03:10 AM.