My Oracle Support Banner

ExaCS: Database Backup Failed In get_oraclehome_cmd_path (Doc ID 2801535.1)

Last updated on APRIL 29, 2024

Applies to:

Oracle Cloud Infrastructure - Exadata Cloud Service - Version N/A and later
Linux x86-64

Symptoms

Backups in Console are failing, and a manual attempt fails with below errors:

 

# /var/opt/oracle/bkup_api/bkup_api bkup_start --dbname=<DB_NAME>
DBaaS Backup API V1.5 @2021 Multi-Oracle home
Traceback (most recent call last):
File "/var/opt/oracle/bkup_api/bkup_api", line 1485, in <module>
rt = main()
File "/var/opt/oracle/bkup_api/bkup_api", line 434, in main
RAC = Rac(info["creg"])
File "/var/opt/oracle/bkup_api/lib/rac.py", line 74, in __init__
self.__setup_paths()
File "/var/opt/oracle/bkup_api/lib/rac.py", line 84, in __setup_paths
self._cmd_fullpath['srvctl'] = get_oraclehome_cmd_path(self.creg.get_param("oracle_home"),'srvctl')
File "/var/opt/oracle/bkup_api/../pylib/DBAAS/path_provider.py", line 78, in get_oraclehome_cmd_path
full_path = home_path + '/' + cmd
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

Changes

 NA

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
 Backups in Console are failing, and a manual attempt fails with below errors:
Changes
Cause
Solution
 Assuming node1 has the problem and node2 has a good file with the metadata information.
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.