Re: [SLE] Cannot list files under root from ssh

From: Jerry Feldman (gaf_at_blu.org)
Date: 09/14/05

  • Next message: Greg Wallace: "RE: [SLE] linux modprobe: FATAL: Error inserting sonypi"
    To: suse-linux-e@suse.com
    Date: Wed, 14 Sep 2005 08:23:30 -0400
    
    

    On Tuesday 13 September 2005 6:17 pm, Art Fore wrote:
    > I have a suse 9.3 server with no display, keyboard, or mouse which boots
    > up in runlevel 3. If I ssh into the server, I cannot list (ls) files
    > except under /home directory. Even su to root, I cannot do this. I also
    > have freenx install and going into the kde gui with freenx, I also
    > cannot see the files under root with Konqueror or Firefox.
    >
    > Any time I try to list the files under root in either ssh or freenx, is
    > locks up.
    Please be a bit more specific.
    Do you ssh as a regular user or as root?

    Try the following commands:
    ssh to Suse 9.3
    'mount' You want to see what is mounted.
    'df' This will stat your devices.

    There are a number of reasons that listing files in root can cause a system
    to appear to hang. If you are trying to mount an NFS exported directory,
    and it is not available (such as /foo where /foo is the mount point).

    When you are in /home, an 'ls' command is only concerned with /home. But, if
    you are in the root directory, the 'ls' command stats the top level of
    everything in the root directory, so if /foo is the culprit, ls will hand
    when trying to stat it. Same with Konqueror. If you have similar mounts in
    freenx you would have the same situation.

    ---------
    Ran into a similar thing on SLES9 the other day. We were changing the IP
    addresses of all the systems prior to moving them to another facility.
    Apparently, Tim must have fumble fingered something in YaST causing YaST to
    hang. I brought the system down to single user mode, and did some things by
    hand, but there is a very large home file system that is exported to a
    number of systems, and that was causing the hang.

    -- 
    Jerry Feldman <gaf@blu.org>
    Boston Linux and Unix user group
    http://www.blu.org PGP key id:C5061EA9
    PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Greg Wallace: "RE: [SLE] linux modprobe: FATAL: Error inserting sonypi"

    Relevant Pages

    • Re: mounting cifs filesystems not possible
      ... should'nt be an issue with the root share (unless the server doesn't ... Here's a dmesg output with a successful mount. ... root directory of the share. ...
      (Linux-Kernel)
    • Re: [SLE] Cannot list files under root from ssh(SOLVED)
      ... I found through the ps -aux command, there was what looked like a konq ... >>have freenx install and going into the kde gui with freenx, ... >>cannot see the files under root with Konqueror or Firefox. ... > 'mount' You want to see what is mounted. ...
      (SuSE)
    • initramfs: mounting over /
      ... I can't seem to mount over the root directory from an initramfs. ... I can create a device file for the desired root partition, and I can mount it into an empty *SUBdirectory*, and from there I can successfully list the partition contents. ...
      (alt.os.linux)
    • [Trouble Ticket #190335] AutoReply: freebsd-questions Digest, Vol 246, Issue 26
      ... please edit your Subject line so it is more specific ... you need to open a root xterm or even a root shell, ... boot manager is installed for this mirror and I would like to remove it ... was that NFS mount managwed ...
      (freebsd-questions)
    • Re: UFS Bug: FreeBSD 6.1/6.2/7.0: MOKB-08-11-2006, CVE-2006-5824, MOKB-03
      ... They can simply mount a filesystem with any number of SUID ... root binaries on it and have their way with the box. ... They have physical access to the machine. ...
      (FreeBSD-Security)