osgrid.org
https://forums.osgrid.org/

Command error: System.IO.IOException: Sharing violation
https://forums.osgrid.org/viewtopic.php?f=9&t=6323
Page 1 of 1

Author:  Jessi deVil [ Fri Feb 22, 2019 12:23 pm ]
Post subject:  Command error: System.IO.IOException: Sharing violation

Hello,

i am running a Standalone ( OSgrid OpenSimulator 0.9.1.dev.695d807) on an Ubuntu 18.04 Server with MariaDB and Mono JIT compiler version 5.18.0.240. At Startup i get a lot of this red Errors https://gyazo.com/263ec5e8d7c15fb273463c74e3a553f1

[quote]13:22:45 - Command error: System.IO.IOException: Sharing violation on path /home/opensim/bin/[Unknown]:
at System.IO.FileStream.ReadData (System.Runtime.InteropServices.SafeHandle safeHandle, System.Byte[] buf, System.Int32 offset, System.Int32 count) [0x0002d] in <04750267503a43e5929c1d1ba19daf3e>:0
at System.IO.FileStream.ReadInternal (System.Byte[] dest, System.Int32 offset, System.Int32 count) [0x00026] in <04750267503a43e5929c1d1ba19daf3e>:0
at System.IO.FileStream.Read (System.Byte[] array, System.Int32 offset, System.Int32 count) [0x000a1] in <04750267503a43e5929c1d1ba19daf3e>:0
at System.IO.StreamReader.ReadBuffer () [0x000b3] in <04750267503a43e5929c1d1ba19daf3e>:0
at System.IO.StreamReader.Read () [0x00021] in <04750267503a43e5929c1d1ba19daf3e>:0
at System.TermInfoDriver.ReadKeyInternal (System.Boolean& fresh) [0x00083] in <04750267503a43e5929c1d1ba19daf3e>:0
at System.TermInfoDriver.ReadKey (System.Boolean intercept) [0x00000] in <04750267503a43e5929c1d1ba19daf3e>:0
at System.ConsoleDriver.ReadKey (System.Boolean intercept) [0x00000] in <04750267503a43e5929c1d1ba19daf3e>:0
at System.Console.ReadKey (System.Boolean intercept) [0x00000] in <04750267503a43e5929c1d1ba19daf3e>:0
at OpenSim.Framework.Console.LocalConsole.ReadLine (System.String p, System.Boolean isCommand, System.Boolean e) [0x00086] in <d89e2d6e436f4517a7aef2018145c81c>:0
at OpenSim.Framework.Console.CommandConsole.Prompt () [0x00012] in <d89e2d6e436f4517a7aef2018145c81c>:0
at OpenSim.Application.Main (System.String[] args) [0x00499] in <7c41ee9f91d84600b92289f01e8266a6>:0 [/quote]

It seems the Server although works fine. Couldn't find any Issues Inworld, but ok maybe i just couldn't find them now. However, i would prefer to get it solved.

Regards

Chris

Author:  dan banner [ Mon Feb 25, 2019 5:47 am ]
Post subject:  Re: Command error: System.IO.IOException: Sharing violation

Hi, You might check folder and file permissions inside the bin/ as that seems to be where the error occurs.

Author:  Jessi deVil [ Sat Mar 09, 2019 2:38 pm ]
Post subject:  Re: Command error: System.IO.IOException: Sharing violation

OK, the Erros are gone. I don't know why. Spent hours in finding the problem and gave up for some days. Yesterday i made the Server Updates with apt-get dist-upgrade and then rebooted and now the Errors are gone. Not sure if that has something to do with it. But if i learned one thing about Opensim then it is: If something good happens just take it and don't question it :).

So this can be closed

Thank you

Jessi

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/