Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache Not Starting Up

Status
Not open for further replies.

jisoo22

Programmer
Apr 30, 2001
277
0
0
US
Hello all,

I'm having problems with my Apache server. I recently moved to Fedora from Red Hat 9.0, and it seems that Apache will not start up as a service during boot. When trying to start it manually, I get this message:

Starting httpd: Syntax error on line 127 of /etc/httpd/conf.d/ssl.conf:
SSLCertificateFile: file '/etc/httpd/conf/ssl.crt/server.crt' does not exist or is empty

I'm not sure what this means as I'm pretty new at Linux and Apache. Did I miss something during the initial set up? I installed everything the OS had to offer and from what it looks like, it's almost exactly the same as Red Hat.

Thanks,
Jisoo22
 
It seems to think you have a virtual host defined for port 443. Look in /etc/httpd/conf.d/ssl.conf and see if there is ANY virtual host container there. If there is, delete it or comment it out.

 
Ok I checked and did find a virtual host looking at port 443 and commented it out. Unfortunately when I did that and tried to start Apache, I got a different error. Here's the weird part, when I put it back into the ssl.conf file, Apache started up! Very strange, I'm going to watch it over the next few days to see if the problem comes up again.

This still leaves my initial problem though, Apache (and Postgresql for that matter) do not start up when Fedora boots up. I had to manually start them from the commandline to get my web server working. Does anyone know how to get those services to start during boot up?

Thanks a lot,
Jisoo22
 
If you have kde or gnome running, click on the Main Menu > System Settings > Server Settings > Services. From there you can click on whatever you want to start at boot up. If you run is server mode (runlevel 3), then you will need to do it manually but the process will be different depending on whether the service is standalone or runs under xinetd.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top