on 07-09-2008 10:16 PM
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
Is your display variable set?
echo $DISPLAY
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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 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 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
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
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
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
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.