[Users] error on login

2007-02-12 Thread José David Bravo Álvarez

[EMAIL PROTECTED] cpbackup]# vzctl enter 101
entered into VE 101
mesg: error: tty device is not owned by group `tty'
[EMAIL PROTECTED] [/]#

[EMAIL PROTECTED] [/]# ls -l /dev/tty
crw-rw-rw-  1 root tty 5, 0 Dec 15  2005 /dev/tty

Any idea? thanks for your help.

--
José David Bravo Álvarez
Gerente General
Colombia Hosting
Tel. (2) 6832660 ext. 120
Cel. (300) 6174073
Av. 4 # 48n43 Of. 301
http://www.colombiahosting.com.co


___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


RE: [Users] error on login

2007-02-12 Thread Mantelle Johan
I have the same error :

[EMAIL PROTECTED] ~]# vzctl enter 133
entered into VE 133
mesg: error: tty device is not owned by group `tty'

[EMAIL PROTECTED] [/]# ls -lrt /dev/tty
crw-rw-rw-1 root tty5,   0 Feb  6 09:45 /dev/tty

 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of José David Bravo 
Álvarez
Sent: lundi 12 février 2007 13:43
To: users@openvz.org
Subject: [Users] error on login

[EMAIL PROTECTED] cpbackup]# vzctl enter 101
entered into VE 101
mesg: error: tty device is not owned by group `tty'
[EMAIL PROTECTED] [/]#

[EMAIL PROTECTED] [/]# ls -l /dev/tty
crw-rw-rw-  1 root tty 5, 0 Dec 15  2005 /dev/tty

Any idea? thanks for your help.

--
José David Bravo Álvarez
Gerente General
Colombia Hosting
Tel. (2) 6832660 ext. 120
Cel. (300) 6174073
Av. 4 # 48n43 Of. 301
http://www.colombiahosting.com.co


___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users

___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] error on login

2007-02-12 Thread Kir Kolyshkin
You have to have either /dev/ttyp* /dev/ptyp* devices in your VE, or 
/dev/ptmx and /dev/pts filesystem mounted, or both.


For more info, see
http://wiki.openvz.org/Physical_to_VE#.2Fdev_TTY_devices
http://wiki.openvz.org/Physical_to_VE#Can.27t_enter_VE

Perhaps the separate wiki article is needed for this case...

Mantelle Johan wrote:

I have the same error :

[EMAIL PROTECTED] ~]# vzctl enter 133
entered into VE 133
mesg: error: tty device is not owned by group `tty'

[EMAIL PROTECTED] [/]# ls -lrt /dev/tty
crw-rw-rw-1 root tty5,   0 Feb  6 09:45 /dev/tty

 


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of José David Bravo 
Álvarez
Sent: lundi 12 février 2007 13:43
To: users@openvz.org
Subject: [Users] error on login

[EMAIL PROTECTED] cpbackup]# vzctl enter 101
entered into VE 101
mesg: error: tty device is not owned by group `tty'
[EMAIL PROTECTED] [/]#

[EMAIL PROTECTED] [/]# ls -l /dev/tty
crw-rw-rw-  1 root tty 5, 0 Dec 15  2005 /dev/tty

Any idea? thanks for your help.

--
José David Bravo Álvarez
Gerente General
Colombia Hosting
Tel. (2) 6832660 ext. 120
Cel. (300) 6174073
Av. 4 # 48n43 Of. 301
http://www.colombiahosting.com.co


___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users

___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users
  


___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] error on login

2007-02-12 Thread Kir Kolyshkin

This does not looks like something specific to OpenVZ. Still, let me guess.

"tty device" here is not /dev/tty, but either /dev/ttyp* and /dev/ptyp*, 
or some entry under /dev/pts.


"mesg" is a program to enable/disable receiving messages from other 
users. It is probably called from one of user's login scripts 
(/etc/bashrc, /etc/bash_login, /etc/profile or something like that, or 
their ~/. analogs). This programs is _possibly_ SGID to group tty (run 
'ls -l $(which mesg)' to check that), and tries to change the mode of 
one or several above mentioned files. Since files doesn't belong to 
group tty, mesg complains.


This problem is most probably the problem of a given distribution.

Regards,
Kir.

José David Bravo Álvarez wrote:

[EMAIL PROTECTED] cpbackup]# vzctl enter 101
entered into VE 101
mesg: error: tty device is not owned by group `tty'
[EMAIL PROTECTED] [/]#

[EMAIL PROTECTED] [/]# ls -l /dev/tty
crw-rw-rw- 1 root tty 5, 0 Dec 15 2005 /dev/tty

Any idea? thanks for your help.



___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] error on login

2007-02-12 Thread Kir Kolyshkin

Mantelle, please disregard my previous reply, I misread your email.

See my answer to Jose.

Mantelle Johan wrote:

I have the same error :

[EMAIL PROTECTED] ~]# vzctl enter 133
entered into VE 133
mesg: error: tty device is not owned by group `tty'

[EMAIL PROTECTED] [/]# ls -lrt /dev/tty
crw-rw-rw-1 root tty5,   0 Feb  6 09:45 /dev/tty

 


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jose' David 
Bravo A'lvarez
Sent: lundi 12 fe'vrier 2007 13:43
To: users@openvz.org
Subject: [Users] error on login

[EMAIL PROTECTED] cpbackup]# vzctl enter 101
entered into VE 101
mesg: error: tty device is not owned by group `tty'
[EMAIL PROTECTED] [/]#

[EMAIL PROTECTED] [/]# ls -l /dev/tty
crw-rw-rw-  1 root tty 5, 0 Dec 15  2005 /dev/tty

Any idea? thanks for your help.

--
Jose' David Bravo A'lvarez
Gerente General
Colombia Hosting
Tel. (2) 6832660 ext. 120
Cel. (300) 6174073
Av. 4 # 48n43 Of. 301
http://www.colombiahosting.com.co


___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users

___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users
  


___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


RE: [Users] error on login

2007-02-12 Thread Mantelle Johan
Yes in effect , my error is in /etc/bashrc :

This line 

mesg y

-> mesg: error: tty device is not owned by group `tty'

Regards
Mantelle johan

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kir Kolyshkin
Sent: lundi 12 février 2007 15:11
To: users@openvz.org
Subject: Re: [Users] error on login

This does not looks like something specific to OpenVZ. Still, let me guess.

"tty device" here is not /dev/tty, but either /dev/ttyp* and /dev/ptyp*, or 
some entry under /dev/pts.

"mesg" is a program to enable/disable receiving messages from other users. It 
is probably called from one of user's login scripts (/etc/bashrc, 
/etc/bash_login, /etc/profile or something like that, or their ~/. analogs). 
This programs is _possibly_ SGID to group tty (run 'ls -l $(which mesg)' to 
check that), and tries to change the mode of one or several above mentioned 
files. Since files doesn't belong to group tty, mesg complains.

This problem is most probably the problem of a given distribution.

Regards,
Kir.

José David Bravo Álvarez wrote:
> [EMAIL PROTECTED] cpbackup]# vzctl enter 101 entered into VE 101
> mesg: error: tty device is not owned by group `tty'
> [EMAIL PROTECTED] [/]#
>
> [EMAIL PROTECTED] [/]# ls -l /dev/tty
> crw-rw-rw- 1 root tty 5, 0 Dec 15 2005 /dev/tty
>
> Any idea? thanks for your help.
>

___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users

___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] error on login

2007-02-12 Thread Kir Kolyshkin
If you are curious, you can run strace on it (i.e. change 'mesg y' to 
'strace -f -o /tmp/mesg-y-strace-out mesg y') and see what files it 
tries to open etc.


Still, to me it looks like distro-specific problem. What distribution 
are you using?


Mantelle Johan wrote:

Yes in effect , my error is in /etc/bashrc :

This line 


mesg y

-> mesg: error: tty device is not owned by group `tty'

Regards
Mantelle johan

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kir Kolyshkin
Sent: lundi 12 février 2007 15:11
To: users@openvz.org
Subject: Re: [Users] error on login

This does not looks like something specific to OpenVZ. Still, let me guess.

"tty device" here is not /dev/tty, but either /dev/ttyp* and /dev/ptyp*, or 
some entry under /dev/pts.

"mesg" is a program to enable/disable receiving messages from other users. It 
is probably called from one of user's login scripts (/etc/bashrc, /etc/bash_login, 
/etc/profile or something like that, or their ~/. analogs). This programs is _possibly_ 
SGID to group tty (run 'ls -l $(which mesg)' to check that), and tries to change the mode 
of one or several above mentioned files. Since files doesn't belong to group tty, mesg 
complains.

This problem is most probably the problem of a given distribution.

Regards,
Kir.

José David Bravo Álvarez wrote:
  

[EMAIL PROTECTED] cpbackup]# vzctl enter 101 entered into VE 101
mesg: error: tty device is not owned by group `tty'
[EMAIL PROTECTED] [/]#

[EMAIL PROTECTED] [/]# ls -l /dev/tty
crw-rw-rw- 1 root tty 5, 0 Dec 15 2005 /dev/tty

Any idea? thanks for your help.




___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users

___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users
  


___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users