Keyhelp Panel 503 Service unavailable  [GELÖST]

Locked
KnechtRootRecht
Posts: 36
Joined: Thu 16. May 2019, 11:03

Keyhelp Panel 503 Service unavailable

Post by KnechtRootRecht »

Hallo,

Mein Panel lässt sich nicht mehr aufrufen, die Webseiten auf dem Server schon.
Ich habe jetzt jedes einzelne Log durchforstet, entweder finde ich nichts, oder ich suche an der falschen Stelle.

/var/log/keyhelp/ -> keine Fehler in den logs (auch kein aktuelles Datum)

/var/log/apache2/error.log:

Code: Select all

[Fri Oct 23 06:25:03.327822 2020] [mpm_event:notice] [pid 6303:tid 140081126599616] AH00489: Apache/2.4.29 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1g configured -- resuming normal operations
[Fri Oct 23 06:25:03.327863 2020] [core:notice] [pid 6303:tid 140081126599616] AH00094: Command line: '/usr/sbin/apache2'
[Fri Oct 23 11:46:55.402795 2020] [mpm_event:notice] [pid 6303:tid 140081126599616] AH00491: caught SIGTERM, shutting down
[Fri Oct 23 11:47:23.594175 2020] [suexec:notice] [pid 1171:tid 139686287444928] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Fri Oct 23 11:47:23.805591 2020] [mpm_event:notice] [pid 1256:tid 139686287444928] AH00489: Apache/2.4.29 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1g configured -- resuming normal operations
[Fri Oct 23 11:47:23.805636 2020] [core:notice] [pid 1256:tid 139686287444928] AH00094: Command line: '/usr/sbin/apache2'
[Fri Oct 23 12:08:43.782700 2020] [mpm_event:notice] [pid 1256:tid 139686287444928] AH00491: caught SIGTERM, shutting down
[Fri Oct 23 12:09:09.452939 2020] [suexec:notice] [pid 1213:tid 139802290088896] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Fri Oct 23 12:09:09.645983 2020] [mpm_event:notice] [pid 1376:tid 139802290088896] AH00489: Apache/2.4.29 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1g configured -- resuming normal operations
[Fri Oct 23 12:09:09.646019 2020] [core:notice] [pid 1376:tid 139802290088896] AH00094: Command line: '/usr/sbin/apache2'
[Fri Oct 23 12:17:25.792746 2020] [mpm_event:notice] [pid 1376:tid 139802290088896] AH00491: caught SIGTERM, shutting down
[Fri Oct 23 12:17:25.917583 2020] [suexec:notice] [pid 4522:tid 139781891791808] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Fri Oct 23 12:17:25.940347 2020] [mpm_event:notice] [pid 4533:tid 139781891791808] AH00489: Apache/2.4.29 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1g configured -- resuming normal operations
[Fri Oct 23 12:17:25.940390 2020] [core:notice] [pid 4533:tid 139781891791808] AH00094: Command line: '/usr/sbin/apache2

Hier eventuell, kann ich aber schlecht deuten
/var/log/apache2/keyhelp/error.log:

Code: Select all

[Fri Oct 23 12:14:41.063033 2020] [proxy:error] [pid 1398:tid 139802058184448] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/keyhelp_keyhelp.socket (keyhelp_keyhelp.socket) failed
[Fri Oct 23 12:14:41.063088 2020] [proxy_fcgi:error] [pid 1398:tid 139802058184448] [client 24.134.157.9:57256] AH01079: failed to make connection to backend: httpd-UDS
[Fri Oct 23 12:14:44.524436 2020] [proxy:error] [pid 1398:tid 139802058184448] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/keyhelp_keyhelp.socket (keyhelp_keyhelp.socket) failed
[Fri Oct 23 12:14:44.524541 2020] [proxy_fcgi:error] [pid 1398:tid 139802058184448] [client 24.134.157.9:57256] AH01079: failed to make connection to backend: httpd-UDS

/var/log/php7.4-fpm.log:

Code: Select all

