The recent Update killed my server.

Discussion in 'Plesk Automation Suggestions and Feedback' started by Nibbels, Feb 17, 2016.

  1. Nibbels

    Nibbels Kilo Poster

    Messages:
    14
    Aktualisiert pp12.5.30-bootstrapper-12.5.30-cos7.build1205151127.16.x86_64 ?
    Aktualisieren 12.5.30-cos7.build1205160201.11.x86_64 @PLESK_12_5_30-dist

    Pre history: I need memcache/memcached and it did not seem possible to have it in plesk 12.5 php versions.
    Therefore I had been installing webtactic`s php56w instead of the php-common 5.4
    I am running Centos.

    12.5.30 cos7.build1205150826.19
    CentOS Linux release 7.2.1511 (Core)
    2014102401
    CentOS Linux release 7.2.1511 (Core)

    ################

    Now this morning i wake up and my server is down.
    It seems that the Update of Plesk 12.5 killed it.

    176 | root <root> | 2016-02-17 04:24 | E, I, U | 32 EE
    175 | root <root> | 2016-02-17 04:24 | Update | 1

    This update deleted my php56w installation and, sorry, `****t everything up`.

    ################

    There it goes:

    Löschen php56w-process-5.6.18-1.w7.x86_64 @webtatic
    Löschen php56w-xml-5.6.18-1.w7.x86_64 @webtatic
    Aktualisiert plesk-l10n-12.5.30-cos7.build1205151202.18.noarch @PLESK_12_5_30-dist
    Aktualisieren 12.5.30-cos7.build1205160127.23.noarch @PLESK_12_5_30-dist
    Aktualisiert plesk-mail-qc-driver-12.5.30-cos7.build1205150908 .13.x86_64 @PLESK_12_5_30-dist
    Aktualisieren 12.5.30-cos7.build1205160128 .15.x86_64 @PLESK_12_5_30-dist
    Aktualisiert psa-locale-base-en-US-12.5.30-cos7.build120515121 7.14.noarch @PLESK_12_5_30-dist
    Aktualisieren 12.5.30-cos7.build120516020 4.13.noarch @PLESK_12_5_30-dist
    Löschen psa-php5-configurator-1.7.0-cos7.build1205150924. 14.x86_64 @PLESK_12_5_30-dist
    Löschen psa-phpfpm-configurator-1.0.0-cos7.build120515081 9.14.x86_64 @PLESK_12_5_30-dist
    Ausgabe des Skriptlets:
    1 warning: /etc/php.ini created as /etc/php.ini.rpmnew
    2 warning: /etc/httpd/conf.d/php.conf created as /etc/httpd/conf.d/php.conf.r pmnew
    3 warning: /etc/httpd/conf.modules.d/10-php.conf created as /etc/httpd/conf.m odules.d/10-php.conf.rpmnew
    4 Moving Zend extensions from php.ini to conf.d/zend_extensions_psa.ini and d isabling custom ionCube if any... Removing php.ini backup files... done
    5 Trying to register the ionCube loader... done
    6 warning: /etc/php-fpm.d/www.conf created as /etc/php-fpm.d/www.conf.rpmnew
    7 Failed loading /usr/lib64/php/modules/ioncube_loader_lin_5.4.so: /usr/lib6 4/php/modules/ioncube_loader_lin_5.4.so: undefined symbol: zend_execute_ex
    8 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/m odules/apcu.so' - /usr/lib64/php/modules/apcu.so: undefined symbol: zend_registe r_bool_constant in Unknown on line 0
    9 PHP Warning: PHP Startup: bz2: Unable to initialize module
    10 Module compiled with module API=20131226
    11 PHP compiled with module API=20100525
    12 These options need to match
    13 in Unknown on line 0
    14 PHP Warning: PHP Startup: calendar: Unable to initialize module
    15 Module compiled with module API=20131226
    16 PHP compiled with module API=20100525
    17 These options need to match
    18 in Unknown on line 0
    19 PHP Warning: PHP Startup: ctype: Unable to initialize module
    20 Module compiled with module API=20131226
    21 PHP compiled with module API=20100525
    22 These options need to match
    23 in Unknown on line 0
    24 PHP Warning: PHP Startup: dom: Unable to initialize module
    25 Module compiled with module API=20131226
    26 PHP compiled with module API=20100525
    27 These options need to match
    28 in Unknown on line 0
    29 PHP Warning: PHP Startup: exif: Unable to initialize module
    30 Module compiled with module API=20131226
    31 PHP compiled with module API=20100525
    32 These options need to match
    33 in Unknown on line 0
    34 PHP Warning: PHP Startup: ftp: Unable to initialize module
    35 Module compiled with module API=20131226
    36 PHP compiled with module API=20100525
    37 These options need to match
    38 in Unknown on line 0
    39 PHP Warning: PHP Startup: gettext: Unable to initialize module
    40 Module compiled with module API=20131226
    41 PHP compiled with module API=20100525
    42 These options need to match
    43 in Unknown on line 0
    44 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/m odules/gmp.so' - /usr/lib64/php/modules/gmp.so: undefined symbol: var_push_dtor_ no_addref in Unknown on line 0
    45 PHP Warning: PHP Startup: iconv: Unable to initialize module
    46 Module compiled with module API=20131226
    47 PHP compiled with module API=20100525
    48 These options need to match
    49 in Unknown on line 0
    [...]

    #############

    It is now the time to tell me that I did run Plesk out of spec (not common 5.4), but I maybe need a hint what I could have done better.
    And remember I really needed Memcached and read storys about plesk would not support it natively. Thatwhy I had to switch the version and then I had a really stable and good running setup.

    Until the updater of Plesk broke it tonight.

    I would love to hear any possible solution. For know I am stuck in a mess. I am not that expert that sees through everything my system is doing. I mainly trust google on how to fix problems.

    Greetings
     
  2. Nibbels

    Nibbels Kilo Poster

    Messages:
    14
    I switched back to php56w, but for now the system is not running.
    I am still onto reading what could be the problem.

    httpd.service is still not considering to work.


    [root@h2177202 modules]# systemctl status httpd.service
    ● httpd.service - The Apache HTTP Server
    Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
    Active: failed (Result: exit-code) since Mi 2016-02-17 09:21:32 CET; 4min 57s ago
    Docs: man:httpd(8)
    man:apachectl(8)
    Process: 15915 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
    Process: 15912 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
    Main PID: 15912 (code=exited, status=1/FAILURE)

    Feb 17 09:21:32 h2177202.stratoserver.net httpd[15912]: [Wed Feb 17 09:21:32.173741 2016] [so:warn] [pid 15912] AH01574: module logio_module is already loaded, skipping
    Feb 17 09:21:32 h2177202.stratoserver.net httpd[15912]: [Wed Feb 17 09:21:32.174329 2016] [so:warn] [pid 15912] AH01574: module suexec_module is already loaded, skipping
    Feb 17 09:21:32 h2177202.stratoserver.net httpd[15912]: AH00526: Syntax error on line 50 of /etc/httpd/conf/plesk.conf.d/vhosts/cloud.downfight.de.conf:
    Feb 17 09:21:32 h2177202.stratoserver.net httpd[15912]: Wrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be accessed: (2)No such file or directory
    Feb 17 09:21:32 h2177202.stratoserver.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
    Feb 17 09:21:32 h2177202.stratoserver.net kill[15915]: kill: cannot find process ""
    Feb 17 09:21:32 h2177202.stratoserver.net systemd[1]: httpd.service: control process exited, code=exited status=1
    Feb 17 09:21:32 h2177202.stratoserver.net systemd[1]: Failed to start The Apache HTTP Server.
    Feb 17 09:21:32 h2177202.stratoserver.net systemd[1]: Unit httpd.service entered failed state.
    Feb 17 09:21:32 h2177202.stratoserver.net systemd[1]: httpd.service failed.

    Line 50: http://prntscr.com/a4c7bc
     
  3. Nibbels

    Nibbels Kilo Poster

    Messages:
    14
  4. Nibbels

    Nibbels Kilo Poster

    Messages:
    14
    Execution failed.
    Command: autoinstaller
    Arguments: Array
    (
    [0] => --select-product-id
    [1] => plesk
    [2] => --select-release-current
    [3] => --upgrade-installed-components
    [4] => --include-components-from-class
    [5] => vendor=parallels
    [6] => --include-components-from-class
    [7] => patched
    )

    Details: Datei wird heruntergeladen products.inf3: 100% fertig.
    Datei wird heruntergeladen plesk.inf3: 10%..21%..31%..41%..50%..63%..70%..84%..91%..100% fertig.
    Datei wird heruntergeladen ppsmbe.inf3: 10%..41%..82%..100% fertig.
    Datei wird heruntergeladen sitebuilder.inf3: 12%..25%..100% fertig.
    Datei wird heruntergeladen sso.inf3: 26%..40%..80%..93%..100% fertig.
    Datei wird heruntergeladen setemplates.inf3: 24%..100% fertig.
    Datei wird heruntergeladen pp-sitebuilder.inf3: 14%..29%..32%..44%..50%..65%..70%..82%..98%..100% fertig.
    Datei wird heruntergeladen billing.inf3: 14%..25%..30%..42%..50%..65%..82%..98%..100% fertig.
    Datei wird heruntergeladen mysql.inf3: 22%..44%..100% fertig.
    Datei wird heruntergeladen apache.inf3: 44%..100% fertig.
    Datei wird heruntergeladen nginx.inf3: 21%..43%..54%..61%..99%..100% fertig.
    Datei wird heruntergeladen php70.inf3: 54%..100% fertig.
    Datei wird heruntergeladen php56.inf3: 40%..100% fertig.
    Datei wird heruntergeladen php55.inf3: 40%..100% fertig.
    Datei wird heruntergeladen php54.inf3: 40%..100% fertig.
    Datei wird heruntergeladen php53.inf3: 40%..100% fertig.
    Datei wird heruntergeladen php52.inf3: 40%..100% fertig.
    Datei wird heruntergeladen pmm.inf3: 41%..100% fertig.
    Auf installierte Pakete prüfen...
    Datei wird heruntergeladen PSA_12.5.30/plesk-12.5.30-cos7-x86_64.inf3: 14%..20%..41%..61%..82%..93%..100% fertig.
    Lade Daten des Erweiterungskatalogs herunter...
    Datei wird heruntergeladen PSA_12.5.30/plesk-patches-12.5.30-cos7-x86_64.inf3: 12%..22%..30%..42%..51%..60%..75%..82%..90%..100% fertig.
    Datei wird heruntergeladen SITEBUILDER_12.5.29/sitebuilder-12.5.29-rhel7-all.inf3: 30%..100% fertig.
    Datei wird heruntergeladen NGINX_1.9.4/nginx-1.9.4-cos7-x86_64.inf3: 100% fertig.
    Datei wird heruntergeladen PHP_7.0.3/php70-7.0.3-cos7-x86_64.inf3: 18%..100% fertig.
    Datei wird heruntergeladen PHP_5.6.18/php56-5.6.18-cos7-x86_64.inf3: 16%..49%..98%..100% fertig.
    Datei wird heruntergeladen PHP_5.5.32/php55-5.5.32-cos7-x86_64.inf3: 16%..49%..100% fertig.
    Datei wird heruntergeladen PHP_5.4.45/php54-5.4.45-cos7-x86_64.inf3: 16%..49%..100% fertig.
    Datei wird heruntergeladen PHP_5.3.29/php53-5.3.29-cos7-x86_64.inf3: 32%..65%..100% fertig.
    Datei wird heruntergeladen PHP_5.2.17/php52-5.2.17-cos7-x86_64.inf3: 16%..50%..67%..100% fertig.
    Datei wird heruntergeladen PMM_0.1.10/pmm-0.1.10-cos7-x86_64.inf3: 42%..100% fertig.
    gpg-pubkey-b56a8bac-3bbc4d06 gpg(city-fan.org software librarian <software@city-fan.org>)
    gpg-pubkey-62e74ca5-539c878e gpg(Webtatic EL7 <rpms@webtatic.com>)
    gpg-pubkey-6b8d79e6-3f49313d gpg(Dag Wieers (Dag Apt Repository v1.0) <dag@wieers.com>)
    gpg-pubkey-352c64e5-52ae6884 gpg(Fedora EPEL (7) <epel@fedoraproject.org>)
    gpg-pubkey-914bdf7e-55c05220 gpg(Plesk Team <info@plesk.com>)
    gpg-pubkey-f4a80eb5-53a7ff4b gpg(CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>)
    Loaded plugins: fastestmirror


    Installierte Produktkomponenten werden ermittelt.
    Es werden Informationen zum installierten Lizenzkey abgerufen...
    Komponentenprüfungen werden gestartet...
    Datei wird heruntergeladen PSA_12.5.30/examiners/panel_preupgrade_checker.php: 10%..22%..34%..45%..56%..68%..70%..80%..90%..100% fertig.
    Datei wird heruntergeladen PSA_12.5.30/examiners/php_launcher.sh: 100% fertig.
    Loaded plugins: fastestmirror

    PHP_5_2_17-dist | 2.9 kB 00:00

    PHP_5_2_17-thirdparty | 2.9 kB 00:00

    PHP_5_3_29-dist | 2.9 kB 00:00

    PHP_5_3_29-thirdparty | 2.9 kB 00:00

    PHP_5_4_45-dist | 2.9 kB 00:00

    PHP_5_4_45-thirdparty | 2.9 kB 00:00

    PHP_5_5_32-dist | 2.9 kB 00:00

    PHP_5_5_32-thirdparty | 2.9 kB 00:00

    PHP_5_6_18-dist | 2.9 kB 00:00

    PHP_5_6_18-thirdparty | 2.9 kB 00:00

    PHP_7_0_3-dist | 2.9 kB 00:00

    PHP_7_0_3-thirdparty | 2.9 kB 00:00

    PLESK_12_5_30-dist | 2.9 kB 00:00

    PLESK_12_5_30-thirdparty | 2.9 kB 00:00

    PMM_0.1.10-dist | 2.9 kB 00:00

    PMM_0.1.10-thirdparty | 2.9 kB 00:00

    SITEBUILDER_12_5_29-dist | 2.9 kB 00:00

    SITEBUILDER_12_5_29-thirdparty | 2.9 kB 00:00
    Loading mirror speeds from cached hostfile
    * epel: ftp.nluug.nl
    * rpmforge: ftp.nluug.nl
    * webtatic: uk.repo.webtatic.com
    Attempt to remove 'php56w-common' to resolve conflict has succeeded
    Attempt to remove 'php56w-common' to resolve conflict has succeeded
    Attempt to remove 'php56w-common' to resolve conflict has succeeded
    Attempt to remove 'php56w-common' to resolve conflict has succeeded
    Attempt to remove 'php56w-common' to resolve conflict has succeeded
    Exception: Failed to solve dependencies:
    php56w-common conflicts with php-common-5.4.16-36.el7_1.x86_64

    ERROR: Das Dienstprogramm Yum konnte nicht die erforderlichen Pakete installieren.
    Achtung! Ihre Software ist vielleicht nicht betriebsbereit.
    Bitte kontaktieren Sie den technischen Produktsupport.
     
  5. Nibbels

    Nibbels Kilo Poster

    Messages:
    14
    ####################################################
    Resolved - for now.
    ####################################################

    This was an odyssey...
    What helped was to randomly remove, reinstall, reconfigure, manually install and switch the components/handlers for php again. Actually I cannot tell the exact Path to my success, but it was something alike this:

    -------------------------------

    Commands that helped:
    `yum replace php54-common --replace-with php56w-common` did not work as expected: other things were broken.
    ->
    `yum replace php56w-common --replace-with php54-common` again.

    I installed plesks php56-common, then switched all the domains to PHP 5.6.18 and PHP FPM with Apache.
    Then my PHP-Sourcecode had been shown to the public - THANK YOU!

    In the process Plesk repaired the configuration files some times but mostly failed on that.
    Konfigurieren des Webservers nicht möglich:Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-all ) Details: Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-domains [1] => XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ) Details: [2016-02-17 10:49:16] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-t'] with exit code [1] [2016-02-17 10:49:17] ERR [panel] Apache config (14557025550.83505500) generation failed: Template_Exception: [Wed Feb 17 10:49:16.816531 2016] [so:warn] [pid 10931] AH01574: module headers_module is already loaded, skipping [Wed Feb 17 10:49:16.816694 2016] [so:warn] [pid 10931] AH01574: module logio_module is already loaded, skipping [Wed Feb 17 10:49:16.817196 2016] [so:warn] [pid 10931] AH01574: module suexec_module is already loaded, skipping AH00526: Syntax error on line 50 of /etc/httpd/conf/plesk.conf.d/ip_default/downfight.de.conf: Wrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be accessed: (2)No such file or directory file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php line: 75 code: 0 [Wed Feb 17 10:49:16.816531 2016] [so:warn] [pid 10931] AH01574: module headers_module is already loaded, skipping [Wed Feb 17 10:49:16.816694 2016] [so:warn] [pid 10931] AH01574: module logio_module is already loaded, skipping [Wed Feb 17 10:49:16.817196 2016] [so:warn] [pid 10931] AH01574: module suexec_module is already loaded, skipping AH00526: Syntax error on line 50 of /etc/httpd/conf/plesk.conf.d/ip_default/downfight.de.conf: Wrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be accessed: (2)No such file or directory

    I removed nginx, installed it again.

    `yum replace php54-common --replace-with php56w-common`
    `yum install php56w-` .. apcu, opcache, xml, bcmath, memcached, memcache etc...

    ... back and forth, according to the needs of Odin to finish its updates,

    I had to manually start the nginx service within plesk to resolve its service-fail-state.
    I let the System reread its Service-Components ..
    I deleted one Abonnement and installed it again, because of weird behaviour of this one.
    I tracked the selectable php-handlers (according to installed php-versions they changed) and switched them on and off

    I removed the Plesks php56-common again.
    -------------------------------

    After switching the PHP-Interpreters again and again and reconfiguring again and again it finally found a stable and good configuration again.
    I now disabled Plesks Update-Feature because ... you know.

    [Now Odin/Plesks Installer thinks that no PHP-Version is installed. But there is and it is working -> finally again!]
    [Now Odin/Plesk thinks there is a problem with 5.6.18 by OS vendor Apache-Modul -> but I do not use it!]
    [Now Odin/Plesk thinks it has 5.4.16 by OS vendor FPM-Anwendung installed as PHP 5.4.16, but it is PHP 5.6.18!, the others are recognized as 5.6.18]
     

    Attached Files:

Share This Page