cancel
Showing results for 
Search instead for 
Did you mean: 

SAP ERP6.0 on RHEL6 x86_64bit. How to run a remote installation?

Former Member
0 Kudos

Hello!

I am installing SAP ERP6.0 on RHEL6.

I did not get to run SAPinst.

In accordance with the guide "Installation Guide SAP ERP 6.0 SR3 ABAP on Linux SAP MaxDB" I was doing on the remote server:


[root@sapserver sapcd]# ./sapinst -nogui
[==============================] \ extracting...  done!

Starting GuiServer using:
/usr/bin/java -Xmx256M -Djava.security.egd=file:/dev/urandom -cp /tmp/sapinst_exe.6196.1316592632/JAR/instgui.jar:/tmp/sapinst_exe.6196.1316592632/JAR/inqmyxml.jar SDTServer config=jar:sdtserver.xml guiport=21212 sapinsthost=localhost sapinstport=21200

init: retrieving account information for group sapinst...
init: retrieving account information done.
load resource pool /sapcd/resourcepool.xml

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

Where can I get GUI server?

How do I run SAPinst on the local computer running Windows 7 to continue the installation?

Where can I get startinstgui.bat for Windows?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Other solution is using "X-windows" tool to run remote installation...

For example: X-Manager.

You can download Trial copy of X-manager from [www.netsarang.com/download/main.html|www.netsarang.com/download/main.html]

Install and use "x-browser" to connect to your RHEL system.

easy way....

Regards.

Rajesh Narkhede

Former Member
0 Kudos

I can not start X:


login as: root
root@77.120.121.26's password:
Last login: Wed Sep 21 15:32:46 2011 from 94.27.38.43
[root@sap-prod ~]# startx
hostname: Unknown host
xauth:  creating new authority file /root/.serverauth.10433

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: hs20-bc2-3 2.6.18-194.26.1.el5
Current Operating System: Linux sap-prod 2.6.32-131.0.15.el6.x86_64 #1 SMP Tue May 10 15:42:40 EDT 2011 x86_64
Kernel command line: ro root=/dev/mapper/vg_sapprod-LogVol00_root rd_LVM_LV=vg_sapprod/LogVol00_root rd_LVM_LV=vg_sapprod/LogVol03_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=129M@0M rhgb quiet
Build Date: 07 April 2011  05:43:45PM
Build ID: xorg-x11-server 1.7.7-29.el6
Current version of pixman: 0.18.4
        Before reporting problems, check https://www.redhat.com/apps/support/
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Sep 21 17:10:19 2011
(==) Using default built-in configuration (30 lines)
(EE) open /dev/fb0: No such device
(EE) MGA(0): [drm] Direct rendering only supported with G200/G400/G450/G550.

waiting for X server to shut down

probably because of this and not start SAPinst?

Former Member
0 Kudos

Hi,

Have you downloaded and installed "X-Manager" on windows PC from where you are trying to access your RHEL server ?

Once you installed "X-Manager" you will see "X-browser" in windows program menu.

Regards.

Rajesh Narkhede

Former Member
0 Kudos

I installed the X manager, but the connection I get a gray screen. I do not know what to do configure it to work correctly.

I configured the XDMCP connection. I connect and have a log:

[root@sap-prod ~]# [18:09:02] Connecting...
[18:09:02] Connecting to '77.120.121.26'...
[18:09:02] Connected.
[18:09:02] Version exchange initiated...
[18:09:02] 	server: SSH-2.0-OpenSSH_5.3
[18:09:02] 	client: SSH-2.0-nsssh2_4.0.0020 NetSarang Computer, Inc.
[18:09:02] 	SSH2 is selected.
[18:09:02] Algorithm negotiation initiated...
[18:09:02] 	key exchange: diffie-hellman-group14-sha1
[18:09:02] 	host key: ssh-dss
[18:09:02] 	outgoing encryption: aes128-cbc
[18:09:02] 	incoming encryption: aes128-cbc
[18:09:02] 	outgoing mac: hmac-sha1
[18:09:02] 	incoming mac: hmac-sha1
[18:09:02] 	outgoing compression: none
[18:09:02] 	incoming compression: none
[18:09:03] Host authentication initiated...
[18:09:03] 	Hostkey fingerprint:
[18:09:03] 	ssh-dsa 1024 de:79:47:60:f6:b4:c8:71:eb:5f:b1:67:e6:53:00:54
[18:09:03] 	Accepted. Verifying host key...
[18:09:03] 	Verified.
[18:09:03] User authentication initiated...
[18:09:03] 	Sent user name 'root'.
[18:09:03] 	Sent password.
[18:09:03] 	Access granted.
[18:09:04] Start timer (TIMER_SHUTDOWN, 180).
[18:09:04] Sent X11 forwarding request...
[18:09:04] 	Succeeded.
[18:09:04] Sent pseudo terminal request...
[18:09:04] Stop timer (TIMER_SHUTDOWN).
[18:09:04] Start timer (TIMER_SHUTDOWN, 180).
[18:09:04] 	Succeeded.
[18:09:04] Sent shell request...
[18:09:04] 	Succeeded.
Last login: Wed Sep 21 17:59:42 2011 from 82-117-234-163.gpon.sta.kh.velton.ua

[root@sap-prod ~]#

but I see only a [gray screen|http://postimage.org/image/32zadtdvo/]

former_member182307
Contributor
0 Kudos

Did you try to use the remote SAPINST ?

Did it work ?

You need the port 21212 opened beetween your workstation and the server for this to work.

Former Member
0 Kudos

I think I realized what was going on!

problem in Java... I tried to run SAPinst on a running SAP system, and immediately joined from the local computer. I looked at the version of Java:


login as: root
root@172.16.21.10's password:
Last login: Wed Sep 21 18:19:23 2011 from 192.168.157.32
[root@sap ~]# java -fullversion
java full version "gcj-1.4.2"

And on the test system:


login as: root
root@77.120.121.26's password:
Last login: Wed Sep 21 18:36:40 2011 from 82-117-234-163.gpon.sta.kh.velton.ua
[root@sap-prod ~]# java -fullversion
java full version "1.6.0_20-b20"

I downloaded and installed:

IBMJava2-AMD64-142-JRE-1.4.2-13.10.x86_64.rpm


login as: root
root@77.120.121.26's password:
Last login: Wed Sep 21 18:48:11 2011 from 82-117-234-163.gpon.sta.kh.velton.ua
[root@sap-prod ~]# mc

[root@sap-prod install_SAP]# rpm -ivh IBMJava2-AMD64-142-JRE-1.4.2-13.10.x86_64.rpm
Preparing...                ########################################### [100%]
        package IBMJava2-AMD64-142-JRE-1.4.2-13.10.x86_64 is already installed
[root@sap-prod install_SAP]#

But all the same version of Java remains as before - "1.6.0_20-b20"

How do I change Java on? I remind, that I have no support, it will appear within a month. And i can not do: yum install...

former_member182307
Contributor
0 Kudos

This means in your environment, the JAVA 1.6 is found first.

You can check this with :

which java

It will show you where the java executable is first found.

To change this, you can update your PATH variable ( assuming your shell is sh and java is installed in /opt/IBMJava2-amd64-142 ) :

PATH=/opt/IBMJava2-amd64-142/bin:$

export PATH

You should also set the JAVA_HOME variable and SAPINST_JRE_HOME variables :

JAVA_HOME=/opt/IBMJava2-amd64-142

export JAVA_HOME

SAPINST_JRE_HOME=/opt/IBMJava2-amd64-142

export SAPINST_JRE_HOME

Hope this helps.

Steve.

former_member182307
Contributor
0 Kudos

Keep in mind that the environment variables are set for your current session. If you disconnect, they are lost unles you set them in a startup profile file for your user.

Regards,

Steve.

Edited by: steve_78 on Sep 21, 2011 9:49 PM

Former Member
0 Kudos

Hi,

But all the same version of Java remains as before - "1.6.0_20-b20"

How do I change Java on?

Ok... If you are sure that its a java issue then do the following.

just rename "/usr/bin/java" to "/usr/bin/java.old"

#mv /usr/bin/java /usr/bin/java.old

Then check with "# java -version" or "# which java"

It will pick the right IBM JDK....

Or search google for how to set "java alternative" and set it accordingly.

Regards.

Rajesh Narkhede

Former Member
0 Kudos

I may not be all set? Here is what I have in the folder /opt/IBMJava2-amd64-142:


[root@sap-prod IBMJava2-amd64-142]# ls -l
total 8
drwxr-xr-x. 5 root root 4096 Sep 21 18:47 docs
drwxr-xr-x. 5 root root 4096 Sep 21 18:47 jre

there is no folder /bin

and does not lead to the result of this action:


[root@sap-prod usr]# mv /usr/bin/java /usr/bin/java.old
[root@sap-prod usr]# java -version
-bash: /usr/bin/java: No such file or directory

can I have something else to install?

former_member182307
Contributor
0 Kudos

Hello,

This is kind of strange. Your JDK folder looks like a "JRE only" one .

Here is what I have on one of my linux boxes with IBM JDK installed :

[root@sapitg1 IBMJava2-amd64-142]# pwd
/opt/IBMJava2-amd64-142

[root@sapitg1 IBMJava2-amd64-142]# ls -l
total 12304
drwxr-xr-x  2 root root     4096 Sep 19 18:41 bin
drwxr-xr-x 10 root root     4096 Sep 19 18:41 demo
drwxr-xr-x  9 root root     4096 Sep 19 18:41 docs
drwxr-xr-x  2 root root     4096 Sep 19 18:41 include
drwxr-xr-x  5 root root     4096 Sep 19 18:41 jre
drwxr-xr-x  2 root root     4096 Sep 19 18:41 lib
-rw-r--r--  1 root root 12558204 Jul  7 15:04 src.jar

Are you sure you downloaded the JDK ( or JSDK or SDK ... whatever they call it ) and not the JRE ?

The difference is the JSDK has the development tools in it. JRE is runtime environment only.

Here is the name of the archive i recently downloaded from IBM for my hardware platform ( linux X86_64 ) :

IBMJava2-AMD64-142-SDK-1.4.2-13.10.x86_64.rpm

It is the SDK you need to download and install not the JRE only.

HTH

Steve.

Edited by: steve_78 on Sep 22, 2011 9:07 AM

Former Member
0 Kudos

thank you so much! Yes, you're right! I tried to install the Java JRE, but not SDK. I have installed Java SDK, and the correct version now:


[root@sapserver sapcd]# 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-20101119 (JIT enabled)
J9VM - 20101118_68931_LHdSMr
JIT  - 20090210_1447ifx2_r8
GC   - 200902_24)

