The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

When deleting virtfs/user, Can't operate anything by the error of ld-linux.so.X.

Discussion in 'General Discussion' started by PondRicefied, May 7, 2005.

  1. PondRicefied

    PondRicefied Well-Known Member

    Joined:
    Dec 13, 2004
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    Since a user's Jailshell stopped having used, I deleted the user's virtfs.
    -----------------
    % rm -rf /home/virtfs/username/*
    rm: cannot remove directory `username/usr/libexec': Device or resource busy
    rm: cannot remove directory `username/usr/lib': Device or resource busy
    rm: cannot remove directory `username/lib': Device or resource busy
    rm: cannot remove directory `username/home/username: Device or resource busy
    -----------------

    Then, whatever it might input from the command line of ssh, no operations became impossible by the following error.
    -----------------
    % ls
    bash: /bin/ls: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
    -----------------

    I cannot access cpanel and whm by Internal Server Error, and since shell is also impossible, they cannot check a log, either.

    I have lapsed into the condition of having been troubled very much.
    Someone PLEASE teach how to solve.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You've basically deleted much of your operating system because the files within the /home/virtfs/ tree are symlinked to your live binaries and libraries. You're going to have to perform an OS restore on the server.
     
  3. PondRicefied

    PondRicefied Well-Known Member

    Joined:
    Dec 13, 2004
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    Oh NO ...

    I want to hear it for future reference.
    When do not use Jailshell, please teach me how to delete Virtfs safely.

    It is very painful to consume the capacity of no less than 800-2000MB per one user.
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    AFAIK, it's all symlinked to their account and so doesn't actually represent any space consumed. You should not delete anything in there manually.
     
  5. PondRicefied

    PondRicefied Well-Known Member

    Joined:
    Dec 13, 2004
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    Thank you for reply.

    I learned that I should not delete virtfs.
     
Loading...

Share This Page