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 06-23-2006, 05:52 PM   #1 (permalink)
 
Join Date: Dec 2005
Posts: 3
Default Listener bind exception

Hello fellas!

I've been searching the forums since yesterday but wasn't able to find a solution.

First I'd like to provide some info about my system:
  • Windows XP SP2 fully updated;
  • Network, Chipset, Video and Audio drivers updated;
  • .NET Framework 2.0.50727;
  • Athlon XP 2000+;
  • 512 MB DDR @ 333MHz.

The machine is stable (no crashes, no hardware conflicts), clean (no viruses/spy/adware) and overall it has a great performance, considering its hardware specs. I've disabled the windows firewall and it's running ZoneAlarm and AVG.

I've installed RunUO 2 RC1 last evening. Installed UOGateway, razor and UOAM, all the latest versions available. Ran runuo.exe, the server loaded, I created an administrator account and logged in using the fully patched ML client.

Both the server and client were running in this same machine.

Fiddled around a little but no changes were made (I just wandered about for a few minutes). [Save. [Restart and when reloading runuo complained about this:

Quote:
Originally Posted by Runuo Console
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...done (cached)
Scripts: Compiling VB.NET scripts...no files found.
Scripts: Verifying...done (2102 items, 542 mobiles)
Regions: Loading...done
World: Loading...done (96334 items, 4581 mobiles) (3,58 seconds)
Reports: Stats: Loading...done
Reports: Staff: Loading...done
Listener bind exception:
System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at Server.Network.Listener.Bind(IPAddress ip, Int32 port)

Address: 127.0.0.1:2593
Address: 192.168.1.12:2593
Address: my.correct.wan.ip:2593
Seeing that it loaded my IP addresses (and correctly detected my external IP) I tried to log in but after entering Username and Password my client would show a message telling that it "couldn't connect to Ultima Online". The console does NOT show a connection attempt.

I then closed the client and UOG. Tried to close RunUO but the console window would just stay there, no matter what. Tried to kill the process to no avail (it refused to die).

Well, I restarted the machine. Deleted my RunUO folder, extracted all the files again (clean install), and was able to create an admin account and log in.

I didn't even move this time. Waited fifteen minutes, [save, [restart, the same thing happened.

I'm not using any custom systems, nor have made any change to the default scripts.

What I have already tried to solve the problem:
  • Updated network card drivers;
  • Shutting down both ZoneAlarm and AVG prior to run the server;
  • Adding my IP to ServerList.cs one at a time(loopback, internal 192 and external);
  • Reinstalled .NET Framework (thrice);
  • Reinstalled Runuo (four times);

All to no avail. The same thing happens every time. I'm able to run the server right after a clean install, but once I've closed it ONCE, it will show the exact same error in the next start.

After uninstalling and reinstalling the .NET Framework I'm able to close runuo at will.

ATM I'm stuck with this exception in my console and there is nothing I can do about it, I ran out of ideas. I'm using the default scripts, no modifications have been made.

I'm not using any kind of P2P client.

If someone have a fix for this or can at least hint me about a workaround I'd be most grateful.

I tried to describe the problem the best I could. If I left out any relevant information that may help you guys, please let me know.

Thanks in advance for your time.

Lex.

Last edited by Lex Looter; 06-23-2006 at 05:54 PM.
Lex Looter is offline   Reply With Quote
Old 06-23-2006, 09:08 PM   #2 (permalink)
 
Join Date: Dec 2005
Posts: 3
Default

Update:
Changed Listener.Port in ServerList.cs and was able to load the server and log in.

However, upon restarting, the same error occurred. It will save the world, open a new instance of RunUO - the exception will be thrown in this second window, while the first one just stays opened in the background.

I've then tried to close both windows but the old one wouldn't close, not even after trying to kill the process. Five minutes or so after that I got a BSOD with this information:

Quote:
Originally Posted by BSOD
The problem seems to be caused by the following file: AFD.SYS

DRIVER_LEFT_LOCKED_PAGES_IN_PROCESS

Stop: 0x000000CB (0XF6BC42ED, 0XF6BC02C7, 081B534D8, 0X00000001)

afd.sys - Address f6bc42ed
base at f6bb5000
datestamp 41107ebs
Event viewer shows the following message under applications:
Quote:
Originally Posted by EV
Description:
A device driver is leaking locked I/O pages causing system degradation. The system has automatically enabled tracking code in order to try and catch the culprit.
The server works ok every time I restart my machine.

Could it be that, perhaps because of some setting in my PC, Runuo is currently unable to unbind the socket before shutting down?

That would explain why new instances will always tell the socket isn't available - "Only one usage is usually permitted".

Thanks for your help.
Lex Looter is offline   Reply With Quote
Old 06-28-2006, 07:54 PM   #3 (permalink)
 
Join Date: Dec 2005
Posts: 3
Default

Five days and I'm still unable to solve this problem. Going back to 1.0.0 for now. Thanks for the interest.
Lex Looter is offline   Reply With Quote
Old 06-28-2006, 08:01 PM   #4 (permalink)
 
Join Date: Sep 2002
Location: St. Louis MO
Age: 34
Posts: 183
Send a message via ICQ to Admin_V Send a message via MSN to Admin_V
Default

had same issue resolved it by reformatting comp and reinstalling using drivers that came with my network card
__________________
History is the meave of things outside of life, Not for those still within its loom...
Admin V Forum Moderator
The RunUO.com Forum Moderator Team
http://runuo.com
http://krylon.us
Admin_V is offline   Reply With Quote
Old 06-28-2006, 08:04 PM   #5 (permalink)
Forum Expert
 
Join Date: Mar 2005
Location: Berlin, Germany
Age: 27
Posts: 1,136
Send a message via ICQ to Sotho Tal Ker Send a message via MSN to Sotho Tal Ker
Default

I would suppose your system still thinks that the port is held by the runuo server you just restarted and so the new one cannot use the port. Check in your taskmanager to see when the old one terminates and the new one starts.
Sotho Tal Ker 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