hi wolfgang,
thank you for helping me with this.
the output of
sudo systemctl status frontail
is
openhabian@openhabianpi:~ $ sudo systemctl status frontail
● frontail.service - Frontail openHAB instance, reachable at http://openhabianpi:9001
Loaded: loaded (/etc/systemd/system/frontail.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Tue 2021-01-12 10:11:26 CET; 1min 0s ago
Docs: https://github.com/mthenw/frontail
Process: 558 ExecStart=/usr/lib/node_modules/frontail/bin/frontail --ui-highlight --ui-highlight-preset /usr/lib/node_modules/frontail/preset/openhab.json -t openhab -l 2000 -n 200 /storage/log/openhab/openhab.log /storage/log/openhab/
Main PID: 558 (code=killed, signal=TERM)
Jan 12 10:11:26 openhabianpi systemd[1]: Started Frontail openHAB instance, reachable at http://openhabianpi:9001.
Jan 12 10:11:26 openhabianpi systemd[1]: Stopping Frontail openHAB instance, reachable at http://openhabianpi:9001...
Jan 12 10:11:26 openhabianpi systemd[1]: frontail.service: Main process exited, code=killed, status=15/TERM
Jan 12 10:11:26 openhabianpi systemd[1]: frontail.service: Succeeded.
Jan 12 10:11:26 openhabianpi systemd[1]: Stopped Frontail openHAB instance, reachable at http://openhabianpi:9001.
lines 1-12/12 (END)
while the output of
sudo journalctl -xu frontail
is
[...]
-- Reboot --
Jan 12 10:11:26 openhabianpi systemd[1]: Started Frontail openHAB instance, reachable at http://openhabianpi:9001.
-- Subject: A start job for unit frontail.service has finished successfully
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit frontail.service has finished successfully.
--
-- The job identifier is 104.
Jan 12 10:11:26 openhabianpi systemd[1]: Stopping Frontail openHAB instance, reachable at http://openhabianpi:9001...
-- Subject: A stop job for unit frontail.service has begun execution
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A stop job for unit frontail.service has begun execution.
--
-- The job identifier is 253.
Jan 12 10:11:26 openhabianpi systemd[1]: frontail.service: Main process exited, code=killed, status=15/TERM
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- An ExecStart= process belonging to unit frontail.service has exited.
--
-- The process' exit code is 'killed' and its exit status is 15.
Jan 12 10:11:26 openhabianpi systemd[1]: frontail.service: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit frontail.service has successfully entered the 'dead' state.
Jan 12 10:11:26 openhabianpi systemd[1]: Stopped Frontail openHAB instance, reachable at http://openhabianpi:9001.
-- Subject: A stop job for unit frontail.service has finished
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A stop job for unit frontail.service has finished.
--
-- The job identifier is 253 and the job result is done.
lines 86-147/147 (END)
while looking into the output of
sudo journalctl
i found that openhab seams to gets terminated and so is frontail. but i can´t see why this happens or why openhab is then still running while frontail is not
Jan 12 10:11:26 openhabianpi systemd[1]: Reached target Network.
Jan 12 10:11:26 openhabianpi dphys-swapfile[444]: want /var/swap=1849MByte, checking existing: keeping it
Jan 12 10:11:26 openhabianpi systemd[1]: Mounting openhab-userdata mount...
Jan 12 10:11:26 openhabianpi zram-config[412]: + [[ -n 90 ]]
Jan 12 10:11:26 openhabianpi zram-config[412]: + sysctl vm.swappiness=90
Jan 12 10:11:26 openhabianpi zram-config[412]: + echo 'swap /zram0 zram-config0'
Jan 12 10:11:26 openhabianpi zram-config[412]: + read -r line
Jan 12 10:11:26 openhabianpi zram-config[412]: + case "$line" in
Jan 12 10:11:26 openhabianpi zram-config[412]: + continue
Jan 12 10:11:26 openhabianpi zram-config[412]: + read -r line
Jan 12 10:11:26 openhabianpi zram-config[412]: + case "$line" in
Jan 12 10:11:26 openhabianpi zram-config[412]: + continue
Jan 12 10:11:26 openhabianpi zram-config[412]: + read -r line
Jan 12 10:11:26 openhabianpi zram-config[412]: + case "$line" in
Jan 12 10:11:26 openhabianpi zram-config[412]: + set -- dir lzo-rle 150M 500M /var/lib/openhab/persistence /persistence.bind
Jan 12 10:11:26 openhabianpi zram-config[412]: + echo 'ztab create dir lzo-rle 150M 500M /var/lib/openhab/persistence /persistence.bind '
Jan 12 10:11:26 openhabianpi zram-config[412]: + ZTAB_EMPTY=false
Jan 12 10:11:26 openhabianpi zram-config[412]: + ZTYPE=dir
Jan 12 10:11:26 openhabianpi zram-config[412]: + ALG=lzo-rle
Jan 12 10:11:26 openhabianpi zram-config[412]: + MEM_SIZE=150M
Jan 12 10:11:26 openhabianpi zram-config[412]: + DISK_SIZE=500M
Jan 12 10:11:26 openhabianpi zram-config[412]: + [[ -f /tmp/zram-device-list ]]
Jan 12 10:11:26 openhabianpi zram-config[412]: + [[ dir == \s\w\a\p ]]
Jan 12 10:11:26 openhabianpi zram-config[412]: ++ grep 'dir.*/var/lib/openhab/persistence' /tmp/zram-device-list
Jan 12 10:11:26 openhabianpi zram-config[412]: + entry=
Jan 12 10:11:26 openhabianpi zram-config[412]: + [[ -n '' ]]
Jan 12 10:11:26 openhabianpi zram-config[412]: + test -f /tmp/zram-device-list.new
Jan 12 10:11:26 openhabianpi zram-config[412]: + case "$1" in
Jan 12 10:11:26 openhabianpi zram-config[412]: + TARGET_DIR=/var/lib/openhab/persistence
Jan 12 10:11:26 openhabianpi zram-config[412]: + BIND_DIR=/persistence.bind
Jan 12 10:11:26 openhabianpi zram-config[412]: + [[ false == \f\a\l\s\e ]]
Jan 12 10:11:26 openhabianpi zram-config[412]: + serviceConfiguration stop
Jan 12 10:11:26 openhabianpi zram-config[412]: + [[ stop == \s\t\o\p ]]
Jan 12 10:11:26 openhabianpi zram-config[412]: + echo 'Stopping services that interfere with zram device configuration'
Jan 12 10:11:26 openhabianpi zram-config[412]: + dpkg -s nginx
Jan 12 10:11:26 openhabianpi systemd[1]: Mounting openhab-conf mount...
Jan 12 10:11:26 openhabianpi sh[320]: wlan0=wlan0
Jan 12 10:11:26 openhabianpi systemd[1]: Condition check resulted in fast remote file copy program daemon being skipped.
Jan 12 10:11:26 openhabianpi systemd[1]: Reached target Network is Online.
Jan 12 10:11:26 openhabianpi systemd[1]: Started openHAB - empowering the smart home.
Jan 12 10:11:26 openhabianpi systemd[1]: Started Frontail openHAB instance, reachable at http://openhabianpi:9001.
Jan 12 10:11:26 openhabianpi systemd[1]: Starting Samba NMB Daemon...
Jan 12 10:11:26 openhabianpi systemd[1]: Condition check resulted in openHABian installer service being skipped.
Jan 12 10:11:26 openhabianpi systemd[1]: Mounting openhab-sys mount...
Jan 12 10:11:26 openhabianpi systemd[1]: Starting Permit User Sessions...
Jan 12 10:11:26 openhabianpi systemd[1]: Mounting openhab-addons mount...
Jan 12 10:11:26 openhabianpi systemd[1]: Starting /etc/rc.local Compatibility...
Jan 12 10:11:26 openhabianpi systemd[1]: Starting OpenBSD Secure Shell server...
Jan 12 10:11:26 openhabianpi systemd[1]: Mounted openhab-userdata mount.
Jan 12 10:11:26 openhabianpi systemd[1]: Mounted openhab-conf mount.
Jan 12 10:11:26 openhabianpi systemd[1]: Mounted openhab-sys mount.
Jan 12 10:11:26 openhabianpi systemd[1]: Started Permit User Sessions.
Jan 12 10:11:26 openhabianpi systemd[1]: Mounted openhab-addons mount.
Jan 12 10:11:26 openhabianpi systemd[1]: Started /etc/rc.local Compatibility.
Jan 12 10:11:26 openhabianpi systemd[1]: Started Getty on tty1.
Jan 12 10:11:26 openhabianpi systemd[1]: Reached target Login Prompts.
Jan 12 10:11:26 openhabianpi zram-config[412]: + dpkg -s samba
Jan 12 10:11:26 openhabianpi wpa_supplicant[398]: wlan0: Trying to associate with SSID '[********]'
Jan 12 10:11:26 openhabianpi zram-config[412]: ++ systemctl is-active smbd.service
Jan 12 10:11:26 openhabianpi zram-config[412]: + [[ inactive == \a\c\t\i\v\e ]]
Jan 12 10:11:26 openhabianpi zram-config[412]: + dpkg -s openhab
Jan 12 10:11:26 openhabianpi zram-config[412]: ++ systemctl is-active openhab.service
Jan 12 10:11:26 openhabianpi zram-config[412]: + [[ active == \a\c\t\i\v\e ]]
Jan 12 10:11:26 openhabianpi zram-config[412]: + export openhabActive=true
Jan 12 10:11:26 openhabianpi zram-config[412]: + openhabActive=true
Jan 12 10:11:26 openhabianpi zram-config[412]: + systemctl stop openhab.service
Jan 12 10:11:26 openhabianpi systemd[1]: Stopping Frontail openHAB instance, reachable at http://openhabianpi:9001...
Jan 12 10:11:26 openhabianpi systemd[1]: frontail.service: Main process exited, code=killed, status=15/TERM
Jan 12 10:11:26 openhabianpi systemd[1]: frontail.service: Succeeded.
Jan 12 10:11:26 openhabianpi systemd[1]: Stopped Frontail openHAB instance, reachable at http://openhabianpi:9001.
Jan 12 10:11:26 openhabianpi systemd[1]: Stopping openHAB - empowering the smart home...
For the sake of completeness i´m adding the output of
sudo journalctl -xu openhab
[...]
-- Reboot --
Jan 12 10:11:26 openhabianpi systemd[1]: Started openHAB - empowering the smart home.
-- Subject: A start job for unit openhab.service has finished successfully
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit openhab.service has finished successfully.
--
-- The job identifier is 92.
Jan 12 10:11:26 openhabianpi systemd[1]: Stopping openHAB - empowering the smart home...
-- Subject: A stop job for unit openhab.service has begun execution
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A stop job for unit openhab.service has begun execution.
--
-- The job identifier is 252.
Jan 12 10:11:33 openhabianpi karaf[631]: Can't connect to the container. The container is not running.
Jan 12 10:11:33 openhabianpi systemd[1]: openhab.service: Control process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- An ExecStop= process belonging to unit openhab.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Jan 12 10:11:33 openhabianpi systemd[1]: openhab.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit openhab.service has entered the 'failed' state with result 'exit-code'.
Jan 12 10:11:33 openhabianpi systemd[1]: Stopped openHAB - empowering the smart home.
-- Subject: A stop job for unit openhab.service has finished
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A stop job for unit openhab.service has finished.
--
-- The job identifier is 252 and the job result is done.
again: thank you for your help
cu françois