Got it

Message “segmentation fault“ Is Displayed During Linux Command Execution

Latest reply: Apr 4, 2016 22:17:44 1358 1 0 0 0
Issue Description
When the O&M personnel run a Linux command on a node running the Linux operating system (OS), the message "Segmentation fault" is displayed, as shown in the following figure. 

It is found that a large number of segfault messages are displayed in the message log. 
Handling Process
Identify the file that has been changed since the node OS installation, and copy the same file from another node running the same OS to overwritten the changed file.
You must ensure that permission on the two files is the same.
If you cannot identify the file that has been changed since the node OS installation, reinstall the node.
Root Cause
After checking, we found that some files in the /usr/bin directory have been changed after the OS is installed on the node. Usually, the files in the directory are system files.
If the dos2unix * command is executed for the /usr/bin directory of a Linux OS, other Linux commands cannot be executed on the OS.
Suggestions
Running the dos2unix command for a file in a binary format will adversely affect the file functions. When running the rm or dos2unix command on a Linux OS as user root, you must ensure that you have understood the meaning and target of the command. 

thank a lot!
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.