cancel
Showing results for 
Search instead for 
Did you mean: 

Solution Manager 7.1 on Linux stop at phase - Create Secure Key

former_member280828
Participant
0 Kudos

Hello,

We are doing installation of Solution Manager 7.1 on Linux X86_64 during installation we are stuck at phase - Create Secure Key.

Some information -

[root@SOLMAN SWPM]# echo $JAVA_HOME

/opt/IBMJava2-amd64-142

[root@SOLMAN SWPM]# java -version

java version "1.4.2" - gij (GNU libgcj) version 4.1.2 20071124 (Red Hat 4.1.2-42)

[root@SOLMAN AS]# uname -a

Linux SOLMAN 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64

x86_64 GNU/Linux

Logs from sapinst_dev :

ERROR  2013-09-26 13:09:00.481 [sixxcstepexecute.cpp:901]

FCO-00011  The step createSecureStore with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_SecureStore|ind|ind|ind|ind|securestore|0|createSecureStore was executed with status ERROR ( Last error reported by the step: Cannot create the secure store. SOLUTION: See output of log file SecureStoreCreate.log:

SAP Secure Store in the File System - Copyright (c) 2003 SAP AG

java.lang.reflect.InvocationTargetException

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:331)

    at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

Caused by: java.lang.UnsatisfiedLinkError: no net in java.library.path

    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1601)

    at java.lang.Runtime.loadLibrary0(Runtime.java:788)

    at java.lang.System.loadLibrary(System.java:853)

    at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)

    at java.security.AccessController.doPrivileged(Native Method)

    at java.net.InetAddress.<clinit>(InetAddress.java:217)

    at javax.crypto.SunJCE_b.h(DashoA12275)

    at javax.crypto.SunJCE_b.c(DashoA12275)

    at javax.crypto.SunJCE_b.b(DashoA12275)

    at javax.crypto.SunJCE_t.run(DashoA12275)

    at java.security.AccessController.doPrivileged(Native Method)

    at javax.crypto.SunJCE_b.<clinit>(DashoA12275)

    at javax.crypto.Cipher.a(DashoA12275)

    at javax.crypto.Cipher.getInstance(DashoA12275)

    at iaik.security.provider.IAIK.a(Unknown Source)

    at iaik.security.provider.IAIK.addAsJDK14Provider(Unknown Source)

    at iaik.security.provider.IAIK.addAsJDK14Provider(Unknown Source)

    at com.sap.security.core.server.secstorefs.Crypt.<clinit>(Crypt.java:82)

    at com.sap.security.core.server.secstorefs.SecStoreFS.setSID(SecStoreFS.java:158)

    at com.sap.security.core.server.secstorefs.SecStoreFS.handleCreate(SecStoreFS.java:804)

    at com.sap.security.core.server.secstorefs.SecStoreFS.main(SecStoreFS.java:1274)

    ... 5 more.).

TRACE  2013-09-26 13:09:00.627 [kdxxctaco.cpp:100]
       CKdbTableContainerImpl::syncToContainerFile lib=iakdblib

CKdbTableContainerImpl::syncToContainerFile start ...

TRACE  2013-09-26 13:09:01.367 [kdxxctaco.cpp:129]
       CKdbTableContainerImpl::syncToContainerFile lib=iakdblib

after creating out stream  for /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS/statistic.xml

TRACE  2013-09-26 13:09:01.549 [kdxxctaco.cpp:163]
       CKdbTableContainerImpl::syncToContainerFile lib=iakdblib

CKdbTableContainerImpl::syncToContainerFile stop ...

TRACE  2013-09-26 13:09:01.616 [syxxcfile.cpp:85]
       CSyFileImpl::decideIfMoveCopyNode(const CopyMoveDestinationInfo & {m_nodeTypeForCombiCheck: ..., m_path: /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS/__instana_tmp.11.xml, m_realNodeType: 8}, ISyNode::CopyMoveMode_t 0x3, PSyNodeInt &) const 
       lib=syslib module=syslib

Target node does not exist and (mode & ISyNode::MISSING) ==> I will copy/move.

TRACE  2013-09-26 13:09:01.617 [syxxcnode.cpp:428]
       CSyNodeImpl::move(const CSyPath & /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS/__instana_tmp.11.xml, ISyNode::CopyMoveMode_t 0x3)
       lib=syslib module=syslib

Moved /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS/__instana_tmp.xml to /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS/__instana_tmp.11.xml

INFO   2013-09-26 13:09:01.622 [syuxcpath.cpp:447]
       CSyPath::createFile() lib=syslib module=syslib

Creating file /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS/__instana_tmp.xml.

TRACE  2013-09-26 13:09:01.668 [syuxctask.cpp:237]
       CChildApplicationImpl::doStart() lib=syslib module=syslib

A child process has been started. Pid = 3179

