Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-13-2004, 05:16 AM   #1
LQ Newbie
Registered: Jun 2004
Distribution: Red Hat
Posts: 2

Rep: Reputation: 0
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

Old 06-13-2004, 08:14 AM   #2
Registered: Sep 2003
Location: London
Distribution: Susi 9.1, Man10 amd64, Man10.1
Posts: 243

Rep: Reputation: 30
If you checked that the file exists, then you should check the properties
-advanced permissions that it can be read.
Old 06-14-2004, 05:06 AM   #3
LQ Newbie
Registered: Jun 2004
Distribution: Red Hat
Posts: 2

Original Poster
Rep: Reputation: 0
I figured that permissions would possibley be a problem so when it didnt work I set them to 777.

But still no luck.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot adjust 'apache2' service when starting Apache cbj4074 Linux - Software 7 11-18-2005 02:48 PM
Won't Boot - Starting Printer Service - Starting CUPS jeansond Linux - Newbie 0 10-11-2004 06:39 PM
service command not working for starting sshd naijaguy Linux - Newbie 4 09-03-2004 11:49 AM
Starting Apache2 WarlockofVirgo Linux - Software 11 08-13-2004 03:34 AM
apache2 not starting :( jd121 Linux - Software 7 08-20-2003 12:37 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:08 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration