cancel
Showing results for 
Search instead for 
Did you mean: 

SAPInst in RHEL 5.4: No GUI server connected; waiting for a connection on h

Former Member
0 Kudos

Hello guys.

I'm trying to Install SAP Netweaver 7 SR3 into a VM with RHEL5.4 and I'm getting the following issue with SAPINST:

_________________________________________________________________

[root@Z1T1BRPAVTD07 IM_LINUX_X86_64]# umask 022

[root@Z1T1BRPAVTD07 IM_LINUX_X86_64]# export JAVA_HOME=/usr/java/j2sdk1.4.2_19

[root@Z1T1BRPAVTD07 IM_LINUX_X86_64]# export PATH=$PATH:/usr/sbin

[root@Z1T1BRPAVTD07 IM_LINUX_X86_64]# export PATH=$JAVA_HOME/bin:$PATH

[root@Z1T1BRPAVTD07 IM_LINUX_X86_64]# export SHLIB_PATH=/sapmnt/W5X/exe

[root@Z1T1BRPAVTD07 IM_LINUX_X86_64]# ./sapinst

[==============================] \ extracting... done!

Starting GuiServer using:

/usr/java/j2sdk1.4.2_19/bin/java -Xmx256M

-Djava.security.egd=file:/dev/urandom -cp

/tmp/sapinst_exe.574.1309462536/JAR/instgui.jar:/tmp/sapinst_exe.574.1309462536/JAR/inqmyxml.jar

SDTServer config=jar:sdtserver.xml guiport=21212 sapinsthost=localhost

sapinstport=21200 guistart=true

init: retrieving account information for group sapinst...

init: retrieving account information done.

load resource pool

/usr/sap/trans/MIDIAS/51033511_SAP_NW70_SR3_INSTALLATION_MASTER_ERP_SCM_SRM_CRM/IM_LINUX_X86_64/resourcepool.xml

guiengine: No GUI server connected; waiting for a connection on host

Z1T1BRPAVTD07, port 21200 to continue with the installation

_________________________________________________________________

The SAPInst GUI starts and show me a message saying that it's not possible to connect to the Server.

I've checked:

- Libraries installed according to the Installation Guide

- Java SDK version (it is a litlle bit old (_19 ... current is _31), but should work, right?

- SWAP and Kernel parameters

- Port Connection (netstat -an shows that the port 21212 has a listener)

_________________________________________________________________

[root@Z1T1BRPAVTD07 IM_LINUX_X86_64]# java -version

java version "1.4.2_19"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_19-b04)

Java HotSpot(TM) Client VM (build 1.4.2_19-b04, mixed mode)

[root@Z1T1BRPAVTD07 IM_LINUX_X86_64]#

[root@Z1T1BRPAVTD07 IM_LINUX_X86_64]# echo $PATH

/usr/java/j2sdk1.4.2_19/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/sbin

[root@Z1T1BRPAVTD07 IM_LINUX_X86_64]#

[root@Z1T1BRPAVTD07 IM_LINUX_X86_64]# uname -a

Linux Z1T1BRPAVTD07 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009

x86_64 x86_64 x86_64 GNU/Linux

[root@Z1T1BRPAVTD07 IM_LINUX_X86_64]#

_________________________________________________________________

Do you guys have any insite of what is going on?

Thanks in advance,

Douglas Oliveira

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanls for your reply, mate... I'll follow your recommendation and I'll let you know if it solved my problem!

markus_doehr2
Active Contributor
0 Kudos

> [root@Z1T1BRPAVTD07 IM_LINUX_X86_64]# export JAVA_HOME=/usr/java/j2sdk1.4.2_19

> /usr/sap/trans/MIDIAS/51033511_SAP_NW70_SR3_INSTALLATION_MASTER_ERP_SCM_SRM_CRM/IM_LINUX_X86_64/resourcepool.xml

According to your logfiles you have a 32bit Java (for Linux x86) but you're running an installation for a 64bit Linux (x86_64). This doesn't work.

For Linux x86_64 you need the IBM JDK, not the Sun JDK. Sun doesn't provide a JDK for 64bit Linux on x86_64 (only Itanium).

See

Note 1172419 - Linux: Supported Java versions on the x86_64 platform

Markus

Former Member
0 Kudos

Markus, thanks for your reply.

I'm now using the SAP JVM 4 for Linux x86_64 and, after some additional steps, the SAPINST is working file.

1) Update JAVA RunTime to SAPJVM_4 (for Linux x86_64)

2) Updade Hostname to lowercase

3) Upgade /etc/hosts

4) ./sapinst -nogui

5) ./startInstGui.sh -host <hostname>

The SAPInstGui started directly by SAPINST was not working..

Douglas Oliveira

markus_doehr2
Active Contributor
0 Kudos

> The SAPInstGui started directly by SAPINST was not working..

Did you logon with root to the terminal where you started sapinst? If not (using 'su') you have to set the DISPLAY variable plus telling the X-Server using 'xhost+' that connections are allowed.

Markus

Former Member
0 Kudos

I logged on directly with root.