But a new problem. Then I run SAPinst on the remote server:


[root@sapserver sapcd]# ./sapinst -nogui
[==============================] \ extracting...  done!

Starting GuiServer using:
/opt/IBMJava2-amd64-142/bin/java -Xmx256M -Djava.security.egd=file:/dev/urandom -cp /tmp/sapinst_exe.3316.1316677951/JAR/instgui.jar:/tmp/sapinst_exe.3316.1316677951/JAR/inqmyxml.jar SDTServer config=jar:sdtserver.xml guiport=21212 sapinsthost=localhost sapinstport=21200

init: retrieving account information for group sapinst...
init: retrieving account information done.
load resource pool /sapcd/resourcepool.xml

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

Then run SAPinst on the local computer. When I click in the SAPinst the button "log on", that's what happens on a remote server:


guiengine: 2011-09-22 10:56:09 Login in progress ..............................
guiengine: 2011-09-22 10:56:39 Login timeout; the client was unable to establish a valid connection

that needs to be done?

hannes_kuehnemund
Active Contributor
0 Kudos

Check if port 21200 is open ....

on Server: netstat -putan | grep 21200

you should see listen here.

Also, check filewall, if it runs turn it of.

Check if port 21200 is reachable from remote computer using nmap -p 21200 <serverip>

Best, Hannes

former_member182307
Contributor
0 Kudos

Check ports 21200 and 21212 between the 2 hosts.

Regards,

Steve.

Former Member
0 Kudos

I disabled the firewall, but same result:


[root@sapserver sapcd]# service iptables status
iptables: Firewall is not running.

Сomand PING works on the local computer and on remote server ...

Please tell me what version of Java must be installed on local computer? Is that important?

former_member182307
Contributor
0 Kudos

Hello,

Here is the java version I run on my workstation :

java version "1.6.0_23"

Java(TM) SE Runtime Environment (build 1.6.0_23-b05)

Java HotSpot(TM) Client VM (build 19.0-b09, mixed mode, sharing)

But the point is not the Java version, I think, but the communication problem you seem to have.

If ping is O.K that's fine as a starting point but you need to check that you can get attached to the ports wether using telnet ( telnet server_ip port ) or as described by Hannes.

On the server running SAPINST can you start the following commands :

netstat -an | grep 21212

and

netstat -an | grep 21200

and post the results ?

Former Member
0 Kudos

I run SAPinst on the server:


[root@sapserver sapcd]# ./sapinst -nogui
[==============================] \ extracting...  done!

