Page 1 of 1

DataStage: dsadmin createproject command

Posted: Thu May 14, 2015 7:55 am
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

Posted: Fri May 15, 2015 6:44 am
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

Posted: Sat May 16, 2015 3:13 am
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.

Posted: Mon May 18, 2015 1:28 am
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

Posted: Mon May 18, 2015 7:28 am
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.

Posted: Wed May 20, 2015 11:36 am
by akshu.agni
Hi Paul,

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

Regards,
Aks

Posted: Wed May 20, 2015 12:10 pm
by PaulVL
do any other dsadmin commands work?

Posted: Thu May 21, 2015 7:04 am
by qt_ky
Does your engine run on the default port?

Posted: Thu May 21, 2015 9:15 am
by akshu.agni
PaulVL wrote:do any other dsadmin commands work?
yes, it does.

Posted: Thu May 21, 2015 9:17 am
by akshu.agni
qt_ky wrote:Does your engine run on the default port?
yes.

Posted: Thu May 21, 2015 4:33 pm
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.

Posted: Sun May 24, 2015 10:59 am
by akshu.agni
Hi,

Tried, still same error.

Posted: Mon Jun 08, 2015 6:02 am
by akshu.agni
Could you please help on this?

Posted: Mon Jun 08, 2015 6:34 am
by qt_ky
Try contacting Support.