Skip to contentSkip to conversation

xend/xm on 4.1/4.2 on Fedora (FC17)

DISCUSSION Dan Magenheimer 3 participants 7 messages Aug 31, 2012 – Sep 4, 2012

lore
Share & tools
lore
#0 lore raw

Is there a how-to for starting/running xm/xend on Fedora (FC17)? Is it different for Xen 4.1 and 4.2?

I did find this:
http://wiki.xen.org/wiki/Xen_Common_Problems#Starting_xend_fails.3F
but it doesn't seem to help. And this:
http://wiki.xen.org/wiki/Fedora_Host_Installation
only addresses xl.

I expect I need to do something manually to start xencommons or something like that but obvious things don't seem to work, and I'm not a FC17 expert at all.

I am able to use xl in general... I need to run xm instead for some specific testing (on both 4.1 and 4.2).

Thanks for any help and sorry for the newbie-ish question!

Dan

#1 lore raw
Quoted 11 lines · Dan Magenheimer

Is there a how-to for starting/running xm/xend on Fedora (FC17)? Is it different for Xen 4.1 and 4.2?

I did find this:
http://wiki.xen.org/wiki/Xen_Common_Problems#Starting_xend_fails.3F
but it doesn't seem to help. And this:
http://wiki.xen.org/wiki/Fedora_Host_Installation
only addresses xl.

I expect I need to do something manually to start xencommons or something like that but obvious things don't seem to work,

How are you running this? When you boot up does it work? Or is this not working after your restart xend couple of times?

Quoted 1 line

and I'm not a FC17 expert at all.

service xend start

But you also need to enable it if it wasn't enabled using systemd. The syntax was something like (look at
http://fedoraproject.org/wiki/SysVinit_to_Systemd_Cheatsheet)

systemctl enable xend.service

(thought it might not be called xend but something else).

Quoted 7 lines

I am able to use xl in general... I need to run xm instead for some specific testing (on both 4.1 and 4.2).

Thanks for any help and sorry for the newbie-ish question!

Dan

#2 lore raw
Quoted 23 lines

From: Konrad Rzeszutek Wilk
Subject: Re: xend/xm on 4.1/4.2 on Fedora (FC17)

Quoted 11 lines · Dan Magenheimer

Is there a how-to for starting/running xm/xend on Fedora (FC17)? Is it different for Xen 4.1 and 4.2?

I did find this:
http://wiki.xen.org/wiki/Xen_Common_Problems#Starting_xend_fails.3F
but it doesn't seem to help. And this:
http://wiki.xen.org/wiki/Fedora_Host_Installation
only addresses xl.

I expect I need to do something manually to start xencommons or something like that but obvious things don't seem to work,

How are you running this? When you boot up does it work? Or is this not working after your restart xend couple of times?

Quoted 1 line

and I'm not a FC17 expert at all.

service xend start

Quoted 7 lines

But you also need to enable it if it wasn't enabled using systemd. The syntax was something like (look at
http://fedoraproject.org/wiki/SysVinit_to_Systemd_Cheatsheet)

systemctl enable xend.service

(thought it might not be called xend but something else).

That was one of the obvious things I tried, but it fails to start :-/

Dan

#3 lore raw
Quoted 27 lines · Dan Magenheimer
Quoted 27 lines

From: Konrad Rzeszutek Wilk
Subject: Re: xend/xm on 4.1/4.2 on Fedora (FC17)

Quoted 11 lines · Dan Magenheimer

Is there a how-to for starting/running xm/xend on Fedora (FC17)? Is it different for Xen 4.1 and 4.2?

I did find this:
http://wiki.xen.org/wiki/Xen_Common_Problems#Starting_xend_fails.3F
but it doesn't seem to help. And this:
http://wiki.xen.org/wiki/Fedora_Host_Installation
only addresses xl.

I expect I need to do something manually to start xencommons or something like that but obvious things don't seem to work,

How are you running this? When you boot up does it work? Or is this not working after your restart xend couple of times?

Quoted 1 line

and I'm not a FC17 expert at all.

service xend start

But you also need to enable it if it wasn't enabled using systemd. The syntax was something like (look at
http://fedoraproject.org/wiki/SysVinit_to_Systemd_Cheatsheet)

Quoted 5 lines
Quoted 3 lines

systemctl enable xend.service

(thought it might not be called xend but something else).

That was one of the obvious things I tried, but it fails to start :-/

Are you running in graphical mode? If so see if there are some weird SELinux warnings.

Quoted 2 lines

Dan

#4 lore raw
Quoted 34 lines

From: Konrad Rzeszutek Wilk
Sent: Friday, August 31, 2012 4:22 PM
To: Dan Magenheimer
Cc: Pasi Kärkkäinen; [email protected]
Subject: Re: xend/xm on 4.1/4.2 on Fedora (FC17)

Quoted 27 lines · Dan Magenheimer
Quoted 27 lines

From: Konrad Rzeszutek Wilk
Subject: Re: xend/xm on 4.1/4.2 on Fedora (FC17)

Quoted 11 lines · Dan Magenheimer

Is there a how-to for starting/running xm/xend on Fedora (FC17)? Is it different for Xen 4.1 and 4.2?

I did find this:
http://wiki.xen.org/wiki/Xen_Common_Problems#Starting_xend_fails.3F
but it doesn't seem to help. And this:
http://wiki.xen.org/wiki/Fedora_Host_Installation
only addresses xl.

I expect I need to do something manually to start xencommons or something like that but obvious things don't seem to work,

How are you running this? When you boot up does it work? Or is this not working after your restart xend couple of times?

