libguestfs EROR

Discussion in 'Dedicated Server dan Colocation' started by daiserver, 12 Jun 2016.

Thread Status:
Not open for further replies.
  1. daiserver

    daiserver Apprentice 1.0

    Messages:
    367
    Likes Received:
    62
    Trophy Points:
    28
    Selamat sore menjelang berbuka.

    selama beberapa hari ini saya coba nguling tentang libguestfs karena di servere saya sedang ada problem tentang hal ini.

    Karena saya menggunakan panel SolusVM yang mana memanggil ini untuk membuat vps. nah jadi ketika libguestfs eror bakal menyebabkan tidak bisa creat ulang VPS menggunakan template.

    nah ketika saya coba test libguestfs pesannya seperti ini

    ************************************************************
    * IMPORTANT NOTICE
    *
    * When reporting bugs, include the COMPLETE, UNEDITED
    * output below in your bug report.
    *
    ************************************************************
    PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
    SELinux: Disabled
    library version: 1.20.11rhel=6,release=17.el6
    guestfs_get_append: (null)
    guestfs_get_attach_method: appliance
    guestfs_get_autosync: 1
    guestfs_get_cachedir: /var/tmp
    guestfs_get_direct: 0
    guestfs_get_memsize: 500
    guestfs_get_network: 0
    guestfs_get_path: /usr/lib64/guestfs
    guestfs_get_pgroup: 0
    guestfs_get_qemu: /usr/libexec/qemu-kvm
    guestfs_get_recovery_proc: 1
    guestfs_get_selinux: 0
    guestfs_get_smp: 1
    guestfs_get_tmpdir: /tmp
    guestfs_get_trace: 0
    guestfs_get_verbose: 1
    host_cpu: x86_64
    Launching appliance, timeout set to 600 seconds.
    libguestfs: launch: attach-method=appliance
    libguestfs: launch: tmpdir=/tmp/libguestfstnnABg
    libguestfs: launch: umask=0022
    libguestfs: launch: euid=0
    libguestfs: command: run: febootstrap-supermin-helper
    libguestfs: command: run: \ --verbose
    libguestfs: command: run: \ -f checksum
    libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d
    libguestfs: command: run: \ x86_64
    supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null)
    supermin helper [00000ms] inputs[0] = /usr/lib64/guestfs/supermin.d
    checking modpath /lib/modules/2.6.32-573.el6.x86_64 is a directory
    picked vmlinuz-2.6.32-573.el6.x86_64 because modpath /lib/modules/2.6.32-573.el6.x86_64 exists
    checking modpath /lib/modules/2.6.32-573.22.1.el6.x86_64 is a directory
    picked vmlinuz-2.6.32-573.22.1.el6.x86_64 because modpath /lib/modules/2.6.32-573.22.1.el6.x86_64 exists
    checking modpath /lib/modules/2.6.32-573.26.1.el6.x86_64 is a directory
    picked vmlinuz-2.6.32-573.26.1.el6.x86_64 because modpath /lib/modules/2.6.32-573.26.1.el6.x86_64 exists
    checking modpath /lib/modules/2.6.32-642.el6.x86_64 is a directory
    picked vmlinuz-2.6.32-642.el6.x86_64 because modpath /lib/modules/2.6.32-642.el6.x86_64 exists
    checking modpath /lib/modules/2.6.32-642.1.1.el6.x86_64 is a directory
    picked vmlinuz-2.6.32-642.1.1.el6.x86_64 because modpath /lib/modules/2.6.32-642.1.1.el6.x86_64 exists
    supermin helper [00000ms] finished creating kernel
    supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d
    supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d/base.img
    supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img
    supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles
    supermin helper [00010ms] visiting /usr/lib64/guestfs/supermin.d/init.img
    supermin helper [00010ms] visiting /usr/lib64/guestfs/supermin.d/ntfs.hostfiles
    supermin helper [00010ms] visiting /usr/lib64/guestfs/supermin.d/ntfs.img
    supermin helper [00010ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules.img
    supermin helper [00010ms] adding kernel modules
    supermin helper [00034ms] finished creating appliance
    libguestfs: checksum of existing appliance: 415f2bc2cff2d9afdb9e846c1bbb6cd3679d1d17142b49b25b446519e9ed7b6b
    libguestfs: [00037ms] begin building supermin appliance
    libguestfs: [00037ms] run supermin-helper
    libguestfs: command: run: febootstrap-supermin-helper
    libguestfs: command: run: \ --verbose
    libguestfs: command: run: \ --copy-kernel
    libguestfs: command: run: \ -f ext2
    libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d
    libguestfs: command: run: \ x86_64
    libguestfs: command: run: \ /var/tmp/guestfs.lBmP8M/kernel
    libguestfs: command: run: \ /var/tmp/guestfs.lBmP8M/initrd
    libguestfs: command: run: \ /var/tmp/guestfs.lBmP8M/root
    supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = /var/tmp/guestfs.lBmP8M/kernel, initrd = /var/tmp/guestfs.lBmP8M/initrd, appliance = /var/tmp/guestfs.lBmP8M/root
    supermin helper [00000ms] inputs[0] = /usr/lib64/guestfs/supermin.d
    checking modpath /lib/modules/2.6.32-573.el6.x86_64 is a directory
    picked vmlinuz-2.6.32-573.el6.x86_64 because modpath /lib/modules/2.6.32-573.el6.x86_64 exists
    checking modpath /lib/modules/2.6.32-573.22.1.el6.x86_64 is a directory
    picked vmlinuz-2.6.32-573.22.1.el6.x86_64 because modpath /lib/modules/2.6.32-573.22.1.el6.x86_64 exists
    checking modpath /lib/modules/2.6.32-573.26.1.el6.x86_64 is a directory
    picked vmlinuz-2.6.32-573.26.1.el6.x86_64 because modpath /lib/modules/2.6.32-573.26.1.el6.x86_64 exists
    checking modpath /lib/modules/2.6.32-642.el6.x86_64 is a directory
    picked vmlinuz-2.6.32-642.el6.x86_64 because modpath /lib/modules/2.6.32-642.el6.x86_64 exists
    checking modpath /lib/modules/2.6.32-642.1.1.el6.x86_64 is a directory
    picked vmlinuz-2.6.32-642.1.1.el6.x86_64 because modpath /lib/modules/2.6.32-642.1.1.el6.x86_64 exists
    supermin helper [00004ms] finished creating kernel
    febootstrap-supermin-helper: open: /lib/modules/2.6.32-642.el6.x86_64/modules.dep: No such file or directory
    libguestfs: error: febootstrap-supermin-helper exited with error status 1, see debug messages above
    libguestfs: command: run: rm
    libguestfs: command: run: \ -rf /var/tmp/guestfs.lBmP8M
    libguestfs-test-tool: failed to launch appliance
    libguestfs: closing guestfs handle 0x136a150 (state 0)
    libguestfs: command: run: rm
    libguestfs: command: run: \ -rf /tmp/libguestfstnnABg


    adakah yang mengalami permasalahan ini dan berhasil melewatinya ?
    trimakasih
     
  2. daiserver

    daiserver Apprentice 1.0

    Messages:
    367
    Likes Received:
    62
    Trophy Points:
    28
    masih menunggu sesepuh turun gunung ini :)
     
  3. masiqbal

    masiqbal Expert 2.0

    Messages:
    863
    Likes Received:
    249
    Trophy Points:
    43
    Saya gak pernah pakai solusVM. Itu libguestfs nya bawaan dari distro atau custom dari solusVM ya? Kalau bawaan dari distro, coba install ulang libguestfs nya.
     
  4. daiserver

    daiserver Apprentice 1.0

    Messages:
    367
    Likes Received:
    62
    Trophy Points:
    28
    Setau saya libguestfs itu bawaan dari distronya.
    Udh coba reinstall msh sama problemnya.
    Saya coba nyari cara kerja dari libguestfs ini manggil apa aja. semakin mendalami semakin tak menemukan. Wkwk
     
  5. daiserver

    daiserver Apprentice 1.0

    Messages:
    367
    Likes Received:
    62
    Trophy Points:
    28
  6. mustafaramadhan

    mustafaramadhan Hosting Guru

    Messages:
    3,237
    Likes Received:
    857
    Trophy Points:
    113
    Kelihatannya pangkal masalah ada di 'febootstrap-supermin-helper: open: /lib/modules/2.6.32-642.el6.x86_64/modules.dep: No such file or directory'. Filenya tidak ada.
     
  7. daiserver

    daiserver Apprentice 1.0

    Messages:
    367
    Likes Received:
    62
    Trophy Points:
    28
    kalau dibaca emang ga ada om, tapi begitu di lihat di ada ( exists )

    sudah saya telusuri bagian pentingnya yang ini.

    - febootstrap-supermin-helper: open: /lib/modules/2.6.32-642.el6.x86_64/modules.dep: No such file or directory
    - libguestfs: error: febootstrap-supermin-helper exited with error status 1, see debug messages above
    - supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = /var/tmp/guestfs.lBmP8M/kernel, initrd /var/tmp/guestfs.lBmP8M/initrd, appliance = /var/tmp/guestfs.lBmP8M/root

    sudah saya coba reinstall libguestfs nya. Sudah coba juga nyesuain kernelnya dengan kernel yang baru.

    sudah tanya di bagian DS Providernya katanya diperlukan peninjauan lebih lanjut.
    coba ke solusnya juga sama, harus menunggu senior teknisi. Begitu senior teknisinya jawab perlu adanya peninjauan lebih lanjut.
     
  8. junior riau

    junior riau Hosting Guru Web Hosting

    Messages:
    3,227
    Likes Received:
    514
    Trophy Points:
    113
    saya pemakai virtualizor, coba @perdhanahost .
    masalah seperti ini biasanya gak ketemu path nya
     
  9. daiserver

    daiserver Apprentice 1.0

    Messages:
    367
    Likes Received:
    62
    Trophy Points:
    28
    iya om bener banget. memang dia ga ketemu pathnya. saya coba nyari alurnya memang seperti itu.
    Server berhasil baca path tempat dimana template tersebut berada. ketika di eksekusi template tersebut maka akan dibuat path directory baru pada KVM yang bersangkutan. nah sampai sini yang eror. path tersebut tidak berhasil ditemukan akan tetapi directory KVM berhasil dibuat. dengan kata lain kegagalan membaca path.

    berikut saya berikan log build di solusnya yang menurut saya erornya.

    Dia membaca template dari solusnya.:
    Built From Template => /home/solusvm/kvm/template/linux-centos-6.6-x86_64-min-gen2-v1.gz

    keluaran outputnya :

    LG OUTPUT => Examining /home/solusvm/kvm/template/linux-centos-6.6-x86_64-min-gen2-v1.gz ...
    >> MKSWAP => /dev/mapper/vg-kvm204_img2: No such file or directory
    >> LG MOUNT RP => libguestfs: launch: attach-method=appliance
    .
    .
    .
    .
    .
    febootstrap-supermin-helper: open: /lib/modules/2.6.32-642.el6.x86_64/modules.dep: No such file or directory
    libguestfs: error: febootstrap-supermin-helper exited with error status 1, see debug messages above
     
  10. GPLHosting

    GPLHosting Expert 2.0

    Messages:
    977
    Likes Received:
    466
    Trophy Points:
    63
    wew, ada yg mention2 :D

    coba lakukan perintah berikut, dan pastekan kemari ya :
    # updatedb ; locate modules.dep

    hostnya pake OS apa ? CentOS ?
     
    pluto01 likes this.
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...