on 02-21-2014 2:53 PM
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.
Hi Peter,
It looks like in your first log you're connecting via Shared Memory. In the second, you're attempting TCP/IP.
Regards,
Jeff Albion
SAP Active Global Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.