Ubaidul Khan
2008-Mar-25 15:41 UTC
[Fedora-xen] RHEL5 - Xend will not start after software upgrade
Hello, Recently I ran yum update on a RHEL5 x86_64 machine and as part of the update, the following packages were installed: Updated: xen-libs-3.0.3-41.el5.x86_64 Updated: xen-libs-3.0.3-41.el5.i386 Installed: kernel-xen-2.6.18-53.1.14.el5.x86_64 Updated: xen-3.0.3-41.el5.x86_64 After the update, I rebooted the machine. Now, I cannot get xend to start: [root@saleen xen]# /etc/init.d/xend start Starting xend: [ OK ] [root@saleen xen]# ps -ef | grep xend root 4080 1 0 11:27 ? 00:00:00 python /usr/sbin/xend start root 4081 4080 0 11:27 ? 00:00:00 python /usr/sbin/xend start root 4264 3109 0 11:45 pts/1 00:00:00 grep xend [root@saleen log]# tail -f /var/log/xen/xend.log self.obj = klassobj() File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", line 39, in __init__ self.xd = XendDomain.instance() File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomain.py", line 655, in instance inst.init() File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomain.py", line 76, in init self._add_domain( File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomain.py", line 139, in xen_domains domlist = xc.domain_getinfo() Error: (13, ''Permission denied'') I googled around, but I can''t find anything useful. Some people mentioned they rolled back to the previous version of the kernel-xen, xend, xen-libs. I would like to find the reasons behind the problem before rolling back. Any assistance is greatly appreciated. Thanks _________________________________________________________________ In a rush? Get real-time answers with Windows Live Messenger. http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_realtime_042008
Daniel P. Berrange
2008-Mar-25 15:45 UTC
Re: [Fedora-xen] RHEL5 - Xend will not start after software upgrade
On Tue, Mar 25, 2008 at 11:41:27AM -0400, Ubaidul Khan wrote:> > Hello, > > Recently I ran yum update on a RHEL5 x86_64 machine and as part of the update, the following packages were installed: > > Updated: xen-libs-3.0.3-41.el5.x86_64 > Updated: xen-libs-3.0.3-41.el5.i386 > Installed: kernel-xen-2.6.18-53.1.14.el5.x86_64 > Updated: xen-3.0.3-41.el5.x86_64 > > After the update, I rebooted the machine. Now, I cannot get xend to start: > > [root@saleen xen]# /etc/init.d/xend start > Starting xend: [ OK ] > > [root@saleen xen]# ps -ef | grep xend > root 4080 1 0 11:27 ? 00:00:00 python /usr/sbin/xend start > root 4081 4080 0 11:27 ? 00:00:00 python /usr/sbin/xend start > root 4264 3109 0 11:45 pts/1 00:00:00 grep xend > > [root@saleen log]# tail -f /var/log/xen/xend.log > self.obj = klassobj() > File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", line 39, in __init__ > self.xd = XendDomain.instance() > File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomain.py", line 655, in instance > inst.init() > File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomain.py", line 76, in init > self._add_domain( > File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomain.py", line 139, in xen_domains > domlist = xc.domain_getinfo() > Error: (13, ''Permission denied'')That means you have a mis-matched version of the kernel vs userspace. Make sure you have applied all RHEL-5.1 updates, and have rebooted into the new kernel. The new userspace won''t work with old kernel & vica-verca. Regards, Daniel. -- |: Red Hat, Engineering, Boston -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
Ubaidul Khan
2008-Mar-25 19:14 UTC
RE: [Fedora-xen] RHEL5 - Xend will not start after software upgrade
FYI, yum on my machine was configured with RHN repositories. Is yum supposed to handle these dependencies in way so people dont end up in the same situation I am in? ----------------------------------------> Date: Tue, 25 Mar 2008 15:45:15 +0000 > From: berrange@redhat.com > To: ukhanlists@hotmail.com > CC: xen-users@lists.xensource.com; fedora-xen@redhat.com > Subject: Re: [Fedora-xen] RHEL5 - Xend will not start after software upgrade > > On Tue, Mar 25, 2008 at 11:41:27AM -0400, Ubaidul Khan wrote: >> >> Hello, >> >> Recently I ran yum update on a RHEL5 x86_64 machine and as part of the update, the following packages were installed: >> >> Updated: xen-libs-3.0.3-41.el5.x86_64 >> Updated: xen-libs-3.0.3-41.el5.i386 >> Installed: kernel-xen-2.6.18-53.1.14.el5.x86_64 >> Updated: xen-3.0.3-41.el5.x86_64 >> >> After the update, I rebooted the machine. Now, I cannot get xend to start: >> >> [root@saleen xen]# /etc/init.d/xend start >> Starting xend: [ OK ] >> >> [root@saleen xen]# ps -ef | grep xend >> root 4080 1 0 11:27 ? 00:00:00 python /usr/sbin/xend start >> root 4081 4080 0 11:27 ? 00:00:00 python /usr/sbin/xend start >> root 4264 3109 0 11:45 pts/1 00:00:00 grep xend >> >> [root@saleen log]# tail -f /var/log/xen/xend.log >> self.obj = klassobj() >> File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", line 39, in __init__ >> self.xd = XendDomain.instance() >> File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomain.py", line 655, in instance >> inst.init() >> File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomain.py", line 76, in init >> self._add_domain( >> File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomain.py", line 139, in xen_domains >> domlist = xc.domain_getinfo() >> Error: (13, ''Permission denied'') > > That means you have a mis-matched version of the kernel vs userspace. > > Make sure you have applied all RHEL-5.1 updates, and have rebooted into > the new kernel. The new userspace won''t work with old kernel & vica-verca. > > Regards, > Daniel. > -- > |: Red Hat, Engineering, Boston -o- http://people.redhat.com/berrange/ :| > |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| > |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| > |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|_________________________________________________________________ Watch “Cause Effect,” a show about real people making a real difference. Learn more. http://im.live.com/Messenger/IM/MTV/?source=text_watchcause