Question: I was able to install Xen Hypervisor successfully on Red Hat Enterprise Linux release 5.5 and booted the system with xen kernel as well. But while starting the xend service, I get this error message “/proc/xen/capabilities: No such file or directory“. I see a folder ‘xen’ inside /proc, but ‘capabilities’ file is missing. Could someone throw a light on it?
Solution:
Normally, the ‘capabilities’ file should be created automatically when the system is booted with Xen kernel. If not, then you have to manually create a mount point in ‘/etc/fstab‘.
Open /etc/fstab using your favorite editor:
# vi /etc/fstab
add the below line and save the file:
xenfs /proc/xen xenfs defaults 0 0
Reload ‘/etc/fstab‘ using ‘mount -a‘ command. Once done, check if you can find capabilities file :
# ls /proc/xen/capabilities
That’s it! Now you should be able to start xend service.
You might be interested in : How to install Xen Virtualization Software on Linux