novy wrote:error SocketException: Address already in use Process dead but pidfile exist
anyone know how to fix this ?
Hello Novy
On top of the screenshot I can see this text:
/etc/init.d/cumulusmx status
Sep 16 ..... CumulusMX init.d-Script: CumulusMx is being startet at system boot
Process dead but Pidfile exist
And then, you are trying to start CumulusMX manually again.....and it tells you, that it can not bind to the TCP Port, because it is already in use.
Maybe CumulusMX process died, but the TCP Port is still in use
I would suggest the follwoing: start CumulusMX manually, but try another TCP Port for the WebUI:
sudo mono CumulusMX.exe -port 8888
Does it work without an error? If yes, test the WebUI by connecting tp Port 8888 (http://ip_address:8888)
Maybe alternatively you can try to kill CumulusMX completely (or Mono in this case)
the command
pidof mono will give you one or more numbers
sudo kill -9 [number]
Now you can try to start CumulusMX manually again.
But it looks like your CumulusMX which is being started by the init.d script is crashing.....so we should remove the init.d Script you are using from /etc/init.d to not automatically start it at system boot. If you are using my init.d script do a:
sudo mv /etc/init.d/cumulusmx /home/pi/cumulusmx to move it from /etc/init.d to /home/pi/
when you reboot now, CumulusMX will not be started at systemboot anymore.
Once you found the error why CumulusMX died at boot, you can move the init.d script back to /etc/init.d
so 3 options for you.......