View Single Post
  #18  
Old 14th May 2012, 13:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by fatbear View Post
Thanks for the update.

Please note that on my CentOS 6.2 x64 system the script hanged after restarting the mailman service. Looking at the script, I see the restart line for mailmain in update.php:

mkdir ~/src
wget http://www.ispconfig.org/downloads/I...-stable.tar.gz
tar xzpf ISPConfig-3-stable.tar.gz
cd ispconfig3_install/install
vi update.php


Because the script hangs, I have to kill the update process with a CTRL-C. This leaves some services not restarted or reloaded. The line in which the problem happens is this:

if($conf['mailman']['init_script'] != '' && is_executable($conf['init_scripts'].'/'.$conf['mailman']['init_script'])) system($conf['init_scripts'].'/'.$conf['mailman']['init_script'].' restart');

I note that this problem disappears if I change the above to:

if($conf['mailman']['init_script'] != '' && is_executable($conf['init_scripts'].'/'.$conf['mailman']['init_script'])) system("nohup ".$conf['init_scripts'].'/'.$conf['mailman']['init_script'].' restart'.">/dev/null 2>&1 &");


I did confirm that the mailman init script does, in fact, terminal normally. Just why the php system call fails, I haven't determined, but the above workaround does work.
I've added this to our bugtracker.
__________________
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