473,396 Members | 1,797 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Cannot Execute Create Server

I am trying to create a server on the same machine running the same
instance.
This is v8.1.5 on Windows 2003 Server.
The instance is set to FEDERATED=YES
The server will be created for database TEST
The TEST database will be referenced from database master.
There is nobody using the databases and there are no active
connections.

I log on to the database master from CLP and do
db2 create wrapper DRDA-this succeeds
db2 commit

then try and create the server by executing a batch file which contains
this line:
db2 -v create server test type DB2/UDB VERSION '8.1' wrapper "DRDA"
authid "somebody" password \"password\" (add dbname 'TEST', password
'Y')
the user had bindadd authority on database C100.

the clp comes back with
IBM][CLI Driver][DB2/NT] SQL1822N Unexpected error code "08001"
received from data source "TEST". Associated text and tokens
are "func="DriverConnect" msg=" SQL1246N Connection settings
ca". SQLSTATE=560BD

and db2diag says
DRDA Server:
0x06473C70 : 0x54534554 TEST

2006-02-23-14.39.42.646004 Instance:DB2 Node:000
PID:2244(db2syscs.exe) TID:2220 Appid:*LOCAL.DB2.019203193830
drda wrapper get_error_info Probe:2 Database:MASTER

Function name:
0x063883B8 : 4472 6976 6572 436F 6E6E 6563 74 DriverConnect

2006-02-23-14.39.42.656000 Instance:DB2 Node:000
PID:2244(db2syscs.exe) TID:2220 Appid:*LOCAL.DB2.019203193830
drda wrapper get_error_info Probe:3 Database:MASTER

ODBC native err:
0x05C99370 : 2D31 3234 36 -1246

2006-02-23-14.39.42.816000 Instance:DB2 Node:000
PID:2244(db2syscs.exe) TID:2220 Appid:*LOCAL.DB2.019203193830
drda wrapper get_error_info Probe:4 Database:MASTER

ODBC sqlstate:
0x05C99361 : 3038 3030 3100 08001.

2006-02-23-14.39.42.816001 Instance:DB2 Node:000
PID:2244(db2syscs.exe) TID:2220 Appid:*LOCAL.DB2.019203193830
drda wrapper get_error_info Probe:5 Database:MASTER

ODBC error txt:
0x05C98F60 : 5B49 424D 5D5B 434C 4920 4472 6976 6572 [IBM][CLI
Driver
0x05C98F70 : 5D20 5351 4C31 3234 364E 2020 436F 6E6E ] SQL1246N
Conn
0x05C98F80 : 6563 7469 6F6E 2073 6574 7469 6E67 7320 ection settings
0x05C98F90 : 6361 6E6E 6F74 2062 6520 6368 616E 6765 cannot be
change
0x05C98FA0 : 6420 7768 696C 6520 636F 6E6E 6563 7469 d while
connecti
0x05C98FB0 : 6F6E 7320 6578 6973 742E 0D0A ons exist...

GRRRRR! How can this message be right? Any ideas to get CREATE SERVER
to work will be much appreciated.

Feb 23 '06 #1
3 4300
fy***@hotmail.com wrote:
I am trying to create a server on the same machine running the same
instance.
This is v8.1.5 on Windows 2003 Server.
The instance is set to FEDERATED=YES
The server will be created for database TEST
The TEST database will be referenced from database master.
There is nobody using the databases and there are no active
connections.

I log on to the database master from CLP and do
db2 create wrapper DRDA-this succeeds
db2 commit

then try and create the server by executing a batch file which contains
this line:
db2 -v create server test type DB2/UDB VERSION '8.1' wrapper "DRDA"
authid "somebody" password \"password\" (add dbname 'TEST', password
'Y')
the user had bindadd authority on database C100.

the clp comes back with
IBM][CLI Driver][DB2/NT] SQL1822N Unexpected error code "08001"
received from data source "TEST". Associated text and tokens
are "func="DriverConnect" msg=" SQL1246N Connection settings
ca". SQLSTATE=560BD

GRRRRR! How can this message be right? Any ideas to get CREATE SERVER
to work will be much appreciated.


Just guessing but are there any other connections to the foreign database?
Have you tried to shut down both instances to really force all other
connections off, then restart both and try again the CREATE SERVER?

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Feb 24 '06 #2
Hi Kurt
Both db's are running under the same instance.
I have tried:
--stopping and starting the instance.
--creating the wrapper and server from control center, control center
generates the same message on create server
--changing usernames other than instance owner
--modifying db2cli.ini (I had patch 32 entry)
--rebinding the cli utilities from odbc datasource in windows
administrative tools
--trying the same commands on other server running win2k advanced
server (same result)
--funny thing is, create server works just fine on EEE instance, doesnt
seem to work on EE instance

Knut Stolze wrote:
fy***@hotmail.com wrote:
I am trying to create a server on the same machine running the same
instance.
This is v8.1.5 on Windows 2003 Server.
The instance is set to FEDERATED=YES
The server will be created for database TEST
The TEST database will be referenced from database master.
There is nobody using the databases and there are no active
connections.

I log on to the database master from CLP and do
db2 create wrapper DRDA-this succeeds
db2 commit

then try and create the server by executing a batch file which contains
this line:
db2 -v create server test type DB2/UDB VERSION '8.1' wrapper "DRDA"
Just guessing but are there any other connections to the foreign database?
Have you tried to shut down both instances to really force all other
connections off, then restart both and try again the CREATE SERVER?

--
Knut Stolze
DB2 Information Integration Development
IBM Germany


Feb 24 '06 #3
On another Note

1. Did u catalog these databases remotely ? Meaning
From Server1 to Server2 database ?
Try that and do a connect test to that database .....use the same
password and id u are using to create the server

if this is working then your CREATE SERVER should work.

cheers...
Shashi Mannepalli

Feb 24 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Chris | last post by:
I posted this in the C# language group, then thought it might be more appropriate in this group. I would not cross-post except I want the answer so badly. I built small C# Web and Web Service...
3
by: Peter Afonin | last post by:
Hello, Our SQL server used to run under System account, and I had no problems executing DTS packages from the ASP.NET: Dim oPkg As DTS.Package oPkg = CreateObject("DTS.Package")...
2
by: scott | last post by:
Hi, I followed everything this article suggests: http://support.microsoft.com/default.aspx?scid=kb;EN-US;836734 Yet I still get the following message when stepping into a SP: "Cannot...
0
by: Scarab | last post by:
Hi all, When I use following sql to get data in stored procedure, error occurs: insert into #tmp EXECUTE dbo.prc_1 @date1,@date1 Here is the source code, Thanks CREATE TABLE ( NULL , ...
0
by: Patrick F | last post by:
I keep getting this error message and i don't know whats the problem is and how to solve it. I have a webproject with 2 components (dll) added to it. One is called PhotoGallery and one is called...
1
by: Patrick F | last post by:
I keep getting this error message and i don't know whats the problem is and how to solve it. I have a webproject with 2 components (dll) added to it. One is called PhotoGallery and one is called...
2
by: paul.dunstone | last post by:
HI all I am using msbuild to compile my web application project. After building the solution I get the following error message: Server Error in '/Community' Application....
1
by: den 2005 | last post by:
Hi everybody, I created several stored procedure in a local sql server 2005 express database, now when I call/execute them in the asp.net 2.0 web page, it returns an error message of "Cannot...
6
by: mplpost | last post by:
Our web application requires that when a new Organization is created,a separate Database is to be created for the corresponding organization, so that each organization remains a separate entity...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.