LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 10-28-2003, 09:14 AM   #1
Gramphos
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Rep: Reputation: 0
Powercut made httpd stop working.


I had a local apache server running until Sunday morning when a powercut interupted my computer, and after then I can't get it up again.

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
[FAILED]


Any idea on how to solve this?

I really need the server to test perl and php scritps locally.
 
Old 10-28-2003, 10:11 AM   #2
davel75
LQ Newbie
 
Registered: Oct 2003
Posts: 5

Rep: Reputation: 0
What does line 116 of the ssl.conf file say (and surrounding lines if it is in an 'if' statement or similar)

Does the Cert file exist?
Was the Cert file defined by an environment variable which the machine has forgotten after the reboot?
How are you trying to start the httpd server, chkconfig?, service httpd start?

Dave
 
Old 10-31-2003, 03:36 PM   #3
Gramphos
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Original Poster
Rep: Reputation: 0
The file /etc/httpd/conf/ssl.crt/server.crt exists

The area around line 116:
Code:
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL

#   Server Certificate:
#   Point SSLCertificateFile at a PEM encoded certificate.  If
#   the certificate is encrypted, then you will be prompted for a
#   pass phrase.  Note that a kill -HUP will prompt again. A test
#   certificate can be generated with `make certificate' under
#   built time. Keep in mind that if you've both a RSA and a DSA
#   certificate you can configure both in parallel (to also allow
#   the use of DSA ciphers, etc.)
(116:) SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
#SSLCertificateFile /etc/httpd/conf/ssl.crt/server-dsa.crt

#   Server Private Key:
#   If the key is not combined with the certificate, use this
#   directive to point at the key file.  Keep in mind that if
#   you've both a RSA and a DSA private key you can configure
#   both in parallel (to also allow the use of DSA ciphers, etc.)
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
I don't think any environment variable can be the problem, because I've successfully started and stopped the server with the computer on normal shutdowns and startups before the powerloss.

The server is supposed to start at the boot, and then is says OK, but ther server doesn't go up. If you then try to stop te sever you get FAILED, and if you try to start it you get either that error or just an OK that doesn't do anything (the same goes for restart command)
 
Old 11-01-2003, 08:58 AM   #4
musrum
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
Take a look at the contents of the server.crt file. It is ascii. You sould see a certificate.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
httpd ~user/public_html not working belorion Linux - General 11 12-01-2006 04:19 PM
httpd service stop fails, no pid, this after latest update squadja Red Hat 2 08-11-2004 02:29 PM
How can i made my 3Com Lan card @ ASUS P4C800 working? exper Linux - Networking 5 11-18-2003 10:02 PM
dammit httpd no longer working :( doughammond Linux - Networking 2 10-17-2003 10:58 AM
internet connection STOPPED working without a change made! fede_mdk Linux - Networking 11 08-05-2003 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration