Advantage Developer Zone


Advantage Knowledgebase Item

Ref No:
Last Modified:
Tuesday, October 12, 2010
Advantage Database Server ( General )
Error Codes
Thousands of 10038 Errors Logged to Error Logs Upon Startup
Problem Description:
When starting ADS (Advantage Database Server) thousands of 10038 errors are being logged, ads.exe uses 40-50% CPU, allocated memory begins climbing.
The 10038 is an OS error being returned to Advantage. The OS error is: "An operation was attempted on something that is not a socket." This indicates that the server is trying to listen on its set of sockets, but Windows is telling Advantage that one of the handles is not a socket. This may indicate that there is a corrupt socket. One of the following may provide a solution:

1. Confirm that the LAN Port and the Internet Port for ADS are different.
2. It's possible that one of the communication stacks is corrupt. You can repair the IP stack by following the steps in this KB: Repairing the IP Protocol Stack on Windows XP/2003 Also you may want to uninstall and reinstall an IPX/SPX stack if it's installed.
3. Check the MSINFO32 / NETWORK / Protocol report to identify if a 3rd party app such as Antivirus software has created virtual sockets. If so, attempt to uninstall the application to see if the problem persists - you may try reinstalling if it does work to see if it resolves the corrupt stack.
Was This Item Helpful?