Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th October 2011, 12:15
whiz_kid_uk whiz_kid_uk is offline
Junior Member
 
Join Date: May 2010
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 28th October 2011, 12:24
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,413
Thanks: 834
Thanked 5,498 Times in 4,328 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 28th October 2011, 12:25
whiz_kid_uk whiz_kid_uk is offline
Junior Member
 
Join Date: May 2010
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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 !

Last edited by whiz_kid_uk; 28th October 2011 at 12:27.
Reply With Quote
  #4  
Old 28th October 2011, 12:45
whiz_kid_uk whiz_kid_uk is offline
Junior Member
 
Join Date: May 2010
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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 !
Reply With Quote
  #5  
Old 28th October 2011, 12:48
whiz_kid_uk whiz_kid_uk is offline
Junior Member
 
Join Date: May 2010
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

OK normal site is back on, however enabling ssl does not work ???
Reply With Quote
  #6  
Old 28th October 2011, 12:50
whiz_kid_uk whiz_kid_uk is offline
Junior Member
 
Join Date: May 2010
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by whiz_kid_uk View Post
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 ??
Reply With Quote
  #7  
Old 28th October 2011, 13:14
whiz_kid_uk whiz_kid_uk is offline
Junior Member
 
Join Date: May 2010
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The version of ispconfig is : 3.0.2.2
Running on unbuntu
Reply With Quote
  #8  
Old 29th October 2011, 11:15
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Quote:
Originally Posted by whiz_kid_uk View Post
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?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 30th October 2011, 09:00
whiz_kid_uk whiz_kid_uk is offline
Junior Member
 
Join Date: May 2010
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #10  
Old 31st October 2011, 09:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
 
Default

Try
Code:
a2enmod ssl
/etc/init.d/apache2 restart
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache hangs without traffic Thesee General 21 27th September 2011 23:43
Some problems after upgrade OS lenny to squeeze matiasCU Installation/Configuration 3 31st May 2011 22:53
Maia MailGuard in ISPC3 warlock Tips/Tricks/Mods 7 23rd December 2010 05:51
Maia Mailguard with ISPconfig seangee Installation/Configuration 4 24th June 2010 09:08
Install failure -- Apache 1.3 missing? Allen15 Installation/Configuration 11 24th February 2009 09:53


All times are GMT +2. The time now is 11:48.


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