Page 1 of 1

Data Stage connection Error.....

Posted: Wed Feb 02, 2005 1:09 pm
by MaheshKumar Sugunaraj
Hi All,

The regarding a new issue which i seen for the first time. The problem is somebody has installed DS Server on the HP-UX box and I installed DS Client and tried to connect to the Server for the first time, it gives me the following error:

Failed to connect to host: <server_name>, project: UV
(Internal Error (39202))

Any help would be appreciated.

Thanks & Regards
Mahesh

Posted: Wed Feb 02, 2005 1:13 pm
by kcbland
Verify the permissions of the project directory, the dsenv file, the umask setting in the ds.rc script, etc. Your userid is probably running into group/permissions issues.

99% of first time access problems relate to permissions.

Posted: Wed Feb 02, 2005 1:26 pm
by ketfos
Hi,
Try rebotting the server
This error code 39202 relates to a failure to connect. InterCall Developer's Guide from IBM describes that
"slave failed to give server the Go Ahead message"

Ketfos

Posted: Wed Feb 02, 2005 7:02 pm
by trokosz
Hmm...it's more than likely account permission error where you must belong to the dsadm group (such as dstage) that your root admin established during install....you can have secondary groups but you must always be assigned the primary dsadm group.

Posted: Thu Feb 03, 2005 5:53 am
by MaheshKumar Sugunaraj
Hi All,

Thank you for your valuable sugeestions, I have done the necessary checks and they have installed the DS Server as root and there were a few permission issues which I checked and corrected.

the dsenv file is in the "dsadm" owner and group.

Now after checking and correcting as stated, when I restart the DS i get the following errors:

# bin/uv -admin -start
Unable to get disk shared memory segment: Invalid argument

An error has occurred during DataStage initialization
Please contact the system administrator
Error code: 2 2
An error has occurred during DataStage initialization
Please contact the system administrator
Error code: 2 2
An error has occurred during DataStage initialization
Please contact the system administrator
Error code: 2 2
DataStage Engine 7.0.1.1 instance "ade" has been brought up.

Any help would heighly be apprecaited.

Thanks & Regards
Mahesh

Posted: Thu Feb 03, 2005 6:13 am
by Sainath.Srinivasan
You need to start/stop DataStage as dsadm rather than root.

Did you load dsenv before starting the DataStage Engine?

Posted: Thu Feb 03, 2005 6:43 am
by MaheshKumar Sugunaraj
Hi Sainath,

**************

You need to start/stop DataStage as dsadm rather than root.

Did you load dsenv before starting the DataStage Engine?

************

As stated, I have loaded the dsenv variables before starting the DS server. If I goto dsadm and do a DS Start then asks for a passoword so I logged in as root and started the services

We still get the above messages.

I have also checked the segments which have been allaocated.

Thanks & Regards
Mahesh

Posted: Thu Feb 03, 2005 7:16 am
by Sainath.Srinivasan
Can you check who owns the directory mentioned in your /.dshome file. Also check the permissions of its sub-directories.

I believe there is some kind of permission issue(s) in your setup that is preventing datastage from starting.

What happens when you issue the command 'netstat -na | grep 31538' ?

Posted: Thu Feb 03, 2005 7:29 am
by MaheshKumar Sugunaraj
Sainath.Srinivasan wrote:Can you check who owns the directory mentioned in your /.dshome file. Also check the permissions of its sub-directories.

I believe there is some kind of permission issue(s) in your setup that is preventing datastage from starting.

What happens when you issue the command 'netstat -na | grep 31538' ?
I have rechecked the permissions and its the same as stated.

when I do a netstat -na | grep 31538

I get one line LISTEN

I also ran the script to clear the connections and inspite of it we get the error message as mentioned.

Any help would be appreciated.

Thanks & Regards
Mahesh

Posted: Thu Feb 03, 2005 7:33 am
by Sainath.Srinivasan
The line listen says that something is running and occupying the port 31538 already. Maybe your datastage is up and running already.

You may need to stop the server before starting it.

Try `cat /.dshome`/bin/uv -admin -stop
command after loading your dsenv.

Then try the netstat command. You must not have any return line.

Only then you can start datastage.

Posted: Thu Feb 03, 2005 8:45 am
by trokosz
It's ok if dsadm owns dsenv.....root installed with dsadm option and impersonation is on and so on so this is good....if I see "shared memory" error I think of the uvconfig file in $DSHOME. Either the permission on this file is not right or possibly the DMEMOFF and PMEMOFF settings in this file are too low.

Just some thoughts

Posted: Fri Feb 04, 2005 11:25 am
by MaheshKumar Sugunaraj
Hi All,

Thanks for all your valuable suggestions, we have resolved this issue.

Just to share what we did,

We had asked the UNIX Admin person to change the Kernal parameters as per Ascential support request and they have done the necessay changes and then we stopped and restarted the DS Services and we are able to connect to server now.

Thank you all again.

With Regards
Mahesh