TRACE  2013-09-26 13:09:01.724 [syuxctask.cpp:600]
       CUnixProcessManager::sap_waitpid(pid_t pid, int * pStatus, int options)
       lib=syslib module=syslib

Child process 3179 returned 0

TRACE  2013-09-26 13:09:01.794 [syuxctask.cpp:237]
       CChildApplicationImpl::doStart() lib=syslib module=syslib

A child process has been started. Pid = 3180

TRACE  2013-09-26 13:09:01.852 [syuxctask.cpp:600]
       CUnixProcessManager::sap_waitpid(pid_t pid, int * pStatus, int options)
       lib=syslib module=syslib

Child process 3180 returned 0

TRACE  2013-09-26 13:09:11.476

SAPInst calls the LogInquirer. The output of the LogInquirer can be found in file sapinst_loginquirer.log.

TRACE  2013-09-26 13:09:11.599 [iaxxgenimp.cpp:660]
        CGuiEngineImp::showMessageBox

<html> <head> </head> <body> <p> An error occurred while processing option <i>SAP Solution Manager 7.1 Support Release 1 > SAP Systems > Oracle > Central System > Central System( Last error reported by the step: Cannot create the secure store. SOLUTION: See output of log file SecureStoreCreate.log:

SAP Secure Store in the File System - Copyright (c) 2003 SAP AG

java.lang.reflect.InvocationTargetException

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:331)

    at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

Caused by: java.lang.UnsatisfiedLinkError: no net in java.library.path

    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1601)

    at java.lang.Runtime.loadLibrary0(Runtime.java:788)

    at java.lang.System.loadLibrary(System.java:853)

    at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)

    at java.security.AccessController.doPrivileged(Native Method)

    at java.net.InetAddress.<clinit>(InetAddress.java:217)

    at javax.crypto.SunJCE_b.h(DashoA12275)

    at javax.crypto.SunJCE_b.c(DashoA12275)

    at javax.crypto.SunJCE_b.b(DashoA12275)

    at javax.crypto.SunJCE_t.run(DashoA12275)

    at java.security.AccessController.doPrivileged(Native Method)

    at javax.crypto.SunJCE_b.<clinit>(DashoA12275)

    at javax.crypto.Cipher.a(DashoA12275)

    at javax.crypto.Cipher.getInstance(DashoA12275)

    at iaik.security.provider.IAIK.a(Unknown Source)

    at iaik.security.provider.IAIK.addAsJDK14Provider(Unknown Source)

    at iaik.security.provider.IAIK.addAsJDK14Provider(Unknown Source)

    at com.sap.security.core.server.secstorefs.Crypt.<clinit>(Crypt.java:82)

    at com.sap.security.core.server.secstorefs.SecStoreFS.setSID(SecStoreFS.java:158)

    at com.sap.security.core.server.secstorefs.SecStoreFS.handleCreate(SecStoreFS.java:804)

    at com.sap.security.core.server.secstorefs.SecStoreFS.main(SecStoreFS.java:1274)

    ... 5 more.)</i>. You can now: </p> <ul> <li> Choose <i>Retry</i> to repeat the current step. </li> <li> Choose <i>Log Files</i> to get more information about the error. </li> <li> Stop the option and continue with it later. </li> </ul> <p> Log files are written to <code>/tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS</code>. </p> </body></html>

TRACE  2013-09-26 13:09:11.600 [iaxxgenimp.cpp:1137]
       CGuiEngineImp::acceptAnswerForBlockingRequest

Waiting for an answer from GUI

Logs from SecureStoreCreate -

SAP Secure Store in the File System - Copyright (c) 2003 SAP AG

java.lang.reflect.InvocationTargetException

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:331)

    at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

Caused by: java.lang.UnsatisfiedLinkError: no net in java.library.path

    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1601)

    at java.lang.Runtime.loadLibrary0(Runtime.java:788)

    at java.lang.System.loadLibrary(System.java:853)

    at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)

    at java.security.AccessController.doPrivileged(Native Method)

    at java.net.InetAddress.<clinit>(InetAddress.java:217)

    at javax.crypto.SunJCE_b.h(DashoA12275)

    at javax.crypto.SunJCE_b.c(DashoA12275)

    at javax.crypto.SunJCE_b.b(DashoA12275)

    at javax.crypto.SunJCE_t.run(DashoA12275)

    at java.security.AccessController.doPrivileged(Native Method)

    at javax.crypto.SunJCE_b.<clinit>(DashoA12275)

    at javax.crypto.Cipher.a(DashoA12275)

    at javax.crypto.Cipher.getInstance(DashoA12275)

    at iaik.security.provider.IAIK.a(Unknown Source)

    at iaik.security.provider.IAIK.addAsJDK14Provider(Unknown Source)

    at iaik.security.provider.IAIK.addAsJDK14Provider(Unknown Source)

    at com.sap.security.core.server.secstorefs.Crypt.<clinit>(Crypt.java:82)

    at com.sap.security.core.server.secstorefs.SecStoreFS.setSID(SecStoreFS.java:158)

    at com.sap.security.core.server.secstorefs.SecStoreFS.handleCreate(SecStoreFS.java:804)

    at com.sap.security.core.server.secstorefs.SecStoreFS.main(SecStoreFS.java:1274)

    ... 5 more

