No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Message "segmentation fault" Is Displayed During Linux Command Execution

Publication Date:  2015-03-10 Views:  822 Downloads:  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.


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.