Results 1 to 9 of 9
  1. #1
    Join Date
    Aug 2009

    cat /etc/group | grep root: gives Segmentation fault

    If I wish to see the root users, it gives error:

    [[email protected] ~]# cat /etc/group | grep root:
    Segmentation fault
    [[email protected] ~]#

  2. #2
    Join Date
    Apr 2009
    Looks like you have a problem with your libraries. Does it throw seg error only while executing the above command or does it throw the error for every command executed?
    You may need to reinstall the packages that the executed binaries depend upon.
    James B
    EzeeloginSetup your Secure Linux SSH Gateway.
    |Manage & Administer Multiple Linux Servers Quickly & Securely.

  3. #3
    Check the system logs. What does your dmesg says? What is in your /var/log/messages?
    Support Facility | 24/7 web hosting technical support services
    Technical support | Server management | Data migration

    Technical Articles

  4. #4
    Join Date
    Mar 2005
    Maine, USA
    It's also possible your server has infected binaries for those commands. The infected binaries will sometimes say "seg fault" though in reality the virus/malware is just blocking you from using those commands and/or trying to reinfect a cleaned up server.

    I'd recommmend backing up and do an OS reload if that is the case.

  5. #5
    Join Date
    Mar 2009
    You can try to debug it :

    # strace cat /etc/group | grep 'root:'
    ★ NinjaFirewall : Web Application Firewall for PHP and WordPress.
    ★ NinjaMonitoring : Monitor your website for suspicious activities.

  6. #6
    The binaries seems to be corrupted, you may have to copy them from another machine.
    Windows VPS | Linux Hybrid Server | 99.9% Uptime ( USA DC) ( INDIA DC)

  7. #7
    Join Date
    Sep 2007


    Quote Originally Posted by addieparker View Post
    If I wish to see the root users, it gives error:

    [[email protected] ~]# cat /etc/group | grep root:
    Segmentation fault
    [[email protected] ~]#
    if you just type grep and press enter and its shows segmant fault then here i have three things in mind.

    1. first update grep package.
    2. if not done by (1.) might be your bin directory got some permission problem.
    3. if not done by (1.) and (2.) then you need to update and restore those directories by installing/updating packages for your operating system RHEL or CENTOS and then check with rkhunter or chkroot to check out where it shows problem.

  8. #8
    Join Date
    Mar 2003
    California USA
    It sounds like you are compromised. This is a very common thing to see happen. I see it several times a month.
    Steven Ciaburri | Proactive Linux Server Management -
    Managed Servers (AS62710), Server Management, and Security Auditing.

  9. #9
    Join Date
    Jun 2008
    I am also doubted whether the server is compromised.

Similar Threads

  1. Segmentation fault
    By maxihost in forum Hosting Security and Technology
    Replies: 17
    Last Post: 11-08-2009, 08:09 PM
  2. Segmentation Fault????
    By pirateghost in forum Dedicated Server
    Replies: 0
    Last Post: 12-03-2008, 12:51 AM
  3. Segmentation fault, help/advice what to do?
    By SoiDog in forum Hosting Security and Technology
    Replies: 3
    Last Post: 05-20-2007, 01:19 AM
  4. Segmentation fault - what is it?
    By SmilieBG in forum Hosting Security and Technology
    Replies: 7
    Last Post: 06-04-2006, 10:12 PM
  5. SIGSEGV (Segmentation fault)
    By gate2vn in forum Hosting Security and Technology
    Replies: 0
    Last Post: 08-13-2005, 11:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts