Hello
I'm testing on:
I-MSCP: 1.5.3 (2018120800)
PhpSwitcher Plugin: 5.0.2
Affected PHP versions: all packaged php versions
After "installing" an additional PHP package, all my PHP-FPM pool files are gone and I get HTTP ERROR 503.
Code
I can reproduce the behaviour with the following command:
It does not matter if the package is already installed or not
Fix for me at the moment:
I also had a look into the logfile, but there is no error message:
Code
- cat /var/log/imscp/imscp-dpkg-post-invoke.log
- [Tue Oct 1 14:51:14 2019] [debug] iMSCP::Bootstrapper::boot: Booting backend....
- [Tue Oct 1 14:51:14 2019] [debug] iMSCP::EventManager::_init: Loading /etc/imscp/listeners.d/10_apache2_dualstack.pl listener file
- [Tue Oct 1 14:51:14 2019] [debug] iMSCP::EventManager::_init: Loading /etc/imscp/listeners.d/10_named_global_ns.pl listener file
- [Tue Oct 1 14:51:14 2019] [debug] iMSCP::EventManager::_init: Loading /etc/imscp/listeners.d/10_php_confoptions_override.pl listener file
- [Tue Oct 1 14:51:14 2019] [debug] iMSCP::EventManager::_init: Loading /etc/imscp/listeners.d/10_phpfpm_settings_override.pl listener file
- [Tue Oct 1 14:51:14 2019] [debug] iMSCP::EventManager::_init: Loading /etc/imscp/listeners.d/10_postfix_tuning.pl listener file
- [Tue Oct 1 14:51:14 2019] [debug] iMSCP::EventManager::_init: Loading /etc/imscp/listeners.d/20_named_dualstack.pl listener file
- [Tue Oct 1 14:51:15 2019] [debug] iMSCP::EventManager::_init: Loading /etc/imscp/listeners.d/50_psw_dpkg_post_invoke_tasks.pl listener file
- [Tue Oct 1 14:51:15 2019] [debug] main: Executing Package::FrontEnd dpkg post-invoke tasks
- [Tue Oct 1 14:51:15 2019] [debug] iMSCP::EventManager::trigger: Triggering beforeFrontEndDpkgPostInvokeTasks event
- [Tue Oct 1 14:51:15 2019] [debug] iMSCP::LockFile::acquire: Acquiring exclusive lock on /var/lock/imscp.lock
- [Tue Oct 1 14:51:15 2019] [debug] iMSCP::Execute::execute: /usr/bin/php-cgi5.6 -n -v
- [Tue Oct 1 14:51:15 2019] [debug] iMSCP::Execute::execute: /usr/sbin/php-fpm5.6 -n -v
- [Tue Oct 1 14:51:15 2019] [debug] iMSCP::Execute::execute: /usr/bin/dpkg-query -S '/usr/bin/php-cgi5.6' '/usr/sbin/php-fpm5.6' '/usr/share/php/PEAR.php' >/dev/null 2>&1
- [Tue Oct 1 14:51:15 2019] [debug] iMSCP::Execute::execute: /usr/sbin/php-fpm5.6 --fpm-config /etc/php/5.6/fpm/php-fpm.conf --test
- [Tue Oct 1 14:51:15 2019] [debug] iMSCP::Execute::execute: /usr/bin/php-cgi7.0 -n -v
- [Tue Oct 1 14:51:15 2019] [debug] iMSCP::Execute::execute: /usr/sbin/php-fpm7.0 -n -v
- [Tue Oct 1 14:51:15 2019] [debug] iMSCP::Execute::execute: /usr/bin/dpkg-query -S '/usr/bin/php-cgi7.0' '/usr/sbin/php-fpm7.0' '/usr/share/php/PEAR.php' >/dev/null 2>&1
- [Tue Oct 1 14:51:15 2019] [debug] iMSCP::Execute::execute: /usr/sbin/php-fpm7.0 --fpm-config /etc/php/7.0/fpm/php-fpm.conf --test
- [Tue Oct 1 14:51:15 2019] [debug] iMSCP::Execute::execute: /bin/systemctl stop php7.0-fpm.service
- [Tue Oct 1 14:51:15 2019] [debug] iMSCP::Execute::execute: /bin/systemctl --quiet disable php7.0-fpm.service
- [Tue Oct 1 14:51:16 2019] [debug] iMSCP::Execute::execute: /bin/systemctl --quiet mask php7.0-fpm.service
- [Tue Oct 1 14:51:16 2019] [debug] iMSCP::Execute::execute: /bin/systemctl --quiet unmask php7.0-fpm.service
- [Tue Oct 1 14:51:16 2019] [debug] iMSCP::Execute::execute: /bin/systemctl --force --quiet enable php7.0-fpm.service
- [Tue Oct 1 14:51:16 2019] [debug] iMSCP::Execute::execute: /bin/systemctl start php7.0-fpm.service
- [Tue Oct 1 14:51:16 2019] [debug] iMSCP::Execute::execute: /usr/bin/php-cgi7.1 -n -v
- [Tue Oct 1 14:51:16 2019] [debug] iMSCP::Execute::execute: /usr/sbin/php-fpm7.1 -n -v
- [Tue Oct 1 14:51:16 2019] [debug] iMSCP::Execute::execute: /usr/bin/dpkg-query -S '/usr/bin/php-cgi7.1' '/usr/sbin/php-fpm7.1' '/usr/share/php/PEAR.php' >/dev/null 2>&1
- [Tue Oct 1 14:51:17 2019] [debug] iMSCP::Execute::execute: /usr/sbin/php-fpm7.1 --fpm-config /etc/php/7.1/fpm/php-fpm.conf --test
- [Tue Oct 1 14:51:17 2019] [debug] iMSCP::Execute::execute: /bin/systemctl stop php7.1-fpm.service
- [Tue Oct 1 14:51:17 2019] [debug] iMSCP::Execute::execute: /bin/systemctl --quiet disable php7.1-fpm.service
- [Tue Oct 1 14:51:17 2019] [debug] iMSCP::Execute::execute: /bin/systemctl --quiet mask php7.1-fpm.service
- [Tue Oct 1 14:51:17 2019] [debug] iMSCP::Execute::execute: /bin/systemctl --quiet unmask php7.1-fpm.service
- [Tue Oct 1 14:51:17 2019] [debug] iMSCP::Execute::execute: /bin/systemctl --force --quiet enable php7.1-fpm.service
- [Tue Oct 1 14:51:18 2019] [debug] iMSCP::Execute::execute: /bin/systemctl start php7.1-fpm.service
- [Tue Oct 1 14:51:18 2019] [debug] iMSCP::Execute::execute: /usr/bin/php-cgi7.2 -n -v
- [Tue Oct 1 14:51:18 2019] [debug] iMSCP::Execute::execute: /usr/sbin/php-fpm7.2 -n -v
- [Tue Oct 1 14:51:18 2019] [debug] iMSCP::Execute::execute: /usr/bin/dpkg-query -S '/usr/bin/php-cgi7.2' '/usr/sbin/php-fpm7.2' '/usr/share/php/PEAR.php' >/dev/null 2>&1
- [Tue Oct 1 14:51:18 2019] [debug] iMSCP::Execute::execute: /usr/sbin/php-fpm7.2 --fpm-config /etc/php/7.2/fpm/php-fpm.conf --test
- [Tue Oct 1 14:51:18 2019] [debug] iMSCP::Execute::execute: /bin/systemctl stop php7.2-fpm.service
- [Tue Oct 1 14:51:18 2019] [debug] iMSCP::Execute::execute: /bin/systemctl --quiet disable php7.2-fpm.service
- [Tue Oct 1 14:51:18 2019] [debug] iMSCP::Execute::execute: /bin/systemctl --quiet mask php7.2-fpm.service
- [Tue Oct 1 14:51:19 2019] [debug] iMSCP::Execute::execute: /bin/systemctl --quiet unmask php7.2-fpm.service
- [Tue Oct 1 14:51:19 2019] [debug] iMSCP::Execute::execute: /bin/systemctl --force --quiet enable php7.2-fpm.service
- [Tue Oct 1 14:51:19 2019] [debug] iMSCP::Execute::execute: /bin/systemctl start php7.2-fpm.service
- [Tue Oct 1 14:51:19 2019] [debug] iMSCP::Execute::execute: /usr/bin/php-cgi7.3 -n -v
- [Tue Oct 1 14:51:19 2019] [debug] iMSCP::Execute::execute: /usr/sbin/php-fpm7.3 -n -v
- [Tue Oct 1 14:51:19 2019] [debug] iMSCP::Execute::execute: /usr/bin/dpkg-query -S '/usr/bin/php-cgi7.3' '/usr/sbin/php-fpm7.3' '/usr/share/php/PEAR.php' >/dev/null 2>&1
- [Tue Oct 1 14:51:19 2019] [debug] iMSCP::Execute::execute: /usr/sbin/php-fpm7.3 --fpm-config /etc/php/7.3/fpm/php-fpm.conf --test
- [Tue Oct 1 14:51:19 2019] [debug] iMSCP::Execute::execute: /bin/systemctl stop php7.3-fpm.service
- [Tue Oct 1 14:51:19 2019] [debug] iMSCP::Execute::execute: /bin/systemctl --quiet disable php7.3-fpm.service
- [Tue Oct 1 14:51:20 2019] [debug] iMSCP::Execute::execute: /bin/systemctl --quiet mask php7.3-fpm.service
- [Tue Oct 1 14:51:20 2019] [debug] iMSCP::Execute::execute: /bin/systemctl --quiet unmask php7.3-fpm.service
- [Tue Oct 1 14:51:20 2019] [debug] iMSCP::Execute::execute: /bin/systemctl --force --quiet enable php7.3-fpm.service
- [Tue Oct 1 14:51:20 2019] [debug] iMSCP::Execute::execute: /bin/systemctl start php7.3-fpm.service
- [Tue Oct 1 14:51:20 2019] [debug] iMSCP::Execute::execute: /bin/systemctl reload-or-restart nginx.service
- [Tue Oct 1 14:51:21 2019] [debug] iMSCP::LockFile::release: Releasing exclusive lock on /var/lock/imscp.lock
- [Tue Oct 1 14:51:21 2019] [debug] iMSCP::Execute::execute: /bin/systemctl restart imscp_panel.service
- [Tue Oct 1 14:51:21 2019] [debug] iMSCP::Execute::execute: /usr/sbin/php-fpm5.6 -nv
- [Tue Oct 1 14:51:21 2019] [debug] iMSCP::Execute::execute: /usr/local/sbin/imscp_panel -nv
- [Tue Oct 1 14:51:21 2019] [debug] iMSCP::LockFile::release: Releasing exclusive lock on /var/lock/imscp-dpkg-post-invoke.lock
Maybe there is a problem within the listener file?
Someone else with the same behaviour?
Kind Regards,
Manuel