Find the answer to your Linux question:
Results 1 to 2 of 2
Hi Everybody, We have around 20 remote servers, all are on Cent OS 4.4 , and we configured the ssh-keys for password less login. All the servers are behaving very ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Jul 2004
    Posts
    143

    problem with ssh


    Hi Everybody,

    We have around 20 remote servers, all are on Cent OS 4.4, and we configured the ssh-keys for password less login.
    All the servers are behaving very strange..

    1) eventhough we have configured ssh-keys, some times they are asking for password and they are not accepting the password even we suppy correct one.

    2) and some times we are getting the following error
    ssh_exchange_identification: Connection closed by remote host (Generally we get this error when tcp wrappers are set, but here we don't).

    3) and some times we are getting the following errors while executing commands.

    [root@localhost ~]# w
    w: error while loading shared libraries: libproc-3.2.3.so: failed to map segment from shared object: Cannot allocate memory
    [root@localhost ~]# last
    last: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory
    [root@localhost ~]# logout
    clear: error while loading shared libraries: libncurses.so.5: failed to map segment from shared object: Cannot allocate memory

    Please suggest me what may be the wrong..
    All are live servers..

    Thanks Inadvance,
    Mummaneni.

  2. #2
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692
    The repeated "Cannot allocate memory" errors sound like a clue.

    Try capturing some vmstat output on one of the problem boxes.

    Example:
    Code:
    $ vmstat 2 20
    And post the output here (in code tags so that it is readable).

Posting Permissions

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