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 |
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 |
try './apachectl start' where the file is
updatedb -v (as root) then locate apachectl |
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.
|
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 |
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 |
Try 85 - as Root user in a Terminal
ln -s /etc/rc.d/init.d/httpd /etc/rc.d/rc5.d/S85httpd then reboot |
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. |