Jump to content

Apache won't start after upgrading from 06 to 07


Guest wildbill12
 Share

Recommended Posts

Guest wildbill12

After putting in the mandriva 2007 DVD and upgrading my Mandriva 2006 install I now get an error when starting apache. I've also upgraded all the relevant packages through urpmi. Here's the error:

 

> /etc/init.d/httpd start

Starting httpd: Syntax error on line 46 of /etc/httpd/modules.d/41_mod_ssl.default-vhost.conf:

SSLCertificateFile: file '/etc/pki/tls/certs/localhost.crt' does not exist or is empty

[FAILED]

 

Everything else is running smoothly after the upgrade (mysql, proftp server, etc).......

Link to comment
Share on other sites

Guest wildbill12

well, if I comment out the line that's giving the error I get this when starting httpd:

 

Starting httpd: Syntax error on line 53 of /etc/httpd/modules.d/41_mod_ssl.default-vhost.conf:

SSLCertificateKeyFile: file '/etc/pki/tls/private/localhost.key' does not exist or is empty

 

Comment out that line and I get no errors, but it doesn't start:

 

> /etc/init.d/httpd start

Starting httpd: [FAILED]

 

So this must have something to do with a SSL keys.......anyone with more knowledge here that can help me??

Link to comment
Share on other sites

If it was working before, then this SSL certificate should have existed. Have you checked if it still exists in this directory or not since the upgrade?

Link to comment
Share on other sites

Guest wildbill12

Thanks for the help.

 

Nope, those certificates aren't in the directory anymore. In the /etc/pki/tls/private/ directory I have a MakeFile, make-dummy-cert, and ca-bundle.cert

 

It was working fine before the upgrade.

 

Is there anyway to create this certificates?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...