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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-11-2003, 02:55 PM
|
#1
|
LQ Newbie
Registered: Jul 2003
Posts: 26
Rep:
|
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.
|
|
|
07-11-2003, 04:56 PM
|
#2
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
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.
|
|
|
07-11-2003, 10:25 PM
|
#3
|
Member
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Debian etch, Gentoo
Posts: 312
Rep:
|
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.
|
|
|
07-15-2003, 05:37 PM
|
#4
|
Member
Registered: Apr 2003
Location: California, USA
Distribution: What works
Posts: 97
Rep:
|
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.
|
|
|
07-15-2003, 05:58 PM
|
#5
|
Member
Registered: May 2002
Location: Wales
Distribution: Slack 8.1, Gentoo 1.3a, Red Hat 7.3, Red Hat 7.2, Manrake 8.2
Posts: 328
Rep:
|
apachectl start should work
once you create your digital cert and private key you should also be able to use following
apachectl startssl
|
|
|
07-15-2003, 11:26 PM
|
#6
|
LQ Newbie
Registered: Jul 2003
Posts: 26
Original Poster
Rep:
|
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 03:09 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|