WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] xen 3.4.3 -- xend service failing to start-- Permission

To: "Alexander Zherdev" <azherdev@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] xen 3.4.3 -- xend service failing to start-- Permission denied
From: "Joe Linoff" <jlinoff@xxxxxxxxxx>
Date: Tue, 4 Jan 2011 14:10:39 -0800
Cc: Joe Linoff <jlinoff@xxxxxxxxxx>
Delivery-date: Tue, 04 Jan 2011 14:19:03 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D239768.1030605@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <8AD4194C251EC74CB897E261038F4478725D4B@xxxxxxxxxxxxxxxxxxx> <4D239768.1030605@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcusWlCqLNC1Yc1xQ8e7yXeT6ICMnQAAYanQ
Thread-topic: [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@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Alexander
Zherdev
Sent: Tuesday, January 04, 2011 1:56 PM
To: xen-users@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users