cancel
Showing results for 
Search instead for 
Did you mean: 

database transferred to vmserver

Former Member
0 Kudos

We have an older database (adaptive server anywhere v6.0.4) that we are trying to move from a server to a vmserver.  A mirror image of the existing server was copied to the vmserver.  When i started up our applications on the vmserver not all of them can connect to the database.  The following is a copy of an error log from the original server showing what happens when the applications start up and connect to the database.

Trying to start Shared Memory link ...     Shared Memory link started successfully CONN: Attempting to connect without default DSN using:

UID=scan;PWD=****;DBN=sa_scan;DBF=E:\Scan_NT\DB\sa_scan.db;ENG=scan_db_service;ASTOP=YES;INT=NO;DBG=YES;LOG=E:\log\debug;DMRF=NO;LINKS=TCPIP{}

CONN: Connected to the server

CONN: Connected to database successfully

When I start the applications on the vmserver the following error log is generated:

Trying to start Shared Memory link ...     Shared Memory link started successfully CONN: Attempting to connect without default DSN using:

UID=scan;PWD=****;DBN=sa_scan;DBF=E:\Scan_NT\DB\sa_scan.db;ENG=scan_db_service;CON=SQL_DBC_1714a88;ASTOP=YES;INT=NO;DBG=YES;LOG=e:\log\debug;DMRF=NO;LINKS=TCPIP{}

CONN: Attempting to connect with default DSN using:

UID=scan;PWD=****;DBN=sa_scan;DBF=E:\Scan_NT\DB\sa_scan.db;ENG=scan_db_service;CON=SQL_DBC_1714a88;ASTOP=YES;INT=NO;DBG=YES;LOG=e:\log\debug;DMRF=NO;LINKS=TCPIP{}

CONN: Starting remote ports

Trying to start TCPIP link ... Loading wsock32.dll

Loading ws2_32.dll

TCP using Winsock version 2.0

My IP address is 129.97.128.125

My IP address is 127.0.0.1

    TCPIP link started successfully CONN: Started 1 port, attempting to connect again

Looking for scan_db_service

I am in a class B network

Sending broadcast

Using broadcast address of: 129.97.255.255:2638

I am in a class A network

Sending broadcast

Using broadcast address of: 127.255.255.255:2638

Found database server: 129.97.128.125:2638

Found database server scan_db_service on TCPIP link

Client connected

   Liveness timeout 120 CONN: Connected to the server

CONN: Connected to database successfully

The number of prefetch rows has been reduced to 327 due to the prefetch buffer

limit.  Consider using the PrefetchBuffer connection parameter.

The number of prefetch rows has been reduced to 209 due to the prefetch buffer

limit.  Consider using the PrefetchBuffer connection parameter.

The number of prefetch rows has been reduced to 910 due to the prefetch buffer

limit.  Consider using the PrefetchBuffer connection parameter.

The number of prefetch rows has been reduced to 910 due to the prefetch buffer

limit.  Consider using the PrefetchBuffer connection parameter.

The number of prefetch rows has been reduced to 910 due to the prefetch buffer

limit.  Consider using the PrefetchBuffer connection parameter.

The number of prefetch rows has been reduced to 910 due to the prefetch buffer

limit.  Consider using the PrefetchBuffer connection parameter.

The number of prefetch rows has been reduced to 327 due to the prefetch buffer

limit.  Consider using the PrefetchBuffer connection parameter.

The number of prefetch rows has been reduced to 209 due to the prefetch buffer

limit.  Consider using the PrefetchBuffer connection parameter.

The number of prefetch rows has been reduced to 327 due to the prefetch buffer

limit.  Consider using the PrefetchBuffer connection parameter.

The number of prefetch rows has been reduced to 209 due to the prefetch buffer

limit.  Consider using the PrefetchBuffer connection parameter.

The number of prefetch rows has been reduced to 910 due to the prefetch buffer

limit.  Consider using the PrefetchBuffer connection parameter.

The number of prefetch rows has been reduced to 910 due to the prefetch buffer

limit.  Consider using the PrefetchBuffer connection parameter.

Client disconnected

I don't know a lot about databases but it looks like it is trying to find it on the vmserver but can't find it so it goes onto the network to look for it.

Any thoughts on this?  Our database is Adaptive Server Anywhere v 6.0.4 which is out of date but we need this setup running for a bit longer until we can get an application to replace our existing one.

Accepted Solutions (1)

Accepted Solutions (1)

jeff_albion
Employee
Employee
0 Kudos

Hi Peter,

It looks like in your first log you're connecting via Shared Memory. In the second, you're attempting TCP/IP.

  • Which operating system is this on?
  • How is the database started - is there a system service? Can you confirm if this service has started succesfully?
  • Which version of the client are you using and through which interface?

Regards,

Jeff Albion

SAP Active Global Support

Answers (2)

Answers (2)

former_member188958
Active Contributor
0 Kudos

Hi Peter,

I'm sorry to say that you have the wrong area.  Your question belongs over in

as Enterprise is a completely different product.

Cheers,

-bret

Former Member
0 Kudos

Hi Peter,

could it be that the port the database is running on is different or occupied? Does the VM host have the same ip number als the old one. Otherwise you could have a look at your sasrv.ini.

Regards,

Harry