LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to start Apache on Red Hat 9? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-start-apache-on-red-hat-9-a-71928/)

helenvale 07-11-2003 02:55 PM

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.

trickykid 07-11-2003 04:56 PM

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.

german 07-11-2003 10:25 PM

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.

solspin 07-15-2003 05:37 PM

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.

dai 07-15-2003 05:58 PM

apachectl start should work

once you create your digital cert and private key you should also be able to use following

apachectl startssl

helenvale 07-15-2003 11:26 PM

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.