Page 1 of 1
Sudden big crash build 3038, won't restart on Raspberry Pi
Posted: Sun 17 Apr 2016 11:13 pm
by jpsc
Code: Select all
pi@WeatherServer3 /mnt/SSD/CumulusMX $ sudo mono CumulusMX.exe
Current culture: English (United Kingdom)
Could not load signature of Devart.Common.DbConnectionBase:EnlistTransaction due to: Failed for unknown reasons.
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type 'Devart.Data.MySql.MySqlConnection' from assembly 'Devart.Data.MySql, Version=8.3.389.0, Culture=neutral, PublicKeyToken=09af7300eec23701'.
at .Main (System.String[] args) [0x00000] in <filename unknown>:0
Funny because I'm not using MySQL and haven't changed anything.
Nothing in MXdiags, no file being written on startup fail.
Re: Sudden big crash build 3038, won't restart on Raspberry
Posted: Mon 18 Apr 2016 7:40 am
by steve
Dependent assemblies are not loaded dynamically, they must be present regardless of whether the facility they provide is actually being used. The runtime checks this, not Cumulus.
If you weren't getting this error before, then something must have changed on your system to cause it. Do you still have the Devart.Data.dll and Devart.Data.MySql.dll files in your MX directory? Have you tried reinstalling - copying the files again from the 3038 distribution?
What exactly was the "big crash" that you mention?
Re: Sudden big crash build 3038, won't restart on Raspberry
Posted: Mon 18 Apr 2016 8:50 am
by jpsc
steve wrote:something must have changed on your system to cause it.
I entirely agree. Looking more closely there seem to be a number of things that have happened.
First is the DNS had failed to mountpleasanthouse.uk, this happens sometimes and a broadband router reboot usually sorts it out. I can't be certain now, but I think I tried internally to connect to the webserver by IP, and the Cumulus console. Anyway I decided to reboot the Pi so ran the stop and reboot script first which is my habit.
The situation now is that Apache won't start, pointing to SD corruption, but Cumulus is on a separate SSD, so it failing to start points to corruption of that. The last MXdiags file actually has a proper shutdown sequence from when I rebooted in the evening (I'm not at home at the moment so can't be sure of times) the Pi stopped responding to external access sometime in the afternoon.
I'll reinstall Cumulus to see if it fixes that, but it looks like I need to build a new OS to sort out Apache.
Thanks for the help.
Re: Sudden big crash build 3038, won't restart on Raspberry
Posted: Mon 18 Apr 2016 9:16 am
by steve
Is mono on the SD or the SSD? Possibly corruption of mono, or other system files, may lead to the required assembly not being found, even if the Cumulus installation itself is OK.
Re: Sudden big crash build 3038, won't restart on Raspberry
Posted: Mon 18 Apr 2016 10:33 am
by jpsc
OK, pointing to fewer simultaneous errors.
Re: Sudden big crash build 3038, won't restart on Raspberry
Posted: Wed 20 Apr 2016 12:17 am
by jpsc
That was it, new OS has fixed everything. There must have been SD card corruption, and rebooting to get my DNS back triggered it