fritzchentastig
Anmeldungsdatum: 15. Februar 2021
Beiträge: Zähle...
|
Liebe Ubuntu-Nutzer, Als ich heute früh meine Nextcloud aufgerufen habe, erlebte ich eine Überraschung, ich sah die Apache2Ubuntu default page.
ich als unbeholfener und neuer Ubuntuuser wollte natürlich erstmal apache Neustarten.
Doch als ich folgenden Befehl eingab:
| sudo systemctl restart apache2.service
|
sah ich folgendes: | Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
|
ich hoffe ihr könnt mir helfen
|
DJKUhpisse
Supporter, Wikiteam
Anmeldungsdatum: 18. Oktober 2016
Beiträge: 17664
Wohnort: in deinem Browser, hier auf dem Bildschirm
|
Zeige bitte die entsprechenden Logs vom Apache2.
|
fritzchentastig
(Themenstarter)
Anmeldungsdatum: 15. Februar 2021
Beiträge: 27
|
Wie mache ich das und ja ich bin wirklich nicht sehr gut
|
DJKUhpisse
Supporter, Wikiteam
Anmeldungsdatum: 18. Oktober 2016
Beiträge: 17664
Wohnort: in deinem Browser, hier auf dem Bildschirm
|
Die beiden Befehle See "systemctl status apache2.service" and "journalctl -xe" for details.
und die Dateien unter /var/log/apache2/
|
fritzchentastig
(Themenstarter)
Anmeldungsdatum: 15. Februar 2021
Beiträge: 27
|
systemctl status apache2.service:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 | ● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2021-04-26 08:46:06 UTC; 15min ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 1828 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
Apr 26 08:46:06 fritzchensserver apachectl[1839]: AH00558: apache2: Could not reliably determine the server's fully qualifi>
Apr 26 08:46:06 fritzchensserver apachectl[1839]: (98)Address already in use: AH00072: make_sock: could not bind to address>
Apr 26 08:46:06 fritzchensserver apachectl[1839]: (98)Address already in use: AH00072: make_sock: could not bind to address>
Apr 26 08:46:06 fritzchensserver apachectl[1839]: no listening sockets available, shutting down
Apr 26 08:46:06 fritzchensserver apachectl[1839]: AH00015: Unable to open logs
Apr 26 08:46:06 fritzchensserver apachectl[1828]: Action 'start' failed.
Apr 26 08:46:06 fritzchensserver apachectl[1828]: The Apache error log may have more information.
Apr 26 08:46:06 fritzchensserver systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Apr 26 08:46:06 fritzchensserver systemd[1]: apache2.service: Failed with result 'exit-code'.
Apr 26 08:46:06 fritzchensserver systemd[1]: Failed to start The Apache HTTP Server.
|
journalctl -xe: 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49 | Apr 26 08:59:51 fritzchensserver telegraf[797]: 2021-04-26T08:59:51Z E! [agent] Error writing to outputs.influxdb: could no>
Apr 26 09:00:01 fritzchensserver telegraf[797]: 2021-04-26T09:00:01Z E! [outputs.influxdb] When writing to [http://localhos>
Apr 26 09:00:01 fritzchensserver telegraf[797]: 2021-04-26T09:00:01Z E! [agent] Error writing to outputs.influxdb: could no>
Apr 26 09:00:01 fritzchensserver CRON[2713]: pam_unix(cron:session): session opened for user root by (uid=0)
Apr 26 09:00:01 fritzchensserver CRON[2714]: (root) CMD ( PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker loc>
Apr 26 09:00:01 fritzchensserver CRON[2713]: pam_unix(cron:session): session closed for user root
Apr 26 09:00:08 fritzchensserver sudo[2731]: www-data : TTY=unknown ; PWD=/var/www/html/admin/scripts/pi-hole/php ; USER=ro>
Apr 26 09:00:08 fritzchensserver sudo[2731]: pam_unix(sudo:session): session opened for user root by (uid=0)
Apr 26 09:00:08 fritzchensserver sudo[2731]: pam_unix(sudo:session): session closed for user root
Apr 26 09:00:11 fritzchensserver telegraf[797]: 2021-04-26T09:00:11Z E! [outputs.influxdb] When writing to [http://localhos>
Apr 26 09:00:11 fritzchensserver telegraf[797]: 2021-04-26T09:00:11Z E! [agent] Error writing to outputs.influxdb: could no>
Apr 26 09:00:21 fritzchensserver telegraf[797]: 2021-04-26T09:00:21Z E! [outputs.influxdb] When writing to [http://localhos>
Apr 26 09:00:21 fritzchensserver telegraf[797]: 2021-04-26T09:00:21Z E! [agent] Error writing to outputs.influxdb: could no>
Apr 26 09:00:31 fritzchensserver telegraf[797]: 2021-04-26T09:00:31Z E! [outputs.influxdb] When writing to [http://localhos>
Apr 26 09:00:31 fritzchensserver telegraf[797]: 2021-04-26T09:00:31Z E! [agent] Error writing to outputs.influxdb: could no>
Apr 26 09:00:38 fritzchensserver sudo[2760]: www-data : TTY=unknown ; PWD=/var/www/html/admin/scripts/pi-hole/php ; USER=ro>
Apr 26 09:00:38 fritzchensserver sudo[2760]: pam_unix(sudo:session): session opened for user root by (uid=0)
Apr 26 09:00:38 fritzchensserver sudo[2760]: pam_unix(sudo:session): session closed for user root
Apr 26 09:00:41 fritzchensserver telegraf[797]: 2021-04-26T09:00:41Z E! [outputs.influxdb] When writing to [http://localhos>
Apr 26 09:00:41 fritzchensserver telegraf[797]: 2021-04-26T09:00:41Z E! [agent] Error writing to outputs.influxdb: could no>
Apr 26 09:00:51 fritzchensserver telegraf[797]: 2021-04-26T09:00:51Z E! [outputs.influxdb] When writing to [http://localhos>
Apr 26 09:00:51 fritzchensserver telegraf[797]: 2021-04-26T09:00:51Z E! [agent] Error writing to outputs.influxdb: could no>
Apr 26 09:01:01 fritzchensserver telegraf[797]: 2021-04-26T09:01:01Z E! [outputs.influxdb] When writing to [http://localhos>
Apr 26 09:01:01 fritzchensserver telegraf[797]: 2021-04-26T09:01:01Z E! [agent] Error writing to outputs.influxdb: could no>
Apr 26 09:01:08 fritzchensserver sudo[2794]: www-data : TTY=unknown ; PWD=/var/www/html/admin/scripts/pi-hole/php ; USER=ro>
Apr 26 09:01:08 fritzchensserver sudo[2794]: pam_unix(sudo:session): session opened for user root by (uid=0)
Apr 26 09:01:08 fritzchensserver sudo[2794]: pam_unix(sudo:session): session closed for user root
Apr 26 09:01:11 fritzchensserver telegraf[797]: 2021-04-26T09:01:11Z E! [outputs.influxdb] When writing to [http://localhos>
Apr 26 09:01:11 fritzchensserver telegraf[797]: 2021-04-26T09:01:11Z E! [agent] Error writing to outputs.influxdb: could no>
Apr 26 09:01:12 fritzchensserver sudo[2813]: pam_unix(sudo:auth): Couldn't open /etc/securetty: No such file or directory
Apr 26 09:01:16 fritzchensserver sudo[2813]: pam_unix(sudo:auth): Couldn't open /etc/securetty: No such file or directory
Apr 26 09:01:16 fritzchensserver sudo[2813]: carlgf : TTY=pts/0 ; PWD=/home/carlgf ; USER=root ; COMMAND=/usr/bin/systemc>
Apr 26 09:01:16 fritzchensserver sudo[2813]: pam_unix(sudo:session): session opened for user root by carlgf(uid=0)
Apr 26 09:01:21 fritzchensserver telegraf[797]: 2021-04-26T09:01:21Z E! [outputs.influxdb] When writing to [http://localhos>
Apr 26 09:01:21 fritzchensserver telegraf[797]: 2021-04-26T09:01:21Z E! [agent] Error writing to outputs.influxdb: could no>
Apr 26 09:01:31 fritzchensserver telegraf[797]: 2021-04-26T09:01:31Z E! [outputs.influxdb] When writing to [http://localhos>
Apr 26 09:01:31 fritzchensserver telegraf[797]: 2021-04-26T09:01:31Z E! [agent] Error writing to outputs.influxdb: could no>
Apr 26 09:01:38 fritzchensserver sudo[2825]: www-data : TTY=unknown ; PWD=/var/www/html/admin/scripts/pi-hole/php ; USER=ro>
Apr 26 09:01:38 fritzchensserver sudo[2825]: pam_unix(sudo:session): session opened for user root by (uid=0)
Apr 26 09:01:38 fritzchensserver sudo[2825]: pam_unix(sudo:session): session closed for user root
Apr 26 09:01:41 fritzchensserver telegraf[797]: 2021-04-26T09:01:41Z E! [outputs.influxdb] When writing to [http://localhos>
Apr 26 09:01:41 fritzchensserver telegraf[797]: 2021-04-26T09:01:41Z E! [agent] Error writing to outputs.influxdb: could no>
Apr 26 09:01:48 fritzchensserver sudo[2813]: pam_unix(sudo:session): session closed for user root
Apr 26 09:01:51 fritzchensserver telegraf[797]: 2021-04-26T09:01:51Z E! [outputs.influxdb] When writing to [http://localhos>
Apr 26 09:01:51 fritzchensserver telegraf[797]: 2021-04-26T09:01:51Z E! [agent] Error writing to outputs.influxdb: could no>
Apr 26 09:02:01 fritzchensserver telegraf[797]: 2021-04-26T09:02:01Z E! [outputs.influxdb] When writing to [http://localhos>
Apr 26 09:02:01 fritzchensserver telegraf[797]: 2021-04-26T09:02:01Z E! [agent] Error writing to outputs.influxdb: could no>
Apr 26 09:02:05 fritzchensserver sudo[2854]: carlgf : TTY=pts/0 ; PWD=/home/carlgf ; USER=root ; COMMAND=/usr/bin/journal>
Apr 26 09:02:05 fritzchensserver sudo[2854]: pam_unix(sudo:session): session opened for user root by carlgf(uid=0)
|
apache 2 error.log:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45 | [Mon Apr 26 08:14:52.761382 2021] [php7:warn] [pid 57774] [client 192.168.178.104:51282] PHP Warning: Use of undefined con>
[Mon Apr 26 08:14:52.761507 2021] [php7:error] [pid 57774] [client 192.168.178.104:51282] PHP Fatal error: Uncaught Error:>
[Mon Apr 26 08:14:53.660634 2021] [php7:warn] [pid 65903] [client 192.168.178.104:51288] PHP Warning: Use of undefined con>
[Mon Apr 26 08:14:53.660762 2021] [php7:error] [pid 65903] [client 192.168.178.104:51288] PHP Fatal error: Uncaught Error:>
[Mon Apr 26 08:14:53.671868 2021] [php7:warn] [pid 65970] [client 192.168.178.104:51289] PHP Warning: Use of undefined con>
[Mon Apr 26 08:14:53.672062 2021] [php7:error] [pid 65970] [client 192.168.178.104:51289] PHP Fatal error: Uncaught Error:>
[Mon Apr 26 08:14:58.670826 2021] [php7:warn] [pid 65973] [client 192.168.178.104:51290] PHP Warning: Use of undefined con>
[Mon Apr 26 08:14:58.670992 2021] [php7:error] [pid 65973] [client 192.168.178.104:51290] PHP Fatal error: Uncaught Error:>
[Mon Apr 26 08:17:03.467137 2021] [php7:warn] [pid 63769] [client 192.168.178.104:51322] PHP Warning: Use of undefined con>
[Mon Apr 26 08:17:03.467252 2021] [php7:error] [pid 63769] [client 192.168.178.104:51322] PHP Fatal error: Uncaught Error:>
[Mon Apr 26 08:17:05.009579 2021] [php7:warn] [pid 65970] [client 192.168.178.104:51323] PHP Warning: Use of undefined con>
[Mon Apr 26 08:17:05.009691 2021] [php7:error] [pid 65970] [client 192.168.178.104:51323] PHP Fatal error: Uncaught Error:>
[Mon Apr 26 08:17:05.746430 2021] [php7:warn] [pid 57029] [client 192.168.178.104:51324] PHP Warning: Use of undefined con>
[Mon Apr 26 08:17:05.746539 2021] [php7:error] [pid 57029] [client 192.168.178.104:51324] PHP Fatal error: Uncaught Error:>
[Mon Apr 26 08:17:31.594009 2021] [php7:warn] [pid 65858] [client 192.168.178.104:51328] PHP Warning: Use of undefined con>
[Mon Apr 26 08:17:31.594118 2021] [php7:error] [pid 65858] [client 192.168.178.104:51328] PHP Fatal error: Uncaught Error:>
[Mon Apr 26 08:17:36.262213 2021] [php7:warn] [pid 65857] [client 192.168.178.104:51329] PHP Warning: Use of undefined con>
[Mon Apr 26 08:17:36.262311 2021] [php7:error] [pid 65857] [client 192.168.178.104:51329] PHP Fatal error: Uncaught Error:>
[Mon Apr 26 08:17:36.268365 2021] [php7:warn] [pid 63769] [client 192.168.178.104:51330] PHP Warning: Use of undefined con>
[Mon Apr 26 08:17:36.268426 2021] [php7:error] [pid 63769] [client 192.168.178.104:51330] PHP Fatal error: Uncaught Error:>
[Mon Apr 26 08:17:41.278219 2021] [php7:warn] [pid 57029] [client 192.168.178.104:51332] PHP Warning: Use of undefined con>
[Mon Apr 26 08:17:41.278331 2021] [php7:error] [pid 57029] [client 192.168.178.104:51332] PHP Fatal error: Uncaught Error:>
[Mon Apr 26 08:17:49.931707 2021] [php7:warn] [pid 56920] [client 192.168.178.104:51339] PHP Warning: Use of undefined con>
[Mon Apr 26 08:17:49.931777 2021] [php7:error] [pid 56920] [client 192.168.178.104:51339] PHP Fatal error: Uncaught Error:>
[Mon Apr 26 08:17:53.463149 2021] [php7:warn] [pid 65858] [client 192.168.178.104:51340] PHP Warning: Use of undefined con>
[Mon Apr 26 08:17:53.463251 2021] [php7:error] [pid 65858] [client 192.168.178.104:51340] PHP Fatal error: Uncaught Error:>
[Mon Apr 26 08:17:58.467075 2021] [php7:warn] [pid 65903] [client 192.168.178.104:51341] PHP Warning: Use of undefined con>
[Mon Apr 26 08:17:58.467691 2021] [php7:error] [pid 65903] [client 192.168.178.104:51341] PHP Fatal error: Uncaught Error:>
[Mon Apr 26 08:22:05.055550 2021] [php7:warn] [pid 65857] [client 192.168.178.104:51440] PHP Warning: Use of undefined con>
[Mon Apr 26 08:22:05.055671 2021] [php7:error] [pid 65857] [client 192.168.178.104:51440] PHP Fatal error: Uncaught Error:>
[Mon Apr 26 08:22:05.059025 2021] [php7:warn] [pid 65903] [client 192.168.178.104:51442] PHP Warning: Use of undefined con>
[Mon Apr 26 08:22:05.059132 2021] [php7:error] [pid 65903] [client 192.168.178.104:51442] PHP Fatal error: Uncaught Error:>
[Mon Apr 26 08:22:10.060190 2021] [php7:warn] [pid 57029] [client 192.168.178.104:51441] PHP Warning: Use of undefined con>
[Mon Apr 26 08:22:10.060335 2021] [php7:error] [pid 57029] [client 192.168.178.104:51441] PHP Fatal error: Uncaught Error:>
[Mon Apr 26 08:22:20.654242 2021] [php7:warn] [pid 65858] [client 192.168.178.104:51449] PHP Warning: Use of undefined con>
[Mon Apr 26 08:22:20.654352 2021] [php7:error] [pid 65858] [client 192.168.178.104:51449] PHP Fatal error: Uncaught Error:>
[Mon Apr 26 08:22:25.468061 2021] [php7:warn] [pid 65970] [client 192.168.178.104:51450] PHP Warning: Use of undefined con>
[Mon Apr 26 08:22:25.468158 2021] [php7:error] [pid 65970] [client 192.168.178.104:51450] PHP Fatal error: Uncaught Error:>
[Mon Apr 26 08:22:30.474280 2021] [php7:warn] [pid 65973] [client 192.168.178.104:51453] PHP Warning: Use of undefined con>
[Mon Apr 26 08:22:30.474386 2021] [php7:error] [pid 65973] [client 192.168.178.104:51453] PHP Fatal error: Uncaught Error:>
[Mon Apr 26 08:22:32.583799 2021] [php7:warn] [pid 56921] [client 192.168.178.104:51454] PHP Warning: Use of undefined con>
[Mon Apr 26 08:22:32.583904 2021] [php7:error] [pid 56921] [client 192.168.178.104:51454] PHP Fatal error: Uncaught Error:>
[Mon Apr 26 08:22:37.633423 2021] [php7:warn] [pid 66260] [client 192.168.178.104:51455] PHP Warning: Use of undefined con>
[Mon Apr 26 08:22:37.633697 2021] [php7:error] [pid 66260] [client 192.168.178.104:51455] PHP Fatal error: Uncaught Error:>
[Mon Apr 26 08:22:38.917265 2021] [mpm_prefork:notice] [pid 995] AH00169: caught SIGTERM, shutting down
|
|