Something interesting happened last night as the emonhub stopped to resend to emoncms.org. Also local emoncms web interface not working. Did a power off cycle and now systemctl status shows degraded, i.e. failed to start.
Reinstalled ./emonhub.sh and everything is back to normal. Anyhow still the dhcp server is not starting - I guess its not needed.
Using latest SD image with rPi, both orded from shop a couple of weeks ago.
pi@emonpi:/opt/openenergymonitor/EmonScripts/install $ systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
● isc-dhcp-server.service loaded failed failed LSB: DHCP server
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
1 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
pi@emonpi:/opt/openenergymonitor/EmonScripts/install $ systemctl status isc-dhcp-server.service
● isc-dhcp-server.service - LSB: DHCP server
Loaded: loaded (/etc/init.d/isc-dhcp-server; generated)
Active: failed (Result: exit-code) since Tue 2020-08-11 17:28:12 BST; 6 days ago
Docs: man:systemd-sysv-generator(8)
Aug 11 17:28:10 emonpi dhcpd[538]: bugs on either our web page at www.isc.org or in the README file
Aug 11 17:28:10 emonpi dhcpd[538]: before submitting a bug. These pages explain the proper
Aug 11 17:28:10 emonpi dhcpd[538]: process and the information we find helpful for debugging.
Aug 11 17:28:10 emonpi dhcpd[538]:
Aug 11 17:28:10 emonpi dhcpd[538]: exiting.
Aug 11 17:28:12 emonpi isc-dhcp-server[492]: Starting ISC DHCPv4 server: dhcpdcheck syslog for diagnostics. ... failed!
Aug 11 17:28:12 emonpi isc-dhcp-server[492]: failed!
Aug 11 17:28:12 emonpi systemd[1]: isc-dhcp-server.service: Control process exited, code=exited, status=1/FAILURE
Aug 11 17:28:12 emonpi systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.
Aug 11 17:28:12 emonpi systemd[1]: Failed to start LSB: DHCP server.
Are you connected via WiFi / Ethernet at the time as a client?
This is what I see:
pi@emonpi:~ $ systemctl status isc-dhcp-server.service
● isc-dhcp-server.service - LSB: DHCP server
Loaded: loaded (/etc/init.d/isc-dhcp-server; generated)
Active: failed (Result: exit-code) since Wed 2020-08-12 15:44:16 BST; 5 days ago
Docs: man:systemd-sysv-generator(8)
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
But Im connected via Ethernet so dont expect it to be running.