View Single Post
Old 14th May 2012, 14:10
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts

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
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.
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!


nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote