Orace Linux 6 - SOSREPORT Generation Failed With Error "IOError: [Errno 2] No Such File Or Directory"
(Doc ID 2578417.1)
Last updated on SEPTEMBER 06, 2019
Applies to:
Linux OS - Version Oracle Linux 6.0 and laterLinux x86-64
Symptoms
Generating a sosreport failed with following errors on Oracle Linux 6 server.
[root@<localhost>~]# sosreport Setting up archive ... Setting up plugins ... Running plugins. Please wait ... ..... Running 72/74: x11... Running 73/74: xfs... Running 74/74: yum... Creating compressed archive... Traceback (most recent call last): File "/usr/sbin/sosreport", line 25, in main(sys.argv[1:]) File "/usr/lib/python2.6/site-packages/sos/sosreport.py", line 1520, in main sos.execute() File "/usr/lib/python2.6/site-packages/sos/sosreport.py", line 1499, in execute return self.final_work() File "/usr/lib/python2.6/site-packages/sos/sosreport.py", line 1411, in final_work checksum = self._create_checksum(archive, hash_name) File "/usr/lib/python2.6/site-packages/sos/sosreport.py", line 1349, in _create_checksum archive_fp = open(archive, 'rb') IOError: [Errno 2] No such file or directory: '/tmp/sos._WBrAP/sosreport-localhost.tar.xz' Tar file is created but not .xz compressed. [root@<localhost>]# pwd /tmp/sos._WBrAP [root@<localhost>]# ls -l total 2134952 -rw------- 1 root root 2183403520 Jun 12 13:39 sosreport-localhost-20190612133120.tar -rw------- 1 root root 290 Jun 12 13:38 tmpFoixZs -rw------- 1 root root 1430112 Jun 12 13:38 tmpOrDeqv -rw------- 1 root root 786415 Jun 12 13:44 tmpWMyCSI -rw------- 1 root root 556329 Jun 12 13:38 tmpzTfC1m
Changes
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 |
Changes |
Cause |
Solution |