@borpin ,
I hope I understood the instructions correct: I ran the command and below is the output
I sent “journalctl -f -u emonhub” and had to copy /paste the output.
I had to stop it by Ctrl+c: since it got caught in a repeating-cycle doing that over and over:-
*pi@emonpi:~ $ journalctl -f -u emonhub*
-- Logs begin at Wed 2022-05-18 09:09:56 SAST. --
May 18 16:32:42 emonpi systemd[1]: Starting emonHub data multiplexer...
May 18 16:32:43 emonpi systemd[1]: Started emonHub data multiplexer.
May 18 16:32:45 emonpi emonhub.py[30359]: Traceback (most recent call last):
May 18 16:32:45 emonpi emonhub.py[30359]: File "/usr/local/bin/emonhub/emonhub .py", line 26, in <module>
May 18 16:32:45 emonpi emonhub.py[30359]: from interfacers import *
May 18 16:32:45 emonpi emonhub.py[30359]: File "/opt/openenergymonitor/emonhub /src/interfacers/EmonHubMqttInterfacer.py", line 33, in <module>
May 18 16:32:45 emonpi emonhub.py[30359]: import paho.mqtt.client as mqtt
May 18 16:32:45 emonpi emonhub.py[30359]: ModuleNotFoundError: No module named ' paho'
May 18 16:32:45 emonpi systemd[1]: emonhub.service: Main process exited, code=ex ited, status=1/FAILURE
May 18 16:32:45 emonpi systemd[1]: emonhub.service: Failed with result 'exit-cod e'.
May 18 16:32:50 emonpi systemd[1]: emonhub.service: Service RestartSec=5s expired, scheduling restart.
May 18 16:32:50 emonpi systemd[1]: emonhub.service: Scheduled restart job, restart counter is at 11603.
May 18 16:32:50 emonpi systemd[1]: Stopped emonHub data multiplexer.
May 18 16:32:50 emonpi systemd[1]: Starting emonHub data multiplexer...
May 18 16:32:51 emonpi systemd[1]: Started emonHub data multiplexer.
May 18 16:32:53 emonpi emonhub.py[30364]: Traceback (most recent call last):
May 18 16:32:53 emonpi emonhub.py[30364]: File "/usr/local/bin/emonhub/emonhub.py", line 26, in <module>
May 18 16:32:53 emonpi emonhub.py[30364]: from interfacers import *
May 18 16:32:53 emonpi emonhub.py[30364]: File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubMqttInterfacer.py", line 33, in <module>
May 18 16:32:53 emonpi emonhub.py[30364]: import paho.mqtt.client as mqtt
May 18 16:32:53 emonpi emonhub.py[30364]: ModuleNotFoundError: No module named 'paho'
May 18 16:32:53 emonpi systemd[1]: emonhub.service: Main process exited, code=exited, status=1/FAILURE
May 18 16:32:53 emonpi systemd[1]: emonhub.service: Failed with result 'exit-code'.
May 18 16:32:58 emonpi systemd[1]: emonhub.service: Service RestartSec=5s expired, scheduling restart.
May 18 16:32:58 emonpi systemd[1]: emonhub.service: Scheduled restart job, restart counter is at 11604.
May 18 16:32:58 emonpi systemd[1]: Stopped emonHub data multiplexer.
May 18 16:32:58 emonpi systemd[1]: Starting emonHub data multiplexer...
May 18 16:32:59 emonpi systemd[1]: Started emonHub data multiplexer.
May 18 16:33:01 emonpi emonhub.py[30368]: Traceback (most recent call last):
May 18 16:33:01 emonpi emonhub.py[30368]: File "/usr/local/bin/emonhub/emonhub.py", line 26, in <module>
May 18 16:33:01 emonpi emonhub.py[30368]: from interfacers import *
May 18 16:33:01 emonpi emonhub.py[30368]: File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubMqttInterfacer.py", line 33, in <module>
May 18 16:33:01 emonpi emonhub.py[30368]: import paho.mqtt.client as mqtt
May 18 16:33:01 emonpi emonhub.py[30368]: ModuleNotFoundError: No module named 'paho'
May 18 16:33:01 emonpi systemd[1]: emonhub.service: Main process exited, code=exited, status=1/FAILURE
May 18 16:33:01 emonpi systemd[1]: emonhub.service: Failed with result 'exit-code'.
May 18 16:33:06 emonpi systemd[1]: emonhub.service: Service RestartSec=5s expired, scheduling restart.
May 18 16:33:06 emonpi systemd[1]: emonhub.service: Scheduled restart job, restart counter is at 11605.
May 18 16:33:06 emonpi systemd[1]: Stopped emonHub data multiplexer.
May 18 16:33:06 emonpi systemd[1]: Starting emonHub data multiplexer...
May 18 16:33:07 emonpi systemd[1]: Started emonHub data multiplexer.
May 18 16:33:09 emonpi emonhub.py[30372]: Traceback (most recent call last):
May 18 16:33:09 emonpi emonhub.py[30372]: File "/usr/local/bin/emonhub/emonhub.py", line 26, in <module>
May 18 16:33:09 emonpi emonhub.py[30372]: from interfacers import *
May 18 16:33:09 emonpi emonhub.py[30372]: File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubMqttInterfacer.py", line 33, in <module>
May 18 16:33:09 emonpi emonhub.py[30372]: import paho.mqtt.client as mqtt
May 18 16:33:09 emonpi emonhub.py[30372]: ModuleNotFoundError: No module named 'paho'
May 18 16:33:09 emonpi systemd[1]: emonhub.service: Main process exited, code=exited, status=1/FAILURE
May 18 16:33:09 emonpi systemd[1]: emonhub.service: Failed with result 'exit-code'.
May 18 16:33:14 emonpi systemd[1]: emonhub.service: Service RestartSec=5s expired, scheduling restart.
May 18 16:33:14 emonpi systemd[1]: emonhub.service: Scheduled restart job, restart counter is at 11606.
May 18 16:33:14 emonpi systemd[1]: Stopped emonHub data multiplexer.
May 18 16:33:14 emonpi systemd[1]: Starting emonHub data multiplexer...
May 18 16:33:15 emonpi systemd[1]: Started emonHub data multiplexer.
May 18 16:33:17 emonpi emonhub.py[30376]: Traceback (most recent call last):
May 18 16:33:17 emonpi emonhub.py[30376]: File "/usr/local/bin/emonhub/emonhub.py", line 26, in <module>
May 18 16:33:17 emonpi emonhub.py[30376]: from interfacers import *
May 18 16:33:17 emonpi emonhub.py[30376]: File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubMqttInterfacer.py", line 33, in <module>
May 18 16:33:17 emonpi emonhub.py[30376]: import paho.mqtt.client as mqtt
May 18 16:33:17 emonpi emonhub.py[30376]: ModuleNotFoundError: No module named 'paho'
May 18 16:33:17 emonpi systemd[1]: emonhub.service: Main process exited, code=exited, status=1/FAILURE
May 18 16:33:17 emonpi systemd[1]: emonhub.service: Failed with result 'exit-code'.
May 18 16:33:22 emonpi systemd[1]: emonhub.service: Service RestartSec=5s expired, scheduling restart.
May 18 16:33:22 emonpi systemd[1]: emonhub.service: Scheduled restart job, restart counter is at 11607.
May 18 16:33:22 emonpi systemd[1]: Stopped emonHub data multiplexer.
May 18 16:33:22 emonpi systemd[1]: Starting emonHub data multiplexer...
May 18 16:33:23 emonpi systemd[1]: Started emonHub data multiplexer.
May 18 16:33:25 emonpi emonhub.py[30380]: Traceback (most recent call last):
May 18 16:33:25 emonpi emonhub.py[30380]: File "/usr/local/bin/emonhub/emonhub.py", line 26, in <module>
May 18 16:33:25 emonpi emonhub.py[30380]: from interfacers import *
May 18 16:33:25 emonpi emonhub.py[30380]: File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubMqttInterfacer.py", line 33, in <module>
May 18 16:33:25 emonpi emonhub.py[30380]: import paho.mqtt.client as mqtt
May 18 16:33:25 emonpi emonhub.py[30380]: ModuleNotFoundError: No module named 'paho'
May 18 16:33:25 emonpi systemd[1]: emonhub.service: Main process exited, code=exited, status=1/FAILURE
May 18 16:33:25 emonpi systemd[1]: emonhub.service: Failed with result 'exit-code'.
May 18 16:33:31 emonpi systemd[1]: emonhub.service: Service RestartSec=5s expired, scheduling restart.
May 18 16:33:31 emonpi systemd[1]: emonhub.service: Scheduled restart job, restart counter is at 11608.
May 18 16:33:31 emonpi systemd[1]: Stopped emonHub data multiplexer.
May 18 16:33:31 emonpi systemd[1]: Starting emonHub data multiplexer...
May 18 16:33:31 emonpi systemd[1]: Started emonHub data multiplexer.
May 18 16:33:33 emonpi emonhub.py[30384]: Traceback (most recent call last):
May 18 16:33:33 emonpi emonhub.py[30384]: File "/usr/local/bin/emonhub/emonhub.py", line 26, in <module>
May 18 16:33:33 emonpi emonhub.py[30384]: from interfacers import *
May 18 16:33:33 emonpi emonhub.py[30384]: File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubMqttInterfacer.py", line 33, in <module>
May 18 16:33:33 emonpi emonhub.py[30384]: import paho.mqtt.client as mqtt
May 18 16:33:33 emonpi emonhub.py[30384]: ModuleNotFoundError: No module named 'paho'
May 18 16:33:34 emonpi systemd[1]: emonhub.service: Main process exited, code=exited, status=1/FAILURE
May 18 16:33:34 emonpi systemd[1]: emonhub.service: Failed with result 'exit-code'.
May 18 16:33:39 emonpi systemd[1]: emonhub.service: Service RestartSec=5s expired, scheduling restart.
May 18 16:33:39 emonpi systemd[1]: emonhub.service: Scheduled restart job, restart counter is at 11609.
May 18 16:33:39 emonpi systemd[1]: Stopped emonHub data multiplexer.
May 18 16:33:39 emonpi systemd[1]: Starting emonHub data multiplexer...
May 18 16:33:39 emonpi systemd[1]: Started emonHub data multiplexer.
May 18 16:33:41 emonpi emonhub.py[30388]: Traceback (most recent call last):
May 18 16:33:41 emonpi emonhub.py[30388]: File "/usr/local/bin/emonhub/emonhub.py", line 26, in <module>
May 18 16:33:41 emonpi emonhub.py[30388]: from interfacers import *
May 18 16:33:41 emonpi emonhub.py[30388]: File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubMqttInterfacer.py", line 33, in <module>
May 18 16:33:41 emonpi emonhub.py[30388]: import paho.mqtt.client as mqtt
May 18 16:33:41 emonpi emonhub.py[30388]: ModuleNotFoundError: No module named 'paho'
May 18 16:33:42 emonpi systemd[1]: emonhub.service: Main process exited, code=exited, status=1/FAILURE
May 18 16:33:42 emonpi systemd[1]: emonhub.service: Failed with result 'exit-code'.
May 18 16:33:47 emonpi systemd[1]: emonhub.service: Service RestartSec=5s expired, scheduling restart.
May 18 16:33:47 emonpi systemd[1]: emonhub.service: Scheduled restart job, restart counter is at 11610.
May 18 16:33:47 emonpi systemd[1]: Stopped emonHub data multiplexer.
May 18 16:33:47 emonpi systemd[1]: Starting emonHub data multiplexer...
May 18 16:33:47 emonpi systemd[1]: Started emonHub data multiplexer.
May 18 16:33:50 emonpi emonhub.py[30392]: Traceback (most recent call last):
May 18 16:33:50 emonpi emonhub.py[30392]: File "/usr/local/bin/emonhub/emonhub.py", line 26, in <module>
May 18 16:33:50 emonpi emonhub.py[30392]: from interfacers import *
May 18 16:33:50 emonpi emonhub.py[30392]: File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubMqttInterfacer.py", line 33, in <module>
May 18 16:33:50 emonpi emonhub.py[30392]: import paho.mqtt.client as mqtt
May 18 16:33:50 emonpi emonhub.py[30392]: ModuleNotFoundError: No module named 'paho'
May 18 16:33:50 emonpi systemd[1]: emonhub.service: Main process exited, code=exited, status=1/FAILURE
May 18 16:33:50 emonpi systemd[1]: emonhub.service: Failed with result 'exit-code'.
May 18 16:33:55 emonpi systemd[1]: emonhub.service: Service RestartSec=5s expired, scheduling restart.
May 18 16:33:55 emonpi systemd[1]: emonhub.service: Scheduled restart job, restart counter is at 11611.
May 18 16:33:55 emonpi systemd[1]: Stopped emonHub data multiplexer.
May 18 16:33:55 emonpi systemd[1]: Starting emonHub data multiplexer...
May 18 16:33:56 emonpi systemd[1]: Started emonHub data multiplexer.
May 18 16:33:58 emonpi emonhub.py[30396]: Traceback (most recent call last):
May 18 16:33:58 emonpi emonhub.py[30396]: File "/usr/local/bin/emonhub/emonhub.py", line 26, in <module>
May 18 16:33:58 emonpi emonhub.py[30396]: from interfacers import *
May 18 16:33:58 emonpi emonhub.py[30396]: File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubMqttInterfacer.py", line 33, in <module>
May 18 16:33:58 emonpi emonhub.py[30396]: import paho.mqtt.client as mqtt
May 18 16:33:58 emonpi emonhub.py[30396]: ModuleNotFoundError: No module named 'paho'
May 18 16:33:58 emonpi systemd[1]: emonhub.service: Main process exited, code=exited, status=1/FAILURE
May 18 16:33:58 emonpi systemd[1]: emonhub.service: Failed with result 'exit-code'.