Starting GuiServer using:
/opt/IBMJava2-amd64-142/bin/java -Xmx256M -Djava.security.egd=file:/dev/urandom -cp /tmp/sapinst_exe.3967.1316683899/JAR/instgui.jar:/tmp/sapinst_exe.3967.1316683899/JAR/inqmyxml.jar SDTServer config=jar:sdtserver.xml guiport=21212 sapinsthost=localhost sapinstport=21200

init: retrieving account information for group sapinst...
init: retrieving account information done.
load resource pool /sapcd/resourcepool.xml

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

Then I opened the new session and checked:


Using username "root".
root@192.168.157.9's password:
Last login: Thu Sep 22 12:24:26 2011 from 192.168.157.32
[root@sapserver ~]# netstat -an | grep 21200
tcp        0      0 0.0.0.0:21200               0.0.0.0:*                   LISTEN
[root@sapserver ~]#

Using username "root".
root@192.168.157.9's password:
Last login: Thu Sep 22 12:31:19 2011 from 192.168.157.32
[root@sapserver ~]# netstat -an | grep 21212
[root@sapserver ~]#

I can not understand - and who should be listening on port 21212?

former_member182307
Contributor
0 Kudos

I wanted to make sure that there was something listening on port 21200 and nothing listening on 21212.

What you can do now is use strace to see what sapinst is doing during the "gui login" :

strace -p "pid_of_sapinst_process"

Then you remote logon using startinstgui.bat and connect to you host on port 21212 ( should be the one set by default ).

There should be lots of things writen in the window in which you started strace.

Can you then post the last messages ( lets say 100 las lines ) in your strace session at the time the session times out?

Regards,

Steve.

Former Member
0 Kudos

Trace:

[root@sapserver ~]# strace -p 4827

Process 4827 attached - interrupt to quit

wait4(4828, 0x7fff28df67bc, 0, NULL) = ? ERESTARTSYS (To be restarted)

--- SIGINT (Interrupt) @ 0 (0) ---

wait4(4828, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4828

--- SIGCHLD (Child exited) @ 0 (0) ---

stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2057, ...}) = 0

write(4, "2011-09-22 16:24:31.846 iauxsyse"..., 117) = 117

stat("/tmp/sapinst_exe.4827.1316697709/core", 0x7fff28df67c0) = -1 ENOENT (No such file or directory)

stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2057, ...}) = 0

write(4, "2011-09-22 16:24:31.847 iaextrac"..., 58) = 58

chdir("/sapcd") = 0

stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2057, ...}) = 0

write(4, "2011-09-22 16:24:31.847 iauxsyse"..., 59) = 59

close(4) = 0

munmap(0x7f94bd335000, 4096) = 0

