Page 1 of 1

CumulusMX doesnt start anymore

Posted: Thu 28 May 2015 5:19 pm
by nitrx
After some editing of my samba.conf it seems that CUmulusMX doesn start , I get these errors in the console (no errors in the diags..)

pi@raspberry ~/Cumulus $ mono CumulusMX.exe
Current culture: English (United Kingdom)
Serial: B89749505E144B564ADFE3EA8FC394AA
System.UnauthorizedAccessException: Access to the path "/home/pi/Cumulus/serial.txt" is denied.
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool,System.Text.Encoding)
at System.IO.File.WriteAllText (System.String path, System.String contents, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00000] in <filename unknown>:0
at CumulusMX.Cumulus..ctor (Int32 HTTPport, Int32 WSport) [0x00000] in <filename unknown>:0
at .Main (System.String[] args) [0x00000] in <filename unknown>:0
**** An error has occurred - please zip up the MXdiags folder and post it in the forum ****
Press Enter to terminate

Re: CumulusMX doesnt start anymore

Posted: Thu 28 May 2015 5:28 pm
by steve
It doesn't have write access to the files in its directory. Would you not normally start it with sudo anyway?

Re: CumulusMX doesnt start anymore

Posted: Thu 28 May 2015 5:30 pm
by nitrx
steve wrote:It doesn't have write access to the files in its directory. Would you not normally start it with sudo anyway?
Omg it's too late again :groan: I started uo with sudo and it works , sorry :oops: