LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 05: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, 08: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, 05: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:46 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
Open Source Consulting | Domain Registration