Joe Linoff
2011-Jan-04  21:42 UTC
[Xen-users] xen 3.4.3 -- xend service failing to start -- Permission denied
Hi Folks:
I am trying to start a domU on a Xen 3.4.3 dom0 based on CentOS 5.5 but
it keeps giving me message that says:
   libvir: Xen Daemon error : internal error failed to connect to xend
   libvir: Xen Daemon error : unable to connect to
''localhost:8000'':
Connection refused
I tried ''service xend restart'' but that didn''t help.
After digging a bit
I found the following error message in /var/log/xen/xend.log:
   [2011-01-04 13:28:15 16215] ERROR (SrvDaemon:349) Exception starting
xend ((13, ''Permission denied''))
   Traceback (most recent call last):
     File
"/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDaemon.py",
line
341, in run
       servers = SrvServer.create()
     File
"/usr/lib64/python2.4/site-packages/xen/xend/server/SrvServer.py",
line
251, in create
       root.putChild(''xend'', SrvRoot())
     File
"/usr/lib64/python2.4/site-packages/xen/xend/server/SrvRoot.py", line
40, in __init__
       self.get(name)
     File "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", line
84, in get
       val = val.getobj()
     File "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", line
52, in getobj
       self.obj = klassobj()
     File
"/usr/lib64/python2.4/site-packages/xen/xend/server/SrvNode.py", line
30, in __init__
       self.xn = XendNode.instance()
     File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py",
line 948, in instance
       inst = XendNode()
     File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py",
line 91, in __init__
       self.other_config["xen_pagesize"]
self.xeninfo_dict()["xen_pagesize"]
     File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py",
line 937, in xeninfo_dict
       return dict(self.xeninfo())
     File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py",
line 881, in xeninfo
       info[''xen_scheduler''] = self.xenschedinfo()
     File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py",
line 871, in xenschedinfo
       sched_id = self.xc.sched_id_get()
   Error: (13, ''Permission denied'')
Here is the output from xend-debug.log (note that I tried ''sysctl -p
/etc/sysctl.conf'' earlier):
   Xend started at Tue Jan  4 13:28:15 2011.
   sysctl operation failed -- need to rebuild the user-space tool set?
   Exception starting xend: (13, ''Permission denied'')
But I don''t understand what these messages are trying to tell me. Can
you suggest how this error can be fixed?
Here is my /boot/grub/grub.conf file:
   default=0
   timeout=5
   hiddenmenu
   title CentOS (2.6.18-194.26.1.el5xen)
        root (hd0,0)
        kernel /xen.gz-3.4.3
        module /vmlinuz-2.6.18-194.26.1.el5xen ro
root=/dev/VolGroup00/LogVol00
        module /initrd-2.6.18-194.26.1.el5xen.img
Thanks,
Joe
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
azherdev@yahoo.com
2011-Jan-04  21:48 UTC
Re: [Xen-users] xen 3.4.3 -- xend service failing to start --Permission denied
I had this issue after doing an update. The repos replaced the kernel in my grub
with the centos xen. Manually changed it back to the one provided by gitco.
Alexander Zherdev
azherdev@yahoo.com
-----Original Message-----
From: "Joe Linoff" <jlinoff@tabula.com>
Sender: xen-users-bounces@lists.xensource.com
Date: Tue, 4 Jan 2011 13:42:15 
To: <xen-users@lists.xensource.com>
Cc: Joe Linoff<jlinoff@tabula.com>
Subject: [Xen-users] xen 3.4.3 -- xend service failing to start --
	Permission denied
Hi Folks:
I am trying to start a domU on a Xen 3.4.3 dom0 based on CentOS 5.5 but
it keeps giving me message that says:
   libvir: Xen Daemon error : internal error failed to connect to xend
   libvir: Xen Daemon error : unable to connect to 'localhost:8000':
Connection refused
I tried 'service xend restart' but that didn't help. After digging a
bit
I found the following error message in /var/log/xen/xend.log:
   [2011-01-04 13:28:15 16215] ERROR (SrvDaemon:349) Exception starting
xend ((13, 'Permission denied'))
   Traceback (most recent call last):
     File
"/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDaemon.py",
line
341, in run
       servers = SrvServer.create()
     File
"/usr/lib64/python2.4/site-packages/xen/xend/server/SrvServer.py",
line
251, in create
       root.putChild('xend', SrvRoot())
     File
