From: Fasiha Ashraf Subject: RE: Virt-manager issue resolved Date: Sat, 7 Nov 2009 11:12:42 +0530 (IST) Message-ID: <239879.69125.qm@web94606.mail.in2.yahoo.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1570484611==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: 'xen' , Caz Yokoyama Cc: virt-tools-list@redhat.com, 'Fedora Xen' List-Id: xen-devel@lists.xenproject.org --===============1570484611== Content-Type: multipart/alternative; boundary="0-201721071-1257572562=:69125" --0-201721071-1257572562=:69125 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable you mean "#xend start" and "#./xendomains start" doesn't work in /etc/init.= d? At first place dom0 must be listed in #xm list as a running domain Regards, Fasiha Ashraf --- On Fri, 6/11/09, Caz Yokoyama wrote: From: Caz Yokoyama Subject: RE: [Xen-devel] Virt-manager issue resolved To: "'Fasiha Ashraf'" , "'xen'" Cc: "'Fedora Xen'" , virt-tools-list@redhat.com Date: Friday, 6 November, 2009, 5:03 PM =0A=0A=0A =0A =0A=0A =0A=0A=0A=0A=0A=0A=0A=0AHello Fasiha, =0A=0A[root@trag= i caz]#=0Aiptables -F =0A=0A[root@tragi caz]#=0Aiptables -L =0A=0AChain INP= UT (policy=0AACCEPT) =0A=0Atarget=C2=A0=C2=A0=C2=A0=C2=A0=0Aprot opt=0Asour= ce=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=0Adestination=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = =0A=0A =C2=A0 =0A=0AChain FORWARD=0A(policy ACCEPT) =0A=0Atarget=C2=A0=C2= =A0=C2=A0=C2=A0=0Aprot opt=0Asource=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=0Adestination=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =0A=0A =C2=A0 =0A=0AChain OUTPUT=0A(poli= cy ACCEPT) =0A=0Atarget=C2=A0=C2=A0=C2=A0=C2=A0=0Aprot opt=0Asource=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=0Adestination=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =0A=0A[r= oot@tragi caz]#=0Ash -x /etc/init.d/xend start =0A=0A+ .=0A/etc/rc.d/init.d= /functions =0A=0A++=0ATEXTDOMAIN=3Dinitscripts =0A=0A++ umask 022 =0A=0A++= =0APATH=3D/sbin:/usr/sbin:/bin:/usr/bin =0A=0A++ export PATH =0A=0A++ '[' -= z '' ']' =0A=0A++ COLUMNS=3D80 =0A=0A++ '[' -z '' ']' =0A=0A+++=0A/sbin/con= soletype =0A=0A++ CONSOLETYPE=3Dpty =0A=0A++ '[' -f=0A/etc/sysconfig/i18n -= a -z '' -a -z '' ']' =0A=0A++ .=0A/etc/profile.d/lang.sh =0A=0A+++ sourced= =3D0 =0A=0A+++ '[' -n=0Aen_US.UTF-8 ']' =0A=0A+++=0Asaved_lang=3Den_US.UTF-= 8 =0A=0A+++ '[' -f=0A/root/.i18n ']' =0A=0A+++=0ALANG=3Den_US.UTF-8 =0A=0A+= ++ unset=0Asaved_lang =0A=0A+++ '[' 0 =3D 1 ']' =0A=0A+++ unset sourced =0A= =0A+++ unset langfile =0A=0A++ unset=0ALANGSH_SOURCED =0A=0A++ '[' -z '' ']= ' =0A=0A++ '[' -f=0A/etc/sysconfig/init ']' =0A=0A++ .=0A/etc/sysconfig/ini= t =0A=0A+++ BOOTUP=3Dcolor =0A=0A+++ RES_COL=3D60 =0A=0A+++=0AMOVE_TO_COL= =3D'echo -en \033[60G' =0A=0A+++=0ASETCOLOR_SUCCESS=3D'echo -en \033[0;32m'= =0A=0A+++=0ASETCOLOR_FAILURE=3D'echo -en \033[0;31m' =0A=0A+++=0ASETCOLOR_= WARNING=3D'echo -en \033[0;33m' =0A=0A+++=0ASETCOLOR_NORMAL=3D'echo -en \03= 3[0;39m' =0A=0A+++ LOGLEVEL=3D3 =0A=0A+++ PROMPT=3Dyes =0A=0A+++ AUTOSWAP= =3Dno =0A=0A++ '[' pty =3D serial=0A']' =0A=0A++ __sed_discard_ignored_file= s=3D'/\(~\|\.bak\|\.orig\|\.rpmnew\|\.rpmorig\|\.rpmsave\)$/d' =0A=0A+ '[' = '!' -d=0A/proc/xen ']' =0A=0A+ grep -q control_d=0A/proc/xen/capabilities = =0A=0A+ RETVAL=3D0 =0A=0A+ case=0A"$1" in =0A=0A+ start =0A=0A+ echo -n 'St= arting=0Axend daemon: ' =0A=0AStarting xend=0Adaemon: + /usr/sbin/xend =0A= =0A+ RETVAL=3D1 =0A=0A+ test 1 =3D 0 =0A=0A+ echo_failure =0A=0A+ '[' color= =3D color=0A']' =0A=0A+ echo -en=0A'\033[60G' =0A=0A=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=0A+ echo -n '[' =0A=0A[+ '[' color =3D=0Acolor = ']' =0A=0A+ echo -en=0A'\033[0;31m' =0A=0A+ echo -n FAILED =0A=0AFAILED+ '[= ' color =3D=0Acolor ']' =0A=0A+ echo -en=0A'\033[0;39m' =0A=0A+ echo -n ']'= =0A=0A]+ echo -ne '\r' =0A=0A+ return 1 =0A=0A+ echo =0A=0A =C2=A0 =0A=0A+= '[' 1 -eq 0 ']' =0A=0A+ exit 1 =0A=0A[root@tragi caz]#=0Ash -x /etc/init.d= /xendomains start =0A=0A+ '[' -e=0A/proc/xen/privcmd ']' =0A=0A+=0ALOCKFILE= =3D/var/lock/subsys/xendomains =0A=0A+=0AXENDOM_CONFIG=3D/etc/sysconfig/xen= domains =0A=0A+ test -r=0A/etc/sysconfig/xendomains =0A=0A+ .=0A/etc/syscon= fig/xendomains =0A=0A++=0AXENDOMAINS_SYSRQ=3D =0A=0A++=0AXENDOMAINS_USLEEP= =3D100000 =0A=0A++=0AXENDOMAINS_CREATE_USLEEP=3D5000000 =0A=0A++=0AXENDOMAI= NS_MIGRATE=3D =0A=0A++=0AXENDOMAINS_SAVE=3D/var/lib/xen/save =0A=0A++=0AXEN= DOMAINS_SHUTDOWN=3D'--halt --wait' =0A=0A++=0AXENDOMAINS_SHUTDOWN_ALL=3D'--= all --halt --wait' =0A=0A++=0AXENDOMAINS_RESTORE=3Dtrue =0A=0A++=0AXENDOMAI= NS_AUTO=3D/etc/xen/auto =0A=0A++=0AXENDOMAINS_AUTO_ONLY=3Dfalse =0A=0A++=0A= XENDOMAINS_STOP_MAXWAIT=3D300 =0A=0A/etc/init.d/xendomains:=0Aline 125: syn= tax error near unexpected token `<' =0A=0A/etc/init.d/xendomains:=0Aline 12= 5: `=C2=A0=C2=A0=C2=A0=C2=A0 if test -z "$RUNLEVEL"; then read=0ARUNLEVEL R= EST < <(/sbin/runlevel); fi' =0A=0A[root@tragi caz]#=0Axm info =0A=0AError:= Unable to=0Aconnect to xend: No such file or directory. Is xend running? = =0A=0A =C2=A0 =0A=0AThe line which produces=0Asyntax error above does not p= roduces an error when it is invoked manually. What=0Axendomains do you have= ? =0A=0A-caz =0A=0A =C2=A0 =0A=0A=0A=0A=0A=0A=0A=0A=0A=0AFrom: Fasiha Ashra= f=0A[mailto:feehapk@yahoo.co.in]=20 =0ASent: Thursday, November 05, 2009=0A10:42 PM =0ATo: 'xen'; Caz Yokoyama =0ACc: 'Fedora Xen';=0Avirt-tools-list@redhat.com =0ASubject: RE: [Xen-devel]=0AVirt-manager issue resolved =0A=0A=0A=0A =C2= =A0 =0A=0A=0A =0A =0A Try starting xend and xendomains after=0A flushing= iptable rules. #iptables -F =0A run =0A #iptables -F =0A then =0A #xend start =0A and then inside /etc/init.d =0A #./xendomains start =0A now to check whether xend is running or not. Use #xm info or #xm list =0A =20 =0A Regards, =0A Fasiha Ashraf =0A =20 =0A --- On Thu, 5/11/09, Caz Yokoyama =0A wrote: = =0A =20 =0A From: Caz Yokoyama =0A Subject: RE: [Xen-devel] Virt-manager issue resolved =0A To: "'Fasiha Ashraf'" ,=0A "'xen'" =0A Cc: "'Fedora Xen'" ,=0A virt-tools-list@redhat= .com =0A Date: Thursday, 5 November, 2009, 5:21 PM =0A =0A =0A Hello Fasiha,= =0A [root@tragi caz]#=0A iptables -L =0A Chain INPUT=0A (policy ACCEPT= ) =0A target=C2=A0=C2=A0=C2=A0=C2=A0=0A prot opt=0A source=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=0A= destination=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =0A ACCEPT= =C2=A0=C2=A0=C2=A0=C2=A0=0A udp=C2=A0 --=C2=A0=0A anywhere=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=0A anywhere=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=0A udp dpt= :domain =0A ACCEPT=C2=A0=C2=A0=C2=A0=C2=A0=0A tcp=C2=A0 --=C2=A0=0A any= where=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=0A anywhere=C2=A0=0A =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0tcp dpt:domain =0A ACCEPT=C2=A0=C2=A0=C2=A0=C2=A0=0A udp=C2= =A0 --=C2=A0=0A anywhere=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=0A anywhere=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=0A udp dpt:bootps =0A ACCEPT=C2=A0=C2=A0= =C2=A0=C2=A0=0A tcp=C2=A0 --=C2=A0=0A anywhere=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=0A anywhere=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=0A tcp dpt:bootps =0A= ACCEPT=C2=A0=C2=A0=C2=A0=C2=A0=0A all=C2=A0 --=C2=A0=0A anywhere=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=0A anyw= here=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=0A = state RELATED,ESTABLISHED =0A ACCEPT=C2=A0=C2=A0=C2=A0=C2=A0=0A icmp --= =C2=A0=0A anywhere=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=0A anywhere=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 =0A ACCEPT=C2=A0=C2=A0=C2=A0=C2=A0=0A all=C2=A0= --=C2=A0=0A anywhere=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=0A anywhere=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 =0A ACCEPT=C2=A0=C2=A0=C2=A0=C2=A0=0A tcp=C2= =A0 --=C2=A0=0A anywhere=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=0A anywhere=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=0A state NEW tcp dpt:ssh =0A REJECT=C2=A0= =C2=A0=C2=A0=C2=A0=0A all=C2=A0 --=C2=A0=0A anywhere=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=0A anywhere=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=0A reject-with i= cmp-host-prohibited =0A =C2=A0 =0A Chain FORWARD=0A (policy ACCEPT) =0A= target=C2=A0=C2=A0=C2=A0=C2=A0=0A prot opt=0A source=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=0A dest= ination=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =0A ACCEPT=C2=A0= =C2=A0=C2=A0=C2=A0=0A all=C2=A0 --=C2=A0=0A anywhere=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=0A 192.168.122.0/24=C2= =A0=C2=A0=C2=A0 state RELATED,ESTABLISHED =0A ACCEPT=C2=A0=C2=A0=C2=A0=C2= =A0=0A all=C2=A0 --=C2=A0 192.168.122.0/24=C2=A0=C2=A0=C2=A0=C2=A0=0A any= where=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = =0A ACCEPT=C2=A0=C2=A0=C2=A0=C2=A0=0A all=C2=A0 --=C2=A0=0A anywhere=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=0A a= nywhere=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = =0A REJECT=C2=A0=C2=A0=C2=A0=C2=A0=0A all=C2=A0 --=C2=A0 anywhere=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=0A anyw= here=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=0A = reject-with icmp-port-unreachable =0A REJECT=C2=A0=C2=A0=C2=A0=C2=A0=0A = all=C2=A0 --=C2=A0=0A anywhere=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=0A anywhere=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=0A reject-with icmp-port-unreachable = =0A REJECT=C2=A0=C2=A0=C2=A0=C2=A0=0A all=C2=A0 --=C2=A0=0A anywhere=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=0A a= nywhere=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =0A reject-with icmp-host-prohibited =0A =C2=A0 =0A Chain OUTPUT=0A (p= olicy ACCEPT) =0A target=C2=A0=C2=A0=C2=A0=C2=A0=0A prot opt=0A source= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=0A destination=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = =0A Thank you. =0A -caz =0A =C2=A0 =0A =0A =0A =0A =0A =0A =0A Fr= om:=0A Fasiha Ashraf [mailto:feehapk@yahoo.co.in]=20 =0A Sent: Thursday, November 05,=0A 2009 1:07 AM =0A To: 'xen'; Caz Yokoyama =0A Cc: virt-tools-list@redhat.com;=0A 'Fedora Xen' =0A Subject: RE: [Xen-devel]=0A Virt-manager issue resolved =0A =0A =C2= =A0 =0A =0A =0A =0A Please send the output of #iptables -L =0A =20 =0A Regards, =0A Fasiha Ashraf =0A =20 =0A --- On Thu, 5/11/09, Caz Yokoyama =0A wrot= e: =0A =20 =0A From: Caz Yokoyama =0A Subject: RE: [Xen-devel] Virt-manager issue resolved =0A To: "'Fasiha Ashraf'" ,=0A "'xen'" =0A Cc: virt-tools-list@redhat.com, "'Fedora Xen'"=0A =0A Date: Thursday, 5 November, 2009, 11:03 AM =0A =0A =0A Hell= o Fasiha, =0A Thank you for summarizing the procedure. I don=E2=80=99t= =0A have xend running. Here is the procedure I did. =0A Install Fedor= a=0A 11 x86_64, full update. =0A su =0A yum install=0A transfig= texi2html libaio-devel dev86 glibc-devel.i586 =0A yum install=0A PyX= ML bridge-utils qemu-img qemu-common =0A wget=0A http://kojipkgs.fedo= raproject.org/packages/xen/3.4.1/5.fc12/src/xen-3.4.1-5.fc12.src.rpm =0A = rpm -ivh=0A xen-3.4.1-5.fc12.src.rpm =0A cd =0A cd=0A rpmbuil= d/SPECS/ =0A rpmbuild -bb=0A xen.spec =0A cd=0A ~/rpmbuild/RPM= S/x86_64 =0A rpm -ivh *.rpm =0A cat >=0A /etc/yum.repos.d/fedora-v= irt-preview.repo << EOF =0A [virt-preview] =0A name=3DVirtualization= =0A Rawhide for Fedora 11 =0A baseurl=3Dhttp://markmc.fedorapeople.or= g/virt-preview/f11/\$basearch/ =0A enabled=3D1 =0A gpgcheck=3D0 =0A = EOF =0A yum install=0A libvirt libvirt-python python-virtinst virt-= manager virt-viewer =0A rpm -qa | grep=0A virt =0A cd virt-manager= =0A git clone=0A git://git.kernel.org/pub/scm/linux/kernel/git/Jerem= y/xen.git JeremyDom0 =0A make menuconfig =0A make all =0A su =0A = make=0A modules_install install =0A reboot with xen =0A =C2=A0 = =0A > Does "virsh list" work =0A # virsh list =0A error: Unable to= connect to=0A =E2=80=98localhost:8000=E2=80=99: Connection refused =0A= error: failed to connect to the=0A hypervisor =0A =C2=A0 =0A = =E2=80=9C/etc/init.d/xend start=E2=80=9D=0A failed because /usr/sbin/xen= d returns 1. =0A =C2=A0 =0A Suggestion? I have attached .config. =0A = -caz =0A =C2=A0 =0A =0A =0A =0A =0A =0A =0A From= : Fasiha Ashraf [mailto:feehapk@yahoo.co.in]=20 =0A Sent: Thursday, October 29,=0A 2009 10:31 PM =0A To: 'xen'; Caz Yokoyama =0A Cc:=0A virt-tools-list@redhat.com; 'Fedora Xen' =0A Subject: RE: [Xen-devel]=0A Virt-manager issue resolved =0A = =0A =C2=A0 =0A =0A =0A =0A =C2=A0Latest virt-manager do= esn't=0A work with the previous version of libvirt on fc11. You need t= o build xen=0A and latest libvirt form rpm. Follow the steps below. = =0A =C2=A0 =0A Install=0A packages required by rpmbuild:- =0A # yum install transfig texi2html libaio-devel dev86=0A glibc-= devel.i586 =0A Download xen-3.4.1-1.fc12.src.rpm =0A # wget=0A http://kojipkgs.fedoraproject.org/packages/xen/3.4.= 1/1.fc12/src/xen-3.4.1-1.fc12.src.rpm =0A # rpm -iv xen-3.4.1-1.fc12.src.rpm =0A # cd /root/rpmbuild/SPECS =0A # rpmbuild -ba ./xen.spec =0A To install hypervisor and tools =0A # cd ../RPMS/x86_64 =0A # yum install xen-3.4.1-1.fc11.x86_64.rpm \ =0A xen-debuginfo-3.4.1-1.fc11.x86_64.rpm \ =0A xen-devel-3.4.1-1.fc11.x86_64.rpm \ =0A xen-doc-3.4.1-1.fc11.x86_64.rpm \ =0A xen-hypervisor-3.4.1-1.fc11.x86_64.rpm \ =0A xen-libs-3.4.1-1.fc11.x86_64.rpm \ =0A xen-runtime-3.4.1-1.fc11.x86_64.rpm =0A To=0A install ne= w libvirt-0.7.0-6 =0A # cat > /etc/yum.repos.d/fedora-virt-preview.repo <<=0A EOF =0A [virt-preview] =0A name=3DVirtualization Rawhide for Fedora 11 =0A baseurl=3Dhttp://markmc.fedorapeople.org/virt-preview/f11/\$basear= ch/ =0A enabled=3D1 =0A gpgcheck=3D0 =0A EOF =0A =20 =0A # yum install libvirt libvirt-python python-virtinst \ =0A virt-manager virt-viewer =0A # rpm=0A -qa|grep virt =0A = the following list must be there may=0A be with higher version nu= mbers. =0A libvirt-client-0.7.0-6.fc11.x86_64 =0A libvirt-python-0.7.0-6.fc11.x86_64 =0A virt-viewer-0.2.0-1.fc11.x86_64 =0A virt-manager-0.7.0-5.fc11.x86_64 =0A libvirt-0.7.0-6.fc11.x86_64 =0A python-virtinst-0.500.0-1.fc11.noarch =0A =20 =0A All the above steps should be done on the base kernel. Now compile= and=0A build xen with paravirt kernel. Now boot into the new xen kern= el after=0A starting xend run this =0A # xm info =0A to che= ck. now you can use=0A virt-manager in your set-up =0A =20 =0A Regards, =0A Fasiha Ashraf =0A =20 =0A --- On Thu, 29/10/09, Caz Yokoyama =0A = wrote: =0A =20 =0A From: Caz Yokoyama =0A Subject: RE: [Xen-devel] Virt-manager issue resolved =0A To: "'Fasiha Ashraf'" ,=0A "'xen'" =0A Cc: virt-tools-list@redhat.com, "'Fedora Xen'"=0A =0A Date: Thursday, 29 October, 2009, 6:19 PM =0A =0A =0A = Could you summarize the procedure? I am=0A trying to run virt-manag= er on Fedora 11 with Xen-3.5-unstable and=0A Jeremy=E2=80=99s Dom0=0A = (git://git.kernel.org/pub/scm/linux/kernel/git/Jeremy/xen.git). I am= =0A wondering what option should be good on make on xen-3.5-unstable. = I did =0A Make xen tools =0A Make install-xen install-tools =0A = What else I need do? =0A Booting dom0 is fine. =0A -caz =0A = =0A =0A =0A =0A =0A =0A From: xen-devel-b= ounces@lists.xensource.com=0A [mailto:xen-devel-bounces@lists.xensourc= e.com] On Behalf Of Fasiha Ashraf =0A Sent: Tuesday, October 27,=0A 2009 4:49 AM =0A To: Cole Robinson; xen =0A Cc: Fedora Xen;=0A virt-tools-list@redhat.com =0A Subject: [Xen-devel]=0A Virt-manager issue resolved =0A = =0A =C2=A0 =0A =0A =0A =0A I have got para-vi= rt option enabled by=0A installing vm using through http. the proble= m was, i was trying to=0A install it from DVD. Now the issue is it d= oesn't find the file on the=0A givern location although i can access= them from the same location in=0A browser. PFA, the screen shots fo= r the problem. =0A =20 =0A Regards =0A Fasiha Ashraf =0A =20 =0A --- On Mon, 26/10/09, Cole Robinson =0A = wrote: =0A =20 =0A From: Cole Robinson =0A Subject: Re: [virt-tools-list] Unable to complete install: 'Doma= in not=0A found: xenUnifiedDomainLookupByName =0A To: "Fasiha Ashraf" =0A Cc: virt-tools-list@redhat.com, bderzhavets@yahoo.com, "Xen user= s"=0A , "Fedora Xen"=0A =0A Date: Monday, 26 October, 2009, 7:08 PM =0A =0A On= 10/26/2009 09:24 AM, Fasiha Ashraf=0A wrote: =0A > It seem that its trying to install HVM guest that is not possi= ble=0A using virt-manager. =0A > But you can see from the attached screen shot that virt type= =0A option is disabled and i can't select paravirt from it. what sho= uld i=0A do? =0A > here's the log .virt-manager/virt-manager.log =0A >=20 =0A =20 =0A Please include the other information I asked for: =0A =20 =0A virsh --connect xen:/// capabilities =0A virsh --connect xen:/// version =0A =20 =0A - Cole =0A =20 =0A > [Mon, 26 Oct 2009 16:11:51 virt-manager 3019] DEBUG=0A = (DistroInstaller:119) DistroInstaller location is a local file/path:=0A = /dev/sr0 =0A > [Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG=0A = (DistroInstaller:119) DistroInstaller location is a local file/path:=0A = /dev/sr0 =0A > [Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (create:87= 7)=0A Default storage path is: /var/lib/libvirt/images/f.img =0A > [Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG=0A = (VirtualDisk:737) Path '/var/lib/libvirt/images' is target for pool=0A = 'default'. Creating volume 'f.img'. =0A > [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG=0A = (DistroInstaller:119) DistroInstaller location is a local file/path:=0A = /dev/sr0 =0A > [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:87= 7)=0A Default storage path is: /var/lib/libvirt/images/f.img =0A > [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG=0A = (VirtualDisk:737) Path '/var/lib/libvirt/images' is target for pool=0A = 'default'. Creating volume 'f.img'. =0A > [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:15= 16)=0A Creating a VM f =0A >=C2=A0=C2=A0=C2=A0Type: xen,hvm =0A >=C2=A0=C2=A0=C2=A0UUID: 01f35eb7-fe09-c231-bfe0-1e9bfc6ff5a3 =0A >=C2=A0=C2=A0=C2=A0Install Source: /dev/sr0 =0A >=C2=A0=C2=A0=C2=A0OS: linux:fedora11 =0A >=C2=A0=C2=A0=C2=A0Kernel args: None =0A >=C2=A0=C2=A0=C2=A0Memory: 512 =0A >=C2=A0=C2=A0=C2=A0Max Memory: 512 =0A >=C2=A0=C2=A0=C2=A0# VCPUs: 1 =0A >=C2=A0=C2=A0=C2=A0Filesize: 7.0 =0A > [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:15= 65)=0A Starting background install process =0A > [Mon, 26 Oct 2009 16:12:18 virt-manager 3019] DEBUG (Storage:9= 50)=0A Creating storage volume 'f.img' with xml: =0A > =0A >=C2=A0=C2=A0=C2=A0f.img =0A >=C2=A0=C2=A0=C2=A07516192768 =0A >=C2=A0=C2=A0=C2=A07516192768 =0A >=C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0=C2=A0=C2=A0 =0A > =0A > [Mon, 26 Oct 2009 16:13:08 virt-manager 3019] DEBUG (Storage:9= 73)=0A Storage volume 'f.img' install complete. =0A > [Mon, 26 Oct 2009 16:13:10 virt-manager 3019] DEBUG (Guest:724= )=0A Creating guest from: =0A > =0A >=C2=A0=C2=A0=C2=A0f =0A >=C2=A0=C2=A0=C2=A0524288 =0A >=C2=A0=C2=A0=C2=A0524288 =0A >=C2=A0=C2=A0=C2=A001f35eb7-fe09-c231-bfe0-1e9bfc6ff5a3 =0A >=C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0=C2=A0=C2=A0hvm =0A >=C2=A0=0A =C2=A0=C2=A0=C2=A0/usr/lib/xen/boot/hv= mloader =0A >=C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0=C2=A0=C2=A0 =0A >=C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0=C2=A0=C2=A0 =0A >=C2=A0=C2=A0=C2=A0 =0A >=C2=A0=C2=A0=C2=A0destroy =0A >=C2=A0=C2=A0=C2=A0destroy =0A >=C2=A0=C2=A0=C2=A0destroy =0A >=C2=A0=C2=A0=C2=A01 =0A >=C2=A0=C2=A0=C2=A0 =0A >=C2=A0=0A =C2=A0=C2=A0=C2=A0/usr/lib64/xen/bin= /qemu-dm =0A >=C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =0A >=C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0=C2=A0=C2=A0 =0A > =0A >=20 =0A > [Mon, 26 Oct 2009 16:13:10 virt-manager 3019] DEBUG=0A = (netdevhelper:176) Adding net device vif3.0 fe:ff:ff:ff:ff:ff=0A /sy= s/class/net/vif3.0 (bridge: None) =0A > [Mon, 26 Oct 2009 16:13:12 virt-manager 3019] DEBUG (engine:18= 7)=0A Tick is slow, not running at requested rate. =0A > [Mon, 26 Oct 2009 16:13:13 virt-manager 3019] DEBUG (engine:18= 7)=0A Tick is slow, not running at requested rate. =0A > [Mon, 26 Oct 2009 16:13:14 virt-manager 3019] DEBUG (engine:18= 7)=0A Tick is slow, not running at requested rate. =0A > [Mon, 26 Oct 2009 16:13:15 virt-manager 3019] DEBUG (engine:18= 7)=0A Tick is slow, not running at requested rate. =0A > [Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG=0A = (netdevhelper:138) Removing physical net device vif3.0 from list. =0A > [Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG=0A = (opticalhelper:205) Optical device removed:=0A /org/freedesktop/Hal/= devices/net_fe_ff_ff_ff_ff_ff =0A > [Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG (error:76)= =0A Uncaught Error: Unable to complete install: 'POST operation fail= ed:=0A xend_post: error from xen $ =0A > Traceback (most recent call last): =0A >=C2=A0=C2=A0=C2=A0File=0A "/usr/share/virt-manager/virtM= anager/create.py", line 1575,=0A in do_install =0A >=C2=A0 =C2=A0=C2=A0=C2=A0dom =3D guest.start_install(False, met= er =3D=0A meter) =0A >=C2=A0=C2=A0=C2=A0File=0A "/usr/lib/python2.6/site-packa= ges/virtinst/Guest.py", line=0A 628, in start_install =0A > File "/usr/lib/python2.6/site-packages/virtinst/Guest.py",=0A = line 628, in start_install =0A >=C2=A0 =C2=A0=C2=A0=C2=A0return self._do_install(consolecb, met= er,=0A removeOld, wait) =0A >=C2=A0=C2=A0=C2=A0File=0A "/usr/lib/python2.6/site-packa= ges/virtinst/Guest.py", line=0A 726, in _do_install =0A >=C2=A0 =C2=A0=C2=A0=C2=A0self.domain =3D self.conn.createLinux(= install_xml,=0A 0) =0A >=C2=A0=C2=A0=C2=A0File=0A "/usr/lib64/python2.6/site-pac= kages/libvirt.py", line 1077,=0A in createLinux =0A >=C2=A0 =C2=A0=C2=A0=C2=A0if ret is None:raise=0A libvirt= Error('virDomainCreateLinux() failed', conn=3Dself) =0A > libvirtError: POST operation failed: xend_post: error from xen= =0A daemon: =0A > ' =0A > [Mon, 26 Oct 2009 16:16:38 virt-manager 3019] DEBUG (engine:37= 7)=0A window counter decremented to 0 =0A > [Mon, 26 Oct 2009 16:16:38 virt-manager 3019] DEBUG (engine:38= 5)=0A Exiting app normally. =0A >=20 =0A >=20 =0A >=20 =0A > Fasiha Ashraf =0A >=20 =0A > --- On Mon, 26/10/09, Cole Robinson =0A = wrote: =0A >=20 =0A > From: Cole Robinson =0A > Subject: Re: [virt-tools-list] Unable to complete install: 'Do= main=0A not found: xenUnifiedDomainLookupByName =0A > To: "Fasiha Ashraf" =0A > Cc: virt-tools-list@redhat.com, bderzhavets@yahoo.com, "Xen=0A= users" , "Fedora=0A Xen" =0A > Date: Monday, 26 October, 2009, 5:58 PM =0A >=20 =0A > On 10/26/2009 06:48 AM, Fasiha Ashraf wrote: =0A >> Hi all =0A >> I am facing this error while installing Guest VM on FC11 usin= g=0A virt-manager =0A >> Unable to complete install ' Domain not found:=0A xenUnifiedDomainLookupByName =0A >> Traceback (most recent call last): =0A >>=C2=A0 =C2=A0 File "/usr/share/virt-manager/virtManager/create= .py",=0A line 1575, in do_install =0A >>=C2=A0 =C2=A0 =C2=A0 dom =3D guest.start_install(False, meter = =3D=0A meter) =0A >>=C2=A0 =C2=A0 File=0A "/usr/lib/python2.6/site-packages= /virtinst/Guest.py", line=0A 628, in start_install =0A >>=C2=A0 =C2=A0 =C2=A0 return self._do_install(consolecb, meter,= =0A removeOld, wait) =0A >>=C2=A0 =C2=A0 File=0A "/usr/lib/python2.6/site-packages= /virtinst/Guest.py", line=0A 726, in _do_install =0A >>=C2=A0 =C2=A0 =C2=A0 self.domain =3D=0A self.conn.creat= eLinux(install_xml, 0) =0A >>=C2=A0 =C2=A0 File=0A "/usr/lib64/python2.6/site-packag= es/libvirt.py", line 1077,=0A in createLinux =0A >>=C2=A0 =C2=A0 =C2=A0 if ret is =0A >>=C2=A0=C2=A0=C2=A0None:raise=0A libvirtError('virDomain= CreateLinux() failed', conn=3Dself) =0A >> libvirtError: Domain not found: xenUnifiedDomainLookupByName =0A >> ' =0A >> What should i do to avoid it? please help! =0A >> Boris! How did you create PV guests using virt-manager i am= =0A following your article=20 =0A >>=C2=A0=C2=A0=C2=A0http://bderzhavets.wordpress.com/2009/08/20/= setup-libvirt-0-7-0-6-xen-3-4-1-dom0-on-to-fedora-11-64-bit/#comment-623 =0A >> PFA, a screen-shot of the virt-manager =0A >> =0A >> Regards, =0A >> Fasiha Ashraf =0A >> =0A >=20 =0A > CCing fedora-xen list. =0A >=20 =0A > Rather than a screenshot, can you include: =0A >=20 =0A > ~/.virt-manager/virt-manager.log =0A > virsh --connect xen:/// capabilities =0A > virsh --connect xen:/// version =0A >=20 =0A > Thanks, =0A > Cole =0A =0A =0A =0A =0A =C2=A0 = =0A =0A =0A =0A =0A =0A Yahoo! India has a=0A= new look. Take a sneak=0A peek. =0A =0A =0A =20 =0A -----Inline Attachment Follows----- =0A =0A ____________= ___________________________________ =0A Xen-devel mailing list =0AXen-devel@lists.xensource.com =0A http://lists.xensource.com/xen-devel =0A =0A =0A =0A= =0A =C2=A0 =0A =0A =0A =0A =0A =0A Add whatever yo= u love to the Yahoo!=0A India homepage. Try now! =0A =0A =0A = =0A =0A =0A =C2=A0 =0A =0A =0A =0A =0A =0A Now, send attachments= up to 25MB with=0A Yahoo! India Mail. Learn how. =0A =0A =0A =20 =0A -----Inline Attachment Follows----- =0A =0A ________________________= _______________________ =0A Xen-devel mailing list =0A Xen-devel@lists.xensource.com =0A http://lists.xensource.com/xen-devel =0A =0A =0A =0A=0A=0A =0A =0A =0A=0A=0A=0A=0A=0A=0A=0A=0A=0ANow, send attachments up to 25MB with=0AY= ahoo! India Mail. Learn how. =0A=0A=0A=0A =0A=0A=0A=0A=0A Add whatever= you love to the Yahoo! India homepage. Try now! http://in.yahoo.com/trynew --0-201721071-1257572562=:69125 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
you mean "#xend start" and "#./xendomains sta= rt" doesn't work in /etc/init.d?
At first place dom0 must be listed in #= xm list as a running domain

Regards,
Fasiha Ashraf

--- On = Fri, 6/11/09, Caz Yokoyama <cazyokoyama@gmail.com> wrot= e:

From: Caz Yokoyama <cazyokoyama@gmail= .com>
Subject: RE: [Xen-devel] Virt-manager issue resolved
To: "'F= asiha Ashraf'" <feehapk@yahoo.co.in>, "'xen'" <xen-devel@lists.xen= source.com>
Cc: "'Fedora Xen'" <fedora-xen@redhat.com>, virt-to= ols-list@redhat.com
Date: Friday, 6 November, 2009, 5:03 PM

=0A=0A=0A =0A =0A=0A =0A=0A