My Oracle Support Banner

[TFA] AHF Upgrade Failed Due to Permission Issue on TEMP.'/tmp/.ahf.1380022/oracle.ahf/python/bin/python: Permission denied' (Doc ID 2852073.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 19.14.0.0.0 and later
Information in this document applies to any platform.

Symptoms

ahf deployment failed because of /tmp permission issue.

---> ./ahf_setup: line 3500: /tmp/.ahf.1328815/oracle.ahf/python/bin/python: Permission denied
---> [ERROR] : Failed to upgrade AHF to latest version [Exit Status : 126].


# ./ahf_setup

AHF Installer for Platform Linux Architecture x86_64
AHF Installation Log : /tmp/ahf_install_214000_1380022_2022_02_20-14_34_25.log
Starting Autonomous Health Framework (AHF) Installation
AHF Version: 21.4.0 Build Date: 202112200745
AHF is already installed at /opt/oracle.ahf
Installed AHF Version: 21.2.3 Build Date: 202109091658
Do you want to upgrade AHF [Y]|N : Y
Login using root is disabled in sshd config. Installing AHF only on Local Node
Upgrading /opt/oracle.ahf
Shutting down AHF Services
Stopped OSWatcher
Nothing to do !
Shutting down TFA
Removed /etc/systemd/system/multi-user.target.wants/oracle-tfa.service.
Removed /etc/systemd/system/graphical.target.wants/oracle-tfa.service.
Successfully shutdown TFA..
./ahf_setup: line 3500: /tmp/.ahf.1380022/oracle.ahf/python/bin/python: Permission denied  >>>>>>>>>>>>>>>
[ERROR] : Failed to upgrade AHF to latest version [Exit Status : 126].
Please check /u01/app/grid/local/oracle.ahf/data/diag/ahf/ahf_install_214000.log for more information.
Copying /tmp/ahf_install_214000_1380022_2022_02_20-14_34_25.log to /u01/app/grid/local/oracle.ahf/data/<nodename>/diag/ahf/

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
Cause
Solution


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