Go Back   RunUO - Ultima Online Emulation > RunUO > Server Support on Windows

Server Support on Windows Get (and give) support on general questions related to the RunUO server itself.

Reply
 
Thread Tools Display Modes
Old 04-15-2006, 10:38 PM   #1 (permalink)
Newbie
 
Join Date: Nov 2004
Location: York Haven, PA
Age: 32
Posts: 70
Send a message via ICQ to toddjumper Send a message via AIM to toddjumper Send a message via MSN to toddjumper
Default What's this? System.IO Crash

I just did a clean install of RunUO 1.0.0 and had it running for a few hours then I got this crash. No custom scripts, all distro files. Anyone have a clue what could have caused it?

Operating System: Microsoft Windows NT 5.1.2600.0
.NET Framework: 1.1.4322.2032
Time: 4/15/2006 9:16:48 PM
Mobiles: 28725
Items: 260596
Clients:
- Count: 0

Exception:
System.IO.IOException: The requested operation cannot be performed on a file with a user-mapped section open.

at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at System.IO.StreamWriter.CreateFile(String path, Boolean append)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
at System.IO.StreamWriter..ctor(String path)
at Server.Misc.StatusPage.OnTick()
at Server.Timer.Slice()
at Server.Core.Main(String[] args)
toddjumper is offline   Reply With Quote
Old 04-15-2006, 10:45 PM   #2 (permalink)
Forum Expert
 
Join Date: Oct 2002
Posts: 1,126
Default

it's trying to update web/status.html. Were you doing anything with this? Does RunUO have permission to create/modify it?

Alternatively, if you don't need or want this feature, you can disable it by commenting out the "new StatusPage().Start();" line in scripts\misc\WebStatus.cs.

Last edited by Aenima; 04-15-2006 at 10:47 PM.
Aenima is offline   Reply With Quote
Old 04-15-2006, 11:29 PM   #3 (permalink)
Newbie
 
Join Date: Nov 2004
Location: York Haven, PA
Age: 32
Posts: 70
Send a message via ICQ to toddjumper Send a message via AIM to toddjumper Send a message via MSN to toddjumper
Default

I never use the web feature, and I hadn't touched it. This was a clean install, and have run shards for years and first time this has happened. Thanks for the tip on how to disable it.
toddjumper is offline   Reply With Quote
Old 04-16-2006, 01:59 AM   #4 (permalink)
Forum Expert
 
Thistle's Avatar
 
Join Date: Mar 2005
Posts: 1,155
Default

Can you restart the server in debug mode?
Thistle is offline   Reply With Quote
Old 04-16-2006, 02:32 AM   #5 (permalink)
Newbie
 
Join Date: Nov 2004
Location: York Haven, PA
Age: 32
Posts: 70
Send a message via ICQ to toddjumper Send a message via AIM to toddjumper Send a message via MSN to toddjumper
Default

It's been running in debug all day since that crash but the crash never occured again, and I have never seen it before. I am assuming the crash did not repeat because I disabled the webstatus.html in the script so therefore the problem was already resolved, obviously a bug in the webstatus script.
toddjumper is offline   Reply With Quote
Old 04-16-2006, 03:06 AM   #6 (permalink)
Forum Expert
 
Join Date: Oct 2002
Posts: 1,126
Default

It's an environmental thing. I'm guessing that for one reason or another the RunUO process did not have permission to edit/create the status.html file or the web directory.
This would explain why it has worked in the past - and for everyone else - but not this time.
Aenima is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5