Tom Z. Napierala
2006-Sep-10 16:11 UTC
[Xen-users] "stdin: is not a tty" in Debian Sarge DomU
Hi, Ubuntu Dapper as Dom0, Debian Sarge as DomU. Sarge was bootstrapped, Trying to ssh ont the system, and after providing password I''ve got: stdin: is not a tty, and no console. When I check processes from serial console I''ve got something like this: root 821 0.0 0.6 10148 1692 ? Ss 15:59 0:00 -bash root 822 0.0 0.7 38476 2056 ? Ss 16:00 0:00 sshd: root@notty In auth.log: Sep 10 16:00:16 mailguard1 sshd[822]: Accepted keyboard-interactive/pam for root from ::ffff:xx.xx.xx.xx port 54800 ssh2 Sep 10 16:00:16 mailguard1 sshd[822]: error: openpty: No such file or directory Sep 10 16:00:16 mailguard1 sshd[822]: error: session_pty_req: session 0 alloc failed So I assumed there are no ttys created. mailguard1:/dev# ls /dev MAKEDEV evtchn initctl mem ram0 ram12 ram2 ram6 random urandom console full kmem null ram1 ram13 ram3 ram7 shm xconsole cpu hda1 kmsg port ram10 ram14 ram4 ram8 tty zero disk hda2 log ptmx ram11 ram15 ram5 ram9 tty1 Ok, I''m right. But I just can''t create devs, after launching MAKEDEV no devices are created. Any ideas? Regards, -- Tom Napierala DB Alliance Limited North Point House, New Mallow Road, Cork, Ireland The National Software Centre, Mahon, Cork, Ireland _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Itamar Reis Peixoto
2006-Sep-10 16:28 UTC
Re: [Xen-users] "stdin: is not a tty" in Debian Sarge DomU
try to install udev on your domU Subject: [Xen-users] "stdin: is not a tty" in Debian Sarge DomU> Hi, > Ubuntu Dapper as Dom0, Debian Sarge as DomU. Sarge was bootstrapped, > Trying to ssh ont the system, and after providing password I''ve got: > stdin: is > not a tty, and no console. > When I check processes from serial console I''ve got something like this: > root 821 0.0 0.6 10148 1692 ? Ss 15:59 0:00 -bash > root 822 0.0 0.7 38476 2056 ? Ss 16:00 0:00 sshd: > root@notty > > In auth.log: > Sep 10 16:00:16 mailguard1 sshd[822]: Accepted keyboard-interactive/pam > for > root from ::ffff:xx.xx.xx.xx port 54800 ssh2 > Sep 10 16:00:16 mailguard1 sshd[822]: error: openpty: No such file or > directory > Sep 10 16:00:16 mailguard1 sshd[822]: error: session_pty_req: session 0 > alloc > failed > > So I assumed there are no ttys created. > mailguard1:/dev# ls /dev > MAKEDEV evtchn initctl mem ram0 ram12 ram2 ram6 random urandom > console full kmem null ram1 ram13 ram3 ram7 shm xconsole > cpu hda1 kmsg port ram10 ram14 ram4 ram8 tty zero > disk hda2 log ptmx ram11 ram15 ram5 ram9 tty1 > > Ok, I''m right. But I just can''t create devs, after launching MAKEDEV no > devices are created. Any ideas? > > Regards, >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tom Z. Napierala
2006-Sep-10 18:05 UTC
Re: [Xen-users] "stdin: is not a tty" in Debian Sarge DomU
Dnia Sunday 10 September 2006 17:28, Itamar Reis Peixoto napisaĆ:> try to install udev on your domUThat did a trick almost ;) I couldn''t install udev due to installtion errors: Populating the new /dev filesystem temporarily mounted on /tmp/udev/Q03YFx/... ln: creating symbolic link `/tmp/udev.A03YFx/.static/dev/initctl'' to `/dev/.static/dev/.static/dev/initctl'': No such file or directory mount: special device /dev/pts does not exist dpkg: error processing udev (--configure) So I updated init manually: #update-rc.d -f udev start 03 S . #update-rc.d -f udev-mtab start 36 S . And after reboot everything seems to be fine. -- Tom Napierala DB Alliance Limited North Point House, New Mallow Road, Cork, Ireland The National Software Centre, Mahon, Cork, Ireland _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users