on 10-02-2011 9:58 PM
Hello Experts,
I just started to install my SAP on linux. I use linux on VMWARE on a laptop. For commercial purpose I want the GUI on WIndows and communicate with database and application on linux.
After mouting all relative DVD on linux, I started the SAPinst and I got the following error message:
root@localhost IM_LINUX_I386]# ./sapinst
[==============================] | extracting... done!
guiengine: call to bind() for socket 21200 5 failed . Adresse d�j� utilis
guiengine: call to bind() for socket 21201 6 failed . Adresse d�j� utilis
Starting GUIServer using:
SAPinst port : 21202
GUIServer port: 21210
HTTP port : 4237
GUI autostart : on
GUI mode : normal
command : /tmp/sapinst_exe.7074.1317586157/jre/bin/java -Xmx256M -Dsap.env.var.javahome=SAPINST_JRE_HOME -cp /tmp/sapinst_exe.7074.1317586157/JAR/instgui.jar SDTServer rootdir=/root/.sdtgui config=jar:sdtserver.xml guiport=21210 httpport=4237 -nolock -srvarg=/SAPinstService/host=localhost -srvarg=/SAPinstService/port=21202
dl failure on line 781Error: failed /tmp/sapinst_exe.7074.1317586157/jre/lib/i386/server/libjvm.so, because /tmp/sapinst_exe.7074.1317586157/jre/lib/i386/server/libjvm.so: cannot restore segment prot after reloc: Permission denied
init: retrieving account information for group sapinst...
init: retrieving account information done.
load resource pool /mnt/masterinstall/IM_LINUX_I386/resourcepool.xml
guiengine: No GUI server connected; waiting for a connection on host localhost.localdomain, port 21202 to continue with the installation
Thanks to help me.
- check if you could start xclock
- check your JDK, update your JDK version if possible
SAP Note #861215 - Recommended Settings for the Linux on AMD64/EM64T JVM
- check if there is any missing environment variable
- copying all installation files on local host, and set 777 permission
- use latest sapinst patch
- make sure port 21202 and 21210 are not blocked by proxy or firewall
Regards,
Vincent
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply.
I checked if there is any issue relative to the ports.
I did the command : netstat -laputen (for used ports) and I found the following results. This is a nonsense because, as we can see, the ports 21200,21201,21202 are used by the sapinstexe. Maybe I have to open these ports again or chosse other ones.
Thanks to help me
Connexions Internet actives (serveurs et établies)
Proto Recv-Q Send-Q Local Address Foreign Address State Utilisatr Inode PID/Program name
tcp 0 0 127.0.0.1:2208 0.0.0.0:* LISTEN 0 11792 2900/hpiod
tcp 0 0 0.0.0.0:740 0.0.0.0:* LISTEN 0 9809 2678/rpc.statd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 9681 2646/portmap
tcp 0 0 0.0.0.0:21200 0.0.0.0:* LISTEN 0 22853 6391/sapinstexe
tcp 0 0 0.0.0.0:21201 0.0.0.0:* LISTEN 0 25314 6900/sapinstexe
tcp 0 0 0.0.0.0:21202 0.0.0.0:* LISTEN 0 26498 7075/sapinstexe
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 0 11919 2929/cupsd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 0 12080 2961/sendmail: acce
tcp 0 0 127.0.0.1:2207 0.0.0.0:* LISTEN 0 11825 2907/python
tcp 0 0 192.168.195.130:54415 129.42.58.152:443 ESTABLISHED 500 27903 3561/firefox
tcp 0 0 192.168.195.130:42230 129.42.56.216:443 ESTABLISHED 500 27843 3561/firefox
tcp 0 0 192.168.195.130:42838 2.20.162.24:443 ESTABLISHED 500 27861 3561/firefox
tcp 0 0 192.168.195.130:35530 2.20.162.24:443 ESTABLISHED 500 27967 3561/firefox
tcp 0 0 :::22 :::* LISTEN 0 11876 2920/sshd
udp 0 0 0.0.0.0:68 0.0.0.0:* 0 9356 2518/dhclient
udp 0 0 0.0.0.0:35538 0.0.0.0:* 70 12542 3065/avahi-daemon:
udp 0 0 0.0.0.0:734 0.0.0.0:* 0 9789 2678/rpc.statd
udp 0 0 0.0.0.0:737 0.0.0.0:* 0 9803 2678/rpc.statd
udp 0 0 0.0.0.0:5353 0.0.0.0:* 70 12540 3065/avahi-daemon:
udp 0 0 0.0.0.0:111 0.0.0.0:* 0 9680 2646/portmap
udp 0 0 0.0.0.0:631 0.0.0.0:* 0 11922 2929/cupsd
udp 0 0 :::40832 :::* 70 12543 3065/avahi-daemon:
udp 0 0 :::5353 :::* 70 12541 3065/avahi-daemon:
> root@localhost IM_LINUX_I386]# ./sapinst
are you using a 32bit operating system?
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> [root@localhost ~]# uname -a
> Linux localhost.localdomain 2.6.18-194.el5 #1 SMP Mon Mar 29 20:06:41 EDT 2010 i686 i686 i386 GNU/Linux
Your hostname is invalid, "localhost" points to the loopback addresse, this is not a correct and working network configuration for a SAP system.
Based on the used kernel I assume that you are using Redhat Linux.
Go through
Note 1048303 - Red Hat Enterprise Linux 5.x: Installation and upgrade
and configure your operating system according to the requirements.
Be aware that an installation with less than 8 GB of memory will take a LONG time (maybe more than a day), using VMWare slows it down even more.
The error message you got initially about the blocked ports may be a result of a previous installation where sapinst was cancelled and the ports are still occupied.
I also suggest you don't start sapinst from the DVD directory but use an installation path and start sapinst with an absolute call to keep the temporary directories, you may otherwise run into problems later because a background daemon in Redhat cleans up /tmp regularly which you don't want:
mkdir /install
cd /install
<full-path-to-sapinst>/sapinst
Markus
Hello Markus,
I followed your suggestions :
- I changed the hostname for sapserver1
- I killed all processes that occupy the ports
Connexions Internet actives (serveurs et établies)
Proto Recv-Q Send-Q Local Address Foreign Address State Utilisatr Inode PID/Program name
tcp 0 0 127.0.0.1:2208 0.0.0.0:* LISTEN 0 11847 2859/hpiod
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 9729 2602/portmap
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 0 11960 2886/cupsd
tcp 0 0 0.0.0.0:696 0.0.0.0:* LISTEN 0 9835 2634/rpc.statd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 0 12099 2919/sendmail: acce
tcp 0 0 127.0.0.1:2207 0.0.0.0:* LISTEN 0 11886 2864/python
tcp 0 0 :::22 :::* LISTEN 0 11916 2877/sshd
udp 0 0 0.0.0.0:690 0.0.0.0:* 0 9822 2634/rpc.statd
udp 0 0 0.0.0.0:693 0.0.0.0:* 0 9832 2634/rpc.statd
udp 0 0 0.0.0.0:41270 0.0.0.0:* 70 12591 3025/avahi-daemon:
udp 0 0 0.0.0.0:68 0.0.0.0:* 0 21882 5485/dhclient
udp 0 0 0.0.0.0:5353 0.0.0.0:* 70 12589 3025/avahi-daemon:
udp 0 0 0.0.0.0:111 0.0.0.0:* 0 9713 2602/portmap
udp 0 0 0.0.0.0:631 0.0.0.0:* 0 11963 2886/cupsd
udp 0 0 :::37088 :::* 70 12592 3025/avahi-daemon:
udp 0 0 :::5353 :::* 70 12590 3025/avahi-daemon:
- I installed the saplocales for my OS: saplocales-2.5-3.i386.rpm
Unfortunately I'm still have the same problems. Have a look below
# cd /mnt/masterinstall/IM_LINUX_I386
-bash: /.sapinst: Aucun fichier ou répertoire de ce type
Starting GUIServer using:
SAPinst port : 21200
GUIServer port: 21212
HTTP port : 4239
GUI autostart : on
GUI mode : normal
command : /tmp/sapinst_exe.5978.1317854041/jre/bin/java -Xmx256M -Dsap.env.var.javahome=SAPINST_JRE_HOME -cp /tmp/sapinst_exe.5978.1317854041/JAR/instgui.jar SDTServer rootdir=/root/.sdtgui config=jar:sdtserver.xml guiport=21212 httpport=4239 -nolock -srvarg=/SAPinstService/host=localhost -srvarg=/SAPinstService/port=21200
dl failure on line 781Error: failed /tmp/sapinst_exe.5978.1317854041/jre/lib/i386/server/libjvm.so, because /tmp/sapinst_exe.5978.1317854041/jre/lib/i386/server/libjvm.so: cannot restore segment prot after reloc: Permission denied
init: retrieving account information for group sapinst...
init: retrieving account information done.
load resource pool /mnt/masterinstall/IM_LINUX_I386/resourcepool.xml
guiengine: No GUI server connected; waiting for a connection on host sapserver1, port 21200 to continue with the installation
Thanks
Regards
Connexions Internet actives (serveurs et établies)
As mentioned in the note you should switch the system language to "english". It's very difficult otherwise to interpret error messages if they are in french.
dl failure on line 781Error: failed /tmp/sapinst_exe.5978.1317854041/jre/lib/i386/server/libjvm.so, because /tmp/sapinst_exe.5978.1317854041/jre/lib/i386/server/libjvm.so: cannot restore segment prot after reloc: Permission denied
This is an error that comes if you have a security enhanced version of the kernel installed (SELinux), did you activate that during the installation?
Markus
Thanks a lot Markus,
I turned the SELinux to Permissive and the SAPInst just started.
I have this time a Java error, take a look:
Connection to SAPinst refused with the following message:
Connection to SAPinst could not be established, see following messages.
Could not connect to host localhost on port 21200.
java.net.ConnectException: Connection refused
java.net.ConnectException: Connection refused
Please correct the error condition and restart.
I thins it's in regards to the JCE required.
Am I Right ?
Regards
Here is the log during the launch of SAPInst
[root@sapserver1 IM_LINUX_I386]# ./sapinst
[==============================] | extracting... done!
Starting GUIServer using:
SAPinst port : 21200
GUIServer port: 21212
HTTP port : 4239
GUI autostart : on
GUI mode : normal
command : /tmp/sapinst_exe.8676.1317903877/jre/bin/java -Xmx256M -Dsap.env.var.javahome=SAPINST_JRE_HOME -cp /tmp/sapinst_exe.8676.1317903877/JAR/instgui.jar SDTServer rootdir=/root/.sdtgui config=jar:sdtserver.xml guiport=21212 httpport=4239 -nolock -srvarg=/SAPinstService/host=localhost -srvarg=/SAPinstService/port=21200
init: retrieving account information for group sapinst...
init: retrieving account information done.
load resource pool /mnt/masterinstall/IM_LINUX_I386/resourcepool.xml
guiengine: No GUI server connected; waiting for a connection on host sapserver1, port 21200 to continue with the installation
Oct 6, 2011 12:24:59 PM [Info]: *************************
Oct 6, 2011 12:24:59 PM [Info]: Starting Server
Oct 6, 2011 12:24:59 PM [Info]: Reading server configuration.
Oct 6, 2011 12:25:01 PM [Info]: Reading service configuration SAPinstService.
Oct 6, 2011 12:25:01 PM [Info]: Configuring LogManager ...
Oct 6, 2011 12:25:01 PM [Info]: *************************************************
Oct 6, 2011 12:25:01 PM [Info]: Starting SL Controller listening on port 21212 ...
Oct 6, 2011 12:25:01 PM [Info]: StorageService switched off.
Oct 6, 2011 12:25:01 PM [Info]: Initializing SecurityManager ...
Oct 6, 2011 12:25:08 PM [Info]: Server certificate fingerprint is EB 7F 6A A0 A8 93 E9 C5 29 81 E7 F5 EB D8 E4 C3
Oct 6, 2011 12:25:08 PM [Info]: Configuring HTTPManager ...
Oct 6, 2011 12:25:08 PM [Info]: WebstartService switched off.
Oct 6, 2011 12:25:08 PM [Info]: RoleService switched off.
Oct 6, 2011 12:25:08 PM [Info]: AlertService switched off.
Oct 6, 2011 12:25:08 PM [Info]: Starting NotesService ...
Oct 6, 2011 12:25:08 PM [Info]: ProcessService switched off.
Oct 6, 2011 12:25:08 PM [Info]: Starting MIDService ...
Oct 6, 2011 12:25:08 PM [Info]: Starting FileService ...
Oct 6, 2011 12:25:08 PM [Info]: LogService switched off.
Oct 6, 2011 12:25:08 PM [Info]: MailService switched off.
Oct 6, 2011 12:25:08 PM [Info]: Starting services ...
Oct 6, 2011 12:25:08 PM [Info]: Starting service "SAPinstService" ...
Oct 6, 2011 12:25:08 PM [Info]: Service "SAPinstService" started
Oct 6, 2011 12:25:08 PM [Info]: Services started.
Oct 6, 2011 12:25:08 PM [Info]: Starting HTTP server listening on port 4239 ...
Oct 6, 2011 12:25:08 PM [Info]: HTTP server started.
Oct 6, 2011 12:25:08 PM [Info]: SL Controller started.
Oct 6, 2011 12:25:08 PM [Info]: Starting GUI ...
Oct 6, 2011 12:25:08 PM [Info]: /tmp/sapinst_exe.8676.1317903877/jre/bin/java -XX:+HeapDumpOnOutOfMemoryError -Xmx256M -cp /tmp/sapinst_exe.8676.1317903877/JAR/instgui.jar SDTGui host=localhost port=21212 service=SAPinstService -noauth
Oct 6, 2011 12:25:08 PM [Info]: GUI started.
Oct 6, 2011 12:25:20 PM [Info]: >> <<< frog.jar: version 7.20.12 06/06/08 sap.theme: null >>>
SAPinst terminated by SIGINT (Ctrl+C)
Killed
> Oct 6, 2011 12:25:08 PM [Info]: GUI started.
> Oct 6, 2011 12:25:20 PM [Info]: >> <<< frog.jar: version 7.20.12 06/06/08 sap.theme: null >>>
> SAPinst terminated by SIGINT (Ctrl+C)
I don't see an error here.. aside from the fact, that the installation was cancelled. I don't see the previous error you posted.
Markus
The Installation program stops and I had the message below:
Connection to SAPinst refused with the following message:
Connection to SAPinst could not be established, see following messages.
Could not connect to host localhost on port 21200.
java.net.ConnectException: Connection refused
java.net.ConnectException: Connection refused
Please correct the error condition and restart.
Hi,
This happens if you don´t have a active Reflection X or similar software in the machine used to do the installation, but first you must export the display to that machine.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.