Webservice reagiert nicht  [SOLVED]

For topics beyond KeyHelp. / Für Themen jenseits von KeyHelp.
User avatar
Jolinar
Community Moderator
Posts: 3617
Joined: Sat 30. Jan 2016, 07:11
Location: Weimar (Thüringen)
Contact:

Re: Webservice reagiert nicht

Post by Jolinar »

Code: Select all

sudo apt-get purge '.*php8.*'
Wenn jemand inkompetent ist, dann kann er nicht wissen, daß er inkompetent ist. (David Dunning)

Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
  • In dieser Farbe schreibe ich als Moderator und gebe moderative Hinweise oder begründe moderative Eingriffe /
    In this color, I write as a moderator and provide moderative guidance or justify moderative interventions
  • In dieser Farbe schreibe ich als Community Mitglied und teile meine private Meinung und persönlichen Ansichten mit /
    In this color, I write as a community member and share my personal opinions and views
Hosting2023
Posts: 15
Joined: Mon 9. Oct 2023, 15:52

Re: Webservice reagiert nicht

Post by Hosting2023 »

Hallo,

habe jetzt wieder PHP 7.4 und bin im KeyHelp Toolbox, muss ich hier nun den Punkt 2 Reite KeyHelp Konfiguration Files wählen?

Vielen Dank
User avatar
Jolinar
Community Moderator
Posts: 3617
Joined: Sat 30. Jan 2016, 07:11
Location: Weimar (Thüringen)
Contact:

Re: Webservice reagiert nicht

Post by Jolinar »

Hosting2023 wrote: Tue 10. Oct 2023, 13:05 muss ich hier nun den Punkt 2 Reite KeyHelp Konfiguration Files wählen?
Wurde doch schon gesagt:
Florian wrote: Tue 10. Oct 2023, 10:00 Starte keyhelp-toolbox und lass die Konfiguration neu schreiben.
Wenn jemand inkompetent ist, dann kann er nicht wissen, daß er inkompetent ist. (David Dunning)

Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
  • In dieser Farbe schreibe ich als Moderator und gebe moderative Hinweise oder begründe moderative Eingriffe /
    In this color, I write as a moderator and provide moderative guidance or justify moderative interventions
  • In dieser Farbe schreibe ich als Community Mitglied und teile meine private Meinung und persönlichen Ansichten mit /
    In this color, I write as a community member and share my personal opinions and views
Hosting2023
Posts: 15
Joined: Mon 9. Oct 2023, 15:52

Re: Webservice reagiert nicht

Post by Hosting2023 »

Diesen Schritt habe ich erfolgreich durchgeführt,

die Domain ist aber noch nicht wieder erreichbar. Ist der Schritt 1 (Benutzer-Konfiguration neu schreiben) ebenfalls notwendig? In den Systeminformationen wird folgendes ausgegeben:

Code: Select all

Prozessor                     : Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz (amd64)
CPU-Kerne                     : 8 @ 3307.564 MHz
System-Virtualisierung        : -
Serverzeit                    : 10. Oktober 2023, 13:13:03
Betriebszeit                  : Tage 1 / Stunden 2 / Minuten 3

Server-Auslastung
CPU-Auslastung                : 3,62 % (0,29 / 0,21 / 0,18)
Prozessanzahl                 : 203
E-Mails in Warteschlange      : 1
Speicherplatz                 : Frei:    1,82 TB     Belegt:   15,09 GB     Gesamt:    1,93 TB
Arbeitsspeicher               : Frei:   27,78 GB     Belegt:   34,81 GB     Gesamt:   62,59 GB
Swap-Speicher                 : Frei:   31,97 GB     Belegt:        0 B     Gesamt:   31,97 GB

