Page 1 of 1

upgrade 11 problem

Posted: Wed Aug 17, 2016 3:50 am
by wuruima
dear fri,
in my old ds environment, when i run the command , it's able to list out the projects.

now I upgrade to 11x, I don't know if anything is missing, I encounter error when I try to list the projects. and this is the error message below.

I tried to search in the forum but nothing found . could you help me to fix it? thanks so much.

dsjob -lprojects

Last recorded error message =
Connection to the specified engine tier host failed or was refused. Check that the RPC daemon service is running on the host and that no firewall is blocking the connection

Re: upgrade 11 problem

Posted: Wed Aug 17, 2016 4:16 am
by wuruima
Even if I just run the command dsjob, the last line is an error.
dsjob
Command Syntax:
dsjob [-authfile <authfile> | -file <file> <domain> <DataStage server> | [-domain <domain> | -url <url>] -user <user> -password <password> -server <DataStage server>] | -domain <domain> [-user <user>] -server <DataStage server>
<primary command> [<arguments>]

Valid primary command options are:
-run
-stop
-lqueues
-lprojects
-ljobs
-linvocations
-lstages
-llinks
-projectinfo
-jobinfo
-stageinfo
-linkinfo
-lparams
-paraminfo
-log
-logsum
-logdetail
-lognewest
-report
-jobid
-import

Status code = -9999 DSJE_DSJOB_ERROR

Re: upgrade 11 problem

Posted: Wed Aug 17, 2016 6:59 am
by chulett
wuruima wrote:Check that the RPC daemon service is running on the host and that no firewall is blocking the connection
And... did you?

Re: upgrade 11 problem

Posted: Wed Aug 17, 2016 7:20 pm
by wuruima
so, how to fix this problem ?

Posted: Wed Aug 17, 2016 8:59 pm
by ray.wurlod
The easiest way to determine whether the daemon is running is to see whether its process (dsrpcd) exists.

Code: Select all

ps -ef | grep dsrpcd | grep -v grep
Another way is to use the uv command to pose the question.

Code: Select all

cd `cat /.dshome`
. ./dsenv
bin/uv -admin -info

Posted: Wed Aug 17, 2016 9:00 pm
by ray.wurlod
If the dsprcd process is running, then perhaps you need to provide minimum credentials on the dsjob command line.

Re: upgrade 11 problem

Posted: Thu Aug 18, 2016 12:01 am
by chulett
wuruima wrote:so, how to fix this problem ?
Well... as I was attempting to point out, first you must determine what is causing the problem so you have a clue what needs 'fixing'. The message suggested two things to check and you've yet to say if you had checked either of them.

Then Ray dropped some relevant knowledge on you.

Posted: Wed Sep 21, 2016 11:21 am
by rkashyap
See this post.

Posted: Thu Apr 27, 2017 12:50 am
by skathaitrooney
Are you using non-default ports for DataStage? Try passing all the arguements to the dsjob command namely the domain and server arguements