"Ailin Org" <AilinOrg85322 (AT) yahoo (DOT) com> wrote in
news:497064bd$1@forums-1-dub:
Quote:
Hi,
I am using SQL Anywhere 10.0.1.3415. When there is a error in the
synchronization, say wrong userid for synchronization, the database
still exists in the tray even if the program is terminated. Would you
please kindly advise how to shutdown the database ? |
There are two SQL Anywhere processes that run on the remote device. When
you say "the database still exists" do you mean dbmlsync or dbsrv10?
If it's dbmlsync that is still running, you can add the -k switch to the
dbmlsync start line to tell dbmlsync to shut down on completion, but if
an error occurs during the synchronization, the windows will not close
unless you have also redirected the dbmlsync output to a text file using
the -o or -ot switch. We refuse to shut down if the output is not
written to a text file since the open window is the only place you will
be able to see the error.
If it's dbsrv10 that is still running, then you should look into the
autostop connection parameter, so a shutdown of the DB Server will occur
when there are no more connections to the remote database. I suspect
you're actually talking about dbmlsync though.
Quote:
And, I have
accidentially deleted the Log file and RID file of the database. Now,
the mobilsync complained that it could not synchronize the records.
Please advise how I can recover it. |
The RID file will be re-created, but dbmlsync relies on the transaction
log to determine what operations to send to the MobiLink server. If you
have deleted a transaction log that contained operations that had not
yet been sent to the MobiLink Server, you will NEVER be able to send
those
operations. If you are just in a test environment and those operations
are not important, you can drop and re-create the synchronization
subscription at the remote database, and dbmlsync will start to send
again
from the current log offset.
--
Reg Domaratzki, Sybase iAnywhere Solutions
Please reply only to the newsgroup
iAnywhere Developer Community : http://www.ianywhere.com/developer
iAnywhere Docs : http://www.ianywhere.com/developer/product_manuals
ASA Patches and EBFs : http://downloads.sybase.com/swd/base.do
-> Choose SQL Anywhere Studio
-> Set filter to "Display ALL platforms IN ALL MONTHS"