open("/tmp/sapinst_exe.4827.1316697709", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3

fcntl(3, F_GETFD) = 0x1 (flags FD_CLOEXEC)

getdents(3, /* 36 entries */, 32768) = 1216

lstat("/tmp/sapinst_exe.4827.1316697709/iaguieng701.so", {st_mode=S_IFREG|0755, st_size=1429284, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/iaguieng701.so") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/iamodlib.so", {st_mode=S_IFREG|0755, st_size=149526, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/iamodlib.so") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/iaccdlib.so", {st_mode=S_IFREG|0755, st_size=204204, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/iaccdlib.so") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/xtc20d.so", {st_mode=S_IFREG|0755, st_size=2997982, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/xtc20d.so") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/XTCRUN", {st_mode=S_IFREG|0755, st_size=189164, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/XTCRUN") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/iajsmod.so", {st_mode=S_IFREG|0755, st_size=566475, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/iajsmod.so") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/xml63d.so", {st_mode=S_IFREG|0755, st_size=1654647, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/xml63d.so") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/iamodrfc.so", {st_mode=S_IFREG|0755, st_size=221672, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/iamodrfc.so") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/iamoddb6.so", {st_mode=S_IFREG|0755, st_size=1898944, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/iamoddb6.so") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/iaejs701.so", {st_mode=S_IFREG|0755, st_size=1128426, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/iaejs701.so") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/iamodsdm.so", {st_mode=S_IFREG|0755, st_size=203076, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/iamodsdm.so") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/iastring701.so", {st_mode=S_IFREG|0755, st_size=383664, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/iastring701.so") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/librfccm.so", {st_mode=S_IFREG|0755, st_size=4914424, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/librfccm.so") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/SAPCAR", {st_mode=S_IFREG|0755, st_size=3428179, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/SAPCAR") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/iamodora.so", {st_mode=S_IFREG|0755, st_size=3836213, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/iamodora.so") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/iamodos.so", {st_mode=S_IFREG|0755, st_size=2039347, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/iamodos.so") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/sapcpp46.so", {st_mode=S_IFREG|0755, st_size=1205277, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/sapcpp46.so") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/iamsglib701.so", {st_mode=S_IFREG|0755, st_size=399074, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/iamsglib701.so") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/iamodada.so", {st_mode=S_IFREG|0755, st_size=1507674, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/iamodada.so") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/iamodapp.so", {st_mode=S_IFREG|0755, st_size=2344568, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/iamodapp.so") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/XTCC", {st_mode=S_IFREG|0755, st_size=100371, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/XTCC") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/startInstGui.sh", {st_mode=S_IFREG|0755, st_size=7946, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/startInstGui.sh") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/JAR", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0

open("/tmp/sapinst_exe.4827.1316697709/JAR", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4

getdents(4, /* 8 entries */, 32768) = 248

lstat("/tmp/sapinst_exe.4827.1316697709/JAR/db2radm.jar", {st_mode=S_IFREG|0744, st_size=139628, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/JAR/db2radm.jar") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/JAR/inqmyxml.jar", {st_mode=S_IFREG|0744, st_size=1421237, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/JAR/inqmyxml.jar") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/JAR/rescheck.jar", {st_mode=S_IFREG|0755, st_size=46032, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/JAR/rescheck.jar") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/JAR/instgui.jar", {st_mode=S_IFREG|0744, st_size=3499393, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/JAR/instgui.jar") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/JAR/sapxmltoolkit.jar", {st_mode=S_IFREG|0744, st_size=2623785, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/JAR/sapxmltoolkit.jar") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/JAR/ins-j2ee.jar", {st_mode=S_IFREG|0744, st_size=14741, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/JAR/ins-j2ee.jar") = 0

getdents(4, /* 0 entries */, 32768) = 0

close(4) = 0

rmdir("/tmp/sapinst_exe.4827.1316697709/JAR") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/sylib701.so", {st_mode=S_IFREG|0755, st_size=3598857, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/sylib701.so") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/iakdblib701.so", {st_mode=S_IFREG|0755, st_size=1782077, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/iakdblib701.so") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/iacdlib701.so", {st_mode=S_IFREG|0755, st_size=371554, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/iacdlib701.so") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/sapinst", {st_mode=S_IFREG|0755, st_size=2402, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/sapinst") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/iarfclib701.so", {st_mode=S_IFREG|0755, st_size=3489524, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/iarfclib701.so") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/sapinstexe", {st_mode=S_IFREG|0755, st_size=411195, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/sapinstexe") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/dev_selfex.out", {st_mode=S_IFREG|0644, st_size=4094, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/dev_selfex.out") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/iapasswdman701.so", {st_mode=S_IFREG|0755, st_size=205161, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/iapasswdman701.so") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/iamodell701.so", {st_mode=S_IFREG|0755, st_size=4295910, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/iamodell701.so") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/iaregist701.so", {st_mode=S_IFREG|0755, st_size=151596, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/iaregist701.so") = 0

lstat("/tmp/sapinst_exe.4827.1316697709/iakdbpar701.so", {st_mode=S_IFREG|0755, st_size=1475506, ...}) = 0

unlink("/tmp/sapinst_exe.4827.1316697709/iakdbpar701.so") = 0

getdents(3, /* 0 entries */, 32768) = 0

close(3) = 0

rmdir("/tmp/sapinst_exe.4827.1316697709") = 0

exit_group(0) = ?

Process 4827 detached

[root@sapserver ~]#

former_member182307
Contributor
0 Kudos

O.K. Nothing really meanigful in it.

Well, now we have the right SDK installed let's do it all over again :

Connect to you system as root.

Stop the running sapinst.

Set your environment as follows :

PATH=/opt/IBMJava2-amd64-142/bin:${PATH}
export PATH
JAVA_HOME=/opt/IBMJava2-amd64-142
export JAVA_HOME
SAPINST_JRE_HOME=/opt/IBMJava2-amd64-142
export SAPINST_JRE_HOME
LANG=C
export LANG

start the sapinst and retry the remote connection from with startinstgui.bat to your host on port 21212.

Keep us posted !

Cheers,

Steve.

Former Member
0 Kudos

Dmitry,

When using an emulator you have to set the DISPLAY variable. Looks like it hasn't been set.

Depending on the shell your using, this can be done with:

export DISPLAY=<Your IP>:0.0 or setenv DISPLAY <Your IP>:0.0

Cheng

Former Member
0 Kudos

Thank you all for your help, but it seems I was able to run the remote installation. On the local computer, I tried to run this command:

startinstgui.bat -server -host <IP address remote host>

I understand, that the command -server runs the server GUI that listens to port 21212

But in the guide about it not none. They only use the command:

startinstgui.bat -host <IP address remote host>

I randomly picked a command, and lo and behold! Earned!

I did the right thing?

former_member182307
Contributor
0 Kudos

Hello,

Glad to see you solved your pblm.

I usually do not use the command prompt to start the startinstgui.bat but just double click on it.

Then the GUI pops up and I only enter le hostname or IP adresse of the server I want to connect to . I do not set the port as it is set by default to 21212 in the gui.

If you are connected to your remote sapinst and can perform what you want then it's O.K.

Don't forget to mark this thread "answered" if it's O.K.

Cheers,

Steve.

Former Member
0 Kudos

The installation process continues, but there was another problem.

Often broken the connection with the remote server for 5-10 seconds.

Correspondingly installation is interrupted too.

How do I solve this problem?

Probably need to run the SAPinst locally on the server? Xmanager is connected, but I see only a gray screen.

I connect to remote server using a program PUTTY and try to execute the command:


[root@sap-prod ~]# startx
xauth:  creating new authority file /root/.serverauth.32746

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: hs20-bc2-3 2.6.18-194.26.1.el5
Current Operating System: Linux sap-prod 2.6.32-131.0.15.el6.x86_64 #1 SMP Tue M                                                                                ay 10 15:42:40 EDT 2011 x86_64
Kernel command line: ro root=/dev/mapper/vg_sapprod-LogVol00_root rd_LVM_LV=vg_s                                                                                approd/LogVol00_root rd_LVM_LV=vg_sapprod/LogVol03_swap rd_NO_LUKS rd_NO_MD rd_N                                                                                O_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us cras                                                                                hkernel=129M@0M rhgb quiet
Build Date: 07 April 2011  05:43:45PM
Build ID: xorg-x11-server 1.7.7-29.el6
Current version of pixman: 0.18.4
        Before reporting problems, check https://www.redhat.com/apps/support/
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Sep 24 16:07:07 2011
(==) Using default built-in configuration (30 lines)
(EE) open /dev/fb0: No such device
(EE) MGA(0): [drm] Direct rendering only supported with G200/G400/G450/G550.

waiting for X server to shut down

Former Member
0 Kudos

I solved the problem, install the VNC Server. Connected with it to the remote server and run SAPinst again. But now, in step 2, where I specify the path to the installation I get an error:

FCO-00011 The step CheckExistingServerSoftware with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|

NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_ServerSoftware_Dialogs

|ind|ind|ind|ind|0|0|CheckExistingServerSoftware was executed with status ERROR

( Last error reported by the step :Assertion failed: SdbSoftware.getExistingDbmcli():

IndepProgPath /sapdb/programs exists, but /sapdb/programs/bin/dbmcli is missing.).

in the directory SAPDB, I deleted all.

as sapinst remembers that there was something?

former_member182307
Contributor
0 Kudos

SAPINST keeps trace of what was done.

I mean, you should create a temporary directory like /tmp/INST_SAP.

Then cd into it and start sapinst from this directory.

You' ll see that SAPINST writes log files in this directory. It keeps trace of what was done so that if ever it fails in a phase, it can restart from that failed phase without doing everything again.

If you want to start SAPINST from the beginning again then you have to delete the files from your temporary installation directory.

HTH,

Steve.

Former Member
0 Kudos

I removed the /TMP, /root/.stfgui, /sapmnt and removed all the users created SAPinst. Now another error:

The user sdb is registered as database software owner, but does not exist..

Help me find, where SAPinst remember all this?

hannes_kuehnemund
Active Contributor
0 Kudos

remove the file: /etc/opt/sdb

Thanks, Hannes

Former Member
0 Kudos

yes, thank you.

And I found where the registered database directory:

/usr/spool/sql/ini/SAP_DBTech.ini

former_member182307
Contributor
0 Kudos

Hello,

You need the SAPINST for windows which is on the installation master CD.

You copy the installation master for windows part on your workstation and then fire up the startinstgui.bat.

You'll then have to typoe in the IP adress of the system the sapinst "server" is running on.

Hope this Helps.

Steve.