[Libguestfs] Can't create any KVM template due to the error with libguestfs
Thirumalai Nambi
thirumalai.sandy at gmail.com
Mon Mar 16 09:14:03 UTC 2015
Any leads buddy?
On Sat, Mar 14, 2015 at 11:14 PM, Thirumalai Nambi <
thirumalai.sandy at gmail.com> wrote:
> Thanks for your update,
>
> I got the libguestfs packages from the centOS base repo and installed it
> via yum.
>
> =================
> [root at node1 ~]# yum install libguest*
> Loaded plugins: fastestmirror
> Setting up Install Process
> Loading mirror speeds from cached hostfile
> * base: mirrors.modern.host
> * epel: epel.mirrors.ovh.net
> * epel-debuginfo: epel.mirrors.ovh.net
> * epel-source: epel.mirrors.ovh.net
> * extras: mirrors.modern.host
> * soluslabs: repo-france-rbx.solusvm.com
> * updates: mirrors.modern.host
> Resolving Dependencies
> --> Running transaction check
> ---> Package libguestfs.x86_64 1:1.20.11-11.el6 will be installed
> epel-debuginfo/filelists_db
> |
> 3.5 MB 00:00
> ---> Package libguestfs-devel.x86_64 1:1.20.11-11.el6 will be installed
> ---> Package libguestfs-java.x86_64 1:1.20.11-11.el6 will be installed
> ---> Package libguestfs-java-devel.x86_64 1:1.20.11-11.el6 will be
> installed
> ---> Package libguestfs-javadoc.x86_64 1:1.20.11-11.el6 will be installed
> ---> Package libguestfs-tools.x86_64 1:1.20.11-11.el6 will be installed
> --> Processing Dependency: perl(Sys::Guestfs::Lib) for package:
> 1:libguestfs-tools-1.20.11-11.el6.x86_64
> --> Processing Dependency: perl(Sys::Guestfs) for package:
> 1:libguestfs-tools-1.20.11-11.el6.x86_64
> ---> Package libguestfs-tools-c.x86_64 1:1.20.11-11.el6 will be installed
> ---> Package libguestfs-winsupport.x86_64 0:1.0-7.el6 will be installed
> --> Running transaction check
> ---> Package perl-Sys-Guestfs.x86_64 1:1.20.11-11.el6 will be installed
> --> Finished Dependency Resolution
>
> Dependencies Resolved
>
>
> ========================================================================================================================================================================
> Package Arch
> Version Repository
> Size
>
> ========================================================================================================================================================================
> Installing:
> libguestfs x86_64
> 1:1.20.11-11.el6 base
> 2.0 M
> libguestfs-devel x86_64
> 1:1.20.11-11.el6 base
> 535 k
> libguestfs-java x86_64
> 1:1.20.11-11.el6 base
> 129 k
> libguestfs-java-devel x86_64
> 1:1.20.11-11.el6 base
> 43 k
> libguestfs-javadoc x86_64
> 1:1.20.11-11.el6 base
> 166 k
> libguestfs-tools x86_64
> 1:1.20.11-11.el6 base
> 90 k
> libguestfs-tools-c x86_64
> 1:1.20.11-11.el6 base
> 1.4 M
> libguestfs-winsupport x86_64
> 1.0-7.el6 extras
> 1.5 M
> Installing for dependencies:
> perl-Sys-Guestfs x86_64
> 1:1.20.11-11.el6 base
> 364 k
>
> Transaction Summary
>
> ========================================================================================================================================================================
> Install 9 Package(s)
>
> Total download size: 6.2 M
> Installed size: 26 M
> Is this ok [y/N]: y
> Downloading Packages:
> (1/9): libguestfs-1.20.11-11.el6.x86_64.rpm
> |
> 2.0 MB 00:00
> (2/9): libguestfs-devel-1.20.11-11.el6.x86_64.rpm
> |
> 535 kB 00:00
> (3/9): libguestfs-java-1.20.11-11.el6.x86_64.rpm
> | 129
> kB 00:00
> (4/9): libguestfs-java-devel-1.20.11-11.el6.x86_64.rpm
> | 43
> kB 00:00
> (5/9): libguestfs-javadoc-1.20.11-11.el6.x86_64.rpm
> |
> 166 kB 00:00
> (6/9): libguestfs-tools-1.20.11-11.el6.x86_64.rpm
> |
> 90 kB 00:00
> (7/9): libguestfs-tools-c-1.20.11-11.el6.x86_64.rpm
> |
> 1.4 MB 00:00
> (8/9): libguestfs-winsupport-1.0-7.el6.x86_64.rpm
> |
> 1.5 MB 00:00
> (9/9): perl-Sys-Guestfs-1.20.11-11.el6.x86_64.rpm
> |
> 364 kB 00:00
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> Total
> 5.3 MB/s |
> 6.2 MB 00:01
> Running rpm_check_debug
> Running Transaction Test
> Transaction Test Succeeded
> Running Transaction
> Warning: RPMDB altered outside of yum.
> Installing : 1:libguestfs-1.20.11-11.el6.x86_64
>
> 1/9
> Installing : 1:libguestfs-java-1.20.11-11.el6.x86_64
>
> 2/9
> Installing : 1:libguestfs-tools-c-1.20.11-11.el6.x86_64
>
> 3/9
> Installing : 1:perl-Sys-Guestfs-1.20.11-11.el6.x86_64
>
> 4/9
> Installing : 1:libguestfs-tools-1.20.11-11.el6.x86_64
>
> 5/9
> Installing : 1:libguestfs-devel-1.20.11-11.el6.x86_64
>
> 6/9
> Installing : 1:libguestfs-java-devel-1.20.11-11.el6.x86_64
>
> 7/9
> Installing : 1:libguestfs-javadoc-1.20.11-11.el6.x86_64
>
> 8/9
> Installing : libguestfs-winsupport-1.0-7.el6.x86_64
>
> 9/9
> Verifying : libguestfs-winsupport-1.0-7.el6.x86_64
>
> 1/9
> Verifying : 1:libguestfs-java-devel-1.20.11-11.el6.x86_64
>
> 2/9
> Verifying : 1:libguestfs-java-1.20.11-11.el6.x86_64
>
> 3/9
> Verifying : 1:libguestfs-tools-1.20.11-11.el6.x86_64
>
> 4/9
> Verifying : 1:libguestfs-1.20.11-11.el6.x86_64
>
> 5/9
> Verifying : 1:libguestfs-devel-1.20.11-11.el6.x86_64
>
> 6/9
> Verifying : 1:perl-Sys-Guestfs-1.20.11-11.el6.x86_64
>
> 7/9
> Verifying : 1:libguestfs-tools-c-1.20.11-11.el6.x86_64
>
> 8/9
> Verifying : 1:libguestfs-javadoc-1.20.11-11.el6.x86_64
>
> 9/9
>
> Installed:
> libguestfs.x86_64 1:1.20.11-11.el6
> libguestfs-devel.x86_64 1:1.20.11-11.el6
> libguestfs-java.x86_64 1:1.20.11-11.el6
> libguestfs-java-devel.x86_64 1:1.20.11-11.el6
> libguestfs-javadoc.x86_64 1:1.20.11-11.el6
> libguestfs-tools.x86_64 1:1.20.11-11.el6
> libguestfs-tools-c.x86_64 1:1.20.11-11.el6
> libguestfs-winsupport.x86_64 0:1.0-7.el6
>
> Dependency Installed:
> perl-Sys-Guestfs.x86_64 1:1.20.11-11.el6
>
> Complete!
> [root at node1 ~]# rpm -qa | grep libguestfs
> libguestfs-tools-c-1.20.11-11.el6.x86_64
> libguestfs-java-devel-1.20.11-11.el6.x86_64
> libguestfs-java-1.20.11-11.el6.x86_64
> libguestfs-devel-1.20.11-11.el6.x86_64
> libguestfs-1.20.11-11.el6.x86_64
> libguestfs-tools-1.20.11-11.el6.x86_64
> libguestfs-winsupport-1.0-7.el6.x86_64
> libguestfs-javadoc-1.20.11-11.el6.x86_64
> =====================
>
>
> My Host-Node information.
>
> ===============
> [root at node1 ~]# cat /etc/grub.conf
> default=0
> timeout=5
>
> title linux centos6_64
> kernel /boot/bzImage-3.14.32-xxxx-grs-ipv6-64 root=/dev/md2 ro
> root (hd0,1)
> [root at node1 ~]# cd /boot
> [root at node1 boot]# ls
> bzImage-3.14.32-xxxx-grs-ipv6-64 grub
> symvers-2.6.32-504.8.1.el6.x86_64.gz vmlinuz-2.6.32-504.12.2.el6.x86_64
> config-2.6.32-504.12.2.el6.x86_64
> initramfs-2.6.32-504.12.2.el6.x86_64.img
> System.map-2.6.32-504.12.2.el6.x86_64 vmlinuz-2.6.32-504.8.1.el6.x86_64
> config-2.6.32-504.8.1.el6.x86_64 initramfs-2.6.32-504.8.1.el6.x86_64.img
> System.map-2.6.32-504.8.1.el6.x86_64
> efi symvers-2.6.32-504.12.2.el6.x86_64.gz
> System.map-3.14.32-xxxx-grs-ipv6-64
> [root at node1 boot]# uname -a
> Linux node1.rbx.bph.rocks 3.14.32-xxxx-grs-ipv6-64 #1 SMP Sat Feb 7
> 11:35:27 CET 2015 x86_64 x86_64 x86_64 GNU/Linux
> [root at node1 boot]# cat /etc/grub.conf
> default=0
> timeout=5
>
> title linux centos6_64
> kernel /boot/bzImage-3.14.32-xxxx-grs-ipv6-64 root=/dev/md2 ro
> root (hd0,1)
> [root at node1 boot]# cat /etc/issue
> CentOS release 6.6 (Final)
> Linux fr1.bph.rocks 3.14.32-xxxx-grs-ipv6-64 #1 SMP Sat Feb 7 11:35:27 CET
> 2015 x86_64 x86_64 x86_64 GNU/Linux
>
> server : 352775
> hostname : fr1.bph.rocks
> eth0 IPv4 : 176.31.239.98
> eth0 IPv6 : 2001:41d0:8:62::/64
>
> [root at node1 boot]#
> ===============
>
> Do you think the issue related to the running kernel?
>
>
> On Sat, Mar 14, 2015 at 2:13 PM, Richard W.M. Jones <rjones at redhat.com>
> wrote:
>
>> On Sat, Mar 14, 2015 at 03:13:28AM +0530, Thirumalai Nambi wrote:
>> > Hi,
>> >
>> > I'm using SolusVM control panel to create KVM VPS. Suddenly, I can't
>> make
>> > any template on Host-Node. Their build log says the SolusVM can't read
>> the
>> > libguestfs in server.
>>
>> The error is:
>>
>> > guestfsd: error while loading shared libraries: liblzma.so.5: cannot
>> open shared object file: No such file or directory
>>
>> This is a bug in the libguestfs packaging. Apparently you are using:
>>
>> > library version: 1.20.11rhel=6,release=11.el6
>>
>> So a RHEL or CentOS 6.6 version.
>>
>> However I have checked the guestfsd in this version, and it does not
>> depend on liblzma.so.*. Strangely guestfsd in RHEL 7 does depend on
>> liblzma.so.5 (but only indirectly, via libselinux).
>>
>> You will have to describe exactly where you got libguestfs from or how
>> you built it, and what the host operating system looks like -- what
>> release, what version of packages, where you got it from -- otherwise
>> no one can help.
>>
>> Rich.
>>
>> --
>> Richard Jones, Virtualization Group, Red Hat
>> http://people.redhat.com/~rjones
>> Read my programming and virtualization blog: http://rwmj.wordpress.com
>> Fedora Windows cross-compiler. Compile Windows programs, test, and
>> build Windows installers. Over 100 libraries supported.
>> http://fedoraproject.org/wiki/MinGW
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20150316/944516b4/attachment.htm>
More information about the Libguestfs
mailing list