#1  
Old 20th April 2011, 16:49
hairydog2 hairydog2 is offline
Senior Member
 
Join Date: Oct 2005
Posts: 196
Thanks: 9
Thanked 3 Times in 2 Posts
 
Default Vhosts not being updated

I am having problems with the Vhosts file not updating when I make changes

So I checked the log and it says:

WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2667: WARNING: could not . /etc/apache2/envvars && httpd -t &> /dev/null

followed one second later by

WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2681: httpd syntax seems to contain errors, reloading with old configuration

but if I do

. /etc/apache2/envvars && httpd -t

on the shell, I get

Syntax OK

So how can I look for the problem?

[Later:]

Found it!

I downloaded the Vhosts.conf and the new one that it rejected.

When I did a diff on the two files, I found that there was some rubbish in one of the lines.

It looks as if it had been accidentally typed into the "Apache Directives (Optional): " box in ISP Manager, but instead of creating an error message, it simply refused to use the new conf file.

I cleared the Directives box, saved and all is well again!

Last edited by hairydog2; 20th April 2011 at 17:07. Reason: Problem solved!
Reply With Quote
Sponsored Links
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
yum issues el-sid Installation/Configuration 4 10th August 2011 11:01
Mac4Lin ver.0.2 - Mac OS X Leopard Transformation pack infra_red_dude Desktop Operation 77 12th September 2010 22:21
setting up a media server centos 5.2 asphix20 HOWTO-Related Questions 2 9th December 2009 16:37
Postfix problem vaio1 General 4 17th October 2007 10:27
Transaction error Perfect FC6 setup ACDII HOWTO-Related Questions 1 6th July 2007 14:56


All times are GMT +2. The time now is 16:05.


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