on 10-11-2011 1:44 PM
Hi Gurus,
I'm trying to install NW7 on linux Red Hat. After executing SAPinst, the following log executes:
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.4231.1318317961/jre/bin/java -Xmx256M -Dsap.env.var.javahome=SAPINST_JRE_HOME -cp /tmp/sapinst_exe.4231.1318317961/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 11, 2011 7:26:37 AM [Info]: *************************
Oct 11, 2011 7:26:37 AM [Info]: Starting Server
Oct 11, 2011 7:26:37 AM [Info]: Reading server configuration.
Oct 11, 2011 7:26:37 AM [Info]: Reading service configuration SAPinstService.
Oct 11, 2011 7:26:37 AM [Info]: Configuring LogManager ...
Oct 11, 2011 7:26:37 AM [Info]: *************************************************
Oct 11, 2011 7:26:37 AM [Info]: Starting SL Controller listening on port 21212 ...
Oct 11, 2011 7:26:37 AM [Info]: StorageService switched off.
Oct 11, 2011 7:26:37 AM [Info]: Initializing SecurityManager ...
Oct 11, 2011 7:26:40 AM [Info]: Server certificate fingerprint is 92 9F C1 FC 74 60 48 C9 4F 9F 9E 94 C8 E3 BE 40
Oct 11, 2011 7:26:40 AM [Info]: Configuring HTTPManager ...
Oct 11, 2011 7:26:40 AM [Info]: WebstartService switched off.
Oct 11, 2011 7:26:40 AM [Info]: RoleService switched off.
Oct 11, 2011 7:26:40 AM [Info]: AlertService switched off.
Oct 11, 2011 7:26:40 AM [Info]: Starting NotesService ...
Oct 11, 2011 7:26:40 AM [Info]: ProcessService switched off.
Oct 11, 2011 7:26:40 AM [Info]: Starting MIDService ...
Oct 11, 2011 7:26:40 AM [Info]: Starting FileService ...
Oct 11, 2011 7:26:40 AM [Info]: LogService switched off.
Oct 11, 2011 7:26:40 AM [Info]: MailService switched off.
Oct 11, 2011 7:26:40 AM [Info]: Starting services ...
Oct 11, 2011 7:26:40 AM [Info]: Starting service "SAPinstService" ...
Oct 11, 2011 7:26:40 AM [Info]: Service "SAPinstService" started
Oct 11, 2011 7:26:40 AM [Info]: Services started.
Oct 11, 2011 7:26:40 AM [Info]: Starting HTTP server listening on port 4239 ...
Oct 11, 2011 7:26:40 AM [Info]: HTTP server started.
Oct 11, 2011 7:26:40 AM [Info]: SL Controller started.
Oct 11, 2011 7:26:40 AM [Info]: Starting GUI ...
Oct 11, 2011 7:26:40 AM [Info]: /tmp/sapinst_exe.4231.1318317961/jre/bin/java -XX:+HeapDumpOnOutOfMemoryError -Xmx256M -cp /tmp/sapinst_exe.4231.1318317961/JAR/instgui.jar SDTGui host=localhost port=21212 service=SAPinstService -noauth
Oct 11, 2011 7:26:40 AM [Info]: GUI started.
Oct 11, 2011 7:26:46 AM [Info]: >> <<< frog.jar: version 7.20.12 06/06/08 sap.theme: null >>>
===>> At this point the installation program starts and the following message pops up :
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 21212
java.net.ConnectException: Connection refused
java.net.ConnectException: Connection refused
Please correct the error condition and restart.
====>> First, I don't understand why it tries to connect to "localhost" even I defined the host as "sapserver1"
====>> Second, the "tmp/sapinst_exe.4231.1318317961/jre/bin/java -XX:+HeapDumpOnOutOfMemoryError " is confusing me.
Hope this will help resolve my problem.
Thanks and Regards
> ====>> First, I don't understand why it tries to connect to "localhost" even I defined the host as "sapserver1"
Please post the output of
cat /etc/hosts
> ====>> Second, the "tmp/sapinst_exe.4231.1318317961/jre/bin/java -XX:+HeapDumpOnOutOfMemoryError " is confusing me.
This is a parameter for the Java frontend program, it's not an error.
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Markus,
I have also another hint from SELinux.
When I change the SELinux parametr from Enforced to Permissive, and I run the SAPinst program, the SELinux pops up the following alert:
Summary:
SELinux is preventing java from loading
/tmp/sapinst_exe.6387.1318347447/jre/lib/i386/server/libjvm.so which requires
text relocation.
Detailed Description:
[SELinux is in permissive mode, the operation would have been denied but was
permitted due to permissive mode.]
The java application attempted to load
/tmp/sapinst_exe.6387.1318347447/jre/lib/i386/server/libjvm.so which requires
text relocation. This is a potential security problem. Most libraries do not
need this permission. Libraries are sometimes coded incorrectly and request this
permission. The SELinux Memory Protection Tests
(http://people.redhat.com/drepper/selinux-mem.html) web page explains how to
remove this requirement. You can configure SELinux temporarily to allow
/tmp/sapinst_exe.6387.1318347447/jre/lib/i386/server/libjvm.so to use relocation
as a workaround, until the library is fixed. Please file a bug report
(http://bugzilla.redhat.com/bugzilla/enter_bug.cgi) against this package.
Allowing Access:
If you trust /tmp/sapinst_exe.6387.1318347447/jre/lib/i386/server/libjvm.so to
run correctly, you can change the file context to textrel_shlib_t. "chcon -t
textrel_shlib_t
'/tmp/sapinst_exe.6387.1318347447/jre/lib/i386/server/libjvm.so'" You must also
change the default file context files on the system in order to preserve them
even on a full relabel. "semanage fcontext -a -t textrel_shlib_t
'/tmp/sapinst_exe.6387.1318347447/jre/lib/i386/server/libjvm.so'"
The following command will allow this access:
chcon -t textrel_shlib_t '/tmp/sapinst_exe.6387.1318347447/jre/lib/i386/server/libjvm.so'
====>>> Does it make some sense ?? When do I have to the below command ?
Hope this will help
Regards
I always switch off SELinux because we don't need it and it gave me too much trouble in the past. The given ommand line may help but the temporary directory changes with each new sapinst call.
I would switch off/remove SELinux alltogether, do the installation and switch it back on if you need it.
Markus
Markus,
I found the solution. It is a little bit a shame but we are all here to learn :=)
I tried to ping the IP adress for sapserver1 (cat /etc/hosts) and it didnt receive any response.
By doing an ifconfig I found the right IP adress for IPV4.
I changed it in : vi /etc/hosts and it works. No more error message for connection on port 21212.
Lesson: Make sure your host has the right IP adress.
Thanks Markus for your support.
Regards
Hi ,
Please try to start via this command - SAPINST_USE_HOSTNAME=yourhostname
Regards,
Arpit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
is it possible for you to connect with me on chat or any teamviwer then i can assist .
add me on google chat - arpitsethiya05@gmail.com .
i will look then i can help you .
we had a similar situation. Though there were no issues in resolving IP address from DNS .
sapinst stopped giving us errors as soon as we added an entry to the host file containing virtual hostname and ip address.
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.