cancel
Showing results for 
Search instead for 
Did you mean: 

SAPInst Error on Linux !

Former Member
0 Kudos

Hi Gurus,

I am facing the below error when I am trying to Install SM 4.0 on Linux, my environment is

Redhat Linux Enterprise 5.x

Oracle 10g

Error as below:

[root@caarma IM_LINUX_I386]# ./sapinst

[==============================] - extracting... done!

Starting GuiServer using:

/usr/bin/java -cp /tmp/sapinst_exe.6685.1215603054/JAR/instgui.jar:/tmp/sapinst_exe.6685.1215603054/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 /Dumps/51032523/IM_LINUX_I386/resourcepool.xml

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

It is hanging in this point.

I have checked the previous threads about this error and accordingly I have set the DISPLAY to my IP address. But still I am getting the same error.

I have installed J2SDK 1.4.2_14 and also environment variables are also set.

Can someone please suggest me where did I go wrong ?

Please its a urgent issue.

Thanks

Srikar

Accepted Solutions (0)

Answers (1)

Answers (1)

markus_doehr2
Active Contributor
0 Kudos

Is your display variable set?

echo $DISPLAY

Markus

Former Member
0 Kudos

Hi Markus,

Environment Variable of DISPLAY is set, Please see the output for "env"

MAIL=/var/spool/mail/root

PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/usr/java/j2sdk1.4.2_14/bin

DESKTOP_SESSION=default

GDM_XSERVER_LOCATION=local

INPUTRC=/etc/inputrc

PWD=/Dumps/51032523/IM_LINUX_I386

JAVA_HOME=/usr/java/j2sdk1.4.2_14/bin

XMODIFIERS=@im=none

LANG=en_US.UTF-8

GDMSESSION=default

SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass

SHLVL=2

HOME=/root

GNOME_DESKTOP_SESSION_ID=Default

LOGNAME=root

DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-4zPFYBLhea,guid=699e7448b1a10f5c4e906c7e4b28c000

LESSOPEN=|/usr/bin/lesspipe.sh %s

DISPLAY=172.30.5.58:0.0

G_BROKEN_FILENAMES=1

COLORTERM=gnome-terminal

XAUTHORITY=/tmp/.gdmV92EEU

_=/bin/env

Thanks

Srikar

markus_doehr2
Active Contributor
0 Kudos

And is that IP correct?

Markus

Former Member
0 Kudos

Hi Markus,

Yes the IP is correct, please see the first part of the output of "ifconfig"

eth0 Link encap:Ethernet HWaddr 00:0C:29:D7:83:A7

inet addr:172.30.5.58 Bcast:172.30.255.255 Mask:255.255.0.0

inet6 addr: fe80::20c:29ff:fed7:83a7/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:8310 errors:0 dropped:0 overruns:0 frame:0

TX packets:1408 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:1582380 (1.5 MiB) TX bytes:408827 (399.2 KiB)

Thanks,

Srikar

markus_doehr2
Active Contributor
0 Kudos

Ok.

can you start any other X program from the shell? xclock? does it open?

Markus

Former Member
0 Kudos

Hi Markus,

I tried to open xclock, but I am getting the error as below:

[root@caarma /]# xclock

Error: Can't open display: 172.30.5.58:0.0

Please let me know what is wrong ?

Thanks

Srikar

markus_doehr2
Active Contributor
0 Kudos

Did you login as user root or did you use "su" to get to root?

Markus

Former Member
0 Kudos

Hi Markus,

Yes I am in root, please see this:

[root@caarma ~]# pwd

/root

[root@caarma ~]# xclock

Error: Can't open display: 172.30.5.58:0.0

[root@caarma ~]#

Thanks

Srikar

markus_doehr2
Active Contributor
0 Kudos

And you´re executing that all in an xterm? or on the console?

Markus

Former Member
0 Kudos

Hi Markus,

I am executing them in Terminal. When I start the Linux Server it directly goes into Gnome GUI. From there I am opening the Terminal and executing them.

Thanks,

Srikar

markus_doehr2
Active Contributor
0 Kudos

Try the following:

- open a second terminal

- enter "xhost +"

- try to start "xclock"

Markus

Former Member
0 Kudos

Markus I opened a new Terminal and did the following:

[root@caarma ~]# xhost +

access control disabled, clients can connect from any host

[root@caarma ~]# xclock

When I entered xclock I could see the Clock.

Thanks

Srikar

markus_doehr2
Active Contributor
0 Kudos

Good!

Then do now the same in the other terminal (xhost +) before you start sapinst. Does it work now?

Markus

Former Member
0 Kudos

Markus I tried to start the SAPInst in the new Terminal where I could see the xclock, but again its hanging at the same stage like before.

Thanks

Srikar

markus_doehr2
Active Contributor
0 Kudos

This is all very strange.

Please try to create a separate directory and call sapinst relative to that directory:

mkdir /install
cd /install
/Dumps/51032523/IM_LINUX_I386/sapinst

also make sure "java -version" is showing the correct JDK and not the Gnu java.

Markus

Former Member
0 Kudos

Markus when I tried "java -version" I am getting the output of this:

java -version

java version "1.4.2"

gij (GNU libgcj) version 4.1.2 20071124 (Red Hat 4.1.2-42)

This is the env variables setup I have don in .bash_profile

PATH=$PATH:$HOME/bin

export PATH

unset USERNAME

export JAVA_HOME=/usr/java/j2sdk1.4.2_14/bin/java

export PATH=$PATH:/usr/java/j2sdk1.4.2_14/bin

Can you please let me know is this correct ?

Thanks

Srikar

markus_doehr2
Active Contributor
0 Kudos

Markus when I tried "java -version" I am getting the output of this:

java -version

java version "1.4.2"

gij (GNU libgcj) version 4.1.2 20071124 (Red Hat 4.1.2-42)

you are using the wrong java version because...

This is the env variables setup I have don in .bash_profile

PATH=$PATH:$HOME/bin

export PATH

unset USERNAME

export JAVA_HOME=/usr/java/j2sdk1.4.2_14/bin/java

export PATH=$PATH:/usr/java/j2sdk1.4.2_14/bin

..this is wrong

if you execute "java" it won´t find the path, the path would expand to /usr/java/j2sdk1.4.14/bin/java/java which is not correct.

Change the environment:

export JAVA_HOME=/usr/java/j2sdk1.4.2_12

export PATH=$JAVA_HOME/bin:$PATH

delete the "export PATH" at the beginning.

Then logon and log back in as root. Open a terminal and check with the command

which java

if the correct one is used.

Then exeucte again "xhost +", try if xclock works and if yes, then start sapinst again.

Markus

Former Member
0 Kudos

Markus I have changed the Env Variables and tried the "java -version", I think its showing the right one now:

java -version

java version "1.4.2_14"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_14-b05)

Java HotSpot(TM) Client VM (build 1.4.2_14-b05, mixed mode)

which java

/usr/java/j2sdk1.4.2_14/bin/java

Then I tried with "xhost +" and "xclock" which is working, I could see the clock. Then I tried the Sapinst, again the same issue it hanging with the text below:

[==============================] - extracting... done!

Starting GuiServer using:

/usr/java/j2sdk1.4.2_14/bin/java -cp /tmp/sapinst_exe.7495.1215646583/JAR/instgui.jar:/tmp/sapinst_exe.7495.1215646583/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 /Dumps/51032523/IM_LINUX_I386/resourcepool.xml

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

I don't know what is wrong now Please take a look.

Thanks

Srikar

markus_doehr2
Active Contributor
0 Kudos

Please try to not execute ./sapinst from the directory but from a relative installation directory - as stated before.

Stop the sapinst and delete all in /tmp

rm -rf /tmp/sapinst*

Then try the way I said a few messages above (mkdir /install etc.)

Markus

Former Member
0 Kudos

Hi Markus,

I am sorry I need to logout from office yesterday due to some other issues, so could not reply you.

I have tried creating the install directory and called the Sapinst, but still the same error:

[root@caarma install]# /Dumps/51032523/IM_LINUX_I386/sapinst

[==============================] - extracting... done!

Starting GuiServer using:

/usr/java/j2sdk1.4.2_14/bin/java -cp /tmp/sapinst_exe.9964.1215712059/JAR/instgui.jar:/tmp/sapinst_exe.9964.1215712059/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 /Dumps/51032523/IM_LINUX_I386/resourcepool.xml

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

What would be wrong ?

PS: Installation Master DVD for Windows and Linux is same right ? or the SAP DVD's package for the Linux/Orcale installation comes in a different set ?

Thanks

Srikar

Former Member
0 Kudos

Hi Markus any luck for me !

Former Member
0 Kudos

Hi Markus I am still running with the same issue. Can you please take a look and suggest me what would be wrong ? Its very important for me to achieve this.

Thanks

Srikar

Former Member
0 Kudos

Hi I tried to run the startInstGui.sh from the root, but I am getting the following error:

[root@testsys ~]# /dumps/51032523/IM_LINUX_I386/startInstGui.sh

Java Runtime found in JAVA_HOME environment variable

Path: /usr/java/j2sdk1.4.2_14/bin/java

Start mode: gui (GUI only)

Connection parameters:

GUIServer host: localhost

GUIServer port: 21212

Starting...

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at com.sap.sdt.util.misc.MethodCall.invoke(MethodCall.java:82)

at com.sap.sdt.util.misc.BootStrapper.start(BootStrapper.java:107)

at SDTGui.main(SDTGui.java:46)

Caused by: java.lang.UnsatisfiedLinkError: /usr/java/j2sdk1.4.2_14/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory

at java.lang.ClassLoader$NativeLibrary.load(Native Method)

at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)

at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1503)

at java.lang.Runtime.loadLibrary0(Runtime.java:788)

at java.lang.System.loadLibrary(System.java:834)

at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)

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

at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)

at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)

at java.awt.Component.<clinit>(Component.java:506)

at com.sap.sdt.gui.core.settings.GuiSettings.<init>(GuiSettings.java:92)

at com.sap.sdt.gui.core.settings.GuiSettings.<clinit>(GuiSettings.java:86)

at com.sap.sdt.gui.core.SDTGui.initStdOutErr(SDTGui.java:244)

at com.sap.sdt.gui.core.SDTGui.start(SDTGui.java:149)

at com.sap.sdt.gui.core.SDTGui.main(SDTGui.java:87)

... 7 more

java.lang.UnsatisfiedLinkError: /usr/java/j2sdk1.4.2_14/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory

at java.lang.ClassLoader$NativeLibrary.load(Native Method)

at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)

at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1503)

at java.lang.Runtime.loadLibrary0(Runtime.java:788)

at java.lang.System.loadLibrary(System.java:834)

at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)

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

at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)

at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)

at java.awt.Component.<clinit>(Component.java:506)

at com.sap.sdt.gui.core.settings.GuiSettings.<init>(GuiSettings.java:92)

at com.sap.sdt.gui.core.settings.GuiSettings.<clinit>(GuiSettings.java:86)

at com.sap.sdt.gui.core.SDTGui.initStdOutErr(SDTGui.java:244)

at com.sap.sdt.gui.core.SDTGui.start(SDTGui.java:149)

at com.sap.sdt.gui.core.SDTGui.main(SDTGui.java:87)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at com.sap.sdt.util.misc.MethodCall.invoke(MethodCall.java:82)

at com.sap.sdt.util.misc.BootStrapper.start(BootStrapper.java:107)

at SDTGui.main(SDTGui.java:46)

error in:

Class : com.sap.sdt.gui.core.SDTGui

Name : main

Static : true

class [Ljava.lang.String; - [Ljava.lang.String;@1a1c887

java.lang.RuntimeException: invocation target exception: /usr/java/j2sdk1.4.2_14/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory

at com.sap.sdt.util.misc.MethodCall.invoke(MethodCall.java:110)

at com.sap.sdt.util.misc.BootStrapper.start(BootStrapper.java:107)

at SDTGui.main(SDTGui.java:46)

Can you able to take a look and let me know what is wrong ??

Srikar

Former Member
0 Kudos

Hi Gurus any views on this issue ?

Your responses shall be highly appreciated !!

Sri

Former Member
0 Kudos

This problem got resolved by installing Libpx library in Linux.

Sorry for closing this thread so lately & thanks for all the inputs

Sri