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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...