Problem with php5-fpm.service when I update from 1.3.0 to 1.3.1

  • Hallo,


    I'm updating to 1.3.1 and at the end of this update process I get this error:

    Code
    1. [ERROR] │ │ │ │ Error while performing step: │ │ │ │ Processing setup tasks │ │ │ │ Error was: │ │ │ │ Servers::httpd::apache_php_fpm::start: Could not start the php5-fpm service: iMSCP::Provider::Service::Sysvinit::_exec: Job for │ │ php5-fpm.service failed. See 'systemctl status php5-fpm.service' and 'journalctl -xn' for details. at │ │ /usr/local/src/imscp/imscp-1.3.1/engine/PerlLib/iMSCP/Service.pm line 158. │ │ │ │ Please have a look at http://i-mscp.net/forum if you need help.


    journalctl -xn output:

    Code
    1. -- Logs begin at Di 2016-09-13 15:13:43 CEST, end at Mi 2016-09-14 14:26:48 CEST. --Sep 14 14:26:48 vsrv58002 systemd[1]: Started LSB: Starts ProFTPD daemon.-- Subject: Unit proftpd.service has finished start-up-- Defined-By: systemd-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel---- Unit proftpd.service has finished starting up.---- The start-up result is done.Sep 14 14:26:48 vsrv58002 proftpd[15648]: 31.15.64.125 - ProFTPD 1.3.5 (stable) (built Tue May 19 2015 11:09:58 UTC) standalone mode STARTUPSep 14 14:26:48 vsrv58002 systemd[1]: Starting The PHP FastCGI Process Manager...-- Subject: Unit php5-fpm.service has begun with start-up-- Defined-By: systemd-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel---- Unit php5-fpm.service has begun starting up.Sep 14 14:26:48 vsrv58002 kernel: php5-fpm[15653]: segfault at ffffffffffffffff ip 00007f7909df974c sp 00007ffd8b22a248 error 7 in libpthread-2.Sep 14 14:26:48 vsrv58002 php5-fpm-checkconf[15651]: Segmentation faultSep 14 14:26:48 vsrv58002 php5-fpm[15655]: [14-Sep-2016 14:26:48] NOTICE: PHP message: PHP Fatal error: PHP Startup: apc_mmap: mmap failed: inSep 14 14:26:48 vsrv58002 kernel: php5-fpm[15655]: segfault at ffffffffffffffff ip 00007f15e6d6474c sp 00007ffef708dbe8 error 7 in libpthread-2.Sep 14 14:26:48 vsrv58002 systemd[1]: php5-fpm.service: main process exited, code=killed, status=11/SEGVSep 14 14:26:48 vsrv58002 systemd[1]: Failed to start The PHP FastCGI Process Manager.-- Subject: Unit php5-fpm.service has failed-- Defined-By: systemd

    When I manually stop php5-fpm service and start it again, it works. But I still get this error when I try to update imscp to 1.3.1



    Debian Jessie 8.5
    PHP 5.6.24-0+deb8u1 (cli) (built: Jul 26 2016 08:17:07)

    Edited once, last by Heart1010: added php/debian version ().

  • Not i-MSCP related. You have a segfault somewhere (surely with the APC module).


    • Distro?
    • Distro Codename?
    • PHP version?


    BTW: Next time, we will delete your thread. See Reporting rules - Reminder for the reason.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • ..added missing information in #1.


    Code
    1. # cat /etc/php5/fpm/php.ini|grep apc[apc]apc.enabled = 1apc.shm_size = 256M

    Here is the output of # php5-fpm -i | grep 'apc'

    Edited once, last by Heart1010 ().

  • I cannot confirm the problem on latest Debian Jessie with i-MSCP 1.3.1 and both, opcache and apcu.


    Please give me an access to the server.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206