importError: bad magic number in exachk
(Doc ID 2833749.1)
Last updated on NOVEMBER 16, 2022
Applies to:
Oracle Cloud Infrastructure - Exadata Cloud Service - Version N/A and laterInformation in this document applies to any platform.
Goal
After successful installation of the AHF, customer was getting below error while running any ahf command from the directory other than /tmp
[root@node1 ~]# ahfctl version
Traceback (most recent call last):
File "/u02/oracle.ahf/python/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/u02/oracle.ahf/python/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/ade/aime_tfa_165523/oracle/tfa/src/ahf/ahfctl_py/__main__.py", line 43, in
File "", line 259, in load_module
File "/ade/aime_tfa_165523/oracle/tfa/src/ahf/ahfctl_py/ahfctl.py", line 28, in
File "", line 259, in load_module
File "/ade/aime_tfa_165523/oracle/tfa/src/ahf/ahfctl_py/ahfdebugger.py", line 58, in
ImportError: bad magic number in 'exachk': b'3\r\r\n'
Same command working fine if run from /tmp
[root@node1 ~]#
[root@node1 ~]# cd /tmp
[root@node1 tmp]#
[root@node1 tmp]# ahfctl version <<
AHF version: 21.4.0
Solution
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
Goal |
Solution |
References |