DataStage: dsadmin createproject command

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
akshu.agni
Participant
Posts: 17
Joined: Tue Jan 25, 2011 5:24 am
Location: Bangalore

DataStage: dsadmin createproject command

Post by akshu.agni »

Hi,

I am trying to create a project with dsadmin commad but it is failing.

Details:
DataStage Version:11.3
Platform: Linux.

dsadmin -domain serviceshostname:9445 -user dsadm -password ******* -server enginehostname -createproject test_project -location /data/projects/test_project/project

ERROR: java.rmi.RemoteException: peer not authenticated; nested exception is:
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

Status code = -1010 DSJE_DOMAINLOGTOFAILED


Any help on this will be greatly appreciated.

Thanks in advance.

Regards,
Aks
Aks
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

It looks like you are running on an instance with non-default port numbers. If that is also true for your engine, then include its non-default port number in the -server option as well. Sometimes it helps to give the engine number in uppercase only. Example: -server ENGINE:port
Choose a job you love, and you will never have to work a day in your life. - Confucius
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Actually, 9443 is the default port number for 11.3, in which you have to use https, as http is no longer supported.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
akshu.agni
Participant
Posts: 17
Joined: Tue Jan 25, 2011 5:24 am
Location: Bangalore

Post by akshu.agni »

Hi Ray,

I tried, its the same issue again.

dsadmin -domain dstagesbox:9443 -user dsadm -password ********-server engine -createproject test_project -location /data/projects/test_project/project

ERROR: java.rmi.RemoteException: Connection to https://dstagesbox:9443 refused; nested exception is:
org.apache.http.conn.HttpHostConnectException: Connection to https://dstagesbox:9443 refused

Status code = -1010 DSJE_DOMAINLOGTOFAILED
Aks
PaulVL
Premium Member
Premium Member
Posts: 1315
Joined: Fri Dec 17, 2010 4:36 pm

Post by PaulVL »

Go look in your Version.xml file for this line:

<PersistedVariable encrypted="false" name="was.secure.default.host.port" persistent="true" readonly="true" value="9445"/>

It should indicate what your correct port number is for that domain authentication.
akshu.agni
Participant
Posts: 17
Joined: Tue Jan 25, 2011 5:24 am
Location: Bangalore

Post by akshu.agni »

Hi Paul,

It has the same value which you mentioned, but still getting the same error.

Regards,
Aks
Aks
PaulVL
Premium Member
Premium Member
Posts: 1315
Joined: Fri Dec 17, 2010 4:36 pm

Post by PaulVL »

do any other dsadmin commands work?
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

Does your engine run on the default port?
Choose a job you love, and you will never have to work a day in your life. - Confucius
akshu.agni
Participant
Posts: 17
Joined: Tue Jan 25, 2011 5:24 am
Location: Bangalore

Post by akshu.agni »

PaulVL wrote:do any other dsadmin commands work?
yes, it does.
Aks
akshu.agni
Participant
Posts: 17
Joined: Tue Jan 25, 2011 5:24 am
Location: Bangalore

Post by akshu.agni »

qt_ky wrote:Does your engine run on the default port?
yes.
Aks
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

This may or may not work. Try being in the engine directory when you execute the command.

Code: Select all

cd `cat /.dshome`
bin/dsadmin -domain dstagesbox:9443 -user dsadm -password ********-server engine -createproject test_project -location /data/projects/test_project/project 
Make sure that the location directory exists, and is writable.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
akshu.agni
Participant
Posts: 17
Joined: Tue Jan 25, 2011 5:24 am
Location: Bangalore

Post by akshu.agni »

Hi,

Tried, still same error.
Aks
akshu.agni
Participant
Posts: 17
Joined: Tue Jan 25, 2011 5:24 am
Location: Bangalore

Post by akshu.agni »

Could you please help on this?
Aks
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

Try contacting Support.
Choose a job you love, and you will never have to work a day in your life. - Confucius
Post Reply