Probleme bei der Installation (php7.0-fpm)

  • Hallo zusammen,


    Ich musste leider meinen VServer neu installieren, darunter auch I-MSCP.
    Die leider kommt am Ende eine Fehlermeldung (siehe Screenshot). Ich setzt Ubuntu 16.04 ein

  • Please paste the output of the following commands, after you perform your setup again:

    Code
    1. systemctl status php7.0-fpm.service

    and also

    Code
    1. journalctl -xe

    there you should see what's wrong...

  • Hallo dieser Befehl 'systemctl status php7.0-fpm.service' gibt das hier aus:

    Code
    1. ● php7.0-fpm.service - The PHP 7.0 FastCGI Process Manager Loaded: loaded (/lib/systemd/system/php7.0-fpm.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Do 2017-03-16 22:17:29 CET; 3min 8s ago Process: 18007 ExecStart=/usr/sbin/php-fpm7.0 --nodaemonize --fpm-config /etc/php/7.0/fpm/php-fpm.conf (code Process: 17938 ExecStartPre=/usr/lib/php/php7.0-fpm-checkconf (code=exited, status=0/SUCCESS) Main PID: 18007 (code=exited, status=254)Mär 16 22:17:29 euve73161 php-fpm7.0[18007]: Thu Mar 16 22:17:29 2017 (18007): Fatal Error Unable to allocate


    Und dieser Befehl 'journalctl -xe' gibt das hier aus.


  • 1.) Versuch die Variante von kess und ändere die OPcache settings.


    2.) Ist es ein vServer? Wieviel RAM hast du?
    Hast du clamav? Versuch einmal clamav zu deaktivieren. Der frisst sehr viel Speicher. Wenn php7 dann läuft, kannst du ja deinen admin um mehr RAM bitten.


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


    1.) Try @kess 's thing and change OPcache settings.


    2.)It is a vServer, right? How much memory?
    Do you use clamav? Try deactivating clamav, as this is a huge memory "killer". So you can see, if it is running. After this, contact your admin for more RAM!

  • Ich habe PHP7 im Einsatz gehabt, schon bevor ich dieses Problem hatte bzw. zuvor lief PHP7 ohne Probleme.

  • How many memory available on your vserver? Right now the system cannot allocate required amount of memory for the PHP FPM instance.

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

  • Hallo zusammen,


    Mir ist zufälligerweise selber gelungen, diesen Fehler selber zu beheben.
    Ich bin wie folgt so vorgegangen:


    1. Ich habe die PHP.INI im Verzeichnis "/var/www/fcgi/youdomain.ltd/php7.0/" geöffnet und dann ganz am Ende "opcache.memory_consumption=48" eingetragen und abgespeichert. Standardmäßig war da laut PHP-Info auf 64 eingestellt.
    2. Dann Aapache2 neu gestartet mit dem Befehl "service apache2 restart".
    Und es hat Funktioniert und hoffe das es so bleibt.


    ANMERKUNGEN: Rot = Bei der Pfadangabe hängt davon ab,welche HTTPD Service ihr bei der Installation ausgewählt hat (FastCGI, FPM oder ITK). Grün = Hängt davon ab, welche PHP-Version ihr verwendet.


    Das Ende vom Lied, das es nach meiner Meinung nach an PHP-Konfiguration gelegen hat.
    Vielen Dank für alle die mir geholfen haben und wünsche euch einen schönen Abend. ;)