Hello, I want to monitor an Eastron SDM220 modbus energy meter with a raspberry pi and a USB to RS-485 converter.
I’m trying to make the software work, but I’m not able.
The steps I’ve made so far are:
- Download a pre-built emonSD-Image http://files.openenergymonitor.org/emonSD-07Nov16.zip
- Use Etcher to write the image to a 8GB SD card.
- sudo emonSDexpand to expand the data partition
- sudo apt-get update && apt-get upgrade to update the software
- Disable some services:
sudo systemctl disable openhab.service
sudo systemctl disable nodered.service
sudo systemctl disable emonPiLCD.service
But I’m not able to connect to the webpage: http://192.168.1.100
Apache2 doesn’t start:
pi@emonpi(rw):data$ sudo /etc/init.d/apache2 status
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Drop-In: /lib/systemd/system/apache2.service.d
└─forking.conf
Active: failed (Result: exit-code) since mié 2017-08-09 15:58:58 UTC; 11min ago
Process: 798 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)
ago 09 15:58:58 emonpi apache2[798]: Output of config test was:
ago 09 15:58:58 emonpi apache2[798]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globall...s this message
ago 09 15:58:58 emonpi apache2[798]: (2)No such file or directory: AH02291: Cannot access directory '/var/log/apache2/' for main error log
ago 09 15:58:58 emonpi apache2[798]: (2)No such file or directory: AH02291: Cannot access directory '/var/log/apache2/' for error log of vhost defined at /etc/apache2/sites-enabled/...default.conf:1
ago 09 15:58:58 emonpi apache2[798]: AH00014: Configuration check failed
ago 09 15:58:58 emonpi apache2[798]: Action 'configtest' failed.
ago 09 15:58:58 emonpi apache2[798]: The Apache error log may have more information.
ago 09 15:58:58 emonpi systemd[1]: apache2.service: control process exited, code=exited status=1
ago 09 15:58:58 emonpi systemd[1]: Failed to start LSB: Apache2 web server.
ago 09 15:58:58 emonpi systemd[1]: Unit apache2.service entered failed state.
Warning: Unit file changed on disk, 'systemctl daemon-reload' recommended.
Hint: Some lines were ellipsized, use -l to show in full.
The emon service doesn’t work:
pi@emonpi(rw):~$ sudo service emonhub status
● emonhub.service - (null)
Loaded: loaded (/etc/init.d/emonhub)
Active: failed (Result: exit-code) since mié 2017-08-09 15:58:58 UTC; 3min 36s ago
Process: 966 ExecStart=/etc/init.d/emonhub start (code=exited, status=203/EXEC)
ago 09 15:58:58 emonpi systemd[1]: emonhub.service: control process exited, code=exited status=203
ago 09 15:58:58 emonpi systemd[1]: Failed to start (null).
ago 09 15:58:58 emonpi systemd[1]: Unit emonhub.service entered failed state.
Please, could you point me to the right installation steps?
Regards,
Joaquin