Laurence Brockman
2006-Jul-27 14:19 UTC
[Xen-users] User listing issue (w, who, last, etc)
Hey guys, I''m fairly new to Xen, but and I''ve had a heck of a time getting it up on running on an IBM X series box... Anyways, I have it up and running now (Installed using the RPM''s from http://article.gmane.org/gmane.comp.emulators.xen.user/5591/match=aaron+ weller+centos+rpm and I finally got it up and running. Anyways, on both Dom0 and DomU I cannot get a user listing of all SSH connections. I can see users logged in via the console (xm console <id> user logins show up, but not SSH sessions). Any ideas? On DomU [lbrockma@localhost ~]$ w 11:17:38 up 18:31, 0 users, load average: 0.00, 0.00, 0.00 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT On Dom0 [root@dwb1co ~]# w 09:17:57 up 21:23, 0 users, load average: 0.00, 0.00, 0.00 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT On DomU with console user from Dom0 [lbrockma@localhost ~]$ w 11:18:31 up 18:32, 1 user, load average: 0.00, 0.00, 0.00 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT lbrockma tty1 - 11:18 0.00s 0.02s 0.01s w Laurence Brockman Team Lead, Enterprise Management Shaw Communications Inc. Phone : (403) 536-7561 E-mail : laurence.brockman@sjrb.ca _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Steve Dobbelstein
2006-Jul-27 14:36 UTC
Re: [Xen-users] User listing issue (w, who, last, etc)
Laurence Brockman <laurence.brockman@sjrb.ca> wrote on 07/27/2006 09:19:56 AM:> Anyways, on both Dom0 and DomU I cannot get a user listing of all SSH > connections. I can see users logged in via the console (xm console <id> > user logins show up, but not SSH sessions). > > Any ideas?How about: ps ax|grep sshd Steve D. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Serge Dubrouski
2006-Jul-27 14:40 UTC
Re: [Xen-users] User listing issue (w, who, last, etc)
On 7/27/06, Laurence Brockman <laurence.brockman@sjrb.ca> wrote:> Hey guys, > > I''m fairly new to Xen, but and I''ve had a heck of a time getting it up > on running on an IBM X series box... Anyways, I have it up and running > now (Installed using the RPM''s from > http://article.gmane.org/gmane.comp.emulators.xen.user/5591/match=aaron+ > weller+centos+rpm and I finally got it up and running. > > Anyways, on both Dom0 and DomU I cannot get a user listing of all SSH > connections. I can see users logged in via the console (xm console <id> > user logins show up, but not SSH sessions). > > Any ideas? > > On DomU > > [lbrockma@localhost ~]$ w > 11:17:38 up 18:31, 0 users, load average: 0.00, 0.00, 0.00 > USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT > > On Dom0 > > [root@dwb1co ~]# w > 09:17:57 up 21:23, 0 users, load average: 0.00, 0.00, 0.00 > USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT > > On DomU with console user from Dom0 > > [lbrockma@localhost ~]$ w > 11:18:31 up 18:32, 1 user, load average: 0.00, 0.00, 0.00 > USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT > lbrockma tty1 - 11:18 0.00s 0.02s 0.01s w >In the /etc/ssh/sshd_config set UseLogin to yes and restart sshd then. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Laurence Brockman
2006-Jul-27 14:46 UTC
RE: [Xen-users] User listing issue (w, who, last, etc)
That worked. Do you happen to know why there is this dependency? Thanks, Laurence Laurence Brockman Team Lead, Enterprise Management Shaw Communications Inc. Phone : (403) 536-7561 E-mail : laurence.brockman@sjrb.ca -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Serge Dubrouski Sent: Thursday, July 27, 2006 8:40 AM To: Xen-users@lists.xensource.com Subject: Re: [Xen-users] User listing issue (w, who, last, etc) On 7/27/06, Laurence Brockman <laurence.brockman@sjrb.ca> wrote:> Hey guys, > > I''m fairly new to Xen, but and I''ve had a heck of a time getting it up > on running on an IBM X series box... Anyways, I have it up and running > now (Installed using the RPM''s from >http://article.gmane.org/gmane.comp.emulators.xen.user/5591/match=aaron+> weller+centos+rpm and I finally got it up and running. > > Anyways, on both Dom0 and DomU I cannot get a user listing of all SSH > connections. I can see users logged in via the console (xm console<id>> user logins show up, but not SSH sessions). > > Any ideas? > > On DomU > > [lbrockma@localhost ~]$ w > 11:17:38 up 18:31, 0 users, load average: 0.00, 0.00, 0.00 > USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT > > On Dom0 > > [root@dwb1co ~]# w > 09:17:57 up 21:23, 0 users, load average: 0.00, 0.00, 0.00 > USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT > > On DomU with console user from Dom0 > > [lbrockma@localhost ~]$ w > 11:18:31 up 18:32, 1 user, load average: 0.00, 0.00, 0.00 > USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT > lbrockma tty1 - 11:18 0.00s 0.02s 0.01s w >In the /etc/ssh/sshd_config set UseLogin to yes and restart sshd then. _______________________________________________ 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
Serge Dubrouski
2006-Jul-27 14:51 UTC
Re: [Xen-users] User listing issue (w, who, last, etc)
I do not remember :-( Check the archive of this list. BTW: this bug exists not in all Linux distros. It''s known for CentOS/RedHat but it does not exists in Mandrake/Mandriva. On 7/27/06, Laurence Brockman <laurence.brockman@sjrb.ca> wrote:> That worked. Do you happen to know why there is this dependency? > > Thanks, > Laurence > > Laurence Brockman > Team Lead, Enterprise Management > Shaw Communications Inc. > Phone : (403) 536-7561 > E-mail : laurence.brockman@sjrb.ca > > -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Serge > Dubrouski > Sent: Thursday, July 27, 2006 8:40 AM > To: Xen-users@lists.xensource.com > Subject: Re: [Xen-users] User listing issue (w, who, last, etc) > > On 7/27/06, Laurence Brockman <laurence.brockman@sjrb.ca> wrote: > > Hey guys, > > > > I''m fairly new to Xen, but and I''ve had a heck of a time getting it up > > on running on an IBM X series box... Anyways, I have it up and running > > now (Installed using the RPM''s from > > > http://article.gmane.org/gmane.comp.emulators.xen.user/5591/match=aaron+ > > weller+centos+rpm and I finally got it up and running. > > > > Anyways, on both Dom0 and DomU I cannot get a user listing of all SSH > > connections. I can see users logged in via the console (xm console > <id> > > user logins show up, but not SSH sessions). > > > > Any ideas? > > > > On DomU > > > > [lbrockma@localhost ~]$ w > > 11:17:38 up 18:31, 0 users, load average: 0.00, 0.00, 0.00 > > USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT > > > > On Dom0 > > > > [root@dwb1co ~]# w > > 09:17:57 up 21:23, 0 users, load average: 0.00, 0.00, 0.00 > > USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT > > > > On DomU with console user from Dom0 > > > > [lbrockma@localhost ~]$ w > > 11:18:31 up 18:32, 1 user, load average: 0.00, 0.00, 0.00 > > USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT > > lbrockma tty1 - 11:18 0.00s 0.02s 0.01s w > > > > In the /etc/ssh/sshd_config set UseLogin to yes and restart sshd then. > > _______________________________________________ > 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-Jul-27 14:51 UTC
Re: [Xen-users] User listing issue (w, who, last, etc)
On Thu, 2006-27-07 at 08:19 -0600, Laurence Brockman wrote:> I''m fairly new to Xen, but and I''ve had a heck of a time getting it up > on running on an IBM X series box... Anyways, I have it up and running > now (Installed using the RPM''s from > http://article.gmane.org/gmane.comp.emulators.xen.user/5591/match=aaron+ > weller+centos+rpm and I finally got it up and running.I didn''t visit that link, but it looks like you''re running CentOS, correct? Version 4?> Anyways, on both Dom0 and DomU I cannot get a user listing of all SSH > connections. I can see users logged in via the console (xm console <id> > user logins show up, but not SSH sessions).This sounds like this bug: http://bugs.centos.org/view.php?id=1299 You''ll find links to the upstream (RHEL) bug report, too. There is a workaround mentioned (haven''t tried it), though there is a fix coming in U4. HTH, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.17-1.2141_FC4 i686 GNU/Linux 10:43:19 up 4:13, 2 users, load average: 0.35, 0.22, 0.19 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
tbrown@baremetal.com
2006-Jul-27 16:10 UTC
Re: [Xen-users] User listing issue (w, who, last, etc)
On Thu, 27 Jul 2006, Laurence Brockman wrote:> Hey guys, > > I''m fairly new to Xen, but and I''ve had a heck of a time getting it up > on running on an IBM X series box... Anyways, I have it up and running > now (Installed using the RPM''s from > http://article.gmane.org/gmane.comp.emulators.xen.user/5591/match=aaron+ > weller+centos+rpm and I finally got it up and running. > > Anyways, on both Dom0 and DomU I cannot get a user listing of all SSH > connections. I can see users logged in via the console (xm console <id> > user logins show up, but not SSH sessions). > > Any ideas?It looks like a known bug... but it isn''t XEN specific. Some are suggesting it is a bad redhat patch to openssh. You don''t see it with the default RHEL/CentOS kernels. http://kb.swsoft.com/article_133_1146_en.html http://bugs.centos.org/view.php?id=1245 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=182930 " Looks like an upstream bug that is triggered by kernels without audit support:" The first of those links describes a quick work around. Which seems to work for me... 09:09:14 up 7 days, 20:46, 1 user, load average: 0.00, 0.00, 0.00 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT -> root pts/1 dhcp187-1-222.ds 09:09 0.00s 0.01s 0.00s w -Tom _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users