cancel
Showing results for 
Search instead for 
Did you mean: 

sapinst segfault with coredump :X

Former Member
0 Kudos

Hei,

I want install SAP on Solaris IA 64.

I have already install with success Oracle but i have a problem with sapinst ;

I have read more and more installation guide and i have check the system with :

memlimits -l 20000 [OK]

export LD_LIBRARY_PATH=/export/home/oracle/PRD/102_64/lib:/sapmnt/PRD/exe

export JAVA_HOME=/usr/jdk/j2sdk1.4.2_06

export ORACLE_HOME=/export/home/oracle/PRD/102_64

export ORACLE_SID=PRD

export SAPINST_JRE_HOME=/usr/jdk/j2sdk1.4.2_06

The export display is ok (i have try it with an another application as installer Oracle)

I try with :

cd BS_2005_SR2_SAP_Installation_Master/

cd IM_SOLARIS_X86_64/

./sapinst

[==============================] / extracting... done!

Starting GuiServer using:

/usr/jdk/j2sdk1.4.2_06/bin/java -cp /var/tmp/sapinst_exe.8527.1167736934/JAR/instgui.jar:/var/tmp/sapinst_exe.8527.1167736934/JAR/inqmyxml.jar -Djava.security.egd=file:/dev/urandom SDTServer config=jar:sdtserver.xml guiport=21212 sapinsthost=localhost sapinstport=21200 guistart=true

load resource pool /export/home/SAP-src/Software/Installation Master/BS_2005_SR2_SAP_Installation_Master/IM_SOLARIS_X86_64/resourcepool.xml

guiengine: no GUI connected; waiting for a connection on host V40z, port 21200 to continue with the installation

guiengine: login in process.

iauxsysex.c:317: child /var/tmp/sapinst_exe.8527.1167736934/sapinst (pid 8528) has crashed. Executable directory is /var/tmp/sapinst_exe.8527.1167736934. Contact Support.

iaextract.c:814: child has signaled an exec error. Keeping directory /var/tmp/sapinst_exe.8527.1167736934

When i look /var/tmp/sapinst_exe.8527.1167736934, only file dev_selfex.out give me some log :

cat dev_selfex.out

iaextract.c:453: Running in tmpdir /var/tmp/sapinst_exe.8527.1167736934

iaextract.c:493: Self is /export/home/SAP-src/Software/Installation Master/BS_2005_SR2_SAP_Installation_Master/IM_SOLARIS_X86_64/./sapinst, path is SAPINST_EXEDIR_CD=/export/home/SAP-src/Software/Installation Master/BS_2005_SR2_SAP_Installation_Master/IM_SOLARIS_X86_64/.

iaextract.c:525: Successfully initialized.

iaextract.c:837: Registering extractcallback: 37 files.

iauxsysex.c:156: chdir(/var/tmp/sapinst_exe.8527.1167736934) = 0

iaextract.c:590: Starting extraction

iaextract.c:251: extracting: sapinst

iaextract.c:251: extracting: iacdlib701.so

iaextract.c:251: extracting: iaccdlib.so

iaextract.c:251: extracting: iaejs701.so

iaextract.c:251: extracting: iakdblib701.so

iaextract.c:251: extracting: iakdbpar701.so

iaextract.c:251: extracting: iamodlib.so

iaextract.c:251: extracting: iajsmod.so

iaextract.c:251: extracting: iamsglib701.so

iaextract.c:251: extracting: iamodos.so

iaextract.c:251: extracting: iaregist701.so

iaextract.c:251: extracting: iastring701.so

iaextract.c:251: extracting: sylib701.so

iaextract.c:251: extracting: iapasswdman701.so

iaextract.c:251: extracting: iaguieng701.so

iaextract.c:251: extracting: sapcpp46.so

iaextract.c:251: extracting: xml63d.so

iaextract.c:251: extracting: xtc20d.so

iaextract.c:251: extracting: sapinstexe

iaextract.c:251: extracting: XTCC

iaextract.c:251: extracting: XTCRUN

iaextract.c:251: extracting: SAPCAR

iaextract.c:251: extracting: startInstGui.sh

iaextract.c:50: makedir(JAR)

iaextract.c:251: extracting: JAR/inqmyxml.jar

iaextract.c:251: extracting: JAR/instgui.jar

iaextract.c:191: creating directory: JAR/

iaextract.c:251: extracting: JAR/db2radm.jar

iaextract.c:251: extracting: JAR/ins-j2ee.jar

iaextract.c:251: extracting: JAR/rescheck.jar

iaextract.c:251: extracting: JAR/sapxmltoolkit.jar

iaextract.c:251: extracting: iamodada.so

iaextract.c:251: extracting: iamodapp.so

iaextract.c:251: extracting: iamodora.so

iaextract.c:251: extracting: iamodrfc.so

iaextract.c:251: extracting: iamodsdm.so

iaextract.c:251: extracting: iarfclib701.so

iaextract.c:251: extracting: librfccm.so

iaextract.c:592: Extraction finished with 0

iauxsysex.c:124: existsDirectory(jre) returns 0

iauxsysex.c:156: chdir(/export/home/SAP-src/Software/Installation Master/BS_2005_SR2_SAP_Installation_Master/IM_SOLARIS_X86_64) = 0

iaextract.c:799: selfexRun()

iaextract.c:626: selfexGetCommandline()

iaextract.c:636: No RC file /var/tmp/sapinst_exe.8527.1167736934/sfx.rc found, using builtin default.

iaextract.c:804: self->argv[0]: /var/tmp/sapinst_exe.8527.1167736934/sapinst

iauxsysex.c:281: started child /var/tmp/sapinst_exe.8527.1167736934/sapinst (pid 8528)

iauxsysex.c:312: child /var/tmp/sapinst_exe.8527.1167736934/sapinst (pid 8528) exited with signal 11

iauxsysex.c:317: child /var/tmp/sapinst_exe.8527.1167736934/sapinst (pid 8528) has crashed. Executable directory is /var/tmp/sapinst_exe.8527.1167736934. Contact Support.

iaextract.c:814: child has signaled an exec error. Keeping directory /var/tmp/sapinst_exe.8527.1167736934

iaextract.c:537: Starting cleanup

I have created user PRDadm with different group and i have check all requirement.

I don't know where i m not ok with the SAP installer

Anyone can help me ? I want to know why i can't start it.

Best regard

--

Maxime

Message was edited by:

SION Maxime

Accepted Solutions (0)

Answers (4)

Answers (4)

jgleichmann
Active Contributor
0 Kudos

Hi,

I had the same problem and I have solved it. I had an entry in /etc/hosts with 127.0.0.1 localhost, just comment it out and the sapinst works. Tested on SLES9.

best regards

Jens

Former Member
0 Kudos

Is your hardware IA64 or X86. There are different SAPINST for the two types of 64 bit chips. The sun JDK works for both of them but you have to use the right sapinst to start it.

Former Member
0 Kudos

Hi,

I have faced exactly the same issue ( but my OS is AIX 5.3).

Could please share your solution. How did you fix this issue !

Regards,

Dipam

andy_bevan
Member
0 Kudos

Not to sure if you still have this issue ??

I also had this also on AIX. To solve I just used the latest SAPINST.

It then completed connected successfully.

Hope it works

Andy

Former Member
0 Kudos

Hi, Correct. The following version works fine for me:

/mnt/sapinst/SRM50SR2/Master/IM_AIX_PPC64# ./sapinst -v

This is SAPinst, version 701, make variant 700_REL, build 943054

compiled on Nov 25 2007, 22:57:20

The issue arised after the AIX 5.3 upgrade to TL06 (oslevel -s 5300-06-04-0748).

Many thanks.

Jarda

Former Member
0 Kudos

If there is Java installed on your 64bit sever then its 64bit as 32 bit java cant be installed on IA 64. Now do one thing check what is the correct installtion path of Java. usually it might be like c:\j2sdk1.4.2_06\jre but in solaris is it like this =/usr/jdk/j2sdk1.4.2_06 am not sure. u need to check the same in ur OS and that path must be passed on to the SAPINST_JRE_HOME variable. So ask ur sys admin guy to upgrade the JDK to 10.

Check it out

Arun

Former Member
0 Kudos

Ok thanks for your answer.

I m root in this serv and i can install it.

I have installed jdk1.5.0_0, is it ok ?

I have install

best regard

Wyy if i run sapinst as root, there is :

103 syslib.system.commandFailed /usr/sbin/usermod,-G "adm,bin,daemon,lp,mail,nuucp,other,sys,tty,uucp,sapinst" root,8: UX: /usr/sbin/usermod: ERROR: root is in use. Cannot change it.

So, I should run sapinst as PRDadm ? but in installation guide, there is "run sapinst as root"; what should i do ?

I have try with j2sdk1.4.2_10 (self extract with j2sdk-1_4_2_10-solaris-i586.sh) and i have already the same error.

The version of java is :

./java -version

java version "1.4.2_10"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b03)

Java HotSpot(TM) Client VM (build 1.4.2_10-b03, mixed mode)

Best regard

null

Former Member
0 Kudos

hmmm i never tried with JDK 5 but i heared SAP getting installed on it. But making it clear SAP doesnt support the JDK 5 version.

Arun

Former Member
0 Kudos

also check note 941595 for further info in JDK and u can get JDK from the mentioned link in this note

Arun

Former Member
0 Kudos

have you a link for this note ?

(i have edit the last message with version of java)

When i try with manual cmd :

/usr/java/bin/java -cp /tmp/sapinst_exe.9150.1167749726/JAR/instgui.jar:/tmp/sapinst_exe.9150.1167749726/JAR/inqmyxml.jar -Djava.security.egd=file:/dev/urandom SDTServer config=jar:sdtserver.xml guiport=21212 sapinsthost=localhost sapinstport=21200 guistart=true

I have a window with :

SAPinst is not avaiable on localhost:21200

Connection to SAPinstAdapter could not be established, see following messages:

Could not connect to host localhost on port 21200

java.net.ConnectException: Connexion refused

Any idea ?

I have read note 941595

https://websmp106.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=941595&_NLANG...

I have installed "special version for SAP" j2sdk1.4.2_13

/usr/jdk/j2sdk1.4.2_13/bin/amd64/java -version

Error occurred during initialization of VM

java/lang/NoClassDefFoundError: java/lang/Object

What is it ? oo

Thanks for your help

Former Member
0 Kudos

I have installed the version 64 bits :

/usr/j2se/jre/bin/java -version

java version "1.4.2_06"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)

Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_13-b06, mixed mode)

I have set :

export JAVA_HOME=/usr/j2se/jre

export SAPINST_JRE_HOME=/usr/j2se/jre

export LD_LIBRARY_PATH=/sapmnt/PRD/exe

      • But ***

I have already the same error :

./sapinst

[==============================] / extracting... done!

Starting GuiServer using:

/usr/j2se/jre/bin/java -cp /tmp/sapinst_exe.9693.1167755852/JAR/instgui.jar:/tmp/sapinst_exe.9693.1167755852/JAR/inqmyxml.jar -Djava.security.egd=file:/dev/urandom SDTServer config=jar:sdtserver.xml guiport=21212 sapinsthost=localhost sapinstport=21200 guistart=true

load resource pool /export/home/SAP-src/Software/Master/BS_2005_SR2_SAP_Installation_Master/IM_SOLARIS_X86_64/resourcepool.xml

guiengine: no GUI connected; waiting for a connection on host V40z, port 21200 to continue with the installation

guiengine: login in process.

iauxsysex.c:317: child /tmp/sapinst_exe.9693.1167755852/sapinst (pid 9694) has crashed. Executable directory is /tmp/sapinst_exe.9693.1167755852. Contact Support.

iaextract.c:814: child has signaled an exec error. Keeping directory /tmp/sapinst_exe.9693.1167755852

I don t know that s the REAL problem with SAP :X

I have search on google and another but not really answer to resolve it.

best regards !

Former Member
0 Kudos

Mate did u maintain the enviroment variable for java. unlike 32 bit, 64 bit doesn't pick the java path automatically. u need to define SAPINST_JRE_HOME variable and start the installation.

Try this

Cheers

Arun ghewar

Former Member
0 Kudos

Hei,

Thanks for your answer but i have already set it with :

[Quote]

export LD_LIBRARY_PATH=/export/home/oracle/PRD/102_64/lib:/sapmnt/PRD/exe

export JAVA_HOME=/usr/jdk/j2sdk1.4.2_06

export ORACLE_HOME=/export/home/oracle/PRD/102_64

export ORACLE_SID=PRD

export SAPINST_JRE_HOME=/usr/jdk/j2sdk1.4.2_06 <=

[/Quote]

Former Member
0 Kudos

so u mean to say the u installed the JDK 64 bit on the server in usr/jdk/j2sdk1.4.2_06 <= this path and currently JDK 1.4.2_10 and 12 is recommended.

Arun

Former Member
0 Kudos

Ok i understand.

When i have installed solaris 10, the system install automatically Java.

How to see if the v ersion is good ?

And the version JDK 1.4.2_12 is not more available; so what i should doing ?

How to see the version 32 or 64 Bits is installed of java packages ?

Thanks