dbTalk Databases Forums  

automatically start the mobilink server

sybase.public.sqlanywhere.mobilink sybase.public.sqlanywhere.mobilink


Discuss automatically start the mobilink server in the sybase.public.sqlanywhere.mobilink forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Maggie
 
Posts: n/a

Default automatically start the mobilink server - 03-12-2005 , 09:59 AM






Hi ,
I'm Currently using the ASA 9.0.1.1899 version.
Synchronization process is between ASA to Oracle.

I want to automatically start the mobilink server when the
system is restarted.

Maggie

Reply With Quote
  #2  
Old   
Greg Fenton
 
Posts: n/a

Default Re: automatically start the mobilink server - 03-12-2005 , 01:01 PM






Maggie wrote:
Quote:
I want to automatically start the mobilink server when the
system is restarted.

You didn't mention the OS and version you are running on.

For win32 platforms, configure ML as a "service". You can use Sybase
Central or the "dbsvc" command-line utility to set this up.

For Unix/Linux/Mac OSX, you would run ML as a "daemon".

In the ASA 9.x online docs see:

MobiLink Administration Guide
- Running MobiLink Outside the Current Session

or

http://tinyurl.com/5bm6f [shortcut to docs on ianywhere.com]

Hope this helps,
greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/


Reply With Quote
  #3  
Old   
Maggie
 
Posts: n/a

Default Re: automatically start the mobilink server - 03-15-2005 , 08:39 AM



hi,
We are using the Mobilink server with Asa version 9.0.1.1899
and it is connecting with oracle 9i which is running in the
AIX 5.1 ( UNIX ) version. Mobilink Server is running in the
Win2003 OS. I have tried with Sybase central in the ML
server. it is creating the service and status become started
but there is no ML server started ( we are tried with client
sync. it says Unable to connect with Mobilink server).
What shall we do for this. will this ML service will be
displayed in the Windows service or not. we are not able to
see this service in that list.

expecting the solution at the earliest.
with regds,
Maggie

Quote:
Maggie wrote:

I want to automatically start the mobilink server when
the system is restarted.


You didn't mention the OS and version you are running on.

For win32 platforms, configure ML as a "service". You can
use Sybase Central or the "dbsvc" command-line utility to
set this up.

For Unix/Linux/Mac OSX, you would run ML as a "daemon".

In the ASA 9.x online docs see:

MobiLink Administration Guide
- Running MobiLink Outside the Current Session

or

http://tinyurl.com/5bm6f [shortcut to docs on
ianywhere.com]

Hope this helps,
greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/

Reply With Quote
  #4  
Old   
Greg Fenton
 
Posts: n/a

Default Re: automatically start the mobilink server - 03-15-2005 , 09:51 AM



Maggie wrote:
Quote:
What shall we do for this. will this ML service will be
displayed in the Windows service or not. we are not able to
see this service in that list.

Yes, the ML server should be listed in the Services dialog. You might
need to refresh the display (F5??) if you had it open when the service
was created.

Are you running SC on the same machine where you are trying to install
the service? SC can only install a service on the machine that it is
running on.

You might consider using the dbsvc command line utility to create the
service. I expect it would give better feedback in the event of an
error. In the ASA 9.x online docs, see:

ASA Database Administration Guide
Database Administration Utilities
The Service Creation utility
- Managing services using the dbsvc command-line utility

greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/


Reply With Quote
  #5  
Old   
John Yovas
 
Posts: n/a

Default Re: automatically start the mobilink server - 03-15-2005 , 12:48 PM



we use this following command line to create service

"C:\Program Files\Sybase\SQL Anywhere 9\win32\dbsvc.exe" -i -as -t
MobiLink -s automatic -w MYSERVICE "C:\Program Files\Sybase\SQL Anywhere
9\win32\dbmlsrv9.exe" -c "DSN=MYDSN;UID=dba;PWD=sql" -fr -ot
C:\MobilinkLog\mymobilink.log -os 20M -v+ -x tcpip{port=2439} -zu+

After starting the service you can see if the dbmlsrv9.exe is running in the
Task manager also you can check the Mobilink Log for any additional
information

-John

<Maggie> wrote

Quote:
hi,
We are using the Mobilink server with Asa version 9.0.1.1899
and it is connecting with oracle 9i which is running in the
AIX 5.1 ( UNIX ) version. Mobilink Server is running in the
Win2003 OS. I have tried with Sybase central in the ML
server. it is creating the service and status become started
but there is no ML server started ( we are tried with client
sync. it says Unable to connect with Mobilink server).
What shall we do for this. will this ML service will be
displayed in the Windows service or not. we are not able to
see this service in that list.

expecting the solution at the earliest.
with regds,
Maggie

Maggie wrote:

I want to automatically start the mobilink server when
the system is restarted.


You didn't mention the OS and version you are running on.

For win32 platforms, configure ML as a "service". You can
use Sybase Central or the "dbsvc" command-line utility to
set this up.

For Unix/Linux/Mac OSX, you would run ML as a "daemon".

In the ASA 9.x online docs see:

MobiLink Administration Guide
- Running MobiLink Outside the Current Session

or

http://tinyurl.com/5bm6f [shortcut to docs on
ianywhere.com]

Hope this helps,
greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/



Reply With Quote
  #6  
Old   
Maggie
 
Posts: n/a

Default Re: automatically start the mobilink server - 03-18-2005 , 05:26 AM



Thanks John and Greg for the support

The service is working fine . But the first time we create
the service and restart our system , It does not start
automatically , we had to start it manually , But the next
restart onwards it starts the mobilink server automatically

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.