Anachon Posted July 1 Posted July 1 Hallo, Ubuntu 20.04 LTS, aktuelles Patchlevel, PHP-FPM 7.4 bis 8.4 parallel Beim Anlegen einer neuen Emal in Froxlor ist der Apache abgestürzt und ich habe den neu gestartet, ich habe das Problem, dass Apache startet, aber PHP nicht richtig läuft und auch keine vHosts mehr verfügbar sind. Beim Aufruf von Froxlor kommt: Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. der Start von PHP8.2 sagt (domain ist ausge xxx t): systemctl status php8.2-fpm.service ● php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager Loaded: loaded (/lib/systemd/system/php8.2-fpm.service; enabled; vendor preset: enabled) Active: activating (start) since Tue 2025-07-01 12:13:04 UTC; 1s ago Docs: man:php-fpm8.2(8) Main PID: 151960 (php-fpm8.2) Tasks: 1 (limit: 77025) Memory: 12.3M CPU: 1.704s CGroup: /system.slice/php8.2-fpm.service └─151960 /usr/sbin/php-fpm8.2 --nodaemonize --fpm-config /etc/php/8.2/fpm/php-fpm.conf Jul 01 12:13:04 xxx.com systemd[1]: Starting The PHP 8.2 FastCGI Process Manager... Jul 01 12:13:04 xxx.com php-fpm8.2[151960]: [01-Jul-2025 12:13:04] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/lib/php/20220829/mysqli (/usr/lib/> Jul 01 12:13:04 xxx.com php-fpm8.2[151960]: [01-Jul-2025 12:13:04] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /usr/lib/php/20220829/pdo_mysql (/us> Jul 01 12:13:04 xxx.com php-fpm8.2[151960]: [01-Jul-2025 12:13:04] NOTICE: PHP message: PHP Warning: Module "curl" is already loaded in Unknown on line 0 der Start von php8.3: systemctl status php8.3-fpm.service ● php8.3-fpm.service - The PHP 8.3 FastCGI Process Manager Loaded: loaded (/lib/systemd/system/php8.3-fpm.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2025-07-01 09:41:07 UTC; 2h 33min ago Docs: man:php-fpm8.3(8) Process: 103813 ExecStartPost=/usr/lib/php/php-fpm-socket-helper install /run/php/php-fpm.sock /etc/php/8.3/fpm/pool.d/www.conf 83 (code=exited, status=0/SUCCESS) Main PID: 103810 (php-fpm8.3) Status: "Processes active: 0, idle: 2, Requests: 0, slow: 0, Traffic: 0.00req/sec" Tasks: 3 (limit: 77025) Memory: 12.6M CPU: 833ms CGroup: /system.slice/php8.3-fpm.service ├─103810 "php-fpm: master process (/etc/php/8.3/fpm/php-fpm.conf)" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ├─103811 "php-fpm: pool www" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "> └─103812 "php-fpm: pool www" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "> Jul 01 09:41:07 xxx.com systemd[1]: Starting The PHP 8.3 FastCGI Process Manager... Jul 01 09:41:07 xxx.com systemd[1]: Started The PHP 8.3 FastCGI Process Manager. Idee? Danke und Gruß
0 Anachon Posted July 1 Author Posted July 1 Ich habe versucht alle Configs neu schreiben zu lassen: php /var/www/html/froxlor/bin/froxlor-cli froxlor:cron tasks --force Checking froxlor file permissions...OK Running "tasks" job (forced) [error] Given SSL private key for helpdesk.xxx.com does not seem to match the certificate. Cannot create ssl-directives [error] Given SSL private key for helpdesk.xxx.com does not seem to match the certificate. Cannot create ssl-directives Job for php8.2-fpm.service failed because the control process exited with error code. See "systemctl status php8.2-fpm.service" and "journalctl -xeu php8.2-fpm.service" for details. die subdomain helpdesk ist auf eine andere Maschine umgezogen vor einigen Wochen. Eventuell damit was zu tun?
0 d00p Posted July 1 Posted July 1 17 minutes ago, Anachon said: Jul 01 12:13:04 xxx.com systemd[1]: Starting The PHP 8.2 FastCGI Process Manager... Jul 01 12:13:04 xxx.com php-fpm8.2[151960]: [01-Jul-2025 12:13:04] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/lib/php/20220829/mysqli (/usr/lib/> Jul 01 12:13:04 xxx.com php-fpm8.2[151960]: [01-Jul-2025 12:13:04] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /usr/lib/php/20220829/pdo_mysql (/us> Jul 01 12:13:04 xxx.com php-fpm8.2[151960]: [01-Jul-2025 12:13:04] NOTICE: PHP message: PHP Warning: Module "curl" is already loaded in Unknown on line 0 sieht für mich mehr danach aus, als wurde an php rumgespielt. Wie exakt ist php prallel installiert worden? So eine Fehlermeldung passiert ja nicht von allein auf einmal...irgendwas muss ja gewesen sein. Repariere dein PHP und dann tut auch alles wieder
0 Anachon Posted July 1 Author Posted July 1 Hi, das ist vor Monate nach Anleitung installiert und lief bis zum Crash heute Morgen. Ich hatte einen neuen User/Customer angelegt und dabei ist der Apache weggeflogen. Ich bin schon etwas weiter: PHP message: PHP Warning: Module "mbstring" is already loaded in Unknown on line 0 Jul 01 12:27:56 xxx.com php-fpm8.2[157901]: [01-Jul-2025 12:27:56] ERROR: [pool leverkusen.xxx.com] cannot get uid for user 'leverkusen'
0 d00p Posted July 1 Posted July 1 dann hast du dennoch irgendwo/irgendwas umgestellt/eingestellt was dazu geführt hat. Einen neuen Kunden anlegen macht nicht dein php kaputt...
0 Anachon Posted July 1 Author Posted July 1 wirklich nein. Unverändert seit Monaten... genau beim anlegen des customers leverkusen ist der Apache abgestürzt. im Log habe ich ja gefunden: php-fpm8.2[157901]: [01-Jul-2025 12:27:56] ERROR: [pool leverkusen.xxx.com] cannot get uid for user 'leverkusen' anscheinend ist dabei was nicht angelegt worden und fehlt jetzt. Seitdem startet das FPM nicht mehr und damit auch froxlor off.
0 d00p Posted July 1 Posted July 1 dann schau doch erstmal nach ob der kunde anständig angelegt wurde und der user verfügbar ist, z.B. mit `id leverkusen`. Wenn da alles okay ist, dann restarte die Dienste (apache + php-fpm) mal manuell und schaue ob dort meldungen ausgegeben werden
0 Anachon Posted July 1 Author Posted July 1 id: ‘leverkusen’: no such user Leider läuft phpmyadmin auch über den php pool ...
0 d00p Posted July 1 Posted July 1 dann is der kunde wohl nicht korrekt angelegt oder einstellungen stimmen nicht. kann ich dir ohne info nicht sagen. Schau doch mal im Discord vorbei, dann schick ich dir meinen ssh-key und dann können wir mal schauen
Question
Anachon
Hallo,
Ubuntu 20.04 LTS, aktuelles Patchlevel, PHP-FPM 7.4 bis 8.4 parallel
Beim Anlegen einer neuen Emal in Froxlor ist der Apache abgestürzt und ich habe den neu gestartet,
ich habe das Problem, dass Apache startet, aber PHP nicht richtig läuft und auch keine vHosts mehr verfügbar sind.
Beim Aufruf von Froxlor kommt:
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
der Start von PHP8.2 sagt (domain ist ausge xxx t):
systemctl status php8.2-fpm.service
● php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php8.2-fpm.service; enabled; vendor preset: enabled)
Active: activating (start) since Tue 2025-07-01 12:13:04 UTC; 1s ago
Docs: man:php-fpm8.2(8)
Main PID: 151960 (php-fpm8.2)
Tasks: 1 (limit: 77025)
Memory: 12.3M
CPU: 1.704s
CGroup: /system.slice/php8.2-fpm.service
└─151960 /usr/sbin/php-fpm8.2 --nodaemonize --fpm-config /etc/php/8.2/fpm/php-fpm.conf
Jul 01 12:13:04 xxx.com systemd[1]: Starting The PHP 8.2 FastCGI Process Manager...
Jul 01 12:13:04 xxx.com php-fpm8.2[151960]: [01-Jul-2025 12:13:04] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/lib/php/20220829/mysqli (/usr/lib/>
Jul 01 12:13:04 xxx.com php-fpm8.2[151960]: [01-Jul-2025 12:13:04] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /usr/lib/php/20220829/pdo_mysql (/us>
Jul 01 12:13:04 xxx.com php-fpm8.2[151960]: [01-Jul-2025 12:13:04] NOTICE: PHP message: PHP Warning: Module "curl" is already loaded in Unknown on line 0
der Start von php8.3:
systemctl status php8.3-fpm.service
● php8.3-fpm.service - The PHP 8.3 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php8.3-fpm.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2025-07-01 09:41:07 UTC; 2h 33min ago
Docs: man:php-fpm8.3(8)
Process: 103813 ExecStartPost=/usr/lib/php/php-fpm-socket-helper install /run/php/php-fpm.sock /etc/php/8.3/fpm/pool.d/www.conf 83 (code=exited, status=0/SUCCESS)
Main PID: 103810 (php-fpm8.3)
Status: "Processes active: 0, idle: 2, Requests: 0, slow: 0, Traffic: 0.00req/sec"
Tasks: 3 (limit: 77025)
Memory: 12.6M
CPU: 833ms
CGroup: /system.slice/php8.3-fpm.service
├─103810 "php-fpm: master process (/etc/php/8.3/fpm/php-fpm.conf)" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
├─103811 "php-fpm: pool www" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ">
└─103812 "php-fpm: pool www" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ">
Jul 01 09:41:07 xxx.com systemd[1]: Starting The PHP 8.3 FastCGI Process Manager...
Jul 01 09:41:07 xxx.com systemd[1]: Started The PHP 8.3 FastCGI Process Manager.
Idee?
Danke und Gruß
9 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now