LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 07-11-2003, 02:55 PM   #1
helenvale
LQ Newbie
 
Registered: Jul 2003
Posts: 26

Rep: Reputation: 15
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.
 
Old 07-11-2003, 04:56 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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.
 
Old 07-11-2003, 10:25 PM   #3
german
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Debian etch, Gentoo
Posts: 312

Rep: Reputation: 30
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.
 
Old 07-15-2003, 05:37 PM   #4
solspin
Member
 
Registered: Apr 2003
Location: California, USA
Distribution: What works
Posts: 97

Rep: Reputation: 15
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.
 
Old 07-15-2003, 05:58 PM   #5
dai
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: Reputation: 30
apachectl start should work

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

apachectl startssl
 
Old 07-15-2003, 11:26 PM   #6
helenvale
LQ Newbie
 
Registered: Jul 2003
Posts: 26

Original Poster
Rep: Reputation: 15
Thank you for all your responses. I found out that I could start Apache only if I login as root
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Red Hat 9 can't start jimufa Red Hat 1 04-15-2005 10:12 AM
How do you start Apache 2.0.48 on Red Hat 9.0? apache363 Linux - Newbie 9 01-25-2004 11:11 AM
RED HAT 9 start up. jcue Linux - Newbie 12 08-08-2003 03:38 PM
Cant start Red Hat goldhammer Linux - Software 4 05-23-2001 07:55 PM
apache start script under Red Hat 5.2 Prospector Linux - Networking 1 01-31-2001 08:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration