Jump to content
Froxlor Forum
  • 0

Update


neomatt

Question

6 answers to this question

Recommended Posts

  • 0

Vielen Dank für den Hinweis!

Die Installation zeigt zunächst keine Änderung. Neu gestartet wurde php7.2-fpm und php-fcgi.

Es läuft php7.2-fpm, installiert wurde  php7.4-common. Am Ende der Installation wird automatisch versucht den php7.0-fpm-Prozess zu starten und zu konfigurieren. Allerdings läuft der Service php7.2-fpm auf dem Server.

apt-get install php-zip meldet nun:

apt-get install php-zip
Reading package lists... Done
Building dependency tree
Reading state information... Done
php-zip is already the newest version (2:7.4+79+ubuntu16.04.1+deb.sury.org+4).
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up php7.0-fpm (7.0.33-37+ubuntu16.04.1+deb.sury.org+1) ...
NOTICE: Not enabling PHP 7.0 FPM by default.
NOTICE: To enable PHP 7.0 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php7.0-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Job for php7.0-fpm.service failed because the control process exited with error code. See "systemctl status php7.0-fpm.service" and "journalctl -xe" for details.
invoke-rc.d: initscript php7.0-fpm, action "restart" failed.
● 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 Wed 2020-12-02 08:38:54 CET; 6ms ago
     Docs: man:php-fpm7.0(8)
  Process: 22261 ExecStopPost=/usr/lib/php/php-fpm-socket-helper remove /run/php/php-fpm.sock /etc/php/7.0/fpm/pool.d/www.conf 70 (code=exited, status=0/SUCCESS)
  Process: 22260 ExecStart=/usr/sbin/php-fpm7.0 --nodaemonize --fpm-config /etc/php/7.0/fpm/php-fpm.conf (code=exited, status=78)
 Main PID: 22260 (code=exited, status=78)

Dec 02 08:38:54 vps222149.vs.webtropia.com systemd[1]: Starting The PHP 7.0 FastCGI Process Manager...
Dec 02 08:38:54 vps222149.vs.webtropia.com php-fpm7.0[22260]: [02-Dec-2020 08:38:54] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/ph... on line 0
Dec 02 08:38:54 vps222149.vs.webtropia.com php-fpm7.0[22260]: [02-Dec-2020 08:38:54] ERROR: An another FPM instance seems to already listen on /var/lib/apache2/fastcgi/1-ninequ...fpm.socket
Dec 02 08:38:54 vps222149.vs.webtropia.com php-fpm7.0[22260]: [02-Dec-2020 08:38:54] ERROR: FPM initialization failed
Dec 02 08:38:54 vps222149.vs.webtropia.com systemd[1]: php7.0-fpm.service: Main process exited, code=exited, status=78/n/a
Dec 02 08:38:54 vps222149.vs.webtropia.com systemd[1]: Failed to start The PHP 7.0 FastCGI Process Manager.
Dec 02 08:38:54 vps222149.vs.webtropia.com systemd[1]: php7.0-fpm.service: Unit entered failed state.
Dec 02 08:38:54 vps222149.vs.webtropia.com systemd[1]: php7.0-fpm.service: Failed with result 'exit-code'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package php7.0-fpm (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 php7.0-fpm
E: Sub-process /usr/bin/dpkg returned an error code (1)

Liegt hier dass Problem? Weiß php7.2-fpm nichts von der Existenz der Zip-Installation?

Wie kann ich dem System sagen, dass es nicht php7.0-fpm verwendet sondern php7.2-fpm?

 

Link to comment
Share on other sites

  • 0

kommt immer drauf an was default ist...und was du eingestellt hast. Bei php-zip zeigt er dir doch klar an das es für 7.4 ist...dann musst du php7.2-zip installieren um es explizit für php-7.2 zu haben. Das mit php7.0-fpm ist wohl aus einem vorherigen fehlgeschlagenenen install noch übrig (1 not fully installed or removed.) - da kann ich dir so nix zu sagen, da ich nicht weiss was du da gemacht hast.

Wenn du in froxlor kein php7.0 eingerichtet hast ist ja auch wurscht ob 7.0-fpm läuft

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...