Error SOSREPORT Command Not Found On Redhat/CentOS

Error SOSREPORT Command Not Found If you face any issue in running sosreport command in Linux like sosreport command not found because There’s no package installed for running sosreport command.  you can install sos rpm package which is used for sosreport analysis in Linux as well as Centos. so

Check Out: What’s New In Redhat 8 Beta Version

rpm package for sosreport

Error SOSREPORT Command Not Found: 

Step 1: If the SOS package is not installed use this command to install. so

yum install sos -y

Now you have to find where this command located by command so

which sosreport

Step 2: Now verify the above path not exist in the $PATH of the user. If you get no output means the path is not available.

echo $PATH

Check Out: Useful Commands Of Firewall

NOTE: Run the above command as the user getting the “command not found” error.

Step 3: Now you will have to edit $HOME/.bash_profile to set the environment variable.

vim $HOME/.bashrc_profile

Add these line mentioned below

export PATH

Save and exit.

Check Out: How To Create a Branch In Git

Step 4: Now load the source the new bash profile

source $HOME /.bashrc_profile

That’s it linux sosreport analysis rpm package for sosreport centos

Share on:

I'm the founder of Curious Viral. I hope this blog will provide you complete information about Linux Technology & I would like to share my technical knowledge with you which I have learned during this period.

Other Posts You May Like...

3 thoughts on “Error SOSREPORT Command Not Found On Redhat/CentOS”

Leave a comment