Linux - SoftwareThis 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
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.
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.
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.
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
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.