Anwendungen
Betriebssystem                : Ubuntu 20.04 (64-bit)
KeyHelp                       : 23.2 (Build 3097)
Kernel                        : Kernel 5.4.0-164-generic
Webserver                     : Apache 2.4.57
DNS-Server                    : BIND 9.16.1
PHP                           : PHP 7.4.33
Datenbank-Server              : MariaDB 10.3.38
FTP-Server                    : ProFTPD 1.3.6c
Mail Transfer Agent (MTA)     : Postfix 3.4.13
Mail Delivery Agent (MDA)     : Dovecot 2.3.7.2
MTA-Inhaltsfilter             : Amavisd-new 2.11.0
Spam-Filter                   : SpamAssassin 3.4.4
Virenscanner                  : ClamAV 0.103.9
Datenbank-Administration      : phpMyAdmin 5.2.1
Webmail                       : Roundcube 1.6.3
Kryptographie                 : OpenSSL 1.1.1f
Datenübertragung              : curl 7.68.0
Backup-Software               : Restic 0.16.0
Backup-Datenübertragung       : Rclone 1.64.0
In-Memory-Datenbank-Server    : Redis 5.0.7

Dienst-/Portüberwachung
FTP           (21/TCP)        : Online
SSH           (22/TCP)        : Online
DNS           (53/TCP)        : Online
HTTP          (80/TCP)        : Online
HTTPS         (443/TCP)       : Online
SMTP          (587/TCP)       : Online
IMAP          (993/TCP)       : Online
POP3          (995/TCP)       : Online
MariaDB/MySQL (3306/TCP)      : Online

Dieses Meldung kommt beim öffnen der Adresse:

Code: Select all

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at root@rd-kollaboration.de to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Apache/2.4.57 (Ubuntu) Server at 144.76.223.207 Port 443
Das komische ist, eine andere Domain ist wieder erreichbar die ebenfalls auf dem Server betrieben wird.

Grüße
Last edited by Hosting2023 on Tue 10. Oct 2023, 13:24, edited 1 time in total.
User avatar
Jolinar
Community Moderator
Posts: 3617
Joined: Sat 30. Jan 2016, 07:11
Location: Weimar (Thüringen)
Contact:

Re: Webservice reagiert nicht

Post by Jolinar »

Hosting2023 wrote: Tue 10. Oct 2023, 13:15 In den Systeminformationen wird folgendes ausgegeben
Das sieht schon mal besser aus. :geek:

Hosting2023 wrote: Tue 10. Oct 2023, 13:15 Dieses Meldung kommt beim öffnen der Adresse
Na dann...steht doch schon da, was du jetzt machen sollst:
More information about this error may be available in the server error log.


BTW:
Hosting2023 wrote: Tue 10. Oct 2023, 13:15 Ist der Schritt 1 (Benutzer-Konfiguration neu schreiben) ebenfalls notwendig?
Würde sicher nicht schaden :mrgreen:
Wenn jemand inkompetent ist, dann kann er nicht wissen, daß er inkompetent ist. (David Dunning)

Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
  • In dieser Farbe schreibe ich als Moderator und gebe moderative Hinweise oder begründe moderative Eingriffe /
    In this color, I write as a moderator and provide moderative guidance or justify moderative interventions
  • In dieser Farbe schreibe ich als Community Mitglied und teile meine private Meinung und persönlichen Ansichten mit /
    In this color, I write as a community member and share my personal opinions and views
Hosting2023
Posts: 15
Joined: Mon 9. Oct 2023, 15:52

Re: Webservice reagiert nicht

Post by Hosting2023 »

Ich habe wieder etwas Hoffnung :-)

[/ode][Tue Oct 10 13:26:35.978358 2023] [mpm_event:notice] [pid 78549:tid 140405309965568] AH00494: SIGHUP received. Attempting to restart
[Tue Oct 10 13:26:36.004822 2023] [ssl:warn] [pid 78549:tid 140405309965568] AH01909: webmail:443:0 server certificate does NOT include an ID which matches the server name
[Tue Oct 10 13:26:36.013098 2023] [mpm_event:notice] [pid 78549:tid 140405309965568] AH00489: Apache/2.4.57 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Tue Oct 10 13:26:36.013113 2023] [core:notice] [pid 78549:tid 140405309965568] AH00094: Command line: '/usr/sbin/apache2'[/code]

