LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 06-13-2004, 06:16 AM   #1
liaaam
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

Liaaam
 
Old 06-13-2004, 09:14 AM   #2
barrys
Member
 
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, 06:06 AM   #3
liaaam
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.
 
  


Reply


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 03:48 PM
Won't Boot - Starting Printer Service - Starting CUPS jeansond Linux - Newbie 0 10-11-2004 07:39 PM
service command not working for starting sshd naijaguy Linux - Newbie 4 09-03-2004 12:49 PM
Starting Apache2 WarlockofVirgo Linux - Software 11 08-13-2004 04:34 AM
apache2 not starting :( jd121 Linux - Software 7 08-20-2003 01:37 AM


All times are GMT -5. The time now is 08:55 AM.

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