Re: Linux ssh Logon error prompt

From: Justin Mungal <justin_at_n0de.ws>
Date: Fri, 20 Dec 2013 05:49:47 -0600
Message-ID: <CAO9=aUwn9xe0gvtrSdLj=7NRteOvMQSbdXHz7gC0+-COMPcBmA_at_mail.gmail.com>



The error indicates, to me at least, that there is some kind of problem with the Bash shell executable. Have you confirmed that /bin/bash actually exists? Are the permissions of the executable set correctly? Here's how they look on an OL6 VM I have running:

[root_at_12cR1EE ~]# ls -l /bin/bash
-rwxr-xr-x. 1 root root 903272 Dec 19 2012 /bin/bash

-Justin

On Fri, Dec 20, 2013 at 5:31 AM, Ndidi Ibeachum <chinedui_at_live.co.uk> wrote:

> Dear Gurus;
>
> I have a problem I stumbled upon and I am hoping you can direct me on a
> fix even though this is a Linux question and sort of trivial.
>
> The Environment is Oracle Enterprise Linux 6 (x86-64). I am configuring
> some Linux servers for an oracle installation.
>
> I noticed that after setting up the environments and user equivalence
> using sshUserSetup.sh included in the 11.2.0.3 GI package, using ssh to
> log on to another server succeeds but throws the following error after
> login:
>
> *-bash: [/bin/bash: no such file or directory*
>
> This problem does not happen when I log on to any users shell normally, it
> only does using ssh to another server.
> I have checked the $PATH variables and /etc/profile, the .bash_profile for
> all the users and all the servers.
> I also tried loading the path variables in .bashrc.
> I have created another user afresh and tested and it still gives the same
> error.
>
> At a point I thought it was the "PermitUserEnvironment" directive in
> sshd_config which was causing the problem and set it to "yes" but the
> problem still persists.
>
> I am at a loss to where this problem is coming from.
> Could it be an edit I made or something wrong elsewhere?
>
> Your keen eyes are needed.
>
> Thanks in advance.
>
>

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Dec 20 2013 - 12:49:47 CET

Original text of this message