cancel
Showing results for 
Search instead for 
Did you mean: 

Hana sp11 installation and upgrade on linux RH

saroj_bagai
Contributor
0 Kudos

I have tried to install HANA sp11 as fresh install and also tried to upgrade my existing sp10 database. Both upgrade and new installation failing.

New installation failure:

nstalling package 'EPM'...

Installing package 'Documentation'...

Installing package 'Delivery Units'...

Installing package 'DAT Languages'...

Installing package 'DAT Configfiles'...

Creating instance...

  hdbparam: Working configuration directory:  "/vicky1/hana11/SB4/global/hdb/custom/config"

  hdbnsutil: creating persistence ...

  hdbnsutil: writing initial topology...

  hdbnsutil: writing initial license: status check = 2

Installation failed

  unhandled exception: Can't load '/vicky1/download/sp11/SAP_HANA_DATABASE/instruntime/SSLeay.so' for module Net::SSLeay: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory at DynaLoader.pm line 193.

at sdbrun/Require.pl line 62.

BEGIN failed--compilation aborted at IO/Socket/SSL.pm line 19.

Can't locate Net/SSL.pm in /vicky1/download/sp11/SAP_HANA_DATABASE/instruntime/SDBINST.TGZ /vicky1/download/sp11/SAP_HANA_DATABASE/instruntime (/vicky1/download/sp11/SAP_HANA_DATABASE/instruntime/SDBINST.TGZ /vicky1/download/sp11/SAP_HANA_DATABASE/instruntime contains: /vicky1/download/sp11/SAP_HANA_DATABASE/instruntime/SDBINST.TGZ, /vicky1/download/sp11/SAP_HANA_DATABASE/instruntime) at Net/HTTPS.pm line 30

    0: SDB::Install::App::__ANON__ in source SDB/Install/System.pm line 4012

    1: SDB::Install::System::loadSSLRequiringPackage in source SDB/Install/SAPControl.pm line 207

    2: SDB::Install::SAPControl::init in source SDB/Install/SAPControl.pm line 76

    3: SDB::Install::SAPControl::new in source SDB/Install/SAPInstance/TrexInstance.pm line 4252

    4: SDB::Install::SAPInstance::TrexInstance::cleanupLocalLeftovers in source SDB/Install/SAPInstance/TrexInstance.pm line 4456

    5: SDB::Install::SAPInstance::TrexInstance::startLocalSapStartSrvUx in source SDB/Install/SAPSystem.pm line 1500

    6: SDB::Install::SAPSystem::createInstance in source SDB/Install/App/Installation.pm line 848

    7: SDB::Install::App::Installation::install in source SDB/Install/App/Console/Installation.pm line 623

    8: (eval) in source SDB/Install/App/Console/Installation.pm line 611

    9: SDB::Install::App::Console::Installation::main in source SDBRun.pl line 396

    10: (eval) in source SDBRun.pl line 395

    11: SAPDB::Install::Start::StartRequireInc in source SDBRun.pl line 263

    12: SAPDB::Install::Start::Start in source -e line 0

Log file written to '/var/tmp/hdb_SB4_install_2016-01-08_13.56.06/hdbinst.log' on host 'JYOL00547447A'.

[root@JYOL00547447A SAP_HANA_DATABASE]#

and upgrade failure:

Select a SAP HANA Database installation:

No | System | Properties

------------------------------------------------------------

   |        |

0  | SB3    | version: 1.00.100.00.1434512907

   |        | host: jyol00547447a (Database Worker (worker))

   |        |

1  | None   | (Abort upgrade)

Specify the sequence number of the system to be upgraded [1]: 0

Enter System Administrator (sb3adm) Password:

Enter Database User Name [SYSTEM]:

Enter Database User (SYSTEM) Password:

Summary before execution:

   SAP HANA System ID: SB3

   Database User Name: SYSTEM

Do you want to continue? (y/n): y

Checking upgrade...

Upgrade failed

  unhandled exception: Cannot load libssl.so.0.9.8

For more information, see SAP Note 2009879.

    0: SDB::Install::App::__ANON__ in source SDB/Install/SAPControl.pm line 208

    1: SDB::Install::SAPControl::init in source SDB/Install/SAPControl.pm line 76

    2: SDB::Install::SAPControl::new in source SDB/Install/SAPInstance/TrexInstance.pm line 4173

    3: SDB::Install::SAPInstance::TrexInstance::checkSapStartSrv in source SDB/Install/SAPSystem.pm line 3518

    4: SDB::Install::SAPSystem::checkUpdate in source SDB/Install/App/Console/DBUpgrade.pm line 421

    5: SDB::Install::App::Console::DBUpgrade::preinstall in source SDB/Install/App/Console/DBUpgrade.pm line 566

    6: (eval) in source SDB/Install/App/Console/DBUpgrade.pm line 556

    7: SDB::Install::App::Console::DBUpgrade::main in source SDBRun.pl line 396

    8: (eval) in source SDBRun.pl line 395

    9: SAPDB::Install::Start::StartRequireInc in source SDBRun.pl line 263

    10: SAPDB::Install::Start::Start in source -e line 0

[root@JYOL00547447A SAP_HANA_DATABASE]#

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Saroji,

Please check the below SAP note.

8:31:54.105 - ERR : Can't load '/root/51049932/DATA_UNITS/HDB_LCM_LINUX_X86_64/instruntime/SSLeay.so'

for module Net::SSLeay: libssl.so.0.9.8: cannot open shared object file: No such file or directory at DynaLoader.pm line 193.

Solution:

For running SAP HANA you may need libopenssl version 0.9.8.
This version of libopenssl is provided with the so called Legacy Module for x86_64.
This software repository can be added via YaST2.

  1. Select in YaST2 Software->Add-On-Products.
  2. Select Add.
  3. Choose Extensions and Modules from Registration Server ....
  4. Select the Legacy Module for x86_64.
  5. The repository is added to your system.
  6. Now you can install the libopenssl 0.9.8 via zypper, yast2 etc.  E.g. zypper in libopenssl_0_9_8.

2240961 - Deployment of SAP Host Agent configurations fails when upgrading HANA database

Regards,

Govind

saroj_bagai
Contributor
0 Kudos

my understanding is that YaST is Suse  and my installation is on RH 6.5

saroj_bagai
Contributor
0 Kudos

I was able to upgrade my sp10 HANA installaiton to sp11 on  LInux RH6.5.

Earlier I only have  2 softlinks:

cd /usr/lib64

# ln -s /usr/lib64/libssl.so.1.0.1e /usr/lib64/libssl.so.1.0.1

#ln -s /usr/lib64/libcrypto.so.1.0.1e /usr/lib64/libcrypto.so.1.0.1

Upgrade keep failing on " Cannot load libssl.so.0.9.8"

I created  2 additional softlinks

#ln -s /usr/lib64/libssl.so.1.0.1e /usr/lib64/libssl.so.0.9.8

#ln -s /usr/lib64/libcrypto.so.1.0.1e /usr/lib64/libcrypto.so.0.9.8

ldconfig

and reran upgrade, this time upgrade worked

SAP_HANA_DATABASE]# ls

adapters.d                     filelist.resident  hdbsetup      resources

descriptors.d                  hdbinst            hdbuninst     server

filelist.hdbinst_remote_check  hdblcm             hdbupd        SIGNATURE.SMF

filelist.hdblcm_remote_check   hdblcmgui          instruntime

filelist.install               hdblcmweb          operations.d

[root@JYOL00547447A SAP_HANA_DATABASE]# ./hdbupd

SAP HANA Lifecycle Management - Database Upgrade 1.00.110.00.1447753075

***********************************************************************

Select a SAP HANA Database installation:

No | System | Properties

------------------------------------------------------------

   |        |

0  | SB3    | version: 1.00.100.00.1434512907

   |        | host: jyol00547447a (Database Worker (worker))

   |        |

1  | None   | (Abort upgrade)

Specify the sequence number of the system to be upgraded [1]: 0

Enter System Administrator (sb3adm) Password:

Enter Database User Name [SYSTEM]:

Enter Database User (SYSTEM) Password:

Summary before execution:

   SAP HANA System ID: SB3

   Database User Name: SYSTEM

Do you want to continue? (y/n): y

Checking upgrade...

Checking installation...

Extracting software...

Updating package 'Saphostagent Setup'...

Updating package 'Python Support'...

Updating package 'Python Runtime'...

Updating package 'Product Manifest'...

Updating package 'Binaries'...

Updating package 'Installer'...

Updating package 'Ini Files'...

Updating package 'HWCCT'...

Updating package 'Emergency Support Package'...

Updating package 'EPM'...

Updating package 'Documentation'...

Updating package 'Delivery Units'...

Updating package 'DAT Languages'...

Updating package 'DAT Configfiles'...

Stopping system...

  Stopping 7 processes on host 'JYOL00547447A':

    Stopping on 'JYOL00547447A': hdbcompileserver, hdbdaemon, hdbindexserver, hdbnameserver, hdbpreprocessor, hdbwebdispatcher, hdbxsengine

  All server processes stopped on host 'JYOL00547447A'.

  hdbparam: Working configuration directory:  "/vicky1/hana/SB3/global/hdb/custom/config"

Starting service (sapstartsrv)...

Starting system...

Starting 7 processes on host 'JYOL00547447A':

    Starting on 'JYOL00547447A': hdbcompileserver, hdbdaemon, hdbindexserver, hdbnameserver, hdbpreprocessor, hdbwebdispatcher, hdbxsengine

    Starting on 'JYOL00547447A': hdbcompileserver, hdbdaemon, hdbindexserver, hdbpreprocessor, hdbwebdispatcher, hdbxsengine

    Starting on 'JYOL00547447A': hdbdaemon, hdbindexserver, hdbwebdispatcher, hdbxsengine

    Starting on 'JYOL00547447A': hdbdaemon, hdbwebdispatcher, hdbxsengine

    Starting on 'JYOL00547447A': hdbdaemon, hdbwebdispatcher

  All server processes started on host 'JYOL00547447A'.

Importing delivery units...

Importing delivery unit HANA_DT_BASE

Importing delivery unit HANA_IDE_CORE

Importing delivery unit HANA_TA_CONFIG

Importing delivery unit HANA_UI_INTEGRATION_SVC

Importing delivery unit HANA_UI_INTEGRATION_CONTENT

Importing delivery unit HANA_XS_BASE

Importing delivery unit HANA_XS_LM

Importing delivery unit HDC_ADMIN

Importing delivery unit HDC_IDE_CORE

Importing delivery unit HDC_SEC_CP

Importing delivery unit HDC_XS_BASE

Importing delivery unit HDC_XS_LM

Importing delivery unit SAPUI5_1

Importing delivery unit SAP_WATT

Importing delivery unit HANA_BACKUP

Importing delivery unit HANA_HDBLCM

Importing delivery unit HANA_SEC_BASE

Importing delivery unit HANA_SEC_CP

Importing delivery unit HANA_ADMIN

Upgrade done

Log file written to '/var/tmp/hdb_SB3_upgrade_2016-01-11_18.16.12/hdbupd.log' on host 'JYOL00547447A'.

[root@JYOL00547447A SAP_HANA_DATABASE]#

sadanand_bhat
Participant
0 Kudos

Hi,

That is what i meant in my original reply. The installation also will work if you create the softlinks.

Answers (1)

Answers (1)

sadanand_bhat
Participant
0 Kudos

This is because there are some missing libraries in your system.

1) Install required libraries as per the document attached to the SAP Note: 2009879

2) Follow some extra configuration steps as in SAP Note: 2136965

Please close this thread if this answers your question. thanks

Saddy Bhat

saroj_bagai
Contributor
0 Kudos

Set a symbolic link for the cryptographic library (For technical reasons, the SAP HANA database is directly linked to a specific version of the library. Red Hat has a specific sub-version of the library installed, so you have to create a link)

# ln -s /usr/lib64/libssl.so.0.9.8e /usr/lib64/libssl.so.0.9.8

# ln -s /usr/lib64/libssl.so.1.0.1e /usr/lib64/libssl.so.1.0.1

# ln -s /usr/lib64/libcrypto.so.0.9.8e /usr/lib64/libcrypto.so.0.9.8

# ln -s /usr/lib64/libcrypto.so.1.0.1e /usr/lib64/libcrypto.so.1.0.1

# ldconfig

I did


# ln -s /usr/lib64/libssl.so.1.0.1e /usr/lib64/libssl.so.1.0.1

# ln -s /usr/lib64/libcrypto.so.1.0.1e /usr/lib64/libcrypto.so.1.0.1

# ldconfig

it did n't resolve the issue, still getting same error.

My RH is 6.5 not 6.6

cat /proc/version

Linux version 2.6.32-431.1.2.el6.x86_64 (mockbuild@x86-023.build.eng.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Sun Nov 24 09:37:37 EST 2013

sadanand_bhat
Participant
0 Kudos

As you can see from the error:

/vicky1/download/sp11/SAP_HANA_DATABASE/instruntime/SSLeay.so' for module Net::SSLeay: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory at DynaLoader.pm line 193.


You have create symbolic links for libcrypto.so.0.9.8 as well.


Make sure you have installed correct versions of these libraries because its tricky sometimes and reason for the failure

saroj_bagai
Contributor
0 Kudos

libssl.so.1.0.1.e  and libcrypto.so.1.0.1.e  are newer than  libssl.so.0.0.8 and libcrypto.so.0.9.8,