[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] Issues with XenAPI on CentOS 6.3


  • To: xen-api@xxxxxxxxxxxxx
  • From: John Garbutt <john@xxxxxxxxxxxxxxx>
  • Date: Fri, 1 Mar 2013 17:43:48 +0000
  • Delivery-date: Fri, 01 Mar 2013 17:44:02 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>

Hi,

I have managed to get xenopsd and xapi built on CentOS 6.3.

I have document how I got this far on the wiki:
http://wiki.xen.org/wiki/XCP_Building_Instructions

I have xcp-fe running, and I have xenopsd running (from OPAM install).
The xenops-cli seems to communicate correctly with xenopsd.

I can't get xapi started, it keeps failing with a permissions error
when asking xenopsd to access this file:
/sys/devices/system/xen_memory/xen_memory0/info/current_kb

Doing an strace suggests it is trying to open it for read write, but
the file is read only (adding write permissions doesn't seem to help
either, get a different error when accessing the file)

[pid  2736] lstat("/sys/devices/system/xen_memory/xen_memory0/info/current_kb",
{st_dev=makedev(0, 16), st_ino=3878, st_mode=S_IFREG|0444, st_nlink=1,
st_uid=0, st_gid=0, st_blksize=4096, st_blocks=0, st_size=4096,
st_atime=2013/03/01-16:33:34, st_mtime=2013/03/01-16:33:34,
st_ctime=2013/03/01-16:33:34}) = 0
[pid  2736] stat("/sys/devices/system/xen_memory/xen_memory0/info/current_kb",
{st_dev=makedev(0, 16), st_ino=3878, st_mode=S_IFREG|0444, st_nlink=1,
st_uid=0, st_gid=0, st_blksize=4096, st_blocks=0, st_size=4096,
st_atime=2013/03/01-16:33:34, st_mtime=2013/03/01-16:33:34,
st_ctime=2013/03/01-16:33:34}) = 0
[pid  2736] access("/sys/devices/system/xen_memory/xen_memory0/info/current_kb",
W_OK) = 0
[pid  2736] open("/sys/devices/system/xen_memory/xen_memory0/info/current_kb",
O_RDWR) = -1 EACCES (Permission denied)

Anyone got any ideas how to look into this any further? What should be
happening at this point?

I installed xenopsd using OPAM, not sure how to get hold of the
associated code to check what it is doing.

John

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.