Koozali.org: home of the SME Server

httpd service won't start

David Davis

httpd service won't start
« on: September 08, 2003, 06:33:04 PM »
I recently had problems with the httpd service stopping and I was unable to restart it.  I decided to upgrade from 5.5 to 5.6 to see if that would correct the problem.  It did for a few days, but now I am having the same problem.  The service just died so I tried to restart it.  When I issue the restart command, this is what I get...

[root@saber1 junkfilter]# service httpd-e-smith restart
Shutting down http:                                        [ FAILED ]
Starting httpd: Syntax error on line 683 of /etc/httpd/conf/httpd.conf:
SSLCACertificateFile: file '/home/e-smith/ssl.crt/baltimore.crt' not exists or empty
                                                           [ FAILED ]

I'm not sure what going on here.  If anyone can help out, I'd really appreciate it.

Thanks,
David

Gregory Baird

Re: httpd service won't start
« Reply #1 on: September 08, 2003, 09:31:40 PM »
Hello

Your web server won't restart as it is no running looking at what you have listed in your post

You can see the proble very easy in the post look at line 683 and comment it out I can't remember if you use an # or ; but edit your httpd.conf file thene start apache your post shows that your baltimore.crt is empty or you may have used the wrong directory

Any way if you comment out line 683 then try to start apache
you can research the error and correct your baltimore.crt file

David Davis

Re: httpd service won't start
« Reply #2 on: September 08, 2003, 11:10:28 PM »
Thanks for the suggestion.  That worked great.  I can use webmail again, and my webserver is working fine.  The only thing that doesn't work is e-smith-manager.  When I try and go to that site I get the following message:

Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /e-smith-manager.

Reason: Could not connect to remote machine: Connection refused

Not sure what thats all about.  Anyone have any ideas?

Thanks,
David

David Davis

Re: httpd service won't start
« Reply #3 on: September 09, 2003, 12:24:19 AM »
OK..I was able to get the e-smith-manager working again by commenting out the lines that referred to baltimore.crt in my etc/httpd/admin-conf/httpd.conf file and my etc/httpd/conf/httpd.conf file.  

The problem seems to be that the baltimore.crt file does not exist.  The question now is, what have I disabled by commenting these lines out (if anything), and how can I fix it so that I can uncomment these lines without breaking my webserver again.    Any help would be appreciated.

Thanks,
David

Gregory Baird

Re: httpd service won't start
« Reply #4 on: September 09, 2003, 04:08:21 AM »
David

You haven't harmed anything it is that apache doesn't like those lines because

1 the file path is incorrect
2 the file it is looking for is missing

check your directory where the crt file is suppose to be and confirm that it is there if not get the file and place it in the called for directory by apache config or edit the apache config to point to the right location

It is looking for a part of your ssl cert do you have it installed on the machine in question?

Greg

David Davis

Re: httpd service won't start
« Reply #5 on: September 09, 2003, 07:48:04 AM »
Greg,

Thanks for all your help. The file baltimore.crt does not exist anywhere on my system.  Very strange.  Well as long as everything is working, I guess I'll just leave it alone.  I have enough to do without trying to fix things that aren't broken!  ;-)

Thanks again,

David