LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   having trouble getting apache to run (https://www.linuxquestions.org/questions/linux-newbie-8/having-trouble-getting-apache-to-run-108481/)

shalyndria 10-25-2003 06:02 PM

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

Skyline 10-25-2003 06:23 PM

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

lappen 10-25-2003 06:34 PM

try './apachectl start' where the file is

updatedb -v (as root) then
locate apachectl

shalyndria 10-25-2003 06:39 PM

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.

Skyline 10-25-2003 06:49 PM

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

shalyndria 10-25-2003 06:53 PM

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

Skyline 10-25-2003 07:15 PM

Try 85 - as Root user in a Terminal

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

then reboot

shalyndria 10-25-2003 08:16 PM

tryed that and it says ln is an invalid optition. Sorry if i sound stupid but i'm am just learning.

thank you skyline


All times are GMT -5. The time now is 05:26 AM.