dbTalk Databases Forums  

DBSVC: Behaviour differences between MS XP and MS Server 2003 R2

sybase.public.sqlanywhere.general sybase.public.sqlanywhere.general


Discuss DBSVC: Behaviour differences between MS XP and MS Server 2003 R2 in the sybase.public.sqlanywhere.general forum.



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

Default DBSVC: Behaviour differences between MS XP and MS Server 2003 R2 - 10-19-2009 , 09:20 AM






Hi - I wonder if anyone has found the kind of differences in behaviour
that I have found when using dbsvc under MS XP SP2 (and SP3) and MS
Server 2003 R2.

The following script starts a MS service to start a database going
automatically: (Very useful if the server has been shut down and the
DB must auto restart).

"C:\Program Files\map database\dbsvc.exe" -as -s auto -t network -i -w
mapserver "C:\Program Files\map database\dbsrv9.exe" -n map-server -x
tcpip -c 8m "C:\Program Files\map database\map.db"
"C:\Program Files\map database\dbsvc.exe" -u mapserver

This script works just fine under XP. If the script is in a bat file,
and the bat file is run, the MS service starts, and the SQL icon
appears in the icon tray (in the right hand foot of the screen).

If the same batfile script is run under MS Server 2003 R2, the script
seems to launch the MS service under the name 'Adaptive Server
Anywhere - Mapserver', but no icon appears in the icon tray i.e. the
db server has not been started.

Any ideas why I get this anomalous behaviour?

Alastair Walker

Reply With Quote
  #2  
Old   
Chris Keating (Sybase iAnywhere)
 
Posts: n/a

Default Re: DBSVC: Behaviour differences between MS XP and MS Server 2003R2 - 10-19-2009 , 09:29 AM






What version of SQL Anywhere does this occur?

Are you sure that the service is not starting? Or is it simply not
displaying the icon in the systray? Please check the event viewer system
and application logs on or about the time you start the service for
additional information.

-chris



Alastair Walker wrote:
Quote:
Hi - I wonder if anyone has found the kind of differences in behaviour
that I have found when using dbsvc under MS XP SP2 (and SP3) and MS
Server 2003 R2.

The following script starts a MS service to start a database going
automatically: (Very useful if the server has been shut down and the
DB must auto restart).

"C:\Program Files\map database\dbsvc.exe" -as -s auto -t network -i -w
mapserver "C:\Program Files\map database\dbsrv9.exe" -n map-server -x
tcpip -c 8m "C:\Program Files\map database\map.db"
"C:\Program Files\map database\dbsvc.exe" -u mapserver

This script works just fine under XP. If the script is in a bat file,
and the bat file is run, the MS service starts, and the SQL icon
appears in the icon tray (in the right hand foot of the screen).

If the same batfile script is run under MS Server 2003 R2, the script
seems to launch the MS service under the name 'Adaptive Server
Anywhere - Mapserver', but no icon appears in the icon tray i.e. the
db server has not been started.

Any ideas why I get this anomalous behaviour?

Alastair Walker

Reply With Quote
  #3  
Old   
Alastair Walker
 
Posts: n/a

Default Re: DBSVC: Behaviour differences between MS XP and MS Server 2003 R2 - reply - 10-20-2009 , 02:35 AM



Hello - Chris - thank you for the response.

I am using ASA 9.0.2.3044.

Since the MS server in question is at a client site, and at some
travel distance, I can't check the issues you noted below immediately.

But thank you for the ideas!

Best regards,

Alastair

On 19 Oct 2009 07:29:22 -0700, "Chris Keating (Sybase iAnywhere)"
<keating_nospam (AT) sybase (DOT) com> wrote:

Quote:
What version of SQL Anywhere does this occur?

Are you sure that the service is not starting? Or is it simply not
displaying the icon in the systray? Please check the event viewer system
and application logs on or about the time you start the service for
additional information.

-chris



Alastair Walker wrote:
Hi - I wonder if anyone has found the kind of differences in behaviour
that I have found when using dbsvc under MS XP SP2 (and SP3) and MS
Server 2003 R2.

The following script starts a MS service to start a database going
automatically: (Very useful if the server has been shut down and the
DB must auto restart).

"C:\Program Files\map database\dbsvc.exe" -as -s auto -t network -i -w
mapserver "C:\Program Files\map database\dbsrv9.exe" -n map-server -x
tcpip -c 8m "C:\Program Files\map database\map.db"
"C:\Program Files\map database\dbsvc.exe" -u mapserver

This script works just fine under XP. If the script is in a bat file,
and the bat file is run, the MS service starts, and the SQL icon
appears in the icon tray (in the right hand foot of the screen).

If the same batfile script is run under MS Server 2003 R2, the script
seems to launch the MS service under the name 'Adaptive Server
Anywhere - Mapserver', but no icon appears in the icon tray i.e. the
db server has not been started.

Any ideas why I get this anomalous behaviour?

Alastair Walker

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 - 2012, Jelsoft Enterprises Ltd.