Quoted 1 line

and I'm not a FC17 expert at all.

service xend start

But you also need to enable it if it wasn't enabled using systemd. The syntax was something like (look at
http://fedoraproject.org/wiki/SysVinit_to_Systemd_Cheatsheet)

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

systemctl enable xend.service

(thought it might not be called xend but something else).

That was one of the obvious things I tried, but it fails to start :-/

Are you running in graphical mode? If so see if there are some weird SELinux warnings.

SELinux is disabled. But yes, I am booting in graphical mode.

Hmmm... manually running "/usr/sbin/xend start" seems to work though. I guess that is all I need as I can start it in /etc/rc.d/rc.local.

Thanks for the help!
Dan

Dan

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#5 lore raw
Quoted 40 lines · Dan Magenheimer
Quoted 40 lines

From: Konrad Rzeszutek Wilk
Sent: Friday, August 31, 2012 4:22 PM
To: Dan Magenheimer
Cc: Pasi Kärkkäinen; [email protected]
Subject: Re: xend/xm on 4.1/4.2 on Fedora (FC17)

Quoted 32 lines · Dan Magenheimer
Quoted 23 lines

From: Konrad Rzeszutek Wilk
Subject: Re: xend/xm on 4.1/4.2 on Fedora (FC17)

Quoted 11 lines · Dan Magenheimer

Is there a how-to for starting/running xm/xend on Fedora (FC17)? Is it different for Xen 4.1 and 4.2?

I did find this:
http://wiki.xen.org/wiki/Xen_Common_Problems#Starting_xend_fails.3F
but it doesn't seem to help. And this:
http://wiki.xen.org/wiki/Fedora_Host_Installation
only addresses xl.

I expect I need to do something manually to start xencommons or something like that but obvious things don't seem to work,

How are you running this? When you boot up does it work? Or is this not working after your restart xend couple of times?

Quoted 1 line

and I'm not a FC17 expert at all.

service xend start

Quoted 7 lines

But you also need to enable it if it wasn't enabled using systemd. The syntax was something like (look at
http://fedoraproject.org/wiki/SysVinit_to_Systemd_Cheatsheet)

systemctl enable xend.service

(thought it might not be called xend but something else).

That was one of the obvious things I tried, but it fails to start :-/

Quoted 7 lines
Quoted 2 lines

Are you running in graphical mode? If so see if there are some weird SELinux warnings.

SELinux is disabled. But yes, I am booting in graphical mode.

Hmmm... manually running "/usr/sbin/xend start" seems to work though. I guess that is all I need as I can start it in /etc/rc.d/rc.local.

Strange, it is usually selinux that breaks xend. If you run systemctl status xend.service
it should give you some indication of what went wrong.

Note that
systemctl enable xend.service
enables xend on boot (it is off by default in the package because xend is being deprecated), to start it by hand you need systemctl start xend.service

Michael Young

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#6 lore raw
Quoted 57 lines

From: M A Young [mailto:[email protected]]
Subject: Re: [Xen-devel] xend/xm on 4.1/4.2 on Fedora (FC17)

Quoted 40 lines · Dan Magenheimer
Quoted 40 lines

From: Konrad Rzeszutek Wilk
Sent: Friday, August 31, 2012 4:22 PM
To: Dan Magenheimer
Cc: Pasi Kärkkäinen; [email protected]
Subject: Re: xend/xm on 4.1/4.2 on Fedora (FC17)

Quoted 32 lines · Dan Magenheimer
Quoted 23 lines

From: Konrad Rzeszutek Wilk
Subject: Re: xend/xm on 4.1/4.2 on Fedora (FC17)

Quoted 11 lines · Dan Magenheimer

Is there a how-to for starting/running xm/xend on Fedora (FC17)? Is it different for Xen 4.1 and 4.2?

I did find this:
http://wiki.xen.org/wiki/Xen_Common_Problems#Starting_xend_fails.3F
but it doesn't seem to help. And this:
http://wiki.xen.org/wiki/Fedora_Host_Installation
only addresses xl.

I expect I need to do something manually to start xencommons or something like that but obvious things don't seem to work,

How are you running this? When you boot up does it work? Or is this not working after your restart xend couple of times?

Quoted 1 line

and I'm not a FC17 expert at all.

service xend start

Quoted 7 lines

But you also need to enable it if it wasn't enabled using systemd. The syntax was something like (look at
http://fedoraproject.org/wiki/SysVinit_to_Systemd_Cheatsheet)

systemctl enable xend.service

(thought it might not be called xend but something else).

That was one of the obvious things I tried, but it fails to start :-/

Quoted 7 lines
Quoted 2 lines

Are you running in graphical mode? If so see if there are some weird SELinux warnings.

SELinux is disabled. But yes, I am booting in graphical mode.

Hmmm... manually running "/usr/sbin/xend start" seems to work though. I guess that is all I need as I can start it in /etc/rc.d/rc.local.

Strange, it is usually selinux that breaks xend. If you run systemctl status xend.service
it should give you some indication of what went wrong.

Quoted 5 lines

Note that
systemctl enable xend.service
enables xend on boot (it is off by default in the package because xend is being deprecated), to start it by hand you need
systemctl start xend.service

Hi Michael --

Thanks much for your response!

"systemctl start xend.service" failed, "systemctl status xend.service" revealed only very cryptic information... that's why I asked for help, assuming that others might know if there was some missing magic.

In any case, since manual "/usr/sbin/xend start" works, I will try to reproduce the systemctl issue sometime on a future install.

Thanks,
Dan