"/usr/lib64/python2.4/site-packages/xen/xend/server/SrvRoot.py", line
40, in__init__
       self.get(name)
     File "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", line
84, in get
       val = val.getobj()
     File "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", line
52, in getobj
       self.obj = klassobj()
     File
"/usr/lib64/python2.4/site-packages/xen/xend/server/SrvNode.py", line
30, in__init__
       self.xn = XendNode.instance()
     File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py",
line 948, in instance
       inst = XendNode()
     File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py",
line 91, in__init__
       self.other_config["xen_pagesize"]
self.xeninfo_dict()["xen_pagesize"]
     File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py",
line 937, in xeninfo_dict
       return dict(self.xeninfo())
     File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py",
line 881, in xeninfo
       info['xen_scheduler'] = self.xenschedinfo()
     File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py",
line 871, in xenschedinfo
       sched_id = self.xc.sched_id_get()
   Error: (13, 'Permission denied')
Here is the output from xend-debug.log (note that I tried 'sysctl -p
/etc/sysctl.conf' earlier):
   Xend started at Tue Jan  4 13:28:15 2011.
   sysctl operation failed -- need to rebuild the user-space tool set?
   Exception starting xend: (13, 'Permission denied')
But I don't understand what these messages are trying to tell me. Can
you suggest how this error can be fixed?
Here is my /boot/grub/grub.conf file:
   default=0
   timeout=5
   hiddenmenu
   title CentOS (2.6.18-194.26.1.el5xen)
        root (hd0,0)
        kernel /xen.gz-3.4.3
        module /vmlinuz-2.6.18-194.26.1.el5xen ro
root=/dev/VolGroup00/LogVol00
        module /initrd-2.6.18-194.26.1.el5xen.img
Thanks,
Joe
_______________________________________________
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
Alexander Zherdev
2011-Jan-04  21:55 UTC
Re: [Xen-users] xen 3.4.3 -- xend service failing to start -- Permission denied
Arghhh, my bb cut off the bottom! Didn''t see your grub setting... :( On 1/4/2011 1:42 PM, Joe Linoff wrote:> Hi Folks: > > I am trying to start a domU on a Xen 3.4.3 dom0 based on CentOS 5.5 but > it keeps giving me message that says: > > libvir: Xen Daemon error : internal error failed to connect to xend > libvir: Xen Daemon error : unable to connect to ''localhost:8000'': > Connection refused > > I tried ''service xend restart'' but that didn''t help. After digging a bit > I found the following error message in /var/log/xen/xend.log: > > [2011-01-04 13:28:15 16215] ERROR (SrvDaemon:349) Exception starting > xend ((13, ''Permission denied'')) > Traceback (most recent call last): > File > "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line > 341, in run > servers = SrvServer.create() > File > "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvServer.py", line > 251, in create > root.putChild(''xend'', SrvRoot()) > File > "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvRoot.py", line > 40, in __init__ > self.get(name) > File "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", line > 84, in get > val = val.getobj() > File "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", line > 52, in getobj > self.obj = klassobj() > File > "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvNode.py", line > 30, in __init__ > self.xn = XendNode.instance() > File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", > line 948, in instance > inst = XendNode() > File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", > line 91, in __init__ > self.other_config["xen_pagesize"] > self.xeninfo_dict()["xen_pagesize"] > File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", > line 937, in xeninfo_dict > return dict(self.xeninfo()) > File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", > line 881, in xeninfo > info[''xen_scheduler''] = self.xenschedinfo() > File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", > line 871, in xenschedinfo > sched_id = self.xc.sched_id_get() > Error: (13, ''Permission denied'') > > Here is the output from xend-debug.log (note that I tried ''sysctl -p > /etc/sysctl.conf'' earlier): > > Xend started at Tue Jan 4 13:28:15 2011. > sysctl operation failed -- need to rebuild the user-space tool set? > Exception starting xend: (13, ''Permission denied'') > > But I don''t understand what these messages are trying to tell me. Can > you suggest how this error can be fixed? > > Here is my /boot/grub/grub.conf file: > > default=0 > timeout=5 > hiddenmenu > title CentOS (2.6.18-194.26.1.el5xen) > root (hd0,0) > kernel /xen.gz-3.4.3 > module /vmlinuz-2.6.18-194.26.1.el5xen ro > root=/dev/VolGroup00/LogVol00 > module /initrd-2.6.18-194.26.1.el5xen.img > > > Thanks, > > Joe > > > > _______________________________________________ > 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
Joe Linoff
2011-Jan-04  22:10 UTC
RE: [Xen-users] xen 3.4.3 -- xend service failing to start-- Permission denied
Hi Alexander:
No problem. Based on your suggestion, I just manually verified that
xen.gz was correct:
   1. rpm2cpio xen-3.4.3-3.el5.x86_64.rpm | cpio -idmv
   2. ls -l boot/xen.gz-3.4.3
      -rw-r--r-- 1 root root 548386 Sep 28 03:40 boot/xen.gz-3.4.3
   3. Verified that it matched /boot/xen.gz-3.4.3
Any other ideas would be greatly appreciated. I am stumped.
Regards,
Joe
-----Original Message-----
From: xen-users-bounces@lists.xensource.com
[mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Alexander
Zherdev
Sent: Tuesday, January 04, 2011 1:56 PM
To: xen-users@lists.xensource.com
Subject: Re: [Xen-users] xen 3.4.3 -- xend service failing to start--
Permission denied
Arghhh, my bb cut off the bottom! Didn''t see your grub setting... :(
On 1/4/2011 1:42 PM, Joe Linoff wrote:> Hi Folks:
>
> I am trying to start a domU on a Xen 3.4.3 dom0 based on CentOS 5.5
but> it keeps giving me message that says:
>
>     libvir: Xen Daemon error : internal error failed to connect to
xend>     libvir: Xen Daemon error : unable to connect to
''localhost:8000'':
> Connection refused
>
> I tried ''service xend restart'' but that didn''t
help. After digging a
bit> I found the following error message in /var/log/xen/xend.log:
>
>     [2011-01-04 13:28:15 16215] ERROR (SrvDaemon:349) Exception
starting> xend ((13, ''Permission denied''))
>     Traceback (most recent call last):
>       File
>
"/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDaemon.py",
line> 341, in run
>         servers = SrvServer.create()
>       File
>
"/usr/lib64/python2.4/site-packages/xen/xend/server/SrvServer.py",
line> 251, in create
>         root.putChild(''xend'', SrvRoot())
>       File
> "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvRoot.py",
line
> 40, in __init__
>         self.get(name)
>       File
"/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py",
line> 84, in get
>         val = val.getobj()
>       File
"/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py",
line> 52, in getobj
>         self.obj = klassobj()
>       File
> "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvNode.py",
line
> 30, in __init__
>         self.xn = XendNode.instance()
>       File
"/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py",
> line 948, in instance
>         inst = XendNode()
>       File
"/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py",
> line 91, in __init__
>         self.other_config["xen_pagesize"] >
self.xeninfo_dict()["xen_pagesize"]
>       File
"/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py",
> line 937, in xeninfo_dict
>         return dict(self.xeninfo())
>       File
"/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py",
> line 881, in xeninfo
>         info[''xen_scheduler''] = self.xenschedinfo()
>       File
"/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py",
> line 871, in xenschedinfo
>         sched_id = self.xc.sched_id_get()
>     Error: (13, ''Permission denied'')
>
> Here is the output from xend-debug.log (note that I tried ''sysctl
-p
> /etc/sysctl.conf'' earlier):
>
>     Xend started at Tue Jan  4 13:28:15 2011.
>     sysctl operation failed -- need to rebuild the user-space tool
set?>     Exception starting xend: (13, ''Permission denied'')
>
> But I don''t understand what these messages are trying to tell me.
Can
> you suggest how this error can be fixed?
>
> Here is my /boot/grub/grub.conf file:
>
>     default=0
>     timeout=5
>     hiddenmenu
>     title CentOS (2.6.18-194.26.1.el5xen)
>          root (hd0,0)
>          kernel /xen.gz-3.4.3
>          module /vmlinuz-2.6.18-194.26.1.el5xen ro
> root=/dev/VolGroup00/LogVol00
>          module /initrd-2.6.18-194.26.1.el5xen.img
>
>
> Thanks,
>
> Joe
>
>
>
> _______________________________________________
> 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
Joe Linoff
2011-Jan-04  22:25 UTC
RE: [Xen-users] xen 3.4.3 -- xend service failing to start-- Permission denied
Hi Alexander:
I rebooted and now everything works. Very strange.
Cheers,
Joe
-----Original Message-----
From: Joe Linoff 
Sent: Tuesday, January 04, 2011 2:11 PM
To: Alexander Zherdev; xen-users@lists.xensource.com
Cc: Joe Linoff
Subject: RE: [Xen-users] xen 3.4.3 -- xend service failing to start--
Permission denied
Hi Alexander:
No problem. Based on your suggestion, I just manually verified that
xen.gz was correct:
   1. rpm2cpio xen-3.4.3-3.el5.x86_64.rpm | cpio -idmv
   2. ls -l boot/xen.gz-3.4.3
      -rw-r--r-- 1 root root 548386 Sep 28 03:40 boot/xen.gz-3.4.3
   3. Verified that it matched /boot/xen.gz-3.4.3
Any other ideas would be greatly appreciated. I am stumped.
Regards,
Joe
-----Original Message-----
From: xen-users-bounces@lists.xensource.com
[mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Alexander
Zherdev
Sent: Tuesday, January 04, 2011 1:56 PM
To: xen-users@lists.xensource.com
Subject: Re: [Xen-users] xen 3.4.3 -- xend service failing to start--
Permission denied
Arghhh, my bb cut off the bottom! Didn''t see your grub setting... :(
On 1/4/2011 1:42 PM, Joe Linoff wrote:> Hi Folks:
>
> I am trying to start a domU on a Xen 3.4.3 dom0 based on CentOS 5.5
but> it keeps giving me message that says:
>
>     libvir: Xen Daemon error : internal error failed to connect to
xend>     libvir: Xen Daemon error : unable to connect to
''localhost:8000'':
> Connection refused
>
> I tried ''service xend restart'' but that didn''t
help. After digging a
bit> I found the following error message in /var/log/xen/xend.log:
>
>     [2011-01-04 13:28:15 16215] ERROR (SrvDaemon:349) Exception
starting> xend ((13, ''Permission denied''))
>     Traceback (most recent call last):
>       File
>
"/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDaemon.py",
line> 341, in run
>         servers = SrvServer.create()
>       File
>
"/usr/lib64/python2.4/site-packages/xen/xend/server/SrvServer.py",
line> 251, in create
>         root.putChild(''xend'', SrvRoot())
>       File
> "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvRoot.py",
line
> 40, in __init__
>         self.get(name)
>       File
"/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py",
line> 84, in get
>         val = val.getobj()
>       File
"/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py",
line> 52, in getobj
>         self.obj = klassobj()
>       File
> "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvNode.py",
line
> 30, in __init__
>         self.xn = XendNode.instance()
>       File
"/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py",
> line 948, in instance
>         inst = XendNode()
>       File
"/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py",
> line 91, in __init__
>         self.other_config["xen_pagesize"] >
self.xeninfo_dict()["xen_pagesize"]
>       File
"/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py",
> line 937, in xeninfo_dict
>         return dict(self.xeninfo())
>       File
"/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py",
> line 881, in xeninfo
>         info[''xen_scheduler''] = self.xenschedinfo()
>       File
"/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py",
> line 871, in xenschedinfo
>         sched_id = self.xc.sched_id_get()
>     Error: (13, ''Permission denied'')
>
> Here is the output from xend-debug.log (note that I tried ''sysctl
-p
> /etc/sysctl.conf'' earlier):
>
>     Xend started at Tue Jan  4 13:28:15 2011.
>     sysctl operation failed -- need to rebuild the user-space tool
set?>     Exception starting xend: (13, ''Permission denied'')
>
> But I don''t understand what these messages are trying to tell me.
Can
> you suggest how this error can be fixed?
>
> Here is my /boot/grub/grub.conf file:
>
>     default=0
>     timeout=5
>     hiddenmenu
>     title CentOS (2.6.18-194.26.1.el5xen)
>          root (hd0,0)
>          kernel /xen.gz-3.4.3
>          module /vmlinuz-2.6.18-194.26.1.el5xen ro
> root=/dev/VolGroup00/LogVol00
>          module /initrd-2.6.18-194.26.1.el5xen.img
>
>
> Thanks,
>
> Joe
>
>
>
> _______________________________________________
> 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
Alexander Zherdev
2011-Jan-04  22:38 UTC
Re: [Xen-users] xen 3.4.3 -- xend service failing to start-- Permission denied
Glad it worked. I call that the "Microsoft" solution: "Upgrade drivers and reboot, call us if you have any other issues" On 1/4/2011 2:25 PM, Joe Linoff wrote:> Hi Alexander: > > I rebooted and now everything works. Very strange. > > Cheers, > > Joe > > -----Original Message----- > From: Joe Linoff > Sent: Tuesday, January 04, 2011 2:11 PM > To: Alexander Zherdev; xen-users@lists.xensource.com > Cc: Joe Linoff > Subject: RE: [Xen-users] xen 3.4.3 -- xend service failing to start-- > Permission denied > > Hi Alexander: > > No problem. Based on your suggestion, I just manually verified that > xen.gz was correct: > > 1. rpm2cpio xen-3.4.3-3.el5.x86_64.rpm | cpio -idmv > 2. ls -l boot/xen.gz-3.4.3 > -rw-r--r-- 1 root root 548386 Sep 28 03:40 boot/xen.gz-3.4.3 > 3. Verified that it matched /boot/xen.gz-3.4.3 > > Any other ideas would be greatly appreciated. I am stumped. > > Regards, > > Joe > > -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Alexander > Zherdev > Sent: Tuesday, January 04, 2011 1:56 PM > To: xen-users@lists.xensource.com > Subject: Re: [Xen-users] xen 3.4.3 -- xend service failing to start-- > Permission denied > > Arghhh, my bb cut off the bottom! Didn''t see your grub setting... :( > > On 1/4/2011 1:42 PM, Joe Linoff wrote: >> Hi Folks: >> >> I am trying to start a domU on a Xen 3.4.3 dom0 based on CentOS 5.5 > but >> it keeps giving me message that says: >> >> libvir: Xen Daemon error : internal error failed to connect to > xend >> libvir: Xen Daemon error : unable to connect to ''localhost:8000'': >> Connection refused >> >> I tried ''service xend restart'' but that didn''t help. After digging a > bit >> I found the following error message in /var/log/xen/xend.log: >> >> [2011-01-04 13:28:15 16215] ERROR (SrvDaemon:349) Exception > starting >> xend ((13, ''Permission denied'')) >> Traceback (most recent call last): >> File >> "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDaemon.py", > line >> 341, in run >> servers = SrvServer.create() >> File >> "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvServer.py", > line >> 251, in create >> root.putChild(''xend'', SrvRoot()) >> File >> "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvRoot.py", line >> 40, in __init__ >> self.get(name) >> File "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", > line >> 84, in get >> val = val.getobj() >> File "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", > line >> 52, in getobj >> self.obj = klassobj() >> File >> "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvNode.py", line >> 30, in __init__ >> self.xn = XendNode.instance() >> File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", >> line 948, in instance >> inst = XendNode() >> File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", >> line 91, in __init__ >> self.other_config["xen_pagesize"] >> self.xeninfo_dict()["xen_pagesize"] >> File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", >> line 937, in xeninfo_dict >> return dict(self.xeninfo()) >> File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", >> line 881, in xeninfo >> info[''xen_scheduler''] = self.xenschedinfo() >> File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", >> line 871, in xenschedinfo >> sched_id = self.xc.sched_id_get() >> Error: (13, ''Permission denied'') >> >> Here is the output from xend-debug.log (note that I tried ''sysctl -p >> /etc/sysctl.conf'' earlier): >> >> Xend started at Tue Jan 4 13:28:15 2011. >> sysctl operation failed -- need to rebuild the user-space tool > set? >> Exception starting xend: (13, ''Permission denied'') >> >> But I don''t understand what these messages are trying to tell me. Can >> you suggest how this error can be fixed? >> >> Here is my /boot/grub/grub.conf file: >> >> default=0 >> timeout=5 >> hiddenmenu >> title CentOS (2.6.18-194.26.1.el5xen) >> root (hd0,0) >> kernel /xen.gz-3.4.3 >> module /vmlinuz-2.6.18-194.26.1.el5xen ro >> root=/dev/VolGroup00/LogVol00 >> module /initrd-2.6.18-194.26.1.el5xen.img >> >> >> Thanks, >> >> Joe >> >> >> >> _______________________________________________ >> 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 >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Joe Linoff
2011-Jan-04  22:48 UTC
RE: [Xen-users] xen 3.4.3 -- xend service failingto start-- Permission denied
Yup -- and I don''t like for "Microsoft" either :-) Thanks again. Regards, Joe -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Alexander Zherdev Sent: Tuesday, January 04, 2011 2:38 PM To: xen-users@lists.xensource.com Subject: Re: [Xen-users] xen 3.4.3 -- xend service failingto start-- Permission denied Glad it worked. I call that the "Microsoft" solution: "Upgrade drivers and reboot, call us if you have any other issues" On 1/4/2011 2:25 PM, Joe Linoff wrote:> Hi Alexander: > > I rebooted and now everything works. Very strange. > > Cheers, > > Joe > > -----Original Message----- > From: Joe Linoff > Sent: Tuesday, January 04, 2011 2:11 PM > To: Alexander Zherdev; xen-users@lists.xensource.com > Cc: Joe Linoff > Subject: RE: [Xen-users] xen 3.4.3 -- xend service failing to start-- > Permission denied > > Hi Alexander: > > No problem. Based on your suggestion, I just manually verified that > xen.gz was correct: > > 1. rpm2cpio xen-3.4.3-3.el5.x86_64.rpm | cpio -idmv > 2. ls -l boot/xen.gz-3.4.3 > -rw-r--r-- 1 root root 548386 Sep 28 03:40 boot/xen.gz-3.4.3 > 3. Verified that it matched /boot/xen.gz-3.4.3 > > Any other ideas would be greatly appreciated. I am stumped. > > Regards, > > Joe > > -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Alexander > Zherdev > Sent: Tuesday, January 04, 2011 1:56 PM > To: xen-users@lists.xensource.com > Subject: Re: [Xen-users] xen 3.4.3 -- xend service failing to start-- > Permission denied > > Arghhh, my bb cut off the bottom! Didn''t see your grub setting... :( > > On 1/4/2011 1:42 PM, Joe Linoff wrote: >> Hi Folks: >> >> I am trying to start a domU on a Xen 3.4.3 dom0 based on CentOS 5.5 > but >> it keeps giving me message that says: >> >> libvir: Xen Daemon error : internal error failed to connect to > xend >> libvir: Xen Daemon error : unable to connect to''localhost:8000'':>> Connection refused >> >> I tried ''service xend restart'' but that didn''t help. After digging a > bit >> I found the following error message in /var/log/xen/xend.log: >> >> [2011-01-04 13:28:15 16215] ERROR (SrvDaemon:349) Exception > starting >> xend ((13, ''Permission denied'')) >> Traceback (most recent call last): >> File >> "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDaemon.py", > line >> 341, in run >> servers = SrvServer.create() >> File >> "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvServer.py", > line >> 251, in create >> root.putChild(''xend'', SrvRoot()) >> File >> "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvRoot.py", line >> 40, in __init__ >> self.get(name) >> File "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", > line >> 84, in get >> val = val.getobj() >> File "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", > line >> 52, in getobj >> self.obj = klassobj() >> File >> "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvNode.py", line >> 30, in __init__ >> self.xn = XendNode.instance() >> File"/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py",>> line 948, in instance >> inst = XendNode() >> File"/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py",>> line 91, in __init__ >> self.other_config["xen_pagesize"] >> self.xeninfo_dict()["xen_pagesize"] >> File"/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py",>> line 937, in xeninfo_dict >> return dict(self.xeninfo()) >> File"/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py",>> line 881, in xeninfo >> info[''xen_scheduler''] = self.xenschedinfo() >> File"/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py",>> line 871, in xenschedinfo >> sched_id = self.xc.sched_id_get() >> Error: (13, ''Permission denied'') >> >> Here is the output from xend-debug.log (note that I tried ''sysctl -p >> /etc/sysctl.conf'' earlier): >> >> Xend started at Tue Jan 4 13:28:15 2011. >> sysctl operation failed -- need to rebuild the user-space tool > set? >> Exception starting xend: (13, ''Permission denied'') >> >> But I don''t understand what these messages are trying to tell me. Can >> you suggest how this error can be fixed? >> >> Here is my /boot/grub/grub.conf file: >> >> default=0 >> timeout=5 >> hiddenmenu >> title CentOS (2.6.18-194.26.1.el5xen) >> root (hd0,0) >> kernel /xen.gz-3.4.3 >> module /vmlinuz-2.6.18-194.26.1.el5xen ro >> root=/dev/VolGroup00/LogVol00 >> module /initrd-2.6.18-194.26.1.el5xen.img >> >> >> Thanks, >> >> Joe >> >> >> >> _______________________________________________ >> 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 >_______________________________________________ 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