How to start Apache on Red Hat 9?
I have tried /etc/init.d/httpd start but with no success. The error message is:
starting httpd: 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. Any suggestion how to solve it? Thanks. |
Well you need to edit your httpd.conf and or ssl.conf file and either point it to your ssl certificate if you have one or configure it to not load ssl. Basically that is what the error states, either its misconfigured or doesn't exist. I can probably say it doesn't exist with that error though.
|
either don't start it with -DSSL ( pico /etc/rc.d/init.d/httpd, <ctrl-w>, DSSL ) or generate a certificate as per the instructs here:
http://www.apache-ssl.org/#FAQ (it's about 4 or 5 questions down... but it gives you exact instructions). HTH B. |
If you installed the Red Hat version of Apache, go to the "Services" menu option in the K-menu, enter your root password, scroll down to "httpd" select it by checking the box, and click "start" at the top of the window. If you want Apache to start everytime the OS starts, then save the changes. You should not have to do anything else.
|
apachectl start should work
once you create your digital cert and private key you should also be able to use following apachectl startssl |
Thank you for all your responses. I found out that I could start Apache only if I login as root :)
|
All times are GMT -5. The time now is 09:09 AM. |