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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 19th April 2012, 01:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

What's the output of
Code:
ls -la /etc/apache2/sites-available/
?
__________________
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
Sponsored Links
  #12  
Old 19th April 2012, 02:07
ollea ollea is offline
Junior Member
 
Join Date: Sep 2011
Location: Switzerland
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Code:
host:~# ls -la /etc/apache2/sites-available/
total 380
drwxr-xr-x 2 root root 4096 2012-04-19 02:01 .
drwxr-xr-x 7 root root 4096 2012-02-16 14:50 ..
-rw-r--r-- 1 root root 1091 2012-04-18 15:09 apps.vhost
-rw-r--r-- 1 root root  950 2011-11-13 09:18 default
-rw-r--r-- 1 root root 7469 2011-11-13 09:18 default-ssl
-rw-r--r-- 1 root root 1350 2012-04-18 15:09 ispconfig.conf
-rw-r--r-- 1 root root 1777 2012-04-18 15:09 ispconfig.vhost
-rw-r--r-- 1 root root  106 2012-04-18 15:12 mynewdomain.ch.vhost
-rw-r--r-- 1 root root 3369 2011-11-01 20:33 myolddomain.ch.vhost
Reply With Quote
  #13  
Old 19th April 2012, 16:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

mynewdomain.ch.vhost is the one that's making problems?

Can you update the site in ISPConfig (enable or disable a feature like SSI for that website) adn then run

Code:
/usr/local/ispconfig/server/server.sh
immediately afterwards? Do you see any errors in the output?
__________________
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
  #14  
Old 19th April 2012, 16:48
ollea ollea is offline
Junior Member
 
Join Date: Sep 2011
Location: Switzerland
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes the problem comes from mynewdomain.ch and also with every website I edit.

No error excepted the 3 mailman_plugin, could my issue comes from these ?

Code:
19.04.2012-14:44 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
19.04.2012-14:44 - DEBUG - Found 1 changes, starting update process.
19.04.2012-14:44 - DEBUG - Unable to register function 'insert' from plugin 'mailman_plugin' for event 'mail_mailinglist_insert'
19.04.2012-14:44 - DEBUG - Unable to register function 'update' from plugin 'mailman_plugin' for event 'mail_mailinglist_update'
19.04.2012-14:44 - DEBUG - Unable to register function 'delete' from plugin 'mailman_plugin' for event 'mail_mailinglist_delete'
19.04.2012-14:44 - DEBUG - Calling function 'ssl' from plugin 'apache2_plugin' raised by event 'web_domain_update'.
19.04.2012-14:44 - DEBUG - Calling function 'update' from plugin 'apache2_plugin' raised by event 'web_domain_update'.
19.04.2012-14:44 - DEBUG - exec: chmod 751 /var/www/clients/client91/web305/
19.04.2012-14:44 - DEBUG - exec: chmod 751 /var/www/clients/client91/web305/*
19.04.2012-14:44 - DEBUG - exec: chmod 710 /var/www/clients/client91/web305/web
19.04.2012-14:44 - DEBUG - exec: chmod 777 /var/www/clients/client91/web305/tmp
19.04.2012-14:44 - DEBUG - exec: usermod --groups sshusers web305
19.04.2012-14:44 - DEBUG - exec: chown web305:client91 /var/www/clients/client91/web305
19.04.2012-14:44 - DEBUG - exec: chown web305:client91 /var/www/clients/client91/web305/log/error.log
19.04.2012-14:44 - DEBUG - Disable SSL for: 
19.04.2012-14:44 - DEBUG - Writing the vhost file: /etc/apache2/sites-available/mynewdomain.ch.vhost
19.04.2012-14:44 - DEBUG - Apache status is: 1
19.04.2012-14:44 - DEBUG - Calling function 'restartHttpd' from module 'web_module'.
19.04.2012-14:44 - DEBUG - Apache online status after restart is: 1
19.04.2012-14:44 - DEBUG - Processed datalog_id 7113
19.04.2012-14:44 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
finished.
Reply With Quote
  #15  
Old 20th April 2012, 15:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Did you modify vhost.conf.master (or any other ISPconfig file)? Do you maybe use an old template with a new ISPConfig version?
__________________
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
  #16  
Old 20th April 2012, 17:33
ollea ollea is offline
Junior Member
 
Join Date: Sep 2011
Location: Switzerland
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes I've modified vhost.conf.master but I also tried replacing it by the package one but I still get the same problem.

Could you please tell me which other templates files affect the generation of vhosts ?

Thanks,
Reply With Quote
  #17  
Old 21st April 2012, 12:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

When you use the vhost.conf template that comes with ISPConfig, did you remove your customized version from /usr/local/ispconfig/server/conf-custom/?
__________________
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
  #18  
Old 21st April 2012, 15:37
ollea ollea is offline
Junior Member
 
Join Date: Sep 2011
Location: Switzerland
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes I removed /usr/local/ispconfig/server/conf-custom/vhost.conf.master and restored /usr/local/ispconfig/server/conf/vhost.conf.master from the original package file but still same result.

After removing the line beginning with "<tmpl_loop name="vhosts">" from /usr/local/ispconfig/server/conf/vhost.conf.master it works.

The loop "<tmpl_loop name="redirects">" doesn't generate anything.

So I think there is a problem with the script that handles the generation of the loops. Don't you think ?
Reply With Quote
  #19  
Old 21st April 2012, 19:02
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,769
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

I dont think hat thre is a problem with the script from ispconfig as it works on several thousands of servers that updated already to this version. I guess there must be still some modifications in your installation like a customized plugin or a similar problem that cause this.

That it eorks after sou removed the vhosts loop indicates that sour server uses a ispconfig apache plugin from a older release and not the current release. Ensure that you dont use a customized apache plugin without adopting it to the new ispconfig release. If you are sure hat you dont use any customized code, then check that the apache plugin in the plugins-availabe directory of ispconfig is really the one from the latest tar.gz and that the symlink in the plugins-enabled directory really ponts to this new plugin file.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #20  
Old 23rd April 2012, 01:18
ollea ollea is offline
Junior Member
 
Join Date: Sep 2011
Location: Switzerland
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

OK, I've downgraded all the php5 and apache2 packages to lenny but I'm still getting the problem.

I'm gonna migrate to Debian squeeze and change the server so hopefully it will work. Thank you for your help.

Could you please tell me if there is a way to force the regeneration of all vhost and other config files with ISPConfig ?
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
My Server Is Sending Spam. How Do I Block This? LordJ Server Operation 1 7th July 2011 19:34
Postfix queue problem? murunix Server Operation 7 2nd May 2011 01:55
smtp is error!!! fhawk Installation/Configuration 2 7th April 2009 13:17
Postfix problem: lost connection after CONNECT from unknown fernando_torrez Server Operation 5 30th November 2007 14:17
This is %#@*&^$# embarrassing! domino Smalltalk 34 5th February 2007 21:57


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


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