From: Mark Lawrence (nomad_at_null.net)
Date: Fri 19 Sep 2003 - 08:26:04 BST
> > try to find out what are the permissions of
> > /dev/pts/22 ...
>  On vservers with a problem, there is no /dev/pts/22, but on one that is
> working fine:
> $ ls -l /dev/pts/15
> crw--w----    1 eyck     tty      136,  15 Sep 19 08:00 /dev/pts/15
>  And before I log in, there is no /dev/pts/15, just /dev/pts:
> drwxr-xr-x    2 root     root            0 Sep 19 06:30 pts
> so it seems like devpts is working fine. But why isn't it working on it's
I think I have also seen this before. If I remember correctly it was a
permissions problem or missing file in /dev.
I suggest you do an 'ls -l /dev' in a working vserver, and compare it with
the results from a non-working vserver and check for differences.
Just for reference, I have the following in one of mine:
crw--w--w-    1 root     root       1,   7 Oct 28  2002 full
prw-------    1 root     root            0 Feb 23  2003 initctl
crw-rw-rw-    1 root     root       1,   3 Oct 28  2002 null
crw-rw-rw-    1 root     tty        5,   2 Mar 14  2002 ptmx
drwxr-xr-x    2 root     root           96 Oct 31  2002 pts
crw-rw-rw-    1 root     root       1,   8 Oct 28  2002 random
crw-rw-rw-    1 root     tty        5,   0 Oct 28  2002 tty
cr--r--r--    1 root     root       1,   9 Oct 28  2002 urandom
prw-r-----    1 root     adm             0 Feb 23  2003 xconsole
crw-rw-rw-    1 root     root       1,   5 Oct 28  2002 zero
Cheers, Mark.
-- Mark Lawrence