* [gentoo-amd64] Strange ssh behaviour
@ 2006-09-28 15:52 Mark Haney
2006-09-28 18:33 ` [gentoo-amd64] " Duncan
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Mark Haney @ 2006-09-28 15:52 UTC (permalink / raw
To: gentoo-amd64
This might be a bit off topic, but I'm at my wits' end. I have a server
that uses PAM/LDAP for authentication. A recent update broke PAM and
took me a couple of days to fix. But now, when I ssh into the box, I
get no output from any commands. su,ls,cat all just return to the
prompt without showing me any output. I can env and echo fine and tab
completion works, so I know the shell is okay. I just don't have any
clue on what to try next.
Any ideas would be appreciated. TIA.
--
Ceterum censeo, Carthago delenda est.
Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-amd64] Re: Strange ssh behaviour
2006-09-28 15:52 [gentoo-amd64] Strange ssh behaviour Mark Haney
@ 2006-09-28 18:33 ` Duncan
2006-09-28 20:41 ` [gentoo-amd64] " Boyd Stephen Smith Jr.
2006-09-28 21:21 ` felix
2 siblings, 0 replies; 6+ messages in thread
From: Duncan @ 2006-09-28 18:33 UTC (permalink / raw
To: gentoo-amd64
"Mark Haney" <mhaney@ercbroadband.org> posted
451BEFB2.6090303@ercbroadband.org, excerpted below, on Thu, 28 Sep 2006
11:52:18 -0400:
> This might be a bit off topic, but I'm at my wits' end. I have a server
> that uses PAM/LDAP for authentication. A recent update broke PAM and
> took me a couple of days to fix. But now, when I ssh into the box, I
> get no output from any commands. su,ls,cat all just return to the
> prompt without showing me any output. I can env and echo fine and tab
> completion works, so I know the shell is okay. I just don't have any
> clue on what to try next.
I don't do remote admin so have no direct experience, but I've read of two
issues you might be running into.
1) Apparently it is or has been default to build stage-3 and GRP packages
with USE=acl. People who turn that flag off and do an emerge --depclean
without doing an emerge --newuse first end up breaking their system,
because all the ordinary utilities are built against access control list
libraries and a depclean removes them, leaving non-functional binaries.
That's why there's the BIG BIG WARNING about using depclean without doing
an emerge --newuse (and preferrably a revdep-rebuild both before and
after, just to be sure) first. Unfortunately, there are a LOT of people
who can't seem to read warnings, even BIG BIG warnings, that end up with
broken systems.
2) There was a recent authentication issue where LDAP based remote
authentication and access was in use. Apparently, it was a problem of
trying to authenticate a user in LDAP before the network was up to do so.
This caused VERY SLOW boots, and altho I'm not aware of it causing your
issue directly, it's possible it could be related. Part of the fix was to
ensure all necessary boot accounts could be authenticated locally, not
just over the network using LDAP -- IOW ensure there are entries in
the local passwd and group files as appropriate, and that the UID/GID
align with what is expected.
More than that, you'll probably need to get help from someone with more
direct experience.
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-amd64] Strange ssh behaviour
2006-09-28 15:52 [gentoo-amd64] Strange ssh behaviour Mark Haney
2006-09-28 18:33 ` [gentoo-amd64] " Duncan
@ 2006-09-28 20:41 ` Boyd Stephen Smith Jr.
2006-09-28 20:48 ` Mark Haney
2006-09-28 21:21 ` felix
2 siblings, 1 reply; 6+ messages in thread
From: Boyd Stephen Smith Jr. @ 2006-09-28 20:41 UTC (permalink / raw
To: gentoo-amd64
[-- Attachment #1: Type: text/plain, Size: 597 bytes --]
On Thursday 28 September 2006 10:52, "Mark Haney" <mhaney@ercbroadband.org>
wrote about '[gentoo-amd64] Strange ssh behaviour':
> [N]ow, when I ssh into the box, I
> get no output from any commands. su,ls,cat all just return to the
> prompt without showing me any output.
Try running strace on a command on the remote side -- see if that indicates
anything.
--
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-amd64] Strange ssh behaviour
2006-09-28 20:41 ` [gentoo-amd64] " Boyd Stephen Smith Jr.
@ 2006-09-28 20:48 ` Mark Haney
2006-09-28 21:05 ` Boyd Stephen Smith Jr.
0 siblings, 1 reply; 6+ messages in thread
From: Mark Haney @ 2006-09-28 20:48 UTC (permalink / raw
To: gentoo-amd64
Boyd Stephen Smith Jr. wrote:
> On Thursday 28 September 2006 10:52, "Mark Haney" <mhaney@ercbroadband.org>
> wrote about '[gentoo-amd64] Strange ssh behaviour':
>
>> [N]ow, when I ssh into the box, I
>> get no output from any commands. su,ls,cat all just return to the
>> prompt without showing me any output.
>>
>
> Try running strace on a command on the remote side -- see if that indicates
> anything.
>
>
I'm curious as to how to do that if no commands run from inside that
session?
--
Mark Haney
Sr. Systems Administrator
ERC Broadband
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-amd64] Strange ssh behaviour
2006-09-28 20:48 ` Mark Haney
@ 2006-09-28 21:05 ` Boyd Stephen Smith Jr.
0 siblings, 0 replies; 6+ messages in thread
From: Boyd Stephen Smith Jr. @ 2006-09-28 21:05 UTC (permalink / raw
To: gentoo-amd64
[-- Attachment #1: Type: text/plain, Size: 1421 bytes --]
On Thursday 28 September 2006 15:48, "Mark Haney" <mhaney@ercbroadband.org>
wrote about 'Re: [gentoo-amd64] Strange ssh behaviour':
> Boyd Stephen Smith Jr. wrote:
> > On Thursday 28 September 2006 10:52, "Mark Haney"
> > <mhaney@ercbroadband.org>
> > wrote about '[gentoo-amd64] Strange ssh behaviour':
> >> [N]ow, when I ssh into the box, I
> >> get no output from any commands. su,ls,cat all just return to the
> >> prompt without showing me any output.
> > Try running strace on a command on the remote side -- see if that
> > indicates anything.
> I'm curious as to how to do that if no commands run from inside that
> session?
Well, you say the commands run, they just don't produce any output. I'm
hoping strace will be different (although, that is a bit unlikely).
In any case, it looks like your shell is have problems exec()-ing commands
while env and echo are probably built-ins.
Perhaps your nproc ulimit is to low... or maybe it's something entirely
different.
Try:
ssh host strace ls
ssh host exec ls
ssh host exec strace ls
And see which ones produce output and how the outputs differ. With the
outputs if you need any more assistance.
--
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-amd64] Strange ssh behaviour
2006-09-28 15:52 [gentoo-amd64] Strange ssh behaviour Mark Haney
2006-09-28 18:33 ` [gentoo-amd64] " Duncan
2006-09-28 20:41 ` [gentoo-amd64] " Boyd Stephen Smith Jr.
@ 2006-09-28 21:21 ` felix
2 siblings, 0 replies; 6+ messages in thread
From: felix @ 2006-09-28 21:21 UTC (permalink / raw
To: gentoo-amd64
On Thu, Sep 28, 2006 at 11:52:18AM -0400, Mark Haney wrote:
> This might be a bit off topic, but I'm at my wits' end. I have a server
> that uses PAM/LDAP for authentication. A recent update broke PAM and
> took me a couple of days to fix. But now, when I ssh into the box, I
> get no output from any commands. su,ls,cat all just return to the
> prompt without showing me any output. I can env and echo fine and tab
> completion works, so I know the shell is okay. I just don't have any
> clue on what to try next.
Just in case, I will mention a bug I encountered a month or two back.
I could ssh into a machine to run commands, ie ssh ls -l worked, but I
could not ssh in to get an interactive login shell. It turns out that
app-accessibility/sphinx3 was installing a bogus libutil in /usr/lib,
overriding the real glibc libutil in /lib, and borking everything.
See bug #145667 for details. The workaround has been to replace the
bogus libs with symlinks to the real ones.
This does not sound like your problem, but I figure it can't hurt to
at least throw it out for you to throw away :-)
--
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-09-28 21:25 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-28 15:52 [gentoo-amd64] Strange ssh behaviour Mark Haney
2006-09-28 18:33 ` [gentoo-amd64] " Duncan
2006-09-28 20:41 ` [gentoo-amd64] " Boyd Stephen Smith Jr.
2006-09-28 20:48 ` Mark Haney
2006-09-28 21:05 ` Boyd Stephen Smith Jr.
2006-09-28 21:21 ` felix
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox