warning-node_db2node3: Warning: unable to chdir

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
meet_deb85
Premium Member
Premium Member
Posts: 132
Joined: Tue Sep 04, 2007 11:38 am
Location: NOIDA

warning-node_db2node3: Warning: unable to chdir

Post by meet_deb85 »

Hi All,

I have created one new project on the same ds,and able to successfully connect to DB2 database which is on other server,and here i m using same config file which is used in other running project.

Now when i run the job,i m getting one warning message which seems not create any problem now but could be a problem in long run.
Warning message is

node_db2node3: Warning: unable to chdir(/data/ds/Projects/dpr_aos_dev): No such file or directory

and config file i m using is-
main_program: APT configuration file: /dstage/dsadm/Ascential/DataStage/Configurations/EBI_TwoNode.apt
{
node "node1"
{
fastname "HKG01LP0101"
pools ""
resource disk "/data/ds/dpr_ebi_dev/Node1/resource" {pools ""}
resource scratchdisk "/data/ds/dpr_ebi_dev/Node1/scratch" {pools ""}
}
node "node2"
{
fastname "HKG01LP0101"
pools ""
resource disk "/data/ds/dpr_ebi_dev/Node2/resource" {pools ""}
resource scratchdisk "/data/ds/dpr_ebi_dev/Node2/scratch" {pools ""}
}
node "db2node3"
{
fastname "HKG01LP0102"
pools "db2"
resource disk "/data/ds/dpr_ebi_dev/Node1/resource" {pools ""}
resource scratchdisk "/data/ds/dpr_ebi_dev/Node1/scratch" {pools ""}
}

}

I need your help to reso0lve this ussie.


Thanks in advance
meet_deb85
Premium Member
Premium Member
Posts: 132
Joined: Tue Sep 04, 2007 11:38 am
Location: NOIDA

Re: warning-node_db2node3: Warning: unable to chdir

Post by meet_deb85 »

I want to add to the previous note that, /data/ds/Projects/dpr_aos_dev is existing and dpr_aos_dev folder has following privilages:-

cbidev01 /data/ds/Projects $>ls -ltr
total 39392
drwxrwsr-x 51 dsadm dstage 4096 Mar 04 23:20 dpr_aos_dev
drwxrwsr-x 2972 dsadm dstage 192512 Mar 05 13:22 dpr_iccm_dev
drwxrwsr-x 50 dsadm dstage 4096 Mar 05 14:01 dpr_pa14_dev
drwxrwsr-x 8303 dsadm dstage 745472 Mar 05 15:11 dpr_bir2_dev
drwxrwsr-x 8096 dsadm dstage 811008 Mar 05 15:16 dpr_gacpt_dev
drwxrwsr-x 8534 dsadm dstage 573440 Mar 05 15:19 dpr_cmbcpt_dev
drwxrwsr-x 15003 cbidev01 dstage 1249280 Mar 05 15:20 dpr_ebi_dev
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Are you certain that the config file you posted is what is actually being used (check the 2nd entry in the director log for the run to confirm), since the dpr_aos_dev directory is not contained in the config file EBI_TwoNode.apt.

What stage is node_db2node3 that is triggering the warning?
meet_deb85
Premium Member
Premium Member
Posts: 132
Joined: Tue Sep 04, 2007 11:38 am
Location: NOIDA

Post by meet_deb85 »

ArndW wrote:Are you certain that the config file you posted is what is actually being used (check the 2nd entry in the director log for the run to confirm), since the dpr_aos_dev directory is not contained in the config file EBI_TwoNode.apt.

What stage is node_db2node3 that is triggering the warning?
Thanks for your quick reply.

Yes i m using the same config file which i have posted earlier.Even if i have changed the config file with dpr_aos_dev,its giving the same warning message
my new config file is:-

