Ask Your Question
1

guestfish error

asked 2015-08-21 19:48:21 -0500

Anario gravatar image

Hi all,could you please help me to fix guestfish. When i type 'run' i get error

 [root@block images]# guestfish -a cirros-0.3.4-x86_64-disk.img

Welcome to guestfish, the guest filesystem shell for
editing virtual machine filesystems and disk images.

Type: 'help' for help on commands
      'man' to read the manual
      'quit' to quit the shell

><fs> run
libvirt: XML-RPC error : Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
libguestfs: error: could not connect to libvirt (URI = qemu:///system): Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory [code=38 domain=7]
><fs> exit
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2015-08-22 02:08:19 -0500

dbaxps gravatar image

updated 2015-08-22 15:56:56 -0500

Libguestfs-tools does work on CentOS 7.1

#  yum install libguestfs-tools

image description

edit flag offensive delete link more

Comments

same error

Anario gravatar imageAnario ( 2015-08-22 13:51:23 -0500 )edit

See instructions for package install on Ubuntu.

dbaxps gravatar imagedbaxps ( 2015-08-22 13:59:30 -0500 )edit

On Ubuntu you may also work via qemu-nbd.

dbaxps gravatar imagedbaxps ( 2015-08-22 14:03:22 -0500 )edit

i've tried on several servers with centos 7 ..... dully. Thank you DBAXPS

Anario gravatar imageAnario ( 2015-08-22 18:29:44 -0500 )edit
1

answered 2015-08-22 15:16:19 -0500

Anario gravatar image

Guestfish is not working on centos7. I install Centos 6.6 and its work fine. Thanks

edit flag offensive delete link more

Comments

Libguestfs-tools work on any Fedora release 22,21. I will double check.

dbaxps gravatar imagedbaxps ( 2015-08-22 15:26:37 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-08-21 19:48:21 -0500

Seen: 1,071 times

Last updated: Aug 22 '15