cancel
Showing results for 
Search instead for 
Did you mean: 

Secure Store: Entry for host name is missing or empty

Former Member
0 Kudos

Hello All.

We have sap portal version 7.02 runing on OS WIN.

When we try to deploy new application fram Developer  system to

Test system.using SDM,

We  gets the following error:

message: "Cannot retrieve Engine logon data from Secure Store: Entry for host name is missing or empty (Secure Store key: admin/host/.

I had find this note:

2057940 - Error during deployment using SDM

But there is no property 'admin/host/xxx on secure store section in .../j2ee/configtool.

We need property 'admin/host/xxx on secure store section for sap version 7.02, I am not correct.

Thanks for any advice

Reza

Accepted Solutions (1)

Accepted Solutions (1)

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Reza ,

 

Hope you are doing good.

You just need to be sure that the property 'admin/host/<SID>' (or the error entry maintained in the SDM logs) is maintained along with he hostname of the system in configtool.

Basically the steps are:

1. backup the current SecStore.key and SecStore.properties file
2. start configtool, select secure store
3. add following key value pairs to secure store entries:


admin/host/<SID>      <hostname>
admin/password/<SID>  <password of administrator user>
admin/port/<SID>      <P4 port, usually 5NN04 where NN is the instance nr>
admin/user/<SID>      <administrator user ID>

Aterwards try deployment again.

Thank you!

____________

Kind Regards,

Hemanth

SAP AGS

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Once this is done, for test purpose, please try to deploy any file from :

..SDM\root\origin\sap.com\com.sap.engine.docs.examples

via the SDM application. Or you can select any other SCA and select the "update any version" option in SDM. is this working fine.
Is this working fine?
Else (mention the exact time) and kindly attach:

/usr/sap/<SID>/JC<nr>/SDM/program/log/*
and
/usr/sap/<SID>/<Central instance name>/j2ee/cluster/server0/logs/default trace (latest).


regards,
Hemanth

Former Member
0 Kudos

Hi Hemanth,

Thanks again for reply,

The problem is the administrator password is change and normally we change the property 'admin/host/<SID>' on Secure Store too.

I can see there is no property 'admin/host/xxx on secure store section in .../j2ee/configtool.

I wondering it is the same on dev and production as it is in test stystem. This sap portal installation is 7.02 version.

Thanks again

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Reza,

Are you sure this server this server is up and running and installed correctly? is this 7.02?

From a similar server in our landscape, these entries are available:

Regards,
Hemanth

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

The secstore properties fine usually has this data as well: \usr\sap\<SID>\SYS\global\security\data.

The entries usually are:

"

#SAP Secure Store file - Don't edit this file manually!

#Tue Sep 04 15:46:13 CEST 2012

jdbc/pool/JDI=kRR8k3gowNyNiTBtOGL4Ff/3OLam2pPujKIzQ5ckpOBA6+jy30EmmrACdfUpDW9k\r\nAf7qmuG3Z7QamC2FSYFJel0DudR43+DzN29zGcvl7r1TK9kkAlDQ24w/pgjitTbP\r\nvDvb1xWsE4jF0l3jBXG7b1OlG2b6J4F9iF4OiUqWb9JkhlcryRFziXVQEhui3JKm\r\nYzjei3pST2Xzhjz3dITw1Q97uJ0FMXrzWHG1q7zaS3CwL9q1zA/k2zRyKBHw6AW9\r\nwdHcyU740jCVaJo2YLGDLA\=\=

$internal/version=Ni4zMC4wMDAuMDAx

admin/password/JDI=kRR8k3gowNyNiTBtOGL4FYkpkEkgGItFVvt1V1Xucos6BNNExNITCw\=\=

$internal/mode=encrypted

admin/port/JDI=kRR8k3gowNyNiTBtOGL4FXkzpIRbfq4wt8AC6BIvH1l1vteKEZRHPA\=\=

admin/user/JDI=kRR8k3gowNyNiTBtOGL4FcAstgjOzGetlL459J+MSGjRuCJiYqtygOwQkphTRmcj

admin/host/JDI=kRR8k3gowNyNiTBtOGL4FVzqecj9aYRHJg7drZXIu6P4A69eTQ8HufXLZWFaumeq\r\nVXW1/hNsleWXJ74ME4woPw\=\=

$internal/check=IJDHnOrslrguLh6iI+iSSsPu/6qGe3ff

"

Looks like your sec store file is corrupt or wrong. This is where the configtool gets its data from.

Regards,
Hemanth

Former Member
0 Kudos

Hi Hemanth,

Yes I am sure about that

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

What about the secure store file. Is there data ( 'admin/host/xxx) available there?
If not, that's our problem .

Former Member
0 Kudos

Y0u are quit right the problem is the  secstore properties file on usr\sap\<SID>\SYS\global\security\data.

I had find a backup of this file and it is deferent from the we have on sap portal.

I will use the correct file and restart server to see if it is working.

I will come back with result.

Thanks again.

Reza

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Great news Reza .

Let me know how this goes; else I will try to recreate this file for you. You can then simply place this file in the global directory and that should be enough.

Kind regards,
Hemanth

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Also, if I am not wrong, the J2EE server is down presently. Is that right?

If so, the SDM will only start in the standalone mode (and not in the integrated mode). I hope you have checked this as well.

Regards,
Hemanth

Former Member
0 Kudos

Hi Hemanth,

The problem the wrong secstore properties file.

I used the backup file and after restart I have all correct propertys.

Thanks again for good advice..

Reza

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Great news Reza .

Just a point. If the sec store file was corrupt, you can use the attachment in note 1592575 and create a new one.

Simple .

Answers (1)

Answers (1)

former_member185239
Active Contributor
0 Kudos

Hi Reza,

I think you need to maintain the value of host and it will require a restart.

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Hi Ashutosh,

Thanks for reply,

What du you mean with: maintain the value of host?

Thanks again

Reza

former_member185239
Active Contributor
0 Kudos

Hi Reza,

You have to maintain the  below value in sapnetweaver 7.02

admin/hos/<SID> <hostname> in secure storage file and then take a restart of the system.

Also do follow the link

Introduction to the Configtool, JVM parameters and the Secure Store - Technology Troubleshooting Gui...

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Thanks Ashutosh,

I will try that and come back with result,

So I should create this property 'admin/host/xxx.

Thanks

Reza