Oracle Linux: Sosreport Command Shows Error "binary is deprecated"
Applies To
Linux OS - Version Oracle Linux 8.0 and later
Symptoms
The sosreport command shows the error below when run on systems with sos version 4.9 and above.
# sosreport
sosreport binary is deprecated, use 'sos report' instead
Cause
The sosreport command has been deprecated in favor of the new sos command, E.G. sos report, and will be removed in the sos-4.9 release.
Solution
If sos package on the server is running version prior to 4.9, command sosreport is redirected to sos report automatically. Starting from version 4.9 and above, as the sosreport binary is deprecated, please use the following command to generate the log.