LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CetOS xen, " xend: command not found" (https://www.linuxquestions.org/questions/linux-newbie-8/cetos-xen-xend-command-not-found-729881/)

slashtoe 06-01-2009 11:10 AM

CetOS xen, " xend: command not found"
 
I am trying to set up a xen virtual environment on CentOS. I have loaded the default current CentOS 5 via HTTP from a net-install cd, with the Virtualization option selected, and I get this:

[root@localhost (username)]# xend status
bash: xend: command not found
[root@localhost (username)]# rpm -qa xen*
xen-libs-3.0.3-80.el5
xen-3.0.3-80.el5
[root@localhost (username)]# cd
[root@localhost ~]# pwd
/root
[root@localhost ~]# xend status
bash: xend: command not found
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.18-128.el5xen #1 SMP Wed Jan 21 11:55:02 EST 2009 i686 athlon i386 GNU/Linux
[root@localhost ~]#


So it looks like I have the correct packages installed, I am running the right kernel, but command not found. I don't see this complaint addressed anywhere in the documentation or on the boards so I imagine that I am missing something obvious. Anyone?

Oh and fwiw I also selected the Server option and both the kde and the Gnome desktop.

TIA!

harry edwards 06-01-2009 02:25 PM

On My CentOS5 system xend is located in the following location and comes with the following RPM package:

Code:

[root@space1 ~]# which xend
/usr/sbin/xend
[root@space1 ~]# rpm -qf /usr/sbin/xend
xen-3.0.3-80.el5
[root@space1 ~]# service xend status
xend is running

Is /usr/sbin/ in your PATH variable?

Hope that helps in some way.

chrism01 06-01-2009 06:03 PM

You can ensure you've got it all:


yum -y install kernel-xen xen virt-manager

edit /boot/grub/grub.conf to ensure the xen (capable) kernel is the default.

reboot

uname -r

should be similar to

2.6.28-53.el5xen


All times are GMT -5. The time now is 08:31 PM.