cancel
Showing results for 
Search instead for 
Did you mean: 

Error during dual stack split

Former Member
0 Kudos

Hi all,

   I am performing a dual stack split on (ERP 6 EHP6). operating system is Suse Linux(11.1) and MaxDB(7.9.8). using SWPM. During the export of Primary application server phase, it is giving the following error.

An error occurred while processing option <i>Du

al-Stack Split > MaxDB > Keep Database > Standard System or Distributed > Export

Primary Application Server of Dual-Stack System( Last error reported by the ste

p: Execution of UTL tool '/usr/sap/<SID>/SYS/exe/jvm/linuxx86_64/sapjvm_4.1.023/bi

n/java -classpath /sapmnt/<SID>/global/sltools/sharedlib/sap.com~tc~bl~offline_lau

ncher~impl.jar -showversion -Xmx256m com.sap.engine.offline.OfflineToolStart com

.sap.sl.ut.manager.UtlMain /usr/sap/<SID>/SYS/global/security/lib/tools/iaik_jce.j

ar:/usr/sap/<SID>/SYS/global/security/lib/tools/iaik_jsse.jar:/usr/sap/<SID>/SYS/glo

bal/security/lib/tools/iaik_smime.jar:/usr/sap/<SID>/SYS/global/security/lib/tools

/iaik_ssl.jar:/usr/sap/<SID>/SYS/global/security/lib/tools/w3c_http.jar:/sapmnt/I0

4/global/sltools/sharedlib:/sapdb/clients/<SID>/runtime/jar/sapdbc.jar -export -ty

pe=keydb -expfile=usages_data_<SID>.xml -log=UTL_load_usages.log -sid=<SID> -dsn=jdb

c/pool/<SID> -ssprops=/usr/sap/<SID>/SYS/global/security/data/SecStore.properties -s

sk=/usr/sap/<SID>/SYS/global/security/data/SecStore.key' aborts with return code 2

. Check 'UTL_load_usages.log' and '/tmp/sapinst_instdir/NW73/DSS/KeepDB/ADA/Expo

rtPAS/UTL.java.log' for more information.)</i>. You can now: </p> <ul> <li> Choo

se <i>Retry</i> to repeat the current step. </li> <li> Choose <i>Log Files</i> t

o 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_instd

ir/NW73/DSS/KeepDB/ADA/ExportPAS</code>. </p> </body></html>

I checked the UTL_java.log and it has the following message.

Error: could not find libjava.so

Error: could not find Java 2 Runtime Environment.

Need help in resolving the issue.

Warm regards,

Balaji.P


Accepted Solutions (1)

Accepted Solutions (1)

Reagan
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

Have you set the JAVA_HOME environment variable ?

Find out whether there is java installed.

which java

Then set the JAVA_HOME and restart the activity.

eg: setenv JAVA_HOME /usr/lib64/jvm/jre

Regards

RB

Former Member
0 Kudos

Hi Reagan,

     Java is already installed. Please find the output for env variables and java attached. These are for

root user.

hostname:~ # which java

/usr/bin/java

Hostname:~ # java -version

java version "1.7.0_45"

Java(TM) SE Runtime Environment (build 1.7.0_45-b18)

Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

Hostname:~ # env|grep lib

JRE_HOME=/usr/lib64/jvm/jre

PATH=/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib64/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/gnome/bin

JAVA_BINDIR=/usr/lib64/jvm/jre/bin

JAVA_HOME=/usr/lib64/jvm/jre

PKG_CONFIG_PATH=/opt/gnome/lib64/pkgconfig:/opt/gnome/share/pkgconfig

JAVA_ROOT=/usr/lib64/jvm/jre

Warm regards,

Balaji.P

Reagan
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Balaji


Error: could not find libjava.so

Error: could not find Java 2 Runtime Environment.

It looks like the system needs Java 2 Runtime Environment


hostname:~ # which java

/usr/bin/java

Hostname:~ # java -version

java version "1.7.0_45"

Java(TM) SE Runtime Environment (build 1.7.0_45-b18)

Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

But you have an older version (build 1.7)

Check whether there is a compatible version of Java available on the server and if yes point the JAVA_HOME to that location.

Else update the JRE to a compatible one and restart the sapinst.

Regards

RB

Reagan
Product and Topic Expert
Product and Topic Expert
0 Kudos

Also try to set the sidadm user with the JAVA_HOME setting.

Refer to this thread

http://scn.sap.com/message/3626740

Regards

RB

Former Member
0 Kudos

Hi,

Can you please post the full log .UTL.java.log

What is the java version. As per the logs it looks to be NW 7.3.

. Check 'UTL_load_usages.log' and '/tmp/sapinst_instdir/NW73/DSS/KeepDB/ADA/Expo

rtPAS/UTL.java.log' for more information.)

For the jvm version only 6.1 SAPJVM is supported but it looks like that you are using sapjvm 4.1.

/usr/sap/<SID>/SYS/exe/jvm/linuxx86_64/sapjvm_4.1.023/bi

n/java -classpath /sapmnt/<SID>/global/sltools/sharedlib/sap.com~tc~bl~offline_lau

So the jvm version that you are using is not supported as per PAM. Please upgrade the JVM to 6.1 and see if it  helps.

Thanks

Rishi Abrol

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi All,

  The issue has been resolved after JVM has been upgraded to 6.1as recommended by Rishi,  and I took a reboot of the system and started the split tool again it was working fine.

Regards,

Balaji.P