hi Mr Rich As you recommended, I switched to Fedora 16. I also built a guest machine with Fedora 16 Mini version. Inside the guest I? installed libguestfs-live-service package but I failed? to start the guestfsd daemon : ??? [root at Fedora16 ~]# guestfsd -vr ??? verbose daemon enabled ??? linux commmand line: BOOT_IMAGE=/vmlinuz-3.2.7-1.fc16.i686.PAE root=/dev/mapper/vg_fedora16-lv_root ??? ro rd.md=0 rd.dm=0 KEYTABLE=us quiet rd.lvm.lv=vg_fedora16/lv_root rhgb ??? ??? ??? rd.lvm.lv=vg_fedora16/lv_swap rd.luks=0 SYSFONT=latarcyrheb-sun16 LANG=en_US.UTF-8 ??? Failed to connect to virtio-serial channel. ??? This is a fatal error and the appliance will now exit. ??? Usually this error is caused by either QEMU or the appliance ??? kernel not supporting the vmchannel method that the ??? libguestfs library chose to use.? Please run ??? 'libguestfs-test-tool' and provide the complete, unedited ??? output to the libguestfs developers, either in a bug report ??? or on the libguestfs redhat com mailing list. ??? /dev/virtio-ports/org.libguestfs.channel.0: No such file or directory Moreover, I managed VMs with virt-manager, and I tried to edit the XML file of the guest from the path /etc/libvirt/qemu/FedoraMini16.xml (FedoraMini16 is the name of the guest), here is the content of the xml file <!-- WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE OVERWRITTEN AND LOST. Changes to this xml configuration should be made using: ? virsh edit FedoraMini16 or other application using the libvirt API. --> <domain type='kvm'> ? <name>FedoraMini16</name> ? <uuid>9d33d233-cedc-fd7c-658e-578358b7f7cf</uuid> ? <memory>1048576</memory> ? <currentMemory>1048576</currentMemory> ? <vcpu>1</vcpu> ? <os> ??? <type arch='i686' machine='pc-0.14'>hvm</type> ??? <boot dev='hd'/> ? </os> ? <features> ??? <acpi/> ??? <apic/> ??? <pae/> ? </features> ? <clock offset='utc'/> ? <on_poweroff>destroy</on_poweroff> ? <on_reboot>restart</on_reboot> ? <on_crash>restart</on_crash> ? <devices> ??? <emulator>/usr/bin/qemu-kvm</emulator> ??? <disk type='file' device='disk'> ????? <driver name='qemu' type='qcow2'/> ????? <source file='/home/feeliwood/VMs/Fedora16Mini/Fedora16Mini.qcow2'/> ????? <target dev='vda' bus='virtio'/> ????? <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> ??? </disk> ??? <interface type='network'> ????? <mac address='52:54:00:ae:47:e7'/> ????? <source network='default'/> ????? <model type='virtio'/> ????? <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> ??? </interface> ??? <serial type='pty'> ????? <target port='0'/> ??? </serial> ??? <console type='pty'> ????? <target type='serial' port='0'/> ??? </console> ??? <input type='tablet' bus='usb'/> ??? <input type='mouse' bus='ps2'/> ??? <graphics type='vnc' port='-1' autoport='yes'/> ??? <sound model='ich6'> ????? <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> ??? </sound> ??? <video> ????? <model type='cirrus' vram='9216' heads='1'/> ????? <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> ??? </video> ??? <memballoon model='virtio'> ????? <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> ??? </memballoon> <channel type='unix'> <source mode='bind'path='/var/lib/libvirt/qemu/FedoraMini16.libguestfs' /> <target type='virtio'name='org.libguestfs.channel.0'/> </channel>? </devices> </domain> but whenever I restart the guest with virt-manager, the clause that I added was deleted. could you help me please !!! thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libguestfs/attachments/20120303/5add7165/attachment.htm>
Richard W.M. Jones
2012-Mar-04 10:09 UTC
[Libguestfs] can`t start guestfsd daemon inside guest
On Sat, Mar 03, 2012 at 06:13:48PM -0800, THO HUYNH wrote:> <channel type='unix'> <source mode='bind'path='/var/lib/libvirt/qemu/FedoraMini16.libguestfs' /> <target type='virtio'name='org.libguestfs.channel.0'/> </channel>? </devices>> but whenever I restart the guest with virt-manager, the clause that > I added was deleted. could you help me please !!!As you've pasted it above, the clause is wrong. It is missing spaces in important places (eg. mode='bind'path should be mode='bind' path) Start with this simple example: <channel type='unix'> <source mode='bind' path='/tmp/socket'/> <target type='virtio' name='org.libguestfs.channel.0'/> </channel> Make sure you copy it accurately. Use 'virsh edit <Guest>' to edit the guest XML, and 'virsh domxml <Guest>' to check that the clause you tried to add is present. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#) http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
Apparently Analagous Threads
- guestfsd: /usr/lib/libaugeas.so.0: version `AUGEAS_0.16.0' not found (required by guestfsd)
- Re: [Error] guestfsd: /usr/lib/libaugeas.so.0: version `AUGEAS_0.16.0' not found (required by guestfsd)
- [Error] guestfsd: /usr/lib/libaugeas.so.0: version `AUGEAS_0.16.0' not found (required by guestfsd)
- Re: [Error] guestfsd: /usr/lib/libaugeas.so.0: version `AUGEAS_0.16.0' not found (required by guestfsd)
- guestfsd process dead while quitting guestfish