If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2_ALL with SQL5005C on windows 2003

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-17-06, 04:57
moredouane moredouane is offline
Registered User
 
Join Date: May 2006
Posts: 4
Red face DB2_ALL with SQL5005C on windows 2003

Hi all,

I am running a db2 instance on a 4 partitions spread over 4 servers.

Each time I am issuing the db2_all command it replies SQL5005C on each remote partition like this:

"c:\db2_all "db2 get db cfg for wpspwps"

PPD-A-DATA-C01: db2 get db cfg for wpspwps completed rc=0

rah: PPD-A-DATA-C02
SQL5005C System Error.


PPD-A-DATA-C02: db2 get db cfg for wpspwps completed rc=0

rah: PPD-B-DATA-C03
SQL5005C System Error.


PPD-B-DATA-C03: db2 get db cfg for wpspwps completed rc=0

rah: PPD-B-DATA-C04
SQL5005C System Error.


PPD-B-DATA-C04: db2 get db cfg for wpspwps completed rc=0

But locally on each node the command can be issued without any pb.

This is a production issue and then I can't process database backup of the partitioned databases using db2_all.

Any suggestion will be really well appreciated to solve this pb.

Thanks you.
Reply With Quote
  #2 (permalink)  
Old 05-18-06, 11:43
renga7 renga7 is offline
Registered User
 
Join Date: Jun 2001
Posts: 20
Check if the user in SYSADM_GROUP has the required NTFS read/write permissions on sqllib\instance_dir.
__________________
Renga
Reply With Quote
  #3 (permalink)  
Old 05-19-06, 04:15
moredouane moredouane is offline
Registered User
 
Join Date: May 2006
Posts: 4
The sysadm_group is not set. I am using DB2ADMNS group by default. I checked the security permission of my shared instance directory and it has Full control for everyone. The instance directory is on a SAN disk which is owned by one machine at a time.
If any other suggestions I will try, thanks.
Reply With Quote
  #4 (permalink)  
Old 05-19-06, 09:55
renga7 renga7 is offline
Registered User
 
Join Date: Jun 2001
Posts: 20
1. Check if ADMIN$ share is available on all particapting machines (use net share command)
2. From all participating machines, check if you are able to connect to the registry of the instance owning machine.(regedit->File->Connect Network Registry)
__________________
Renga
Reply With Quote
  #5 (permalink)  
Old 05-20-06, 06:40
moredouane moredouane is offline
Registered User
 
Join Date: May 2006
Posts: 4
Hi,

I check yours suggestions the results are:

1. from each partitcipating node the Admin$ is configured like that:
C:\Documents and Settings\db2admin>net share

Share name Resource Remark

-------------------------------------------------------------
R$ R:\ Default share
J$ J:\ Default share
C$ C:\ Default share
K$ K:\ Default share
S$ S:\ Default share
P$ P:\ Default share
Q$ Q:\ Default share
N$ N:\ Default share
IPC$ Remote IPC
ADMIN$ C:\WINDOWS Remote Admin
D$ D:\ Default share
T$ T:\ Default share
E$ E:\ Default share
M$ M:\ Default share
U$ U:\ Default share
The command completed successfully.

2. from each participating node the regedit provides the following:
ppd-q-data-c01
HKEY_LOCAL_MACHINE
HKEY_USERS
In fact, ppd-q-data-c01 is the owning instance machine and we can see the mentioned Registries from all the partiticipating machines.
Reply With Quote
  #6 (permalink)  
Old 05-22-06, 02:29
renga7 renga7 is offline
Registered User
 
Join Date: Jun 2001
Posts: 20
Check your PATH & CLASSPATH to see if they refer to the correct version of DB2
__________________
Renga
Reply With Quote
  #7 (permalink)  
Old 05-22-06, 06:12
renga7 renga7 is offline
Registered User
 
Join Date: Jun 2001
Posts: 20
Also check the contents of db2rah.env file
__________________
Renga
Reply With Quote
  #8 (permalink)  
Old 05-30-06, 02:45
moredouane moredouane is offline
Registered User
 
Join Date: May 2006
Posts: 4
My db2 version is 8.2.4 and as I am running an MSCS DB2 cluster, DB2 is installed on every participating machines.
For sure, each machine is running the same DB2 version, the PATH and CLASSPATH are identical for each machine.

What surprise me is when I move every DB2 partition on one machine, db2_all command performs perfectly.
But when the partitions are spread over all machines, the error SQL5005C re-appears.

Thanks for you advises, I am still ready to check any suggestions to make this system working.
Reply With Quote
  #9 (permalink)  
Old 05-30-06, 03:19
JAYANTA_DATTA JAYANTA_DATTA is offline
Registered User
 
Join Date: Oct 2004
Location: DELHI INDIA
Posts: 336
Hi,

Just a suggestion: not sure though

Check that you havenot changed the Password or Userid which is authorised as the Instance owner.

If you have changed the User_id (e.g. earlier it is db2admin and now it is db_user1) of the Instance owner then go to each SERVICES and change the User with proper Password. Restart the Services one by one.
Reply With Quote
  #10 (permalink)  
Old 05-30-06, 03:19
JAYANTA_DATTA JAYANTA_DATTA is offline
Registered User
 
Join Date: Oct 2004
Location: DELHI INDIA
Posts: 336
Hi,

Just a suggestion: not sure though

Check that you havenot changed the Password or Userid which is authorised as the Instance owner.

If you have changed the User_id (e.g. earlier it is db2admin and now it is db_user1) of the Instance owner then go to each SERVICES and change the User with proper Password. Restart the Services one by one.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On