Moving MX to a new computer
Posted: Thu 18 Aug 2016 12:17 am
Hi people. I've been running MX on a Raspberry Pi for almost a year but want to move it to an Ubuntu computer. I moved the CumulusMX folder to it's new home and it starts to run but crashes after a few seconds. The new folder structure is a little different and I'm thinking that may be where my problem is but not sure. Here is the error.
Connected to station
8:05:00 PM Downloading Archive Data
[ERROR] FATAL UNHANDLED EXCEPTION: System.Net.Sockets.SocketException: Address already in use
at System.Net.Sockets.Socket.Bind (System.Net.EndPoint local_end) <0xb3d8ac18 + 0x000c7> in <filename unknown>:0
at System.Net.EndPointListener..ctor (System.Net.IPAddress addr, Int32 port, Boolean secure) <0xb3d887b0 + 0x000ff> in <filename unknown>:0
at System.Net.EndPointManager.GetEPListener (System.String host, Int32 port, System.Net.HttpListener listener, Boolean secure) <0xb3d88388 + 0x00267> in <filename unknown>:0
at System.Net.EndPointManager.AddPrefixInternal (System.String p, System.Net.HttpListener listener) <0xb3d87ee0 + 0x000af> in <filename unknown>:0
at System.Net.EndPointManager.AddListener (System.Net.HttpListener listener) <0xb3d87aa8 + 0x000e3> in <filename unknown>:0
I also looked in the MXdiags folder at the log and I see this error.
2016-08-17 20:04:59.152 Reading archive data
2016-08-17 20:04:59.153 Loading last N hour data from data logs: 8/17/2016 7:47:00 PM
2016-08-17 20:04:59.521 Error at line 9516 of data/Aug16log.txt : Input string was not in a correct format.
2016-08-17 20:04:59.521 Please edit the file to correct the error
2016-08-17 20:04:59.522 Loaded 0 entries to last hour data list
2016-08-17 20:04:59.866 Error at line 9516 of data/Aug16log.txt : Input string was not in a correct format.
2016-08-17 20:04:59.866 Please edit the file to correct the error
2016-08-17 20:04:59.866 Loaded 0 entries to last 3 hour data list
2016-08-17 20:05:00.210 Error at line 9516 of data/Aug16log.txt : Input string was not in a correct format.
2016-08-17 20:05:00.210 Please edit the file to correct the error
2016-08-17 20:05:00.210 Loaded 0 entries to graph data list
2016-08-17 20:05:00.554 Error at line 9516 of data/Aug16log.txt : Input string was not in a correct format.
2016-08-17 20:05:00.554 Please edit the file to correct the error
2016-08-17 20:05:00.554 Loaded 0 entries to recent data list
2016-08-17 20:05:00.575 Loaded 100 entries to daily data list
2016-08-17 20:05:00.591 Get Archive Data
I looked at the file and can't see anything wrong with the data.
Anyone have any ideas?
Mike
Connected to station
8:05:00 PM Downloading Archive Data
[ERROR] FATAL UNHANDLED EXCEPTION: System.Net.Sockets.SocketException: Address already in use
at System.Net.Sockets.Socket.Bind (System.Net.EndPoint local_end) <0xb3d8ac18 + 0x000c7> in <filename unknown>:0
at System.Net.EndPointListener..ctor (System.Net.IPAddress addr, Int32 port, Boolean secure) <0xb3d887b0 + 0x000ff> in <filename unknown>:0
at System.Net.EndPointManager.GetEPListener (System.String host, Int32 port, System.Net.HttpListener listener, Boolean secure) <0xb3d88388 + 0x00267> in <filename unknown>:0
at System.Net.EndPointManager.AddPrefixInternal (System.String p, System.Net.HttpListener listener) <0xb3d87ee0 + 0x000af> in <filename unknown>:0
at System.Net.EndPointManager.AddListener (System.Net.HttpListener listener) <0xb3d87aa8 + 0x000e3> in <filename unknown>:0
I also looked in the MXdiags folder at the log and I see this error.
2016-08-17 20:04:59.152 Reading archive data
2016-08-17 20:04:59.153 Loading last N hour data from data logs: 8/17/2016 7:47:00 PM
2016-08-17 20:04:59.521 Error at line 9516 of data/Aug16log.txt : Input string was not in a correct format.
2016-08-17 20:04:59.521 Please edit the file to correct the error
2016-08-17 20:04:59.522 Loaded 0 entries to last hour data list
2016-08-17 20:04:59.866 Error at line 9516 of data/Aug16log.txt : Input string was not in a correct format.
2016-08-17 20:04:59.866 Please edit the file to correct the error
2016-08-17 20:04:59.866 Loaded 0 entries to last 3 hour data list
2016-08-17 20:05:00.210 Error at line 9516 of data/Aug16log.txt : Input string was not in a correct format.
2016-08-17 20:05:00.210 Please edit the file to correct the error
2016-08-17 20:05:00.210 Loaded 0 entries to graph data list
2016-08-17 20:05:00.554 Error at line 9516 of data/Aug16log.txt : Input string was not in a correct format.
2016-08-17 20:05:00.554 Please edit the file to correct the error
2016-08-17 20:05:00.554 Loaded 0 entries to recent data list
2016-08-17 20:05:00.575 Loaded 100 entries to daily data list
2016-08-17 20:05:00.591 Get Archive Data
I looked at the file and can't see anything wrong with the data.
Anyone have any ideas?
Mike