ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Ivan Adzhubey <iadzhubey@rics.bwh.harvard.edu>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] openpty: No such file or directory
Date: Sat, 04 Mar 2006 04:34:11 -0500
Message-ID: <200603040434.12023.iadzhubey@rics.bwh.harvard.edu> (raw)
In-Reply-To: <200603040156.17087.iadzhubey@rics.bwh.harvard.edu>

On Saturday 04 March 2006 01:56, Ivan Adzhubey wrote:
> On Saturday 04 March 2006 01:47, Ivan Adzhubey wrote:
> > # ssh node2
> > stdin: is not a tty
> >
> > и висим. В логах самого нода при этом видим:
> >
> > Mar  4 01:20:14 node2 sshd[4619]: Accepted publickey for ROOT USER root
> > from 192.168.0.1 port 49231 ssh2
> > Mar  4 01:20:14 node2 sshd[4618]: error: openpty: No such file or
> > directory Mar  4 01:20:14 node2 sshd[4618]: error: session_pty_req:
> > session 0 alloc failed
>
> Кажется начинаю разбираться:
>
> # ssh node2 "service udevd status"
> udevd is stopped
>
> # ssh node2 "service udevd start"
> Preparing dev filesystem:/etc/init.d/udevd: line 51: devpts: command not
> found
>
> Эта строка присутствует у меня на консоли при шатдауне системы на всех
> машинах переведенных на 2.6, что-то не так в /etc/fstab?
>
> mount: can't find /dev in /etc/fstab or /etc/mtab
> /etc/init.d/udevd: line 51: devpts: command not found
> /etc/init.d/udevd: line 51: devpts: command not found
> [FAILED]
>
> А вот это уже совсем плохо смотрится.
>
> # ssh node2 "cat /etc/fstab"
> /dev/hda1 none swap defaults 0 0
> /dev/hda2 / reiserfs defaults 1 1
> devpts /dev/pts devpts gid=5,mode=0620 0 0
> /dev/cdrom /mnt/cdrom auto user,iocharset=iso8859-1,exec,ro,noauto 0 0
> /dev/floppy /mnt/floppy auto
> user,umask=0,iocharset=iso8859-1,exec,sync,quiet,codepage=850,noauto 0 0
> proc /proc proc gid=19 0 0
>
> Что не так?

Странно, если руками даю команду:

# ssh node2 "mount -t devpts devpts /dev/pts -o gid=5,mode=620"

то она отрабатывает и устройства терминалов появляются, ssh счастлив. А 
скрипт /etc/init.d/udevd падает...

-- 
Иван


  reply	other threads:[~2006-03-04  9:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-04  6:47 Ivan Adzhubey
2006-03-04  6:56 ` Ivan Adzhubey
2006-03-04  9:34   ` Ivan Adzhubey [this message]
2006-03-04 13:45     ` Dmitry V. Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200603040434.12023.iadzhubey@rics.bwh.harvard.edu \
    --to=iadzhubey@rics.bwh.harvard.edu \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git