As part of creating Master-Replica we are trying to do "Copying data to the replica" task.
But we are getting exception as
"GLPRDB001E Error code -1 from function:" SQLConnect " idsdb"
when we run the below command.
idsdb2ldif.cmd -o <masterfile.ldif> -s <subtreeDN> -I <instance_name> -k <key seed> -t <key salt>
IDS instance, DB2 server are running.
We even tried running above command by logging as DB2 windows created during TDS installation.
This topic has been locked.
7 replies Latest Post - 2012-11-16T05:29:29Z by SystemAdmin
Pinned topic GLPRDB001E Error code -1 from function:" SQLConnect " idsdb
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-11-16T05:29:29Z at 2012-11-16T05:29:29Z by SystemAdmin
yn2000 100000540S1026 PostsACCEPTED ANSWER
Re: GLPRDB001E Error code -1 from function:" SQLConnect " idsdb2009-11-06T17:24:30Z in response to SystemAdminIt sounds that your TDS is running on 'Configuration mode only'. Please double check why is that and troubleshoot them. ibmslapd.log probably provides more info on that.
bmatteso 20000010WG101 PostsACCEPTED ANSWER
Re: GLPRDB001E Error code -1 from function:" SQLConnect " idsdb2009-11-06T18:00:52Z in response to SystemAdminHi,
First, Windows XP isn't supported for running the Server (only the client is supported on XP).
Second, it would have been much better to have crypto-sync'd the instances, so you don't have to pass in the -k and -t flags. However, the first point makes the second point moot.
Re: GLPRDB001E Error code -1 from function:" SQLConnect " idsdb2012-11-16T05:29:29Z in response to SystemAdminPlease ensure DB2 configured with LDAP is started..
Try the following
1.su - <instance Name>
<instance Name>@<hostname>:/home/<instance Name> db2start
SQL1063N DB2START processing was successful.
then start the LDAP instance