Also searched in google found couple of sdn and other posts but not found specific above error please let me know if any one came across with such error and solution.

Thanks & Regards.

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member280828
Participant
0 Kudos

Hello All,

Thanks to everyone here for their kind help & support, I just wanted to update that the installation is completed successfully after I did below task :

1) changed sapinst & temp dir from /tmp to other location where more than 20Gb is free (/tmp was haing 3Gb free)

2) set tmp, tmpdir, temp, sapinst_dir env variable to point new temp dir

3) installation of ibm jdk 1.5.0_22 rpm package

4) started new/clean installation

Again thank you all.

former_member183107
Contributor
0 Kudos

Hi,

Great to know the issue resolved.

Regards,

Himanshu

Akshay_G
Contributor
0 Kudos

Hi,

For SOLMAN 7.1, you don't have to force to use the Java you mentioned above i.e. /opt/IBMJava2-amd64-142

For installation, SAP will pick up its own JVM after extraction, namely sapjvm_4 and if you are serious about java issues, its best to stick with the recommendations. 3rd party JDKs aren't supported anymore, only SAPJVM.

I have a Solution Manager 7.1 Installation on Linux OS, just verified and checked it.

Can you, clean out the installation logs and unset the Java and restart installation again?

Regards,

Akshay

former_member280828
Participant
0 Kudos

Thanks Akshay,

Did you mean clean out the current IBM java and start the SAP installation without having any java?

/opt/IBMJava2-amd64-142 - this was there already so I didn't touched anything  we are ok if this is being replaced by SAPJVM after installation but it is stuck in middle.

Thanks,

Akshay_G
Contributor
0 Kudos

You don't need to necessarily delete the Java Directory.

Just unset the Environment variables JAVA_HOME and in Java Bin in path.

They must be coming from .profile or .login if you did not set it explicitly.

If you don't find the target, just overwrite and point to nowhere as a trick.

Start the SAP installation without setting any java to see if it goes fine!

-Akshay

former_member280828
Participant
0 Kudos

Attachments-

Secure Key.log

Sapinst.log

former_member183107
Contributor
0 Kudos

Hi,

1. Check whether sapmnt has been granted the full access.

2. Also sometimes the cause of the problem can be as follows:-

The problem with the most of the java errors are because of the J2EEINSTALL.SAR not correctly extract during installation.  J2EEINSTALL.SAR  file not extracted in "install" directory in /tmp/sapinst_instdir.

Solution:

1. Stop the installation

2. Get The J2EEINSTALL.SAR from java components (NW Java Comp DVD)

"J2EEINSTALL.SAR" file can be found the NetWeaver Java Component DVD as shown below

/DVD/UNZIP_NetWeaver_64Bit/NW_Java_Comp/51033513/DATA_UNITS/

JAVA_J2EE_OSINDEP_J2EE_INST,

You need to extract to /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/install directory.

3. copy this file ("J2EEINSTALL.SAR) to the install directory in /tmp as below

/tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/install

4. Go to the /install dir, then do  /sapmnt/SID/exe/SAPCAR -xvf  J2EEINSTALL.SAR

5.  Restart the installation.

6. Problem will be solve.

I found out most java problems are solved by doing this.

Hope it helps.

Rwgards,

Himanshu

former_member280828
Participant
0 Kudos

Thanks Himanshu,

Tried your steps but no luck.

former_member280828
Participant
0 Kudos

Hi Himanshu,

I have restarted the installation the installation is currently running. What I observed here is the 2 folder i.e (1) install (2)sapjvm_4 under - /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS is getting empty when we press retry.

Thanks,

Former Member
0 Kudos

Hi

What Java version are you using? 

The installation will try and install SAPJVM - have you allowed this to be installed?

PS. next time can you attach the log files rather than pasting them in as it's easier to read?

Thanks

Graham

former_member280828
Participant
0 Kudos

Thanks Graham,

Java version is "1.4.2" - gij (GNU libgcj) version 4.1.2 20071124 (Red Hat 4.1.2-42)

We have not got any option of selecting SAPJVM during installation if it's doing it by default then we are ok.

Also while attaching files it's not allowing me to attach giving error like content of file is in appropriate tried to zip/rar but did't help.

will try to upload from some where else.

Former Member
0 Kudos

Hi

Java 1.4.2 is fine.  Don't upload a zip, just as a text file is fine.

I can see that you are root so the rights should be fine.