Wednesday, February 3, 2016

2082466 - hdblcm SAP HANA – Troubleshooting

Symptom
This note contains troubleshooting information for the SAP HANA database lifecycle manager hdblcm


Other Terms
troubleshooting, hdblcm troubleshooting, SAP HANA lifecycle manager, hdblcm, SAP HANA installation, update, and configuration, SAP HANA DB, SAP HANA Database, SAP Host Agent, NewDB, in-memory database, Hybrid database, update, installation


Reason and Prerequisites
You are using the SAP HANA platform including the SAP HANA database.
SPS08 and higher


Solution
You can switch on an additional trace by setting this environment variable:
export HDB_INSTALLER_TRACE_FILE=<trace_filename>
The directory containing the tracefile has to be exist.
*******************************
This is a list of known issues via hdblcm
Issue: You have configured the connection to SLD, but you cannot find any entry for the registered system in the SLD system
Validity: You have configured the connection to SLD, but you cannot find any entry for the registered system in the SLD system. Usually it takes some time before the HANA system appears in SLD. If after some time you still don't it, some problem might have occured.
Solution: Set nameserver.ini -> sld -> enable to "false" and then back to "true" again. This triggers a new generation of sldreg.xml and sending to the SLD system

Issue: 'Cannot get sftp channel for host' error during installation of a distributed SAP HANA system
Validity: You are trying to install a distributed SAP HANA System SPS08 or higher and receive the following error:
Configuration error:
   Cannot get sftp channel for host 'wdflbmd16643': -25, LIBSSH2_ERROR_CHANNEL_PACKET_EXCEEDED - Timeout waiting for response from SFTP subsystem
Solution: This is a limitation of sftp protocol which doesn't allow any output messages during user shell logon.
Ensure that any shell initialization script (.profile, .bash_profile, .bashrc, .cshrc, etc) produces no output during user logon. If any of these scripts produces output (for example, contains echo commands performed in non-interactive sesssions) either remove these scripts, or edit them to not produce any output.

Issue: A JVM crash occurs while installing SAP HANA Studio on a SAP HANA system
Validity: You are trying to install SAP HANA Studio SPS10 on the SAP HANA system and during the installation the JVM crashes with the error (seen in the logs)
# A fatal error has been detected by the SAP Java Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x00007fad087f0412, pid=7705, tid=140381113947904
# accessing faulting address: 0x0000000000000000
#
# JRE version: Java(TM) SE Runtime Environment (8.0_20) (build 8.1.000)
# Java VM: SAP Java Server VM (8.1.000 25.11-b02 Sep 19 2014 00:31:34 - 81_REL - optU - linux amd64 - 6 - bas2:225809 (mixed mode) compressed oops)
# Problematic frame:
# C [libc.so.6+0x118412] __strlen_sse42+0x12 (sp=0x00007fad066df0d8) (pc=0x00007fad087f0412)
Solution: The problem has been fixed in SAPJVM. The solution is to use latest SAPJVM8 during installation.
  1. Download the latest sapjvm from SAP Software Download Center
  2. Extract it to <SAPJVM PATH>
  3. Start again hdblcm with the argument -vm=<SAPJVM PATH>/sapjvm_8/bin/java  

Issue: You are not offered to download SAP HANA SPS10 components from the SAP HANA Studio
Validity: You are trying to download the SAP HANA SPS10 components from the SAP HANA Studio via Lifecycle Management -> Platform Lifecycle Management -> Check for SAP HANA components updates, but you don't see them.
The reason is that with SPS10 the delivery process has changed. As a result, the SAR archives are not available for separate download on the SAP Software Download Center. The lifecyle management plugin in the SAP HANA Studio can download only components, which are available on SAP Software Download Center. For more information see SAP Note 2184635
Solution: Open the SAP Software Download Center in a browser and download the SAP HANA SPS10 medium.

Issue: Status files indicating a pending installation
Validity: reason is:
you have hdblcm failed installation which is resolved but the installtion is not finished via hdblcm
you are trying to update the system but for the SID there is only "pending installation" and there is no "update" option
Solution: The status files are used to skip completed steps when executing hdbinst again.
An existing status file prevents any upgrade after a pending installation. Status files are deleted implicitly when hdbinst finishes successfully.
  • Linux
    /usr/sap/<SID>.hdbinst
    <installation_path>/<SID>/<SID>.hdbinst

Issue: Web user interface hangs when validating the sidadm password
Validity: You are using SAP HANA revision 90 on a SUSE Linux 11 SP3 and you want to install additional components via the Web user interface. On the wizard page with the passwords, when you click on Next, a busy dialog with message "Verifying input..." is displaed and stays there forever.
Solution: The problem is caused by a bug in the openssl library. For revision 90 you should use the SAP HANA database lifecycle manager (hdblcm) in console or native (X Window) GUI mode. The problem will be fixed in one of the next revisions.

Issue: Web user interface does not download/open log files after execution
Validity: You are using SAP HANA revision 90 and you executed a scenario via the Web user interface. At the end of the execution on the final dialog there is option to download/open the log files from the execution, but nothing is beeing downloaded or opened in the browser.
Solution: The problem is caused by a wrong permissions of the /<target>/<SID>/hdblcm/resources/log_files directory. Change permissions of the directory to 755. The problem will be fixed in revision 91.

Issue: Web user interface does not download/open log files after SAP HANA Studio installation/update
Validity: You are using SAP HANA revision 90 and you have installed/updated SAP HANA Studio via the Web user interface. At the end of the execution on the final dialog there is option to download/open the log files from the Studio installation/update, but nothing is beeing downloaded or opened in the browser.
Solution: The log file is available on the SAP HANA system in the /var/tmp directory, where all other logs can be found. The exact location can be found in the hdblcm's overall execution log (hdblcmweb.log)

Issue: When you try to open the Web UI you receive response code 404 Not Found from the server
Validity: You are using SAP HANA revision 90 and you have installed or updated your system using an SAP HANA database server archive (SAR) from SAP Service Marketplace.
Solution: The problem is caused by a wrong permissions of the file /<target>/<SID>/hdblcm/SIGNATURE.SMF. Change permissions of the file to 644 and call /<target>/<SID>/hdblcm/hdblcm --action=update_host. The problem will be fixed in revision 91.

Issue: When you use hdblcmgui to do a multiple-host HANA installation or to add additional host to existing system you get an error "sapadm_password (HostagentPassword) is missing or invalid"
Validity: You are using hdblcmgui from a SAP HANA revision 90 to 95 and are trying to do multiple-host HANA installation or trying to add additional host to existing system. The local host, on which you start hdblcmgui doesn't have sapadm user. Remote hosts (or some of them) have existing sapadm user.
Solution: Use hdblcm tool in console mode or install in advance SAP Host Agent on all hosts that will participate in the multiple-host HANA system



Header Data

Released On 30.10.2015 11:26:11
Release Status Released for Customer
Component HAN-LM-PLT SAP HANA Platform Lifecycle Management
Priority Recommendations / Additional Info
Category Help for error analysis

No comments:

Post a Comment