cancel
Showing results for 
Search instead for 
Did you mean: 

Error during a support package update (HANA)

Former Member
0 Kudos

Hello,

I´m trying to update our HANA system, but during the update the system show me the following error:

Error Message: Execution of 'Update from single SP' failed.

Detailed Message: Could not update software component(s) sap.com/HDB on host satdha03.

Execution of operation update-newdb-server-nzdm-v2 failed. Exit code of the operation is 1.

Command execution failed.

Help: http://help.sap.com/hana

I checked the logs and I attached them in this thread.

I also see this:

  Checking system requirements failed

    Performing HANA platform check script failed

      Performing python script failed

        Starting external program /usr/bin/python

          Command line is: /usr/bin/python /hana/shared/HD2/trans/HD2/IMDB_SERVER100_82_0/SAP_HANA_DATABASE/server/HanaHwCheck.py

          Output line 1:

          Output line 2: performing Hardware check......

          Output line 3:

          Output line 4: System Manufacturer            Microsoft Corporation    not supported

          Output line 5: System Product Name            Virtual Machine          not supported

          Output line 6: CPU Model                      0                        not supported

          Output line 7: OS                            SLES 11 SP 3              OK       

          Output line 8: Memory Total                  131072 MB                OK       

          Output line 9: Core count                    8                        OK       

          Output line 10: Hyper-threading                Activated                OK       

          Output line 11: Numa functionality            Activated                OK       

          Output line 12:

          Output line 13: Hardware check failed!!

          Output line 14:

          Program terminated with exit code 255

Update SAP HANA system process executor failed

So I believe this is related to the hardware check.

I tried to solve this situation with the following solution described in the following links:

Regarding SPS4 revision 29 update from SP3 | SCN

SAP HANA Installation in Oracle VirtualBox VM | SCN

HANA PE 1.0 SP6 Installation with Oracle VirtualBox / SUSE - Part2 - YouTube  (between the 5:50 and 8:40 minutes)

But it doesn't solved anything... it continues with the same error during this update SP`s activity!

Can you help me please?! This is an urgent sittuation!

Thank you

samid raif

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello Samid,

There is a workaround to resolve this issue by bypassing the hana hardware checks in the setup files.

BR,

Suhas

Former Member
0 Kudos

Hello Suhas S,

Which workaround you talking to? Can you describe please, can you be more clear?!

This one that is described in the following link? :

Because I tried that but without success I´m still facing the same problem.

Kind regards,

samid raif

Former Member
0 Kudos

Hello,

Yes it was the same point that i mentioned earlier.

Another way is to replace the file with your old hardware check py file from your previous setup and run the upgrade.

Hope it helps.

BR,

Suhas

Former Member
0 Kudos

Hello Suhas S,

This is what I done... but unfortunatelly without success at the end

I did the following change in the HanaHwCheck.py file in this two locations:
/hana/shared/HD2/trans/HD2/IMDB_SERVER100_82_0/SAP_HANA_DATABASE/server

/usr/sap/HD2/HDB00/exe/python_support

With vi editor I commented the line self.HWInfo['CPU Sockets']=len(lines)-1 and I added the line self.HWInfo['CPU Sockets']=1

Next I set the environment variable IDSPISPOPD:

export IDSPISPOPD="1"

Then I ran the following python commands:

python

import os

'IDSPISPOPD' in os.environ.keys()

exit()

I ran the update process again using the Lifecycle Manager (LCM) - "Apply Single Support Packages" option and again it show me the same error :

So the same error appeared:

Error Message: Execution of 'Update from single SP' failed.

Detailed Message: Could not update software component(s) sap.com/HDB on host satdha03.

Execution of operation update-newdb-server-nzdm-v2 failed. Exit code of the operation is 1.

Command execution failed.

Help: http://help.sap.com/hana

-- The log file show me the following:

Detecting system landscape...
System landscape detected
Deploying SAP Host Agent configurations on host satdha03
SAP Host Agent configurations deployed on host satdha03
Detecting system components...
Detecting available support packages
Scanning SAP Service Marketplace Software Download Center for available patches
Downloading single support packages from SAP Service Marketplace...
Downloading IMDB_CLIENT100_82_0-10009663.SAR (277912 kB)
Downloading IMDB_LCAPPS100_82_0-20010426.SAR (71423 kB)
Downloading SAPHOSTAGENT190_190-20005731.SAR (38849 kB)
Downloading IMDB_AFL100_82_0-10012328.SAR (413400 kB)
Downloading IMDBSERVER10082_0-10009569_P1.TAR (2500000 kB)
Downloading IMDBSERVER10082_0-10009569_P2.TAR (2319600 kB)
Downloading IMC_STUDIO100_82_0-10009662.SAR (335665 kB)
Start extract of multi-span tar files
End extract of multi-span tar files
Checking selected support packages...
Scanning archive /hana/shared/HD2/trans/SMPPatches/SAPHOSTAGENT190_190-20005731.SAR for components ...
Scanning archive /hana/shared/HD2/trans/SMPPatches/IMDB_AFL100_82_0-10012328.SAR for components ...
Scanning archive /hana/shared/HD2/trans/SMPPatches/IMDB_CLIENT100_82_0-10009663.SAR for components ...
Scanning archive /hana/shared/HD2/trans/SMPPatches/IMDB_LCAPPS100_82_0-20010426.SAR for components ...
Scanning archive /hana/shared/HD2/trans/untar_IMDBSERVER10082_0-10009569_P1_TAR/IMDB_SERVER100_82_0.SAR for components ...
Scanning archive /hana/shared/HD2/trans/SMPPatches/IMC_STUDIO100_82_0-10009662.SAR for components ...
Check of selected support packages finished.
Updating SAP HANA system from single SP...
Updating SAP HANA system...
Checking update prerequisites for component(s) sap.com/HANA_AFL ...
Checking update prerequisites for component(s) sap.com/HDB_CLIENT ...
Checking update prerequisites for component(s) sap.com/LCAPPS_HDB ...
Checking update prerequisites for component(s) sap.com/HDB ...
Checking update prerequisites for component(s) sap.com/HDB_STUDIO ...
Updating software component(s) sap.com/SAPHOSTAGENT on host satdha03...
Extracting /hana/shared/HD2/trans/SMPPatches/SAPHOSTAGENT190_190-20005731.SAR ...
Updating SAP Host Agent ...
Upgrade service
[Thr 140278294964000] Thu Aug 28 13:43:16 2014
[Thr 140278294964000] *** WARNING => HostExecUpgrade initialization - Unable to stat /usr/sap/hostctrl/exe/SIGNATURE.SMF: No such file or directory [HostExecAuto 115]
IsUpgradeNecessary: /hana/shared/HD2/trans/HD2/saphostagent/saphostexec is newer than /usr/sap/hostctrl/exe/saphostexec
Upgrade saphostexec / saphostcontrol
Check Installation Path ...
saphostexec is already running (pid=17737). Stopping...
Install SYS-V service ...-> Start /usr/sap/hostctrl/exe/saphostexec pf=/usr/sap/hostctrl/exe/host_profile <-
start hostcontrol using profile /usr/sap/hostctrl/exe/host_profile
[OK] SAPHostExec / SAPHostControl successfully upgraded
Updating software component(s) sap.com/HANA_AFL on host satdha03...
Extracting archive /hana/shared/HD2/trans/SMPPatches/IMDB_AFL100_82_0-10012328.SAR...

SAP Application Function Libraries installation kit detected.
SAP HANA Lifecycle Management - SAP AFL Installation 1.00.82.00.394270
Checking installation...
Preparing package 'AFL'...
Installing SAP Application Function Libraries to /hana/shared/HD2/exe/linuxx86_64/plugins/afl_1.00.82.00.394270_1662528...
Installation is up-to-date
Installation done
Log file written to '/var/tmp/hdb_afl_2014-08-28_13.43.26/hdbinst_afl.log'.
Updating software component(s) sap.com/LCAPPS_HDB on host satdha03...
Extracting archive /hana/shared/HD2/trans/SMPPatches/IMDB_LCAPPS100_82_0-20010426.SAR...

SAP liveCache Applications installation kit detected.
SAP HANA Lifecycle Management - SAP LCAPPS Installation 1.00.82.00.394270
Checking installation...
Preparing package 'LCAPPS'...
Installing SAP liveCache Applications to /hana/shared/HD2/exe/linuxx86_64/plugins/lcapps_1.00.82.00.446853_4010352...
Installation is up-to-date
Installation done
Log file written to '/var/tmp/hdb_lcapps_2014-08-28_13.43.30/hdbinst_lcapps.log'.
Updating software component(s) sap.com/HDB on host satdha03...
Extracting archive /hana/shared/HD2/trans/untar_IMDBSERVER10082_0-10009569_P1_TAR/IMDB_SERVER100_82_0.SAR...

Upgrade failed
  Checking system requirements failed
    Performing HANA platform check script failed
      Performing python script failed
        Starting external program /usr/bin/python
          Command line is: /usr/bin/python /hana/shared/HD2/trans/HD2/IMDB_SERVER100_82_0/SAP_HANA_DATABASE/server/HanaHwCheck.py
          Output line 1:
          Output line 2: performing Hardware check......
          Output line 3:
          Output line 4: System Manufacturer            Microsoft Corporation     not supported
          Output line 5: System Product Name            Virtual Machine           not supported
          Output line 6: CPU Model                      0                         not supported
          Output line 7: OS                             SLES 11 SP 3              OK       
          Output line 8: Memory Total                   131072 MB                 OK       
          Output line 9: Core count                     8                         OK       
          Output line 10: Hyper-threading                Activated                 OK       
          Output line 11: Numa functionality             Activated                 OK       
          Output line 12:
          Output line 13: Hardware check failed!!
          Output line 14:
          Program terminated with exit code 255
Update SAP HANA system process executor failed

So, this solution doesn´t work for my case...

I´m doing something wrong?

Can you help me please!?

How can I solve this issue!? How can I continue to update my SAP Hana instance!?

Kind regards,

samid raif

Former Member
0 Kudos

run the following commands as root before starting the installation. If already started the installation, cleanup and restart

export IDSPISPOPD="1"

python

>>> import os

>>> 'IDSPISPOPD' in os.environ.keys()

True

>>> quit()

informatique
Explorer
0 Kudos

Hello,

I am getting the same error here.

Did you find the solution?

Thank you.

Former Member
0 Kudos

Hello ,

Can you please let me know what scenario( update from which SP level to which SP level) are you trying to do ?

Former Member
0 Kudos

What platform are you running on?