main_program: APT configuration file: /dstage/dsadm/Ascential/DataStage/Configurations/AS_2Node.apt
{
node "node1"
{
fastname "HKG01LP0101"
pools ""
resource disk "/data/ds/dpr_aos_dev/Node1/resource" {pools ""}
resource scratchdisk "/data/ds/dpr_aos_dev/Node1/scratch" {pools ""}
}
node "node2"
{
fastname "HKG01LP0101"
pools ""
resource disk "/data/ds/dpr_aos_dev/Node2/resource" {pools ""}
resource scratchdisk "/data/ds/dpr_aos_dev/Node2/scratch" {pools ""}
}
node "db2node3"
{
fastname "HKG01LP0102"
pools "db2"
resource disk "/data/ds/dpr_aos_dev/Node1/resource" {pools ""}
resource scratchdisk "/data/ds/dpr_aos_dev/Node1/scratch" {pools ""}
}

}

The stage which is using db2node3 is DB2 Enterprise Stage.
meet_deb85
Premium Member
Premium Member
Posts: 132
Joined: Tue Sep 04, 2007 11:38 am
Location: NOIDA

Post by meet_deb85 »

ArndW wrote:Are you certain that the config file you posted is what is actually being used (check the 2nd entry in the director log for the run to confirm), since the dpr_aos_dev directory is not contained in the config file EBI_TwoNode.apt.

What stage is node_db2node3 that is triggering the warning?
Thanks for your quick reply.

Yes i m using the same config file which i have posted earlier.Even if i have changed the config file with dpr_aos_dev,its giving the same warning message
my new config file is:-

main_program: APT configuration file: /dstage/dsadm/Ascential/DataStage/Configurations/AS_2Node.apt
{
node "node1"
{
fastname "HKG01LP0101"
pools ""
resource disk "/data/ds/dpr_aos_dev/Node1/resource" {pools ""}
resource scratchdisk "/data/ds/dpr_aos_dev/Node1/scratch" {pools ""}
}
node "node2"
{
fastname "HKG01LP0101"
pools ""
resource disk "/data/ds/dpr_aos_dev/Node2/resource" {pools ""}
resource scratchdisk "/data/ds/dpr_aos_dev/Node2/scratch" {pools ""}
}
node "db2node3"
{
fastname "HKG01LP0102"
pools "db2"
resource disk "/data/ds/dpr_aos_dev/Node1/resource" {pools ""}
resource scratchdisk "/data/ds/dpr_aos_dev/Node1/scratch" {pools ""}
}

}

The stage which is using db2node3 is DB2 Enterprise Stage.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

The second log entry in the director show which file is actually being used at runtime, please do check there after a run to make 100% certain that this is the actual configuration file being used.

Furthermore, does that directory exist on both nodes?
meet_deb85
Premium Member
Premium Member
Posts: 132
Joined: Tue Sep 04, 2007 11:38 am
Location: NOIDA

Post by meet_deb85 »

ArndW wrote:The second log entry in the director show which file is actually being used at runtime, please do check there after a run to make 100% certain that this is the actual configuration file being used.

Furthermore, does that directory exist on both nodes?
Actual config file used is:-

main_program: APT configuration file: /dstage/dsadm/Ascential/DataStage/Configurations/AS_2Node.apt
{
node "node1"
{
fastname "HKG01LP0101"
pools ""
resource disk "/data/ds/dpr_aos_dev/Node1/resource" {pools ""}
resource scratchdisk "/data/ds/dpr_aos_dev/Node1/scratch" {pools ""}
}
node "node2"
{
fastname "HKG01LP0101"
pools ""
resource disk "/data/ds/dpr_aos_dev/Node2/resource" {pools ""}
resource scratchdisk "/data/ds/dpr_aos_dev/Node2/scratch" {pools ""}
}
node "db2node3"
{
fastname "HKG01LP0102"
pools "db2"
resource disk "/data/ds/dpr_aos_dev/Node1/resource" {pools ""}
resource scratchdisk "/data/ds/dpr_aos_dev/Node1/scratch" {pools ""}
}

}


and i have checked the direcory entry on both nodes,its exist

HKG01LP0101 cbidev01 /project/ohrd12/cbidev01 $>cd /data/ds/dpr_aos_dev/Node1/scratch
HKG01LP0101 cbidev01 /data/ds/dpr_aos_dev/Node1/scratch $>cd -
/project/ohrd12/cbidev01
HKG01LP0101 cbidev01 /project/ohrd12/cbidev01 $>cd /data/ds/dpr_aos_dev/Node2/scratch
HKG01LP0101 cbidev01 /data/ds/dpr_aos_dev/Node2/scratch $>cd -
/project/ohrd12/cbidev01
HKG01LP0101 cbidev01 /project/ohrd12/cbidev01 $>cd /data/ds/dpr_aos_dev/Node1/resource
HKG01LP0101 cbidev01 /data/ds/dpr_aos_dev/Node1/resource $>cd -
/project/ohrd12/cbidev01
HKG01LP0101 cbidev01 /project/ohrd12/cbidev01 $>cd /data/ds/dpr_aos_dev/Node1/resource
HKG01LP0101 cbidev01 /data/ds/dpr_aos_dev/Node1/resource $>cd -
/project/ohrd12/cbidev01

Do you think warning is related to some direcory permission issue..??
meet_deb85
Premium Member
Premium Member
Posts: 132
Joined: Tue Sep 04, 2007 11:38 am
Location: NOIDA

Re: warning-node_db2node3: Warning: unable to chdir

Post by meet_deb85 »

meet_deb85 wrote:I want to add to the previous note that, /data/ds/Projects/dpr_aos_dev is existing and dpr_aos_dev folder has following privilages:-

cbidev01 /data/ds/Projects $>ls -ltr
total 39392
drwxrwsr-x 51 dsadm dstage 4096 Mar 04 23:20 dpr_aos_dev
drwxrwsr-x 2972 dsadm dstage 192512 Mar 05 13:22 dpr_iccm_dev
drwxrwsr-x 50 dsadm dstage 4096 Mar 05 14:01 dpr_pa14_dev
drwxrwsr-x 8303 dsadm dstage 745472 Mar 05 15:11 dpr_bir2_dev
drwxrwsr-x 8096 dsadm dstage 811008 Mar 05 15:16 dpr_gacpt_dev
drwxrwsr-x 8534 dsadm dstage 573440 Mar 05 15:19 dpr_cmbcpt_dev
drwxrwsr-x 15003 cbidev01 dstage 1249280 Mar 05 15:20 dpr_ebi_dev

Even i have changed root of dpr_aos_dev from dsadm to cbidev01 but still facing the same warning message.....

drwxrwsr-x 51 cbidev01 dstage 4096 Mar 04 23:20 dpr_aos_dev
meet_deb85
Premium Member
Premium Member
Posts: 132
Joined: Tue Sep 04, 2007 11:38 am
Location: NOIDA

Re: warning-node_db2node3: Warning: unable to chdir

Post by meet_deb85 »

meet_deb85 wrote:I want to add to the previous note that, /data/ds/Projects/dpr_aos_dev is existing and dpr_aos_dev folder has following privilages:-

cbidev01 /data/ds/Projects $>ls -ltr
total 39392
drwxrwsr-x 51 dsadm dstage 4096 Mar 04 23:20 dpr_aos_dev
drwxrwsr-x 2972 dsadm dstage 192512 Mar 05 13:22 dpr_iccm_dev
drwxrwsr-x 50 dsadm dstage 4096 Mar 05 14:01 dpr_pa14_dev
drwxrwsr-x 8303 dsadm dstage 745472 Mar 05 15:11 dpr_bir2_dev
drwxrwsr-x 8096 dsadm dstage 811008 Mar 05 15:16 dpr_gacpt_dev
drwxrwsr-x 8534 dsadm dstage 573440 Mar 05 15:19 dpr_cmbcpt_dev
drwxrwsr-x 15003 cbidev01 dstage 1249280 Mar 05 15:20 dpr_ebi_dev

Even i have changed root of dpr_aos_dev from dsadm to cbidev01 but still facing the same warning message.....

drwxrwsr-x 51 cbidev01 dstage 4096 Mar 04 23:20 dpr_aos_dev
Post Reply