How do I make signalK server load at boot? - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1) +--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3) +--- Thread: How do I make signalK server load at boot? (/showthread.php?tid=2131) |
How do I make signalK server load at boot? - mikedeflieslife - 2019-12-07 Re-installed Raspian Buster and then Openplotter settings 2.0.17. From that I installed Signalk 2.0.6 The installtion didn't so any errors, and claimed the signlk server is running on port 3000. This isn't the case though. A simple 'sudo netstat -tlnp | grep 3000" does not show anything. I tried re-installing signalk but still the server doesn't load at boot. I then manually ran an installation of it, but again it would not run at boot. The server runs fine if I manually load it by typing 'signalk-server' but i really need it running from boot. I don't know if this is a problem with OP 2.0.17 and/or Signalk 2.0.6 or even the current version of Buster, as my other sim card had slightly older versions of all the software. RE: How do I make signalK server load at boot? - jim321 - 2019-12-07 try Code: sudo signalk-server-setup there you can also change it to port :80 if you want RE: How do I make signalK server load at boot? - mikedeflieslife - 2019-12-08 (2019-12-07, 05:28 PM)jim321 Wrote: try That allows me to setup the server but the server still doesn't run a boot. It's like whatever startup script is required either isn't working or isn't present Code: / ___| (_) __ _ _ __ __ _ | | | |/ / so I then run netstat to check what is running on port 3000 and there is nothing. I ran a test on port 22 just to check netstat was reporting correctly. Code: pi@raspberrypi:~ $ sudo netstat -tlnp | grep 3000 RE: How do I make signalK server load at boot? - jim321 - 2019-12-08 i dont know what the problem could be then tkurki might be able to help.. or burn the img. its already installed and starts on boot https://mega.nz/#!LNpB1K5Q!a4QaE5WDtH0wc1hWdUQa-SJy6ERmivG7xpnsLHYt0Xk RE: How do I make signalK server load at boot? - mikedeflieslife - 2019-12-08 Thanks I'll just use that image and save the hassle. Cheers. How do I make signalK server load at boot? - tkurki - 2019-12-08 If something doesn’t work first take a look at syslog. Also try sudo systemctl status signalk.service sudo systemctl status signalk.socket Sent from my iPhone using Tapatalk RE: How do I make signalK server load at boot? - Sailoog - 2019-12-09 Some background to this issue... Running "sudo signalk-server-setup" is the same than installing SIgnal K from the openplotter-signalk-installer app. Signal K runs as a service. After installing you should have 2 files in /etc/systemd/system: signalk.service and signalk.socket to start signal k run: sudo systemctl start signalk.service sudo systemctl start signalk.socket and to make signal k to start at startup run: sudo systemctl enable signalk.service sudo systemctl enable signalk.socket If something goes wrong you should have error entries in /var/log/syslog file RE: How do I make signalK server load at boot? - la0fd - 2020-01-03 I've got a RP3+ with OP2.0. Signal K service doesn't start. I followed the advises above: pi@openplotter:/etc/systemd/system $ sudo systemctl start signalk.service pi@openplotter:/etc/systemd/system $ sudo systemctl start signalk.socket pi@openplotter:/etc/systemd/system $ sudo systemctl enable signalk.service pi@openplotter:/etc/systemd/system $ sudo systemctl enable signalk.socket pi@openplotter:/etc/systemd/system $ sudo systemctl status signalk.service * signalk.service Loaded: loaded (/etc/systemd/system/signalk.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Fri 2020-01-03 11:13:22 CET; 1min 44s ago Main PID: 1459 (code=exited, status=127) Jan 03 11:13:22 openplotter systemd[1]: signalk.service: Service RestartSec=100ms expired, scheduling restart Jan 03 11:13:22 openplotter systemd[1]: signalk.service: Scheduled restart job, restart counter is at 5. Jan 03 11:13:22 openplotter systemd[1]: Stopped signalk.service. Jan 03 11:13:22 openplotter systemd[1]: signalk.service: Start request repeated too quickly. Jan 03 11:13:22 openplotter systemd[1]: signalk.service: Failed with result 'exit-code'. Jan 03 11:13:22 openplotter systemd[1]: Failed to start signalk.service. RE: How do I make signalK server load at boot? - Sailoog - 2020-01-04 (2020-01-03, 11:59 AM)la0fd Wrote: I've got a RP3+ with OP2.0. Signal K service doesn't start. Are you on Raspbian? Have you installed openplotter-signalk-installer from openplotter-settings? any error during installation? Do you have latest versions? If you want and out of the box system use these images: https://nx8035.your-storageshare.de/s/sL9doDML7P4CQDo |