Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

after installing an ssl cert (using ssl.conf) apache won't restart and only gives these warns in the log:

[Wed Aug 14 14:16:46 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Aug 14 14:16:46 2013] [notice] SSL FIPS mode disabled

Using Cent OS 6.4

Full log (with loglevel debug) :

[Thu Aug 15 12:54:00 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Aug 15 12:54:00 2013] [info] Init: Seeding PRNG with 256 bytes of entropy
[Thu Aug 15 12:54:00 2013] [notice] SSL FIPS mode disabled
[Thu Aug 15 12:54:00 2013] [info] Init: Generating temporary RSA private keys (512/1024 bits)
[Thu Aug 15 12:54:00 2013] [info] Init: Generating temporary DH parameters (512/1024 bits)
[Thu Aug 15 12:54:00 2013] [info] Init: Initializing (virtual) servers for SSL

And STRACES results on paste bin :

http://pastebin.com/KE4Pe5vF

share|improve this question
    
Is this the ONLY thing in your log? Also knowing your operating system would be helpful. –  voretaq7 Aug 14 '13 at 15:50
    
@voretaq7 centos 6.4 –  frank_texti Aug 14 '13 at 17:39
    
You could try to increase log level and set "LogLevel debug" in the /etc/httpd/conf/httpd.conf . If it doesn't help, you could try to run httpd with strace –  ALex_hha Aug 14 '13 at 18:08
    
...and the rest of my comment? I don't ask these questions for my own amusement - we need more detail (if your logs are that sparse do as @ALex_hha suggested and crank up the debugging). We can't even begin to think about speculating on causes with the information here -- based on your 2 lines of log output there is No Problem. –  voretaq7 Aug 14 '13 at 18:12
1  
Just to further champion what has been said--what you've posted is NOT an error, and is NOT the reason it would refuse to start. How are you verifying a restart? Are there apache2 or httpd proesses running on your system? –  Andrew M. Aug 14 '13 at 22:46

1 Answer 1

Do the following to fix this -

#hostname

This should give your hostname.

Edit the /etc/hosts file and add the following line

your_ip_address your_hostname

Restart apache

share|improve this answer
1  
Yeah I did that and also updated servername in httpd conf (this got rid of the httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName error) but still fails to start. –  frank_texti Aug 15 '13 at 15:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.