Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th March 2006, 10:42
jmroth jmroth is offline
ISPConfig Developer
 
Join Date: Sep 2005
Posts: 191
Thanks: 1
Thanked 6 Times in 6 Posts
Default NOT SUPPORTED appears in apache config after SSL problems

Hi there,
yesterday I wanted to install a new SSL certificate for a site.
I made a mistake and the private key was not at the right location when I told ISPConfig to "Save". So, Apache did not start up, and ISPConfig marked _all_ optional Apache directives for all sites that I had defined with the tag "NOT SUPPORTED" although it had nothing to do with them.
Do you have any idea what could have caused this?
Regards,
~jm
Reply With Quote
Sponsored Links
  #2  
Old 9th March 2006, 21:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,716 Times in 2,558 Posts
Default

This means that the syntax check
Code:
httpd -t
returned an error, therefore ISPConfig commented out the Apache Directives.
Anything in the Apache error log?
__________________
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
  #3  
Old 14th March 2006, 11:52
jmroth jmroth is offline
ISPConfig Developer
 
Join Date: Sep 2005
Posts: 191
Thanks: 1
Thanked 6 Times in 6 Posts
Default

Well, on my box httpd -t always returns the following, however all is working fine and I have not time to troubleshoot it:

Code:
[Tue Mar 14 11:48:07 2006] [warn] The ScriptAlias directive in /etc/apache2/vhosts/Vhosts_ispconfig.conf at line 125 will probably never match because it overlaps an earlier AliasMatch.
[Tue Mar 14 11:48:07 2006] [warn] The Alias directive in /etc/apache2/vhosts/Vhosts_ispconfig.conf at line 153 will probably never match because it overlaps an earlier AliasMatch.
Syntax OK
(I understand the error, but as long as all works ok, I will not really touch it)

Now, what I meant was, how can the missing private key result in all directives being commented out!? (Maybe ISPConfig is confused by the above warnings, although it wouldn't make sense.)
When the private key was missing, apache just didn't do anything upon a start command via init.d, it didn't even report to the error.log that it couldn't start.

Regards,
~jm
Reply With Quote
  #4  
Old 14th March 2006, 18:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,716 Times in 2,558 Posts
Default

Quote:
Originally Posted by jmroth
Now, what I meant was, how can the missing private key result in all directives being commented out!? (Maybe ISPConfig is confused by the above warnings, although it wouldn't make sense.)
ISPConfig just reads the return value of
Code:
httpd -t
, and even with your warnings from above this is 0 which is ok (as long as "Syntax OK" appears it is ok).


Quote:
Originally Posted by jmroth
When the private key was missing, apache just didn't do anything upon a start command via init.d, it didn't even report to the error.log that it couldn't start.
When the key was missing,
Code:
httpd -t
must have given back an error which is normal if the Apache configuration file references a file which isn't existing.
__________________
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
  #5  
Old 14th March 2006, 19:56
jmroth jmroth is offline
ISPConfig Developer
 
Join Date: Sep 2005
Posts: 191
Thanks: 1
Thanked 6 Times in 6 Posts
 
Default

Actually there were multiple lines in the ispconfig.log that read

Code:
08.03.2006 - 22:52:21 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 1814: WARNING: could not httpd -t &> /dev/null
and then this
Code:
08.03.2006 - 22:52:22 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2333: httpd -t  &> /dev/null
08.03.2006 - 22:52:22 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2335: httpd syntax ok
:-\

Also, the inverse seems to have happened at some time

Code:
08.03.2006 - 22:57:07 => INFO -= /root/ispconfig/scripts/lib/config.lib.php, Line 1814: httpd -t &> /dev/null
08.03.2006 - 22:57:13 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2333: WARNING: could not httpd -t  &> /dev/null
08.03.2006 - 22:57:13 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2339: httpd syntax seems to contain errors, restarting with old configuration
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 & mod_rewrite problems kingkunt Server Operation 9 9th July 2008 06:36
mod_mono apache 2.2 ColdDoT Server Operation 5 23rd May 2006 02:58
Apache config brucebruce Installation/Configuration 3 13th November 2005 17:52
Apache 1.3 Support SleeperZ General 3 9th November 2005 11:10
Apache config help Glutch Server Operation 2 15th October 2005 19:15


All times are GMT +2. The time now is 01:26.


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