Page 1 of 1

Error 81002 when connecting from datastage clients to server

Posted: Mon Mar 20, 2006 3:02 am
by seell
Encountered error 'Failed to connect to host : aa.bb.cc.dd, project abc'
(The connection is broken (81002)) from datastage designer


Encountered error 'Failed to connect to host : aa.bb.cc.dd, project UV'
(The connection is broken (81002)) from datastage administrator


The connections used to be fine until the server was restarted.
Pls advise on where could in the datastage directories I could check for such
errors.

Thank you

Regards

Posted: Mon Mar 20, 2006 3:41 am
by ArndW
This is not an uncommon error and has been posted in many threads (remember that search is your friend).

Do you get the problem if you try to connect using another client program such as the manager or administrator? Are you sure that the server has been started correctly (is there a dsrpcd process running)?

check here

Posted: Mon Mar 20, 2006 4:58 am
by kumar_s
What you get if you execute

Code: Select all

netstat -a | grep dsrpc
from command prompt?[/code]

Posted: Mon Mar 20, 2006 7:19 am
by seell
Have checked that the process dsprc is running. Also Encountered error 'Failed to connect to host : aa.bb.cc.dd, project UV' (The connection is broken (81002)) from datastage administrator.

Would have to check output of netstat-a command and update outocme.

Posted: Mon Mar 20, 2006 7:23 am
by kumar_s
Try

Code: Select all

cd $DSHOME
bin/dssh
>LOGTO {Project_name}
Make sure you can able to login to project through TCL.

Posted: Mon Mar 20, 2006 7:29 am
by ArndW
To add to or complete what kumar stated execut the following:

Code: Select all

cd `cat /.dshome`
. ./dsenv
bin/dssh
you should get a ">" prompt and can exit back to UNIX with the command QUIT. Not all installations/userid have the $DSHOME initialized upon login, and the same applies to the user environment set with the DSENV script.

Posted: Mon Mar 20, 2006 7:38 am
by vcannadevula
Is it a non-root installation or a root installation??

IF it is a non-root then you need to run the enable_impersonation scripts, to enable the non-root to restart the server

Posted: Tue Mar 21, 2006 7:31 am
by seell
To the last post : it is a root installation.
Anyway, managed to login through TCL
---------
cd $DSHOME
bin/dssh
>LOGTO ABC
---------
Did a DS.TOOLS and selected rebuild indexes repository.
Restarted datastage; and now I am able to connect to the server. Suspected that the indexes were corrupted by the server being rebooted.

Thank you for all the help given. Would try to remember to search the forum first for any messages first next time around.
Have a nice day
Regards

Posted: Tue Mar 21, 2006 7:34 am
by kumar_s
seell wrote:To the last post : it is a root installation.
Anyway, managed to login through TCL
---------
cd $DSHOME
bin/dssh
>LOGTO ABC
---------
Did a DS.TOOLS and selected rebuild indexes repository.
Restarted datastage; and now I am able to connect to the server. Suspected that the indexes were corrupted by the server being rebooted.

Thank you for all the help given. Would try to remember to search the forum first for any messages first next time around.
Have a nice day
Regards
Indices really shouldt be a reason for connection broken.
But Might be a case where all the services might not be started in the previous restart.