Hi, I have this "remoteDB/mobilink/oracle environment" that I'm updating and now that I'm trying to test synchronization I'm getting the message that request cannot be completed without any explanation. What could cause this? Things I've checked and done:I can reach the mobilink server and the consolidated database. The mobilink server can also reach the consolidated database. I've seen this url: http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.help.sqlanywhere.12.0.1/saerrors/mlsrv-errors-by-code.html And I have also checked the mobilink logs on the server with following settnigs and the log shows nothing... there is no indication that any connection was made. These are the settings I use: -v -o C:\MobilinkLog\mls.txt -os 10m -cn 5 -zu+ -w 100 -ds 0 And this is what I see in SQL Anywhere Mobilink client: I. 2015-05-28 14:06:32. Connecting to MobiLink server at 'host=xxx.xxx.xxx.xxx;port=2439' using 'TCPIP' I. 2015-05-28 14:06:32. Begin upload I. 2015-05-28 14:06:32. Uploading table operations I. 2015-05-28 14:06:32. Waiting for MobiLink to apply upload E. 2015-05-28 14:06:32. Error code from MobiLink server: -10368 E. 2015-05-28 14:06:32. Server error: Unable to complete the request E. 2015-05-28 14:06:32. Error code from MobiLink server: -10368 E. 2015-05-28 14:06:32. Server error: Unable to complete the request I. 2015-05-28 14:06:32. End synchronizing subscription(s) 'XXXX' I. 2015-05-28 14:06:32. Disconnecting from MobiLink server I. 2015-05-28 14:06:32. Synchronization completed |
The simplest explanation to the ML Client indicating that the ML Server returned error X, but the ML Server having no record of the synchronization is that the ML Client is connecting to a different ML Server. Are you sure that this is the ML Server running on IP Addres xxx.xxx.xxx.xxx ? Is there any other network infrastructure between the ML Client and ML Server ? If you increase the verbosity of the ML Server to -v+, is there any indication of a synchronization? Reg Reg's answer is underscored by the fact that your MLSRV12 console log terminates prior to the sync time related to that error: 2015-05-28 14:06:32. While that could just be due to you not including the whole console log or you are looking for a different ML server. TIP: requests will show up with their session information between those angle-brackets ... and it won't be the lines with '<main>'.
(28 May '15, 11:53)
Nick Elson S...
|
My sincere apologies. I was indeed connected to the wrong server. Simple as that. I got the IP of the server from another project of mine and pinged the server to see if I could reach it but offcourse I could since it was a different mobilink server. After your responses I did an ipconfig on the server itself and saw the IP did not match. Sorry !! THanks for letting us
(01 Jun '15, 08:30)
Reg Domaratzki
|
Look again at the MobiLink server -o log, that is where the error is occurring... it is absolutely impossible that the "log shows nothing"
I kid you not, I restarted mobilink at 1 o'clock and was trying to synchronize at 2 o'clock... I can only see stuff from the restart, THIS IS THE LAST MESSAGE IN THE LOG FILE:
FWIW, I surrounded the log text with a "pre" tag pair (in angle brackets, of course) to format it as code...
If the log has been renamed currently, what does the previous log tell about the failed sync?
From the docs:
So you might add more levels to -v to get more output details...