cancel
Showing results for 
Search instead for 
Did you mean: 

guiengine: No GUI server connected

Former Member
0 Kudos

Hello,

I had serched to many post related to topic but not enough to reach issue resolution.

Whenever i tried to run ./sapinst i am getting

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


JAVA detail


root@host ~]# echo $JAVA_HOME

/usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java

[root@host ~]# echo $PATH

/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/root/bin:/usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin

[root@host ~]# echo $SAPINST_JRE_HOME

/usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java

How to resolve ?

Regards

Santosh

Accepted Solutions (1)

Accepted Solutions (1)

former_member182657
Active Contributor
0 Kudos

Hi,

Please maintain host entries as like


127.0.0.1  localhost.localdomain  localhost

<IP of server>  <Host Name>

After maintaining host file try to execute ./sapinst once again.

Regards,

Former Member
0 Kudos

Hi Gaurav,

I had maintained the host like

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4

192.168.100.4 abc

::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

Is this correct?

Regards

Santosh

former_member182657
Active Contributor
0 Kudos

Hi,

Please maintain entries as i mentioned in my previous reply & try again.Entries would be as like


127.0.0.1   localhost.localdomain localhost

192.168.100.4    abc

Please confirm .

Regards,

Former Member
0 Kudos

Thnaks Dear.

Its working now.

Former Member
0 Kudos

Hi Gaurav,

but now i am getting issue

msg.proxy.0008 Network input/output exception has occurred: Connection has been shutdown: javax.net.ssl.SSLException: java.lang.IndexOutOfBoundsException javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: java.lang.IndexOutOfBoundsExcep

I am also attaching screen shot.

Answers (5)

Answers (5)

former_member182657
Active Contributor
0 Kudos

Hi Santosh,

Could you give a try by un-setting of all environment variables like JAVA_HOME,PATH & SAPINST_JRE_HOME ?

After unset give a try and confirm.

Regards,

Former Member
0 Kudos

Hi Gaurav,

After un-setting of all environmental variable, i am getting

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

former_member182657
Active Contributor
0 Kudos

Hi,

Could you share host file as an attachment & result for xclock command ?

Regards,

Former Member
0 Kudos

Can you share full output you have gotten during sapinst execution?

Former Member
0 Kudos

hi Gaurav,

For xclock

bash: xclock: command not found

Host file

127.0.0.1 localhost.localdomain localhost localhost4 localhost4.localdomain4

#192.168.100.4 abc

#::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

#export DISPLAY=<192.168.100.4>:0.0

former_member182657
Active Contributor
0 Kudos

Hi,


127.0.0.1 localhost.localdomain localhost localhost4 localhost4.localdomain4

#192.168.100.4 abc

#::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

Your host file is not according to mine.Please maintain as similar


127.0.0.1 localhost.localdomain localhost

192.168.100.4 abc

#::1         localhost localhost.localdomain localhost6 localhost6.localdomain6


For xclock

bash: xclock: command not found

Please confirm for OS package xorg-x11-apps installed or not and check again.

Regards,

Former Member
0 Kudos

Hi Gaurav,

now its,

127.0.0.1 localhost.localdomain localhost

192.168.100.4 abc

#::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

#export DISPLAY=<192.168.100.4>:0.0

But same issue.

Former Member
0 Kudos

Hi Roman,

When i am executing sapinst

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

Starting GuiServer using:

/usr/bin/java -Xmx256M -Djava.security.egd=file:/dev/urandom -cp /tmp/sapinst_exe.4223.1441100523/JAR/instgui.jar:/tmp/sapinst_exe.4223.1441100523/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 /root/sap_dump/installationmaster/IM_LINUX_X86_64/resourcepool.xml

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

please check

regards

Santosh dwivedi

former_member182657
Active Contributor
0 Kudos

Hi,

What about the xorg-* package on the system.Please check for the package & again share the result for xclock command .

Former Member
0 Kudos

It would be highly desirable to describe what actions you are trying to perform and which instruments you are using to achieve this. For example, if you are trying to install new SAP system which version of SWPM software you are using, which version of SAP system you are trying to install, which OS and its release you are using, is this remote installation and other. Also try to find full stack trace with exception which occured.

Former Member
0 Kudos

Thansk to all dear.

Sorry for delay in reply.

Issue has been solved now i am on installation phase.

Regards

Santosh Dwivedi

former_member182657
Active Contributor
0 Kudos

In resume to my previous replies please follow SAP KBA  1874519 - Network input/output exception while performing a remote installation with sapinst

Hope this will help you.

Regards,

former_member182657
Active Contributor
0 Kudos

Hi Santosh,

Please comment the line ::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

& maintain the host file under /etc/hosts as i replied you earlier

127.0.0.1  localhost.localdomain  localhost

<IP of server>  <Host Name>

Regards,

Former Member
0 Kudos

Hi Gaurav,

i maintained host file as you said but still issue is coming like

msg.proxy.0008 Network input/output exception has occurred: Connection has been shutdown: javax.net.ssl.SSLException: java.lang.IndexOutOfBoundsException javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: java.lang.IndexOutOfBoundsException

Comment on

line ::1    

localhost localhost.localdomain localhost6 localhost6.localdomain6

Its already in host file

former_member182657
Active Contributor
0 Kudos

Hi Santosh,

Comment on

line ::1     

localhost localhost.localdomain localhost6 localhost6.localdomain6

Its already in host file

You need to remove or put # symbol before this line under /etc/hosts file.Please verify once again after omitting the above said line.

Regards,

Former Member
0 Kudos

Hi Gaurav,

I did as you marked but same issue.

msg.proxy.0008 Network input/output exception has occurred: Connection has been shutdown: javax.net.ssl.SSLException: java.lang.IndexOutOfBoundsException javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: java.lang.IndexOutOfBoundsException

former_member182657
Active Contributor
0 Kudos

Hi Santosh,


Host file

27.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4

192.168.100.4   abc

::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

Host file should be

127.0.0.1   localhost.localdomain localhost

192.168.100.4    abc

former_member182657
Active Contributor
0 Kudos

Hi,

Have you restarted the system after the host file changes ? If not please restart it once & check again.If possible please share host file and also confirm, are you able to resolve host name by IP as well as IP by host name ?

Regards,

Former Member
0 Kudos

Hi,

I restarted the serevr but issue is

Could not connect to host abc.localhost on port 21212. java.net.UnknownHostException: abc.localhost

Host file

27.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4

192.168.100.4   abc

::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

~                                                                             

~                                                                             

Please check

Regards

Santosh

former_member185239
Active Contributor
0 Kudos

Hi Santosh,

Maintain the hostname in hosts file.

<ip>  <fullfqdn host name> <hostname without domain name>

also start the sapinst with

./sapinst SAPINST_USE_HOSTNAME=<give the hostname>

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Hi Ashu,

I had already maintained as you said

but still i am getting on GUI screen

msg.proxy.0008 Network input/output exception has occurred: Connection has been shutdown: javax.net.ssl.SSLException: java.lang.IndexOutOfBoundsException javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: java.lang.IndexOutOfBoundsException

regards

Santosh

former_member185239
Active Contributor
0 Kudos

Hi Santosh,

After maintaining the hostname , try to ping the server name

ping abc

also let us know the version of java which you are using

java -version

Remove all the enteries from host file and give a try.

With Regards

Ashutosh Chaturvedi

former_member185239
Active Contributor
0 Kudos

Hi Santosh,

Apply the java jdk 1.6.0.22 version which will have the fix for the above error.

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Hi Ashutosh,

I am able to ping host.

java version "1.6.0_22"

OpenJDK Runtime Environment (IcedTea6 1.10.4) (rhel-1.41.1.10.4.el6-x86_64)

OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)

former_member185239
Active Contributor
0 Kudos

Hi Santosh,

Can you fired the below command and rerun the sapinst

% java -Dsun.security.ssl.allowUnsafeRenegotiation=true Main

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Hi Ashutosh,

I fired command and result are

java -Dsun.security.ssl.allowUnsafeRenegotiation=true Main

Exception in thread "main" java.lang.NoClassDefFoundError: Main

Caused by: java.lang.ClassNotFoundException: Main

    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)

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

    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)

    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)

Could not find the main class: Main. Program will exit.