Hat er diese Einstellungen irgendwo überschrieben und deswegen kann er es nicht auflösen?

Grüße
User avatar
Alexander
Keyweb AG
Posts: 3842
Joined: Wed 20. Jan 2016, 02:23

Re: Webservice reagiert nicht

Post by Alexander »

Bei Internal Server Error für Kundendomain sind die Error Logs hier:

/home/users/<BENUTZERNAME>/logs/<DOMAINNAME>/error.log

Für die KeyHelp Domain hier:

/var/log/apache2/keyhelp/error.log

Bzw. kann bei letzteren auch gleich in /var/log/keyhelp/php-error.log geschaut werden
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Hosting2023
Posts: 15
Joined: Mon 9. Oct 2023, 15:52

Re: Webservice reagiert nicht

Post by Hosting2023 »

Hallo,

in der var/log/apache2/keyhelp/ steht folgendes:

Code: Select all

 [Tue Oct 10 13:41:27.494644 2023] [proxy:warn] [pid 148975:tid 140404066338560] [client 94.135.173.178:53061] AH01144: No protocol handler was valid for the URL /webmail/index.php (scheme 'unix'). If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Tue Oct 10 13:41:38.379967 2023] [proxy:warn] [pid 148975:tid 140405293102848] [client 94.135.173.178:53062] AH01144: No protocol handler was valid for the URL /index.php (scheme 'unix'). If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Tue Oct 10 13:42:52.774393 2023] [proxy:warn] [pid 148975:tid 140404175378176] [client 188.118.145.241:62215] AH01144: No protocol handler was valid for the URL /index.php (scheme 'unix'). If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Tue Oct 10 13:45:35.560856 2023] [proxy:warn] [pid 148975:tid 140404200556288] [client 188.118.145.241:62244] AH01144: No protocol handler was valid for the URL /index.php (scheme 'unix'). If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Tue Oct 10 13:46:29.950345 2023] [proxy:warn] [pid 148975:tid 140404225734400] [client 87.132.184.140:53676] AH01144: No protocol handler was valid for the URL /webmail/index.php (scheme 'unix'). If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule. 


Bei einer Domain:

Code: Select all

 [Tue Oct 10 12:56:31.053860 2023] [proxy:warn] [pid 122880:tid 140405267924736] [client 62.214.78.180:24394] AH01144: No protocol handler was valid for the URL /scp/login.php (scheme 'unix'). If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Tue Oct 10 13:03:35.439013 2023] [proxy:warn] [pid 145973:tid 140405293102848] [client 94.135.173.178:52171] AH01144: No protocol handler was valid for the URL /index.php (scheme 'unix'). If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.


Grüße
User avatar
mhagge
Community Moderator
Posts: 490
Joined: Wed 8. Aug 2018, 15:19

Re: Webservice reagiert nicht

Post by mhagge »

Sind alle erforderlichen Module im Apache aktiviert? Siehe viewtopic.php?p=44423#p44423 Insbesondere mod_proxy? Darauf deutet jedenfalls die Meldung hin, dass das fehlt.
User avatar
Florian
Keyweb AG
Posts: 1261
Joined: Wed 20. Jan 2016, 02:28

Re: Webservice reagiert nicht

Post by Florian »

Poste die Ausgabe von

Code: Select all

apache2ctl -M
Mit freundlichen Grüßen / Best regards
Florian Cheno

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Hosting2023
Posts: 15
Joined: Mon 9. Oct 2023, 15:52

Re: Webservice reagiert nicht

Post by Hosting2023 »

Hallo,

folgende Ausgabe:

Loaded Modules:
core_module (static)
so_module (static)
watchdog_module (static)
http_module (static)
log_config_module (static)
logio_module (static)
version_module (static)
unixd_module (static)
access_compat_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_core_module (shared)
authn_file_module (shared)
authz_core_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
deflate_module (shared)
dir_module (shared)
env_module (shared)
filter_module (shared)
mime_module (shared)
mpm_event_module (shared)
negotiation_module (shared)
proxy_module (shared)
reqtimeout_module (shared)
rewrite_module (shared)
setenvif_module (shared)
socache_shmcb_module (shared)
ssl_module (shared)
status_module (shared)
suexec_module (shared)

Grüße
User avatar
Florian
Keyweb AG
Posts: 1261
Joined: Wed 20. Jan 2016, 02:28

Re: Webservice reagiert nicht

Post by Florian »

Bitte lies auch mal was wir dir schreiben:

viewtopic.php?p=44423#p44423

Es fehlen bei dir noch Apache Module, vor allem fcgid cgid usw.

Ohne das läuft das PHP-FPM nicht.

Für fcgid muss dieses Paket installiert sein:

dpkg --list | grep libapache
ii libapache2-mod-fcgid 1:2.3.9-4 amd64 FastCGI interface module for Apache 2
Mit freundlichen Grüßen / Best regards
Florian Cheno

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Hosting2023
Posts: 15
Joined: Mon 9. Oct 2023, 15:52

Re: Webservice reagiert nicht

Post by Hosting2023 »

Hallo,

besten Dank für diese ganzen Hinweise,

Gestern lief dann auch alles super, heute morgen bekam ich gerade die Meldung die Adressen sind wieder nicht erreichbar. Wollte mich nochmals auf die Keyhelp-Toolbox auf der Konsole schalten und erhalten nun folgende Fehler, obwohl über die Nacht nichts geändert wurde.

Code: Select all

  Warning:  PHP Startup: Unable to load dynamic library 'intl' (tried: /usr/lib/php/20190902/intl (/usr/lib/php/20190902/intl: cannot open shared object file: No such file or directory), /usr/lib/php/20190902/intl.so (/usr/lib/php/20190902/intl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/lib/php/20190902/intl.so (/usr/lib/php/20190902/intl.so: cannot open shared object file: No such file or directory), /usr/lib/php/20190902/intl.so.so (/usr/lib/php/20190902/intl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

Fatal error: Uncaught Error: Class 'Locale' not found in /home/keyhelp/www/keyhelp/functions/functions.system.php:213
Stack trace:
#0 /home/keyhelp/www/keyhelp/bin/toolbox.php(58): getSystemLanguage()
#1 {main}
  thrown in /home/keyhelp/www/keyhelp/functions/functions.system.php on line 213


Ich werde nie mehr ein Systemupdate was vorgeschlagen wird durchführen :-(

Viele Grüße
User avatar
Alexander
Keyweb AG
Posts: 3842
Joined: Wed 20. Jan 2016, 02:23

Re: Webservice reagiert nicht

Post by Alexander »

Das Ursprungsproblem ist zwar wie gesagt kein KeyHelp Problem, aber ich kann mal wieder nicht anders :roll: ...

Schick mir mal die SSH Zugangsdaten per PM zum System, ich schaue es mir mal an.
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
User avatar
Alexander
Keyweb AG
Posts: 3842
Joined: Wed 20. Jan 2016, 02:23

Re: Webservice reagiert nicht  [SOLVED]

Post by Alexander »

So, das System läuft wieder:

Nachdem ich alle Fremdquellen in der sources.list.d/ entfernt habe und wieder PHP 8 gepurged habe, war anschließend PHP7.4 generell noch in einem wackeligen Zustand (unerfüllte abhängigkeiten etc) Habe dann alles PHP bezogene gepurged und anschließend PHP + PHP-FPM wieder installiert.

Anschließend noch die Konfigurationen über die Toolbox neu geschrieben und nun scheint augenscheinlich alles wieder zu laufen.
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Post Reply