[23-Oct-2020 11:46:54] NOTICE: Terminating ...
[23-Oct-2020 11:46:54] NOTICE: exiting, bye-bye!
[23-Oct-2020 11:47:21] NOTICE: fpm is running, pid 832
[23-Oct-2020 11:47:22] NOTICE: ready to handle connections
[23-Oct-2020 11:47:22] NOTICE: systemd monitor interval set to 10000ms
[23-Oct-2020 12:07:23] NOTICE: Terminating ...
[23-Oct-2020 12:07:23] NOTICE: exiting, bye-bye!
[23-Oct-2020 12:07:23] NOTICE: fpm is running, pid 8284
[23-Oct-2020 12:07:23] NOTICE: ready to handle connections
[23-Oct-2020 12:07:23] NOTICE: systemd monitor interval set to 10000ms
[23-Oct-2020 12:08:43] NOTICE: Terminating ...
[23-Oct-2020 12:08:43] NOTICE: exiting, bye-bye!
[23-Oct-2020 12:09:07] NOTICE: fpm is running, pid 946
[23-Oct-2020 12:09:07] NOTICE: ready to handle connections
[23-Oct-2020 12:09:07] NOTICE: systemd monitor interval set to 10000ms

Nachdem ich jetzt den Mastercronjob mal angeschmissen habe kommen folgende meldungen:

Code: Select all

php /home/keyhelp/www/keyhelp/cronjob/mastercronjob.php --force-update
[PID-6777] [23-Oct-2020 12:42:23] INFO  --> "php-fpm" is not running, restarting...
Failed to restart php7.2-fpm.service: Unit php7.2-fpm.service is masked.
[PID-6777] [23-Oct-2020 12:42:23] INFO  --> forced to run "update.php"
[PID-6777] [23-Oct-2020 12:42:23] INFO  --> jobs to run: update.php
[PID-6777] [23-Oct-2020 12:42:23] INFO  --> >>> trying to run "update"
[PID-6777] [23-Oct-2020 12:42:23] INFO  --> lock "update" acquired
[PID-6777] [23-Oct-2020 12:42:23] INFO  --> processing the job ...
[23-Oct-2020 12:42:23] INFO  --> load tasks... nothing to do
[PID-6777] [23-Oct-2020 12:42:23] INFO  --> <<< job done, releasing lock "update"
ein:

Code: Select all

systemctl unmask php7.2-fpm.service
und anschliesendem MAstercronjob, keine Fehler mehr, Panel geht immernoch nicht.
KnechtRootRecht
Posts: 36
Joined: Thu 16. May 2019, 11:03

Re: Keyhelp Panel 503 Service unavailable

Post by KnechtRootRecht »

So wie es aussieht fehlt der keyhelp_keyhelp.socket:

Code: Select all

lsof -U | grep php
php-fpm7.   902             root    5u  unix 0xffff8fd5ee91b000      0t0  20445 type=STREAM
php-fpm7.   902             root    6u  unix 0xffff8fd5ee91a000      0t0  20446 type=STREAM
php-fpm7.   902             root    7u  unix 0xffff8fd5ee91b400      0t0  20447 /run/php/php7.4-fpm.sock type=STREAM
php-fpm7.   969         www-data    9u  unix 0xffff8fd5ee91b400      0t0  20447 /run/php/php7.4-fpm.sock type=STREAM
php-fpm7.   970         www-data    9u  unix 0xffff8fd5ee91b400      0t0  20447 /run/php/php7.4-fpm.sock type=STREAM
keyhelp-p  2819             root    8u  unix 0xffff8fd5eddfec00      0t0  30130 /run/php/keyhelp_ines_php74.socket type=STREAM
keyhelp-p 11127             ines    6u  unix 0xffff8fd5eddfec00      0t0  30130 /run/php/keyhelp_ines_php74.socket type=STREAM
KnechtRootRecht
Posts: 36
Joined: Thu 16. May 2019, 11:03

Re: Keyhelp Panel 503 Service unavailable  [GELÖST]

Post by KnechtRootRecht »

Irgendwas war wohl mit den PHP-Sockets, warum auch immer. Geändert wurde manuell nichts.
Ich habe jetzt auf Ubuntu 20.04 mit eurer Anleitung upgedatet, selbst da funktioniert es nicht wirklich. Dazu gibt es aber einen anderen Thread.
User avatar
Katzsumi
Posts: 40
Joined: Fri 8. May 2020, 22:16
Location: Oer-Erkenschwick (NRW)

Re: Keyhelp Panel 503 Service unavailable

Post by Katzsumi »

darf ich als leihe jetzt fragen, wie du das problem gelöst hast ?
Da ich aktuell das selber problem habe.
Locked