Log Viewer funktioniert nicht
-
- Beiträge: 347
- Registriert: 10. Mai 2018 09:46
Log Viewer funktioniert nicht
Seit ein paar Tagen kann ich den LogViewer nicht mehr aufrufen, egal ob über openhabian9001 oder http://.......,
Im Finder (MAC) unter events.log oder openhab.log ist alles zu sehen.
Hat jemand eine Lösung?
Im Finder (MAC) unter events.log oder openhab.log ist alles zu sehen.
Hat jemand eine Lösung?
-
- Beiträge: 210
- Registriert: 23. Mai 2017 21:41
Re: Log Viewer funktioniert nicht
Wenn schon, dann ...:9001
Kannst du den LogViewer denn sehen, wenn du ...8080 aufruft?
Kannst du den LogViewer denn sehen, wenn du ...8080 aufruft?
-
- Beiträge: 347
- Registriert: 10. Mai 2018 09:46
Re: Log Viewer funktioniert nicht
ja, ich sehe den Willkommen-Schirm mit 6 Buttons, 5 funktionieren, beim LogViewer kommt "Safari kann openhabianpi nicht öffnen, da es keine Verbindung zum openhabianpi-Server aufbauen kann"
- udo1toni
- Beiträge: 13864
- Registriert: 11. Apr 2018 18:05
- Wohnort: Darmstadt
Re: Log Viewer funktioniert nicht
läuft denn der Dienst? logTail ist ein eigener Dienst, der gestartet sein muss.
openHAB4.1.2 stable in einem Debian-Container (bookworm) (Proxmox 8.1.5, LXC), mit openHABian eingerichtet
-
- Beiträge: 347
- Registriert: 10. Mai 2018 09:46
Re: Log Viewer funktioniert nicht
Wo finde ich das?
Bis letzte Woche ging das problemlos.
Bis letzte Woche ging das problemlos.
- udo1toni
- Beiträge: 13864
- Registriert: 11. Apr 2018 18:05
- Wohnort: Darmstadt
Re: Log Viewer funktioniert nicht
Naja, kommt ja drauf an, wo Dein openHAB läuft. Wenn Du ein System auf Basis eines Raspberry hast, läuft darauf vermutlich ein Raspbian, wenn es einigermaßen aktuelle ist, handelt es sich um debian jessie oder stretch, die beide systemd verwenden.
sollte normalerweise eine Ausgabe wie diese hier erzeugen:
Wenn da nicht active (running) steht, hast Du die Ursache Deines Problems gefunden und kannst versuchen, den Dienst einfach wieder zu starten:
Code: Alles auswählen
openhabian@openhabianpi:~$ systemctl status frontail
Code: Alles auswählen
frontail.service - Frontail openHAB instance, reachable at http://openhab2:9001
Loaded: loaded (/etc/systemd/system/frontail.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2018-08-16 13:16:39 CEST; 2 weeks 4 days ago
Docs: https://github.com/mthenw/frontail
https://github.com/openhab/openhabian/issues/28
Main PID: 361 (frontail)
Tasks: 10 (limit: 4915)
CGroup: /system.slice/frontail.service
├─361 /usr/bin/frontail --ui-highlight --ui-highlight-preset /usr/lib/node_modules/frontail/preset/openhab.json -t openhab -l 2000 -n
└─731 tail -n 200 -F /var/log/openhab2/openhab.log /var/log/openhab2/events.log
Code: Alles auswählen
openhabian@openhabianpi:~$ sudo systemctl start frontail
openHAB4.1.2 stable in einem Debian-Container (bookworm) (Proxmox 8.1.5, LXC), mit openHABian eingerichtet
-
- Beiträge: 347
- Registriert: 10. Mai 2018 09:46
Re: Log Viewer funktioniert nicht
Danke, aber es kommt leider "Kommando nicht gefunden".
Es läuft auf einem Raspi 3,
stretch
openHAB 2.3.0-1
Es läuft auf einem Raspi 3,
stretch
openHAB 2.3.0-1
- udo1toni
- Beiträge: 13864
- Registriert: 11. Apr 2018 18:05
- Wohnort: Darmstadt
Re: Log Viewer funktioniert nicht
Das kann eigentlich nicht sein.
Sowohl sudo als auch systemctl sollten installiert sein.
Falls sudo nicht installiert ist, kannst Du Dich mittels
als root anmelden. Dann braucht es kein sudo vor dem systemctl.
Sowohl sudo als auch systemctl sollten installiert sein.
Falls sudo nicht installiert ist, kannst Du Dich mittels
Code: Alles auswählen
su -
openHAB4.1.2 stable in einem Debian-Container (bookworm) (Proxmox 8.1.5, LXC), mit openHABian eingerichtet
-
- Beiträge: 347
- Registriert: 10. Mai 2018 09:46
Re: Log Viewer funktioniert nicht
Jetzt hat es funktioniert.
● frontail.service - Frontail openHAB instance, reachable at http://openHABianPi:9001
Loaded: loaded (/etc/systemd/system/frontail.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2018-09-03 17:28:49 CEST; 16h ago
Docs: https://github.com/mthenw/frontail
https://github.com/openhab/openhabian/issues/28
Process: 666 ExecStart=/usr/bin/frontail --ui-highlight --ui-highlight-preset /usr/lib/node_modules/frontail/preset/openhab.jso
Main PID: 666 (code=exited, status=1/FAILURE)
Sep 03 17:28:49 openHABianPi systemd[1]: frontail.service: Main process exited, code=exited, status=1/FAILURE
Sep 03 17:28:49 openHABianPi systemd[1]: frontail.service: Unit entered failed state.
Sep 03 17:28:49 openHABianPi systemd[1]: frontail.service: Failed with result 'exit-code'.
Sep 03 17:28:49 openHABianPi systemd[1]: frontail.service: Service hold-off time over, scheduling restart.
Sep 03 17:28:49 openHABianPi systemd[1]: Stopped Frontail openHAB instance, reachable at http://openHABianPi:9001.
Sep 03 17:28:49 openHABianPi systemd[1]: frontail.service: Start request repeated too quickly.
Sep 03 17:28:49 openHABianPi systemd[1]: Failed to start Frontail openHAB instance, reachable at http://openHABianPi:9001.
Sep 03 17:28:49 openHABianPi systemd[1]: frontail.service: Unit entered failed state.
Sep 03 17:28:49 openHABianPi systemd[1]: frontail.service: Failed with result 'exit-code'.
mit restart kommt folgender Fehler:
[09:58:11] openhabian@openHABianPi:~$ ● frontail.service - Frontail openHAB instance, reachable at http://openHABianPi:9001
-bash: ●: Kommando nicht gefunden.
[09:58:34] openhabian@openHABianPi:~$ Loaded: loaded (/etc/systemd/system/frontail.service; enabled; vendor preset: enabled)
-bash: Syntaxfehler beim unerwarteten Wort `('
[09:58:34] openhabian@openHABianPi:~$ Active: failed (Result: exit-code) since Mon 2018-09-03 17:28:49 CEST; 16h ago
-bash: Syntaxfehler beim unerwarteten Wort `('
[09:58:34] openhabian@openHABianPi:~$ Docs: https://github.com/mthenw/frontail
-bash: Docs:: Kommando nicht gefunden.
[09:58:34] openhabian@openHABianPi:~$ https://github.com/openhab/openhabian/issues/28
-bash: https://github.com/openhab/openhabian/issues/28: Datei oder Verzeichnis nicht gefunden
[09:58:34] openhabian@openHABianPi:~$ Process: 666 ExecStart=/usr/bin/frontail --ui-highlight --ui-highlight-preset /usr/lib/node_modules/frontail/preset/openhab.jso
-bash: Process:: Kommando nicht gefunden.
[09:58:34] openhabian@openHABianPi:~$ Main PID: 666 (code=exited, status=1/FAILURE)
-bash: Syntaxfehler beim unerwarteten Wort `('
[09:58:34] openhabian@openHABianPi:~$
[09:58:34] openhabian@openHABianPi:~$ Sep 03 17:28:49 openHABianPi systemd[1]: frontail.service: Main process exited, code=exited, status=1/FAILURE
-bash: Sep: Kommando nicht gefunden.
[09:58:34] openhabian@openHABianPi:~$ Sep 03 17:28:49 openHABianPi systemd[1]: frontail.service: Unit entered failed state.
-bash: Sep: Kommando nicht gefunden.
[09:58:34] openhabian@openHABianPi:~$ Sep 03 17:28:49 openHABianPi systemd[1]: frontail.service: Failed with result 'exit-code'.
-bash: Sep: Kommando nicht gefunden.
[09:58:34] openhabian@openHABianPi:~$ Sep 03 17:28:49 openHABianPi systemd[1]: frontail.service: Service hold-off time over, scheduling restart.
-bash: Sep: Kommando nicht gefunden.
[09:58:34] openhabian@openHABianPi:~$ Sep 03 17:28:49 openHABianPi systemd[1]: Stopped Frontail openHAB instance, reachable at http://openHABianPi:9001.
-bash: Sep: Kommando nicht gefunden.
[09:58:34] openhabian@openHABianPi:~$ Sep 03 17:28:49 openHABianPi systemd[1]: frontail.service: Start request repeated too quickly.
-bash: Sep: Kommando nicht gefunden.
[09:58:34] openhabian@openHABianPi:~$ Sep 03 17:28:49 openHABianPi systemd[1]: Failed to start Frontail openHAB instance, reachable at http://openHABianPi:9001.
-bash: Sep: Kommando nicht gefunden.
[09:58:34] openhabian@openHABianPi:~$ Sep 03 17:28:49 openHABianPi systemd[1]: frontail.service: Unit entered failed state.
-bash: Sep: Kommando nicht gefunden.
[09:58:34] openhabian@openHABianPi:~$ Sep 03 17:28:49 openHABianPi systemd[1]: frontail.service: Failed with result 'exit-code'.
-bash: Sep: Kommando nicht gefunden.
[09:58:34] openhabian@openHABianPi:~$
● frontail.service - Frontail openHAB instance, reachable at http://openHABianPi:9001
Loaded: loaded (/etc/systemd/system/frontail.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2018-09-03 17:28:49 CEST; 16h ago
Docs: https://github.com/mthenw/frontail
https://github.com/openhab/openhabian/issues/28
Process: 666 ExecStart=/usr/bin/frontail --ui-highlight --ui-highlight-preset /usr/lib/node_modules/frontail/preset/openhab.jso
Main PID: 666 (code=exited, status=1/FAILURE)
Sep 03 17:28:49 openHABianPi systemd[1]: frontail.service: Main process exited, code=exited, status=1/FAILURE
Sep 03 17:28:49 openHABianPi systemd[1]: frontail.service: Unit entered failed state.
Sep 03 17:28:49 openHABianPi systemd[1]: frontail.service: Failed with result 'exit-code'.
Sep 03 17:28:49 openHABianPi systemd[1]: frontail.service: Service hold-off time over, scheduling restart.
Sep 03 17:28:49 openHABianPi systemd[1]: Stopped Frontail openHAB instance, reachable at http://openHABianPi:9001.
Sep 03 17:28:49 openHABianPi systemd[1]: frontail.service: Start request repeated too quickly.
Sep 03 17:28:49 openHABianPi systemd[1]: Failed to start Frontail openHAB instance, reachable at http://openHABianPi:9001.
Sep 03 17:28:49 openHABianPi systemd[1]: frontail.service: Unit entered failed state.
Sep 03 17:28:49 openHABianPi systemd[1]: frontail.service: Failed with result 'exit-code'.
mit restart kommt folgender Fehler:
[09:58:11] openhabian@openHABianPi:~$ ● frontail.service - Frontail openHAB instance, reachable at http://openHABianPi:9001
-bash: ●: Kommando nicht gefunden.
[09:58:34] openhabian@openHABianPi:~$ Loaded: loaded (/etc/systemd/system/frontail.service; enabled; vendor preset: enabled)
-bash: Syntaxfehler beim unerwarteten Wort `('
[09:58:34] openhabian@openHABianPi:~$ Active: failed (Result: exit-code) since Mon 2018-09-03 17:28:49 CEST; 16h ago
-bash: Syntaxfehler beim unerwarteten Wort `('
[09:58:34] openhabian@openHABianPi:~$ Docs: https://github.com/mthenw/frontail
-bash: Docs:: Kommando nicht gefunden.
[09:58:34] openhabian@openHABianPi:~$ https://github.com/openhab/openhabian/issues/28
-bash: https://github.com/openhab/openhabian/issues/28: Datei oder Verzeichnis nicht gefunden
[09:58:34] openhabian@openHABianPi:~$ Process: 666 ExecStart=/usr/bin/frontail --ui-highlight --ui-highlight-preset /usr/lib/node_modules/frontail/preset/openhab.jso
-bash: Process:: Kommando nicht gefunden.
[09:58:34] openhabian@openHABianPi:~$ Main PID: 666 (code=exited, status=1/FAILURE)
-bash: Syntaxfehler beim unerwarteten Wort `('
[09:58:34] openhabian@openHABianPi:~$
[09:58:34] openhabian@openHABianPi:~$ Sep 03 17:28:49 openHABianPi systemd[1]: frontail.service: Main process exited, code=exited, status=1/FAILURE
-bash: Sep: Kommando nicht gefunden.
[09:58:34] openhabian@openHABianPi:~$ Sep 03 17:28:49 openHABianPi systemd[1]: frontail.service: Unit entered failed state.
-bash: Sep: Kommando nicht gefunden.
[09:58:34] openhabian@openHABianPi:~$ Sep 03 17:28:49 openHABianPi systemd[1]: frontail.service: Failed with result 'exit-code'.
-bash: Sep: Kommando nicht gefunden.
[09:58:34] openhabian@openHABianPi:~$ Sep 03 17:28:49 openHABianPi systemd[1]: frontail.service: Service hold-off time over, scheduling restart.
-bash: Sep: Kommando nicht gefunden.
[09:58:34] openhabian@openHABianPi:~$ Sep 03 17:28:49 openHABianPi systemd[1]: Stopped Frontail openHAB instance, reachable at http://openHABianPi:9001.
-bash: Sep: Kommando nicht gefunden.
[09:58:34] openhabian@openHABianPi:~$ Sep 03 17:28:49 openHABianPi systemd[1]: frontail.service: Start request repeated too quickly.
-bash: Sep: Kommando nicht gefunden.
[09:58:34] openhabian@openHABianPi:~$ Sep 03 17:28:49 openHABianPi systemd[1]: Failed to start Frontail openHAB instance, reachable at http://openHABianPi:9001.
-bash: Sep: Kommando nicht gefunden.
[09:58:34] openhabian@openHABianPi:~$ Sep 03 17:28:49 openHABianPi systemd[1]: frontail.service: Unit entered failed state.
-bash: Sep: Kommando nicht gefunden.
[09:58:34] openhabian@openHABianPi:~$ Sep 03 17:28:49 openHABianPi systemd[1]: frontail.service: Failed with result 'exit-code'.
-bash: Sep: Kommando nicht gefunden.
[09:58:34] openhabian@openHABianPi:~$
- udo1toni
- Beiträge: 13864
- Registriert: 11. Apr 2018 18:05
- Wohnort: Darmstadt
Re: Log Viewer funktioniert nicht
Was sagt denn
Diese Fehlermeldung:
deutet ja darauf hin, dass in der service Datei ein Tippfehler ist. Dazu müsstest Du aber selbst etwas daran geändert haben...
Schau mal nach, was in /etc/systemd/system/frontail.service steht
Code: Alles auswählen
sudo journalctl -xu frontail
Code: Alles auswählen
-bash: Syntaxfehler beim unerwarteten Wort `('
Schau mal nach, was in /etc/systemd/system/frontail.service steht
openHAB4.1.2 stable in einem Debian-Container (bookworm) (Proxmox 8.1.5, LXC), mit openHABian eingerichtet