My Oracle Support Banner

Sosreport fails to complete with the Error "IOError: [Errno 1] Operation not permitted" (Doc ID 2689611.1)

Last updated on JULY 13, 2020

Applies to:

Oracle VM - Version 3.4.5 and later
Linux x86-64


 While running sosreport , the following error is seen

Finishing plugins [Running: systemtap]
Finished running plugins
Creating compressed archive...
[archive:TarFileArchive] xz: /var/tmp/sos.aRnqtR/sosreport-dnpx7001-2020-07-08-bfgphzr.tar: Operation not permitted
[archive:TarFileArchive] bzip2: Can't open input file /var/tmp/sos.aRnqtR/sosreport-dnpx7001-2020-07-08-bfgphzr.tar: Operation not permitted.
[archive:TarFileArchive] gzip: /var/tmp/sos.aRnqtR/sosreport-dnpx7001-2020-07-08-bfgphzr.tar: Operation not permitted
[archive:TarFileArchive] An error occurred compressing the archive: gzip /var/tmp/sos.aRnqtR/sosreport-dnpx7001-2020-07-08-bfgphzr.tar exited with 1
Traceback (most recent call last):
File "/sbin/sosreport", line 19, in
File "/usr/lib/python2.7/site-packages/sos/", line 1384, in main
File "/usr/lib/python2.7/site-packages/sos/", line 1364, in execute
return self.final_work()
File "/usr/lib/python2.7/site-packages/sos/", line 1262, in final_work
checksum = self._create_checksum(archive, hash_name)
File "/usr/lib/python2.7/site-packages/sos/", line 1194, in _create_checksum
archive_fp = open(archive, 'rb')
IOError: [Errno 1] Operation not permitted: '/var/tmp/sos.aRnqtR/sosreport-dnpx7001-2020-07-08-bfgphzr.tar' <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<


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

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