Community
OpenEnergyMonitor

Community

Problems with Services Not Starting on New emonSD-26Oct17


(Brandon Baldock) #1

I just downloaded emonSD-26Oct17 (Stable) from here.

Followed the directions. Started over a couple times just in case.

MQTT, apache2, redis - all of these services report they are failing to start during the initial boot. Then the update script runs and I restart, and I get the same result.

Trying to start MQTT, for example gives:

[email protected](ro):~$ sudo systemctl status mmqt 
● mmqt.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)
[email protected](ro):~$ 

This seems really strange for a brand new emonSD image. Any suggestions?


(Brandon Baldock) #2

Typing the correct command I get a better result:

[email protected](ro):~$ sudo systemctl status mosquitto
● mosquitto.service - Mosquitto MQTT Broker
   Loaded: loaded (/lib/systemd/system/mosquitto.service; enabled)
   Active: active (running) since Sat 2018-06-30 22:14:24 UTC; 30s ago
     Docs: man:mosquitto(8)
           https://mosquitto.org/
 Main PID: 2510 (mosquitto)
   CGroup: /system.slice/mosquitto.service
           └─2510 /usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf

Jun 30 22:14:24 emonpi systemd[1]: Started Mosquitto MQTT Broker.

[email protected](ro):~$

So maybe these things are just starting up after the checks the scroll past in while it is booting up.

Everything seems to work fine once it is booted.