HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Help - Apache not starting ? After SSL install ??? (http://www.howtoforge.com/forums/showthread.php?t=54681)

whiz_kid_uk 28th October 2011 13:15

Help - Apache not starting ? After SSL install ???
 
Hi Guys,
I have an issue, (And its not very often I know) but I installed a ssl cert on a website in ispconfig, and now apache will not start

If I run apache2 or sudo apache2
I get apache2: bad user name $[apache_run_user}


Help I have seached and searched !!!

TIA

till 28th October 2011 13:24

Go to the apache sites-enabled folder and delete the symlink for the website where you enabled the ssl certificate and then restart apache. Then login to ispconfig and uncheck the ssl checkbox for that site and click on save.

To find the resaon for the problem, please describe how exactly did you install the ssl cert? As apache does not start if the ssl cert is damaged or if you created the ssl cert outside of ispconfig so that the ssl key of the cert is incorrect.

whiz_kid_uk 28th October 2011 13:25

Hi Till - Thanks for the help - How do I del a sym link - sorry still learning with the help of the forums !
-Me being silly !

I have deleted the site from /etc/apache2/sites-enabled

Apache error still there !

whiz_kid_uk 28th October 2011 13:45

This is what I did,
I got the CSR from the server got geotrust ssl generated and pasted the cert in the cert box and selected save.
Thats when it all went pair shapped.

I removed the sym link and rebooted and the sites are all working apart from the site that I enabled the ssl on all I get now is the this is the default page for this web server !

whiz_kid_uk 28th October 2011 13:48

OK normal site is back on, however enabling ssl does not work ???

whiz_kid_uk 28th October 2011 13:50

Quote:

Originally Posted by whiz_kid_uk (Post 266158)
OK normal site is back on, however enabling ssl does not work ???

Every time I enable ssl for this site - it brings the server down ??

whiz_kid_uk 28th October 2011 14:14

The version of ispconfig is : 3.0.2.2
Running on unbuntu

falko 29th October 2011 12:15

Quote:

Originally Posted by whiz_kid_uk (Post 266159)
Every time I enable ssl for this site - it brings the server down ??

What error message do you get when you restart Apache?

Any errors in Apache's error log? Is mod_ssl enabled?

whiz_kid_uk 30th October 2011 10:00

Hi Falco,

I did try and look at the log, and could not see anything, not sure how to check if mod ssl bit ??

J

falko 31st October 2011 10:34

Try
Code:

a2enmod ssl
/etc/init.d/apache2 restart



All times are GMT +2. The time now is 14:44.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.