Author Topic: 12.04 Media director really slow to ssh and almost impossible to login at tty  (Read 408 times)

jamo

  • Guru
  • ****
  • Posts: 458
    • View Profile
    • LMCE user Page
Is anyone else experiencing this behaviour?

I must say, there have been a few aspects of MD setup that have been really slow - part of the AVWizard as I mentioned in another thread, but this too-

I can ssh into the media director from the core but it takes a long time - say a minute - before the login completes.

But on the MD itself, I try to go to a terminal (ctrl-alt-f2) and login and it just hangs after I put in my username... don't even get to password. When I say it hangs, the thing is still running, but that terminal is unresponsive.

Weird.... when I ssh in to the same MD (eventually) I run "top" and the thing is just ticking over at idle... anyone else finding this?

Note- MD worked fine under 10.04.

pigdog

  • wants to work for LinuxMCE
  • **
  • Posts: 999
    • View Profile
Hi,

I'm going to try my NAS detection next then I'm going to try a MD (Acer Revo).

I'll let you know what happens.

Cheers.

jamo

  • Guru
  • ****
  • Posts: 458
    • View Profile
    • LMCE user Page
More info:

The slow SSH connection, in case it's related- when I ssh from core to md, using -vvv option, the delays are as follows:

It immediately gets to this point (below debug info) and then waits
Code: [Select]
.
.
debug1: Next authentication method: publickey
debug1: Offering DSA public key: /usr/pluto/keys/id_dsa_pluto
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply

1.5 minutes

Then, after that elapsed time the following info comes quickly:
Code: [Select]
.
.
debug1: Server accepts key: pkalg ssh-dss blen 434
debug2: input_userauth_pk_ok: fp 5e:84:34:7b:5c:7f:cb:00:90:09:85:27:62:a7:7b:89
debug3: sign_and_send_pubkey: DSA 5e:84:34:7b:5c:7f:cb:00:90:09:85:27:62:a7:7b:89
debug1: read PEM private key done: type DSA
debug1: Authentication succeeded (publickey).
Authenticated to moon31 ([192.168.80.2]:22).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug2: callback start
debug2: client_session2_setup: id 0
debug2: fd 3 setting TCP_NODELAY
debug2: channel 0: request pty-req confirm 1
debug2: channel 0: request shell confirm 1
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel_input_status_confirm: type 99 id 0
debug2: PTY allocation request accepted on channel 0
debug2: channel 0: rcvd adjust 2097152
debug2: channel_input_status_confirm: type 99 id 0
debug2: shell request accepted on channel 0
Welcome to Ubuntu 12.04.4 LTS (GNU/Linux 3.2.0-58-generic i686)

 * Documentation:  https://help.ubuntu.com/

You have new mail.
Last login: Thu Feb 13 21:16:17 2014 from 192.168.80.1

And then it's another 1.5 minutes until you get the prompt.

Any ideas? Any reason the moon waits so long before accepting the public keys? And then the further delay before the login prompt? I expect to ssh into a local machine within 10seconds.

pigdog

  • wants to work for LinuxMCE
  • **
  • Posts: 999
    • View Profile
Hi,

Just a quickie...

I just spent 10 hours trying to get a MD started.

Everything from nothing to having to create a TBZ.

Slow, slow, slow, patience, patience, patience.

Sorry, but my time with the Feb. 11/14 load has been nothing but problematic.

I'm going to downgrade to 10.04 for now.

Cheers.

purps

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1378
  • If it ain't broke, tweak it
    • View Profile
Have you considered a faulty switch?

Cheers,
Matt.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps

phenigma

  • wants to work for LinuxMCE
  • **
  • Posts: 944
    • View Profile
None of these problems *appear* to be system problems with LMCE.  I (and none of the devs) are experiencing issues like this.  Ususally this is down to NIC problems or other network problems (cabling, switches)... 

J.

jamo

  • Guru
  • ****
  • Posts: 458
    • View Profile
    • LMCE user Page
None of these problems *appear* to be system problems with LMCE.  I (and none of the devs) are experiencing issues like this.  Ususally this is down to NIC problems or other network problems (cabling, switches)... 

J.
If it is related to my hardware.... then it's a specific combination of 12.04 because I switch back to 10.04 (just boot a different HDD in the exact same equipment and it's hunky dory.

jamo

  • Guru
  • ****
  • Posts: 458
    • View Profile
    • LMCE user Page
I'm attempting a re-install with newer snapshot. If that sorts it I'll mark as solved.

pigdog

  • wants to work for LinuxMCE
  • **
  • Posts: 999
    • View Profile
Hi,

Quote
If it is related to my hardware.... then it's a specific combination of 12.04 because I switch back to 10.04 (just boot a different HDD in the exact same equipment and it's hunky dory.

Same... same (for me).

Cheers.


jamo

  • Guru
  • ****
  • Posts: 458
    • View Profile
    • LMCE user Page
PS - phenigma

Don't beat yourself up over the testing... there should be more of us doing it and this stuff would be picked up earlier. Sorry I took so long to get my 12.04 test station up. And you guys have been working really hard at it. Thank you.

phenigma

  • wants to work for LinuxMCE
  • **
  • Posts: 944
    • View Profile
:)  no problem.  We have identified an issue with the snapshot builder that has prevented updates from the last 4 weeks actually hitting the snapshot.  Working through the issues, hopefully have a shiny new snap today or tomorrow.

J.