LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-26-2003, 05:27 PM   #1
flipside
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Rep: Reputation: 0
Question httpd won't start?? [Failed]


I just installed Red Hat 9 this week....(it's sweet) but now I have run into some trouble. I'm trying to set up a webserver on my linux box and have been folowing the instructions of a Red Hat 9 book to do so. The problems is when I go to start up httpd under Service Configuration I get the folowing error after clicking start:

httpd failed. The error was: Starting httpd: [FAILED]

I thought maybe it was the way I had apache configured and I tried multiple ways of doing it. I'm using a residential dsl account from verizon and typing my IP address under the main tab for Server. I left available addresses to all addresses on port 80. Then under Virtual Hosts I put under Name my IP address again. Under document root directory I put the location of the html file. Host information I left to default virtual host and all requests on port 80. Then I save the setting and go to try and start httpd but it still won't start (same error msg). I noticed that when I boot it says that couldn't find localhost.localdomain or something like that and also IPtables invalid chain or something like that. I don't know if that has anything to do with it but I just thought I would give you as much info about my problem as possible. Excuse me for being naive when it comes to this stuff I'm new to Linux.

Thank You in advance,
Flipside
 
Old 09-26-2003, 05:42 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ. Try this:
# Kill all httpd proccesses (just in case)
killall httpd
# Start httpd interactively with debug logging (post the output of this)
httpd -e DEBUG
 
Old 09-26-2003, 05:56 PM   #3
flipside
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Original Poster
Rep: Reputation: 0
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

ok that is what I got so what does it mean?
 
Old 09-26-2003, 06:20 PM   #4
cyberskye
Member
 
Registered: Feb 2003
Location: The City by the Bay
Posts: 116

Rep: Reputation: 15
Can't find your digital cert (required for SSL). If you have one, adjust the path in the conf file to match reality. If you don't, then read up on ssl configuration.

Cheers,

Skye
 
Old 09-26-2003, 08:45 PM   #5
flipside
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Ok I deleted and created the certificate and key as I found in another thread on this site. The individual that posted it was having the same exact problems as me. So I do it and then I do the /sbin/service httpd restart and it says failed...enter password....ok password accepted then failed again. Now that is when I'm root if I'm not I get the original msg that I was getting in the first place(see above). What am I doing wrong? I have rm'd the key and cert twice now and re-did it with the same results. I have been working on this for over 4 hrs now with nothing. It shouldn't be this hard should it? Anyway, please help I really need it.

Thank you ,
Flipside
 
Old 09-26-2003, 11:40 PM   #6
cyberskye
Member
 
Registered: Feb 2003
Location: The City by the Bay
Posts: 116

Rep: Reputation: 15
http://www.aerocube.com/download.020729/qube-ssl.conf

If this link doesn't provide any clues, it may be helpful to give precise steps taken so far - httpd.conf, certs/keys, firewall, etc.
 
Old 09-27-2003, 07:08 AM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
If you are still having problems then post the output from starting httpd in debug mode.
 
Old 05-21-2006, 07:11 AM   #8
visris
LQ Newbie
 
Registered: Mar 2002
Location: Bangalore
Distribution: RedHat 7.2
Posts: 6

Rep: Reputation: 0
Thanks david_ross,

I'd the same prob.... well after following ya suggestion i was able to figure out the mistake [Typo],its now up n running.Thanks again
 
Old 05-21-2006, 07:13 AM   #9
medya
Member
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 87

Rep: Reputation: 15
try this program to install apache php and mysql and phpmyadmin ..it provides a painless way to have a webserver .
http://www.apachefriends.org/en/xampp-linux.html
 
  


Reply



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
Apache httpd start failed on fedora core 1 k_1701 Linux - Software 10 05-05-2006 07:40 AM
httpd failed. ERROR helpme0904 Linux - Newbie 2 07-07-2005 08:59 AM
Failed Httpd restart namboi Linux - Newbie 5 05-07-2005 07:23 PM
Httpd Failed: BJMAC Linux - Newbie 9 12-20-2004 04:04 PM
lpd and httpd failed ??? rangga_k Linux - General 3 02-12-2001 04:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:36 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