Hallo @RalfBecker
Ich habe den Container jetzt mit den Befehlen, die Du vorgegeben hast, neu gestartet. Keine Fehlermeldung.
lsof -i -P -n | grep 8090 ergibt jetzt
docker-pr 8582 root 4u IPv4 226997203 0t0 TCP 127.0.0.1:8090 (LISTEN)
Aber ich kann Egroupware nicht im Browser öffnen.
Folgende URLs versucht:
http://testdomain.local/egroupware/setup --> HTTP Error 404 (eigenes fehlerdokument)
https://testdomain.local/egroupware/setup --> HTTP Error 404 (eigenes fehlerdokument)
http://testdomain.local:8090/egroupware/setup --> Verbindung Fehlgeschlagen
https://testdomain.local:8090/egroupware/setup --> Verbindung Fehlgeschlagen
http://IP/egroupware/setup --> HTTP 502 (nginx/1.18.0 fehlerdokument)
https://IP/egroupware/setup --> HTTP Error 404 (eigenes fehlerdokument)
http://IP:8090/egroupware/setup --> Verbindung Fehlgeschlagen
https://IP:8090/egroupware/setup --> Verbindung Fehlgeschlagen
./egroupware-logs.sh ergab:
/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: error: can not modify /etc/nginx/conf.d/default.conf (read-only file system?)
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
2020/07/31 08:35:10 [error] 21#21: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: “GET /egroupware/index.php HTTP/1.1”, upstream: “fastcgi://172.19.0.2:9000”, host: "192.168.188.10"
2020/07/31 08:35:20 [error] 21#21: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: “GET /egroupware/setup/index.php HTTP/1.1”, upstream: “fastcgi://172.19.0.2:9000”, host: “192.168.188.10”
/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: error: can not modify /etc/nginx/conf.d/default.conf (read-only file system?)
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
2020/07/31 08:37:47 [error] 22#22: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: “GET /egroupware/ HTTP/1.1”, upstream: “fastcgi://172.19.0.5:9000”, host: "192.168.188.10"
2020/07/31 08:37:53 [error] 22#22: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: “GET /egroupware/setup/ HTTP/1.1”, upstream: “fastcgi://172.19.0.5:9000”, host: "192.168.188.10"
2020/07/31 08:38:02 [error] 22#22: *4 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: “GET /egroupware/setup/ HTTP/1.1”, upstream: “fastcgi://172.19.0.5:9000”, host: "192.168.188.10"
2020/07/31 08:38:38 [error] 22#22: *4 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: “GET /egroupware/ HTTP/1.1”, upstream: “fastcgi://172.19.0.5:9000”, host: "192.168.188.10"
2020/07/31 08:39:05 [error] 22#22: *7 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: “GET /egroupware/ HTTP/1.1”, upstream: “fastcgi://172.19.0.5:9000”, host: "192.168.188.10"
2020/07/31 08:56:22 [error] 22#22: *9 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: “GET /egroupware/setup/ HTTP/1.1”, upstream: “fastcgi://172.19.0.5:9000”, host: "192.168.188.10"
2020/07/31 08:57:08 [error] 22#22: *11 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: “GET /egroupware/setup/ HTTP/1.1”, upstream: “fastcgi://172.19.0.5:9000”, host: "192.168.188.10"
2020/07/31 08:59:05 [error] 22#22: *13 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: “GET /egroupware/setup/ HTTP/1.1”, upstream: “fastcgi://172.19.0.5:9000”, host: “192.168.188.10”
Anmerkung: LogEinträge von vor 31.7. 10:30 Uhr entstanden vor dem Neustart des Containers
Dann Port 8090 sowie 9000 in der Firewall geöffnet, Fehler bleibt bestehen.
tail /var/log/apache2/error.log ergab:
Fri Jul 31 10:48:04.456482 2020] [ssl:warn] [pid 17209:tid 139873248635840] AH01909: 127.0.1.1:8080:0 server certificate does NOT include an ID which matches the server name
[Fri Jul 31 10:48:04.456627 2020] [ssl:error] [pid 17209:tid 139873248635840] AH02217: ssl_stapling_init_cert: can’t retrieve issuer certificate! [subject: emailAddress=webmaster@domain.local,CN=domain.local,C=AF / issuer: emailAddress=webmaster@domain.local,CN=domain.local,C=AF / serial: 41F4A56AFA90C36538E69929183CFB8D02286518 / notbefore: Feb 24 17:49:02 2020 GMT / notafter: Feb 21 17:49:02 2030 GMT]
[Fri Jul 31 10:48:04.456644 2020] [ssl:error] [pid 17209:tid 139873248635840] AH02604: Unable to configure certificate 127.0.1.1:8080:0 for stapling
[Fri Jul 31 10:48:04.460789 2020] [:error] [pid 17209:tid 139873248635840] python_init: Python version mismatch, expected ‘2.7.6’, found ‘2.7.17’.
[Fri Jul 31 10:48:04.463386 2020] [:error] [pid 17209:tid 139873248635840] python_init: Python executable found ‘/usr/bin/python’.
[Fri Jul 31 10:48:04.463437 2020] [:error] [pid 17209:tid 139873248635840] python_init: Python path being used ‘/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload’.
[Fri Jul 31 10:48:04.463487 2020] [:notice] [pid 17209:tid 139873248635840] mod_python: Creating 8 session mutexes based on 6 max processes and 25 max threads.
[Fri Jul 31 10:48:04.463501 2020] [:notice] [pid 17209:tid 139873248635840] mod_python: using mutex_directory /tmp
[Fri Jul 31 10:48:04.553351 2020] [mpm_event:notice] [pid 17209:tid 139873248635840] AH00489: Apache/2.4.29 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1 mod_python/3.3.1 Python/2.7.17 configured – resuming normal operations
[Fri Jul 31 10:48:04.553443 2020] [core:notice] [pid 17209:tid 139873248635840] AH00094: Command line: ‘/usr/sbin/apache2’
Auf der Maschine läuft zusätzlich noch Folgende LAMP- Software:
- ISP Config
- Joomla
- Nextcloud
- Dokuwiki
- Roundcube
- phpMyAdmin