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 17th February 2012, 17:53
99miles 99miles is offline
Junior Member
 
Join Date: Feb 2012
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default ISPConfig not writing vhost changes to disk

ISPConfig just started to not update my site .vhost nginx files when I change the nginx directives or toggle active/inactive, etc. , even though ispconfig somehow remembers the changes. They just aren't showing up on disk. Any ideas?

Last edited by 99miles; 17th February 2012 at 18:29.
Reply With Quote
Sponsored Links
  #2  
Old 18th February 2012, 12:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

Any errors in ISPConfig's Monitor module?

What's the output of
Code:
ls -la /etc/nginx/sites-available/
?

Which distribution do you use? Which tutorial (URL) did you follow?
__________________
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 19th February 2012, 22:08
99miles 99miles is offline
Junior Member
 
Join Date: Feb 2012
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric

---

No errors:

ISPConfig 3.0.4.2
State: info (0 unknown, 0 info, 1 warning, 0 critical, 0 error)

warning: One or more components needs an update

---

My install is in /opt/nginx/sites-available/ and I do see the vhost files in there. It all used to work but for some reason the files quit updating but as I mentioned the changes I make in ISPConfig continue to show up there, they just aren't reflected in those files.

Also, if I deactivate a site, the symlink still remains in the sites-enabled
Reply With Quote
  #4  
Old 19th February 2012, 22:53
anset anset is offline
Junior Member
 
Join Date: Jan 2012
Posts: 11
Thanks: 1
Thanked 3 Times in 2 Posts
Default

Sometimes when something is wrong, ISPconfig cannot generate a proper vhost file. In that case, the original file remains linked to the sites-enabled directory, but a second, newer vhost file with a .vhost.error (or something like that) extension is created in the sites-available directory.

You sure you do not have one in there?

Next step I guess would be to enable DEBUG logging for your server (under system) and see what it logs when you update the site.

wkr,

Anset

Last edited by anset; 19th February 2012 at 22:54. Reason: spelling
Reply With Quote
  #5  
Old 20th February 2012, 00:09
99miles 99miles is offline
Junior Member
 
Join Date: Feb 2012
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ah, there is a .err file in there. Do I just delete it, or...? Thanks!

Last edited by 99miles; 20th February 2012 at 00:12.
Reply With Quote
  #6  
Old 20th February 2012, 00:13
anset anset is offline
Junior Member
 
Join Date: Jan 2012
Posts: 11
Thanks: 1
Thanked 3 Times in 2 Posts
Default

Nope. it will just be recreated.

There is something somewhere that breaks the generation of the vhost file.

Put the system in DEBUG and check the ispconfig log file when you update the website agian for clues.
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
PHP warnings after upgrade to ISP config 3.03 stevegjacobs Installation/Configuration 5 30th October 2010 14:31
Adding non-RAID backup disk to system with RAID 1... BorderAmigos Installation/Configuration 1 20th February 2010 20:50
vhost not working on ISPConfig 2.2.13 tannnk Installation/Configuration 2 22nd June 2007 14:31
would like a vhost for the squirrelmail pkg in ispconfig sullast General 3 22nd May 2007 18:23
After ISPConfig installed - Disk Partition sushestvo Installation/Configuration 4 12th October 2005 14:39


All times are GMT +2. The time now is 19:17.


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