Help with cumulusmx.service
Posted: Sat 02 Apr 2022 1:32 pm
I have a new install of CumulusMX on a Raspberry Pi 4. 3.15.3 build 3173. If I start it from command line, it runs fine. I got a copy of the cumulusmx.service from the CumulusMX/MXutils/linux/ of the install, updated file path to /opt/CumulusMX/ and unfortunately it doesn't start. Any help troubleshooting this?
Here is it working from command line:
This is the file:
And this is what I get when i try to start from systemctl:
Any Ideas what is wrong? Also if you need any other logs etc. let me know and I'll add them.
Here is it working from command line:
Code: Select all
sudo mono /opt/CumulusMX/CumulusMX.exe
Cumulus MX v.3.15.3 build 3173
Working Dir: /opt/CumulusMX/
PuTTY X11 proxy: Unsupported authorisation protocol
Cumulus running at: http://localhost:8998/
http://192.168.1.66:8998/
Open the admin interface by entering one of the above URLs into a web browser.
Today.ini = data/today.ini
Last update=2022-04-02T08:20:00
4/2/2022 8:24:17 AM
Type Ctrl-C to terminate
Processing history data for 5 records. 8:24:18 AM
Completed processing history data. 8:24:19 AM, Rate: 10.87/second
Normal running
Code: Select all
cat /etc/systemd/system/cumulusmx.service
[Unit]
Description=CumulusMX service
Documentation=https://cumuluswiki.org/a/Main_Page
Wants=network-online.target
After=network-online.target
[Service]
User=root
Group=root
ExecStart=/usr/bin/mono-service -/opt/CumulusMX CumulusMX.exe -service
Type=forking
ExecStopPost=/bin/rm /tmp/CumulusMX.exe.lock
[Install]
WantedBy=multi-user.target
Code: Select all
cumulusmx.service - CumulusMX service
Loaded: loaded (/etc/systemd/system/cumulusmx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2022-04-02 08:26:17 EST; 30s ago
Docs: https://cumuluswiki.org/a/Main_Page
Process: 2585 ExecStart=/usr/bin/mono-service -/opt/CumulusMX CumulusMX.exe -service (code=exited, status=0/SUCCESS)
Process: 2590 ExecStopPost=/bin/rm /tmp/CumulusMX.exe.lock (code=exited, status=1/FAILURE)
Main PID: 2586 (code=exited, status=1/FAILURE)
CPU: 734ms
Apr 02 08:26:16 rpi-piconsole systemd[1]: Starting CumulusMX service...
Apr 02 08:26:16 rpi-piconsole systemd[1]: Started CumulusMX service.
Apr 02 08:26:17 rpi-piconsole mono[2586]: -/opt/CumulusMX: Could not find assembly -/opt/CumulusMX
Apr 02 08:26:17 rpi-piconsole systemd[1]: cumulusmx.service: Main process exited, code=exited, status=1/FAILURE
Apr 02 08:26:17 rpi-piconsole rm[2590]: /bin/rm: cannot remove '/tmp/CumulusMX.exe.lock': No such file or directory
Apr 02 08:26:17 rpi-piconsole systemd[1]: cumulusmx.service: Control process exited, code=exited, status=1/FAILURE
Apr 02 08:26:17 rpi-piconsole systemd[1]: cumulusmx.service: Failed with result 'exit-code'.
Any Ideas what is wrong? Also if you need any other logs etc. let me know and I'll add them.