[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
RE: [Users] error on login
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
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
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
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] oops
Stephen, is it reproducable on your machine? The calltrace looks very strange/not full. Did you report the whole message? can you recompile your kernel w/o CONFIG_PREEMPT? does it help? Thanks, Kirill > Linux stephens 2.6.18-028test010 #2 PREEMPT Thu Jan 11 18:20:08 EST 2007 > i686 GNU/Linux > > Oops: 0002 [#1] > PREEMPT > Oops: 0002 [#1] > CPU:0, VCPU: 0.0 > EIP is at virtinfo_notifier_call+0x3/0xc0 > eax: d4b75f28 ebx: d5ae2a60 ecx: 0002 edx: 0001 > esi: d5a951a0 edi: ddfe22a0 ebp: d4b75f6c esp: d4b75f18 > ds: 007b es: 007b ss: 0068 > Process entrance (pid: 25423, veid: 0, ti=d4b74000 task=d4b738d0 > task.ti=d4b74000) > d4b75f6c 000d c0185738 000c d4b75f6c d5ae2a60 0001 > > Call Trace: > Stack: c0185629 0001 d4b75f28 d4b76128 ddfe22a0 d5a951a0 > d4b75f6c > Code: 14 01 8b 40 08 a8 08 75 04 89 d8 5b c3 e8 e6 e5 24 00 8d b6 00 00 00 > 00 eb ef 8d b4 26 00 00 00 00 8d bc 27 00 00 00 00 55 57 56 <53> 83 ec 10 89 > e0 8b 6c 24 28 25 00 e0 ff ff 8b 7c 24 2c 83 40 > EIP: [virtinfo_notifier_call+3/192] virtinfo_notifier_call+0x3/0xc0 SS:ESP > 0068:d4b75f18 > c31bdac0 fff7 0002 d4b74000 c0185709 ddfe22a0 d5a951a0 > d4b75f6c > > ___ > 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] time wait bucket table overflow
Hi there, on a very busy OpenVZ Server i have a lot of: Feb 12 15:25:51 server12 kernel: TCP: time wait bucket table overflow entries in my syslog file. Any ideas? Kernel is 2.6.18-028test015.1+31-ovz-smp -- Regards, Thomas ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] time wait bucket table overflow
Thomas, can you check this one please: http://bugzilla.openvz.org/show_bug.cgi?id=460 Thanks, Kirill > Hi there, > > on a very busy OpenVZ Server i have a lot of: > > Feb 12 15:25:51 server12 kernel: TCP: time wait bucket table overflow > > entries in my syslog file. > > Any ideas? > > Kernel is 2.6.18-028test015.1+31-ovz-smp > ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] time wait bucket table overflow
Hi Kirill, can you check this one please: http://bugzilla.openvz.org/show_bug.cgi?id=460 thx. I can´t find any value for /proc/sys/net/ipv4/ tcp_max_tw_buckets_ve and changing /proc/sys/net/ipv4/ tcp_max_tw_kmem_fraction to 256 did not solve this problem. Regards, Thomas ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] time wait bucket table overflow
Thomas Kramer wrote: Hi Kirill, can you check this one please: http://bugzilla.openvz.org/show_bug.cgi?id=460 thx. I can´t find any value for /proc/sys/net/ipv4/tcp_max_tw_buckets_ve and changing /proc/sys/net/ipv4/tcp_max_tw_kmem_fraction to 256 did not solve this problem. Most probably the right name is /proc/sys/net/ipv4/tcp_max_tw_buckets_ub. It is per-VE timewait bucket limit, apparently it's set too low (1024). Please increase it several times (8x or 16x) and report your results to the above bug. ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
RE: [Users] error on login
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
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