on 2012 Oct 24 4:29 AM
Hello,
Error that I need help with,
[-10261] Unable to bind listener socket to port (system error 10013)
server: windows server 2008 R2Standard 64 bit
Mobilink: 11.0.1.2789
database configuratie parameter:
D:\\Databases\\Sybase\\imob\\imobopl\\imob.db -n imobopl -c 20M -ch 50M -x tcpip(serverport=52007)
mobilink startup script:
REM REM Starting the Mobilink Server REM Parameter -zu+ inserts every new ml_user in the central database automatically REM REM Temporaer –ze to Generate Example Skripts timeout 180 start mlsrv11 -c "dsn=imobopl;uid=imob;pwd=moby" -fr -zs MLServer -zu+ -v -o "D:DatabasesSybaseimobimoboplimobopldbmlsrv.txt" -x tcpip(host=vm-sybtst01;port=52007)
according to netstat -tna there is a listener at the 52007 port, I can start the mobilink without specifying the -x tcpip(host=vm-sybtst01;port=52007) option, but then I get the following error on the clients that try to sync. Unable to read 0 bytes. (On client side I specify the ip and port of the server). Is there some sort of setting that needs to be changed on the server or is there something else wrong, any help would be appreciated.
Thanks Dimitri De Proft
I found the problem, it seems I made the mistake of assigning the same port (52007) to the database AND to the Mobilink. For some reason I thought this was necessary, but it turned out this was causing the problems. Changing one of them solved it.
D:DatabasesSybaseimobimoboplimob.db -n imobopl -c 20M -ch 50M -x tcpip(serverport=52007)
start mlsrv11 -c "dsn=imobopl;uid=imob;pwd=moby" -fr -zs MLServer -zu+ -v -o "D:DatabasesSybaseimobimoboplimobopldbmlsrv.txt" -x tcpip(host=vm-sybtst01;port=52007)
Thanks for the help, the _log_all=9 and netstat really helped me find the problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
[-10261] Unable to bind listener socket to port (system error 10013)
This means that another process is already bound to this port (52007).
according to netstat -tna there is a listener at the 52007 port
Meaning that the port is definitely in use by another application prior to launching MobiLink...? Two applications cannot listen on the same port (on the same IP address) - they must be different.
Do you know which other process is already listening on this port on the server? Is it another MobiLink server instance you have previously launched perhaps? If you're not sure which application has bound to this port currently, you can use 'TcpView' from Microsoft SysInternals to find out.
You'll need to stop the already running application on that port and then launch the MobiLink server in order for it to bind to port 52007 and allow your synchronizations to make it to the server.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have a few thoughts. Some are obvious, but they must be asked:
If the _log_all=9 setting shows no activity, then your sync request isn't making it to MobiLink server.
Russ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
11 | |
10 | |
10 | |
10 | |
8 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.