cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

Hello Gurus,

i´ve a question.

I´m trying to install a new SAP NW 2004s on Linux through a System Copy.

I log on the server with VNCServer and then login in System through KDE GUI with User root .

Then i start from shell the ./sapinst in a usr/sap/sapinstallation directory, the system hangs with the message:

guiengine: No GUI Server connected; waiting for a connection on host hostname, port 21200 to continue with the installation.

1. cat /etc/SuSE-release

SUSE Linux Enterprise Server 10 (x86_64)

VERSION = 10

PATCHLEVEL = 3

1. java -version

java version "1.4.2"

Java(TM) 2 Runtime Environment, Standard Edition (build 2.3)

IBM J9 VM (build 2.3, J2RE 1.4.2 IBM J9 2.3 Linux amd64-64 j9vmxa64142ifx-20090909 (JIT enabled)

J9VM - 20090908_41946_LHdSMr

JIT - 20090210_1447ifx1_r8

GC - 200902_24)

Here the complete command on shell and the error(?) message:

server :/usr/sap/sapinstall/51033511_BS2005_SR3_Installation_Master/BS_2005_S3_SAP_Installation_Master/IM_LINUX_X86_64 # ./sapinst

extracting... done!

Starting GuiServer using:

/usr/lib64/jvm/java/bin/java -Xmx256M -Djava.security.egd=file:/dev/urandom -cp /tmp/sapinst_exe.16682.1264088173/JAR/instgui.jar:/tmp/sapinst_exe.16682.1264088173/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/sapinstall/51033511_BS2005_SR3_Installation_Master/BS_2005_S3_SAP_Installation_Master/IM_LINUX_X86_64/resourcepool.xml

guiengine: No Gui server connected; waiting for a connection on host on my windows desktop. But the GUI canno connect on the remote port 21212.

Please can you help me. What do i have to check?

Thanks.

Alberto Di Fazio

Accepted Solutions (1)

Accepted Solutions (1)

markus_doehr2
Active Contributor
0 Kudos

> I also tried to do it remote with sapinst -nogui on the linux server and with startinstgui.bat -hostname <servername> on my windows desktop. But the GUI canno connect on the remote port 21212.

Check with

netstat -an | grep LISTEN

if there's a program listen on the port 21212 after you started sapinst.

If yes, then check if your local firewall is maybe blocking that port. This can be especially the case if the OS was freshly installed.

Markus

Answers (2)

Answers (2)

0 Kudos

Hello

if you are in borne shell then

export DISPLAY =IP address of your local System or hostname : 0.0

export JAVA_HOME=<PATH_TO_JAVA_HOME>

export PATH=$JAVA_HOME/bin:$PATH

if you are in C shell then

u2022setenv JAVA_HOME "<java home path e.g /mymachine/java/jdk1.6.0_03>" {do not forget inverted commas}

u2022setenv SAPINST_JRE_HOME "<java home path e.g /mymachine/java/jre1.6.0_03>" {do not forget inverted commas}

setenv PATH $JAVA_HOME/jre/bin:$JAVA_HOME/bin:$PATH

u2022setenv PATH $SAPINST_JRE_HOME/bin:$

setenv DISPLAY =IP address of your local System : 0.0

kind regards

Gurprinder

0 Kudos

Please follow Note number 1090932 and 1048303 very important.

Gurprinder

Former Member
0 Kudos

Hi,

check if DISPLAY variable is set properly...

#export DISPLAY=<your client IP address>:0.0

or

#export DISPLAY=<your server IP Address>:0.0

Then try it...

Also check that SELINUX is disabled...

Regards.

Rajesh Narkhede

Former Member
0 Kudos

Hello Markus, Hello Rajesh,

Thanks for the reply.

I checked with netstat on the port but there is no service listening on this port.

i´ve set the DISPLAY variable to DISPLAY=:0.0, but it doesnt´ help.

Do you think that maybe the error is due to a wrong Java Environment?

#java -version

java version "1.4.2"

Java(TM) 2 Runtime Environment, Standard Edition (build 2.3)

IBM J9 VM (build 2.3, JRE 1.4.2 IBM J9 2.3 Linux amd64-64 j9vmxa64142ifx-20090909 (JIT enabled)

J9VM - 20090908_41946_LHdSMr

JIT - 20090210_1447ifx1_r8

GC - 200902_24)

We already installed this system without any problem on one other Server where the java version is:

1. java -version

java version "1.4.2_11"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_11-b06)

Java HotSpot(TM) Client VM (build 1.4.2_11-b06, mixed mode)

I have asked if i firewall active is. There was a local firewall active, now was stopped. But the installation startet not.

PS: do we have to restart the server after the firewall stops?

Thanks.

Alberto

Edited by: Alberto Di Fazio on Jan 22, 2010 2:05 PM

Edited by: Alberto Di Fazio on Jan 22, 2010 2:10 PM

Former Member
0 Kudos

Hello I had the same problem and this java solve the problem

IBMJava2-AMD64-142-SDK-1.4.2-13.1

Regards

DS