LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-25-2003, 07:02 PM   #1
shalyndria
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Rep: Reputation: 0
having trouble getting apache to run


I am new at this. I just installed red hat 9, and tryed to get apache to run so that i can install webmin. Not having any success. I type in /etc/init.d/httpd status: says stopped. So then typed in /etc/init.d/httpd start: says not there or is empty. I'm not sure which dir. i should be in. Really need the help on getting apache to run.

Thank you
 
Old 10-25-2003, 07:23 PM   #2
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Have you had a look in

/etc/rc.d/init.d

if httpd is in there then

ln -s /etc/rc.d/init.d/httpd /etc/rc.d/rcX.d/Syzhttpd

were X is the run level directory and hence the run level you want it to run in.

and yz is the order number - at what point you want the service to start at
 
Old 10-25-2003, 07:34 PM   #3
lappen
Member
 
Registered: Aug 2003
Location: Sweden
Posts: 83

Rep: Reputation: 15
try './apachectl start' where the file is

updatedb -v (as root) then
locate apachectl
 
Old 10-25-2003, 07:39 PM   #4
shalyndria
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you Skyline, but it did not work. I am sorry but i still do not understand. when i typed in the ln -s /etc/rc.d/init.d/httpd /etc/rc.d/rcX.d/Syzhttpd it said ln does not exist. When i type this in /etc/init.d/httpd start this is what i get. Syntax error on line 116 of /etc/httpd/conf.d/ssl.conf: SSLCertificateFile: file '/etc/httpd/conf/ssl.crt/server.crt' does not exist or is empty. This is what i keep running into. my dir is [dave@localhost dave] is this where i need to be or do i need to be in another dir.
 
Old 10-25-2003, 07:49 PM   #5
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
As Root user from a Terminal - ( ie su to root user FIRST) - then

ln -s /etc/rc.d/init.d/httpd /etc/rc.d/rc5.d/S85httpd

( ln = small L , small N )

and then reboot

Last edited by Skyline; 10-25-2003 at 07:50 PM.
 
Old 10-25-2003, 07:53 PM   #6
shalyndria
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Original Poster
Rep: Reputation: 0
real sorry for this but could you tell me what the order number would be for yz or where would i look at for it.
this is for skyline
and thank you again
 
Old 10-25-2003, 08:15 PM   #7
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Try 85 - as Root user in a Terminal

ln -s /etc/rc.d/init.d/httpd /etc/rc.d/rc5.d/S85httpd

then reboot
 
Old 10-25-2003, 09:16 PM   #8
shalyndria
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Original Poster
Rep: Reputation: 0
tryed that and it says ln is an invalid optition. Sorry if i sound stupid but i'm am just learning.

thank you skyline
 
  


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
Trouble getting fedora core 4 to run evan3107 Linux - Laptop and Netbook 3 10-16-2005 10:46 AM
Please Help. Nvidia Driver Install Run Level Trouble inescapeableus Linux - Software 2 10-08-2004 12:26 PM
Apache trouble jaganpjames Linux - Networking 4 08-09-2004 08:21 AM
Trouble getting JBuilder X to run lordtweety Linux - Software 1 05-01-2004 08:57 AM
I want to run RH9, but having trouble configuring NIC Bateluer Red Hat 10 09-13-2003 08:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:31 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration