Raised This Month: $ Target: $400
 0% 

ws2_32.dll error while starting server..


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
murdocklawless
Junior Member
Join Date: Jan 2010
Old 01-17-2010 , 05:31   ws2_32.dll error while starting server..
Reply With Quote #1

hi to all,

my config :

windows 2000 server sp3
metamod 1.80
sourcemod 1.2.5-hg2827
counter strike source

I got an error and it says "the procedure entry point getaddrinfo could not be located in the dynamic link library WS2_32.dll" when I tried to start css server. I hit ok button in the error message and server seems to be started. I write plugin_print to the server console and I see source mod. also I write sm version and I can get information about source mod from server console. when I joined to server and started to play, game locked up in few seconds.

I also tried with sourcemod 1.3.1-hg2900 but still got same error.

how can I solve this problem?
murdocklawless is offline
murdocklawless
Junior Member
Join Date: Jan 2010
Old 01-19-2010 , 03:10   Re: ws2_32.dll error while starting server..
Reply With Quote #2

I think I'am the only one having this error?
murdocklawless is offline
InflatableSoulmate
Senior Member
Join Date: Oct 2008
Location: *.mdmp
Old 01-19-2010 , 03:31   Re: ws2_32.dll error while starting server..
Reply With Quote #3

My best guesstimate would be that something could possibly be wrong with your version of windows? It looks to me like something is compiled against a library that does not have a function interface that it expects... That either means that you may need to update windows to an expected Service Pack for Win2k, or some sort of malware may have replaced your ws2_32.dll with a dll that functions similarly, but does something you don't want it to, and they forgot to implement that function.

I think ws2_32 is probably something to do with winsock on Win2k (getaddrinfo would be some sort of function that returns information about an internet address?). Someone who actually knows something might be able to shed some light on this.
__________________
Inflatable Soulmate
Server Operations Manager
Brothers of Chaos Multi-Gaming Clan
http://www.brothersofchaos.com/
InflatableSoulmate is offline
CrimsonGT
Veteran Member
Join Date: Oct 2007
Location: Gainesville, FL
Old 01-19-2010 , 08:14   Re: ws2_32.dll error while starting server..
Reply With Quote #4

Delete the Query Cache extension.
CrimsonGT is offline
recon0
Veteran Member
Join Date: Sep 2007
Location: US
Old 01-19-2010 , 16:59   Re: ws2_32.dll error while starting server..
Reply With Quote #5

Sounds like a corrupt Winsock DLL.
__________________
recon0 is offline
DS
SourceMod Developer
Join Date: Sep 2004
Location: WI, USA
Old 01-20-2010 , 03:25   Re: ws2_32.dll error while starting server..
Reply With Quote #6

This has come up once before so I decided to look into the problem. It's not a problem with Windows exactly. It's just the webternet extension (which is used by the SourceMod gamedata updater) is being built against a libcurl binary that expects the getaddrinfo() function to exist. This only exists on Windows XP and greater.

Libcurl is able to be built to target Windows 2000, however, so I've filed a bug on this: https://bugs.alliedmods.net/show_bug.cgi?id=4234

In the report, I attached a webternet binary that should hopefully resolve the problem. Please give this a try and report back in the bug report.
DS is offline
murdocklawless
Junior Member
Join Date: Jan 2010
Old 01-20-2010 , 05:17   Re: ws2_32.dll error while starting server..
Reply With Quote #7

Quote:
Originally Posted by CrimsonGT View Post
Delete the Query Cache extension.
how shall I do that?
murdocklawless is offline
murdocklawless
Junior Member
Join Date: Jan 2010
Old 01-20-2010 , 05:25   Re: ws2_32.dll error while starting server..
Reply With Quote #8

Quote:
Originally Posted by DS View Post
This has come up once before so I decided to look into the problem. It's not a problem with Windows exactly. It's just the webternet extension (which is used by the SourceMod gamedata updater) is being built against a libcurl binary that expects the getaddrinfo() function to exist. This only exists on Windows XP and greater.

Libcurl is able to be built to target Windows 2000, however, so I've filed a bug on this: https://bugs.alliedmods.net/show_bug.cgi?id=4234

In the report, I attached a webternet binary that should hopefully resolve the problem. Please give this a try and report back in the bug report.
I'm sorry I forgot the mention cssdm. the problem about to happen when I tried to run cssdm 2.1.0.1 version. I also tried cssdm 0.97 and if sourcemod is installed error occured again but if sourcemod not installed cssdm 0.97 ran without errors.

Last edited by murdocklawless; 01-20-2010 at 06:13.
murdocklawless is offline
BAILOPAN
Join Date: Jan 2004
Old 01-20-2010 , 07:16   Re: ws2_32.dll error while starting server..
Reply With Quote #9

Try following DS's directions.
__________________
egg
BAILOPAN is offline
raydan
Senior Member
Join Date: Aug 2006
Old 01-20-2010 , 07:29   Re: ws2_32.dll error while starting server..
Reply With Quote #10

i was post this bug
https://bugs.alliedmods.net/show_bug.cgi?id=4098

tested your new webternet.ext.dll, load success
but show
L 01/20/2010 - 21:23:04: [UPDATER] --- BEGIN ERRORS FROM AUTOMATIC UPDATER ---
L 01/20/2010 - 21:23:04: [UPDATER] Parse error in update manifest: A property was declared outside of a section
L 01/20/2010 - 21:23:04: [UPDATER] --- END ERRORS FROM AUTOMATIC UPDATER ---

SourceMod Version: 1.3.0-dev
SourcePawn Engine: SourcePawn 1.1, jit-x86 (build 1.3.0-dev)
SourcePawn API: v1 = 4, v2 = 3
Compiled on: Oct 29 2009 03:20:47
Build ID: 2841:f9ba61a0f48b-dev
http://www.sourcemod.net/

Last edited by raydan; 01-20-2010 at 07:37.
raydan is offline
Reply



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

Forum Jump


All times are GMT -4. The time now is 19:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode