mailing lists
2006-Aug-24 13:19 UTC
[Xen-users] I cant see any users logged in, "w" or "who" shows me 0 users while I am logged in 10 times :)
I cant see any users logged in, "w" or "who" shows me 0 users while I am logged in 10 times :) # w 15:17:36 up 3 days, 3:59, 0 users, load average: 0.00, 0.00, 0.00 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT # ps aux | grep bash | wc -l 4 When I log in using ''xm console id'' then `w` will show me that user but not the rest. I tried everything and have been googleing for hours. I cant find an answer. Its an CentOS 4.3 guest and host vps. uname -a Linux linux-1.vps.iu.nl 2.6.16-xen3_86.1_rhel4.1 #1 SMP Wed Aug 16 12:18:20 CEST 2006 i686 athlon i386 GNU/Linux Thank you in advance. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Marcin Owsiany
2006-Aug-24 13:36 UTC
Re: [Xen-users] I cant see any users logged in, "w" or "who" shows me 0 users while I am logged in 10 times :)
On Thu, Aug 24, 2006 at 03:19:18PM +0200, mailing lists wrote:> I cant see any users logged in, "w" or "who" shows me 0 users while I > am logged in 10 times :)This looks more like a problem with updating /var/run/utmp than something having to do with xen. Maybe check your PAM configuration? Marcin -- Marcin Owsiany <marcin@owsiany.pl> http://marcin.owsiany.pl/ GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F4 1216 "Every program in development at MIT expands until it can read mail." -- Unknown _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
mailing lists
2006-Aug-24 14:06 UTC
Re: [Xen-users] I cant see any users logged in, "w" or "who" shows me 0 users while I am logged in 10 times :)
No it happens only when I use XEN kernel.. if I use the default Linux kernel it works perfectly. On 8/24/06, Marcin Owsiany <marcin@owsiany.pl> wrote:> On Thu, Aug 24, 2006 at 03:19:18PM +0200, mailing lists wrote: > > I cant see any users logged in, "w" or "who" shows me 0 users while I > > am logged in 10 times :) > > This looks more like a problem with updating /var/run/utmp than > something having to do with xen. Maybe check your PAM configuration? > > Marcin > -- > Marcin Owsiany <marcin@owsiany.pl> http://marcin.owsiany.pl/ > GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F4 1216 > > "Every program in development at MIT expands until it can read mail." > -- Unknown > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Laurence Brockman
2006-Aug-24 14:12 UTC
RE: [Xen-users] I cant see any users logged in, "w" or "who" shows me 0 users while I am logged in 10 times :)
Add the following to /etc/ssh/sshd_config (Or whatever your sshd configuration file is): UseLogin yes Search the mailing list for the background on why you need to do this (Or at least I did with CentOS 4.3). Laurence -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of mailing lists Sent: Thursday, August 24, 2006 8:07 AM To: xen-users@lists.xensource.com Subject: Re: [Xen-users] I cant see any users logged in,"w" or "who" shows me 0 users while I am logged in 10 times :) No it happens only when I use XEN kernel.. if I use the default Linux kernel it works perfectly. On 8/24/06, Marcin Owsiany <marcin@owsiany.pl> wrote:> On Thu, Aug 24, 2006 at 03:19:18PM +0200, mailing lists wrote: > > I cant see any users logged in, "w" or "who" shows me 0 users whileI> > am logged in 10 times :) > > This looks more like a problem with updating /var/run/utmp than > something having to do with xen. Maybe check your PAM configuration? > > Marcin > -- > Marcin Owsiany <marcin@owsiany.pl>http://marcin.owsiany.pl/> GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F41216> > "Every program in development at MIT expands until it can read mail." > --Unknown> > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Kanwar Ranbir Sandhu
2006-Aug-25 14:26 UTC
Re: [Xen-users] I cant see any users logged in, "w" or "who" shows me 0 users while I am logged in 10 times :)
On Thu, 2006-24-08 at 16:06 +0200, mailing lists wrote:> No it happens only when I use XEN kernel.. if I use the default Linux > kernel it works perfectly.It''s a bug in the upstream kernel (i.e. RHEL). CentOS 4.4 should fix it. Regards, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.17-1.2142_FC4 i686 GNU/Linux 10:26:02 up 3:55, 2 users, load average: 0.72, 0.43, 0.21 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users