|
Home > Archive > SQL Anywhere Mobile > August 2005 > dblsn shutdown
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Ron van der Wiele 2005-08-01, 7:26 am |
| Question concerning ASA 9.02.3137:
If have dblsn.exe running on a pocket-pc, I get an error if I want to shut
it down:
"Failed to start the internal database! Only one instance of dblsn.exe is
allowed."
The Command is: dblsn -l "action='DBLSN FULL SHUTDOWN'"
Does anyone knows this problem or has any solution?
Regards, Ron
| |
| Reg Domaratzki \(iAnywhere Solutions\) 2005-08-03, 11:24 am |
| As the error mentionned, you can only have one instance of dblsn running at
once, and you are attempting to start a second. The DBLSN FULL SHUTDOWN
action is intended to be fired as a result of a message that was received.
For example, your dblsn start line might look like :
dblsn -i 60 -ot lsn.out -u lsn1-w sql -v3
-x tcpip(host=192.32.31.156;port=3423)
-l " subject=sync;action=
'start dbmlsync.exe @dbmlsync.txt'"
-l " subject=stop;action=
'DBLSN FULL SHUTDOWN'"
In the above example, when a message is received with subject "sync",
dblmsync is executed, and when a message is received with subject "stop",
dblsn is shutdown.
--
Reg Domaratzki, Sybase iAnywhere Solutions
Sybase Certified Professional - Sybase ASA Developer Version 8
Please reply only to the newsgroup
iAnywhere Developer Community : http://www.ianywhere.com/developer
iAnywhere Documentation : http://www.ianywhere.com/developer/product_manuals
ASA Patches and EBFs : http://downloads.sybase.com/swx/sdmain.stm
-> Choose SQL Anywhere Studio
-> Set "Platform Preview" and "Time Frame" to ALL
"Ron van der Wiele" <rwiele@zonnet.nl> wrote in message
news:42ee04f6@forums
-1-dub...
> Question concerning ASA 9.02.3137:
>
> If have dblsn.exe running on a pocket-pc, I get an error if I want to shut
> it down:
>
> "Failed to start the internal database! Only one instance of dblsn.exe is
> allowed."
>
> The Command is: dblsn -l "action='DBLSN FULL SHUTDOWN'"
>
> Does anyone knows this problem or has any solution?
>
> Regards, Ron
>
>
| |
| R. van der Wiele 2005-08-15, 3:24 am |
| Reg, a bit late perhaps (was on holiday), but can you tell me who can send
such a message (stop)
Thus there is an another program that sends a message with subject 'stop',
dblsn receives that message and do the action (shutdown)
The message 'sync' is probably send by the server when it wants to sync
(push request), but the 'stop' ???
Can you tell me how I do that???
Btw; can't dblsn.exe be shutdown by itself (command parm) ?
Regards,
Ron vd Wiele
"Reg Domaratzki (iAnywhere Solutions)" <FirstName.LastName@ianywhere.com>
wrote in message news:42f0ccd2@forums
-2-dub...
> As the error mentionned, you can only have one instance of dblsn running
at
> once, and you are attempting to start a second. The DBLSN FULL SHUTDOWN
> action is intended to be fired as a result of a message that was received.
> For example, your dblsn start line might look like :
>
> dblsn -i 60 -ot lsn.out -u lsn1-w sql -v3
> -x tcpip(host=192.32.31.156;port=3423)
> -l " subject=sync;action=
'start dbmlsync.exe @dbmlsync.txt'"
> -l " subject=stop;action=
'DBLSN FULL SHUTDOWN'"
>
> In the above example, when a message is received with subject "sync",
> dblmsync is executed, and when a message is received with subject "stop",
> dblsn is shutdown.
>
> --
> Reg Domaratzki, Sybase iAnywhere Solutions
> Sybase Certified Professional - Sybase ASA Developer Version 8
> Please reply only to the newsgroup
>
> iAnywhere Developer Community : http://www.ianywhere.com/developer
> iAnywhere Documentation :
http://www.ianywhere.com/developer/product_manuals[color=darkred]
> ASA Patches and EBFs : http://downloads.sybase.com/swx/sdmain.stm
> -> Choose SQL Anywhere Studio
> -> Set "Platform Preview" and "Time Frame" to ALL
>
> "Ron van der Wiele" <rwiele@zonnet.nl> wrote in message
> news:42ee04f6@forums
-1-dub...
shut[color=darkred]
is[color=darkred]
|
|
|
|
|