problem install proxmox-ve-2.6.32 in debian wheezy

Discussion in 'Proxmox VE: Installation and configuration' started by Sky Chong, Nov 26, 2013.

  1. Sky Chong

    Sky Chong New Member

    Joined:
    Nov 26, 2013
    Messages:
    5
    Likes Received:
    0
    i am novice at using proxmox-ve...
    while installing proxmox-ve , meet this problem...
    please help me solve it...

    # aptitude install proxmox-ve-2.6.32
    The following partially installed packages will be configured:
    clvm fence-agents-pve libpve-access-control libpve-storage-perl
    proxmox-ve-2.6.32 pve-cluster pve-manager qemu-server
    redhat-cluster-pve resource-agents-pve vzctl
    No packages will be installed, upgraded, or removed.
    0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B of archives. After unpacking 0 B will be used.
    Setting up pve-cluster (3.0-8) ...
    [....] Starting pve cluster filesystem : pve-cluster[main] crit: Unable to get local IP address
    (warning).
    invoke-rc.d: initscript pve-cluster, action "start" failed.
    dpkg: error processing pve-cluster (--configure):
    subprocess installed post-installation script returned error exit status 255
    dpkg: dependency problems prevent configuration of redhat-cluster-pve:
    redhat-cluster-pve depends on pve-cluster; however:
    Package pve-cluster is not configured yet.

    dpkg: error processing redhat-cluster-pve (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of fence-agents-pve:
    fence-agents-pve depends on redhat-cluster-pve; however:
    Package redhat-cluster-pve is not configured yet.

    dpkg: error processing fence-agents-pve (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of libpve-access-control:
    libpve-access-control depends on pve-cluster; however:
    Package pve-cluster is not configured yet.

    dpkg: error processing libpve-access-control (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of clvm:
    clvm depends on redhat-cluster-pve; however:
    Package redhat-cluster-pve is not configured yet.

    dpkg: error processing clvm (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of libpve-storage-perl:
    libpve-storage-perl depends on clvm; however:
    Package clvm is not configured yet.

    dpkg: error processing libpve-storage-perl (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of qemu-server:
    qemu-server depends on libpve-storage-perl; however:
    Package libpve-storage-perl is not configured yet.
    qemu-server depends on pve-cluster; however:
    Package pve-cluster is not configured yet.
    qemu-server depends on redhat-cluster-pve; however:
    Package redhat-cluster-pve is not configured yet.

    dpkg: error processing qemu-server (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of resource-agents-pve:
    resource-agents-pve depends on redhat-cluster-pve; however:
    Package redhat-cluster-pve is not configured yet.

    dpkg: error processing resource-agents-pve (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of pve-manager:
    pve-manager depends on qemu-server (>= 1.1-1); however:
    Package qemu-server is not configured yet.
    pve-manager depends on pve-cluster (>= 1.0-29); however:
    Package pve-cluster is not configured yet.
    pve-manager depends on libpve-storage-perl; however:
    Package libpve-storage-perl is not configured yet.
    pve-manager depends on libpve-access-control (>= 3.0-2); however:
    Package libpve-access-control is not configured yet.
    pve-manager depends on redhat-cluster-pve; however:
    Package redhat-cluster-pve is not configured yet.
    pve-manager depends on resource-agents-pve; however:
    Package resource-agents-pve is not configured yet.
    pve-manager depends on fence-agents-pve; however:
    Package fence-agents-pve is not configured yet.

    dpkg: error processing pve-manager (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of vzctl:
    vzctl depends on pve-cluster; however:
    Package pve-cluster is not configured yet.
    vzctl depends on libpve-storage-perl; however:
    Package libpve-storage-perl is not configured yet.

    dpkg: error processing vzctl (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of proxmox-ve-2.6.32:
    proxmox-ve-2.6.32 depends on pve-manager; however:
    Package pve-manager is not configured yet.
    proxmox-ve-2.6.32 depends on qemu-server; however:
    Package qemu-server is not configured yet.
    proxmox-ve-2.6.32 depends on vzctl (>= 3.0.29); however:
    Package vzctl is not configured yet.

    dpkg: error processing proxmox-ve-2.6.32 (--configure):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    pve-cluster
    redhat-cluster-pve
    fence-agents-pve
    libpve-access-control
    clvm
    libpve-storage-perl
    qemu-server
    resource-agents-pve
    pve-manager
    vzctl
    proxmox-ve-2.6.32
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    A package failed to install. Trying to recover:
    Setting up pve-cluster (3.0-8) ...
    [....] Starting pve cluster filesystem : pve-cluster[main] crit: Unable to get local IP address
    (warning).
    invoke-rc.d: initscript pve-cluster, action "start" failed.
    dpkg: error processing pve-cluster (--configure):
    subprocess installed post-installation script returned error exit status 255
    dpkg: dependency problems prevent configuration of pve-manager:
    pve-manager depends on pve-cluster (>= 1.0-29); however:
    Package pve-cluster is not configured yet.

    dpkg: error processing pve-manager (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of proxmox-ve-2.6.32:
    proxmox-ve-2.6.32 depends on pve-manager; however:
    Package pve-manager is not configured yet.

    dpkg: error processing proxmox-ve-2.6.32 (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of libpve-access-control:
    libpve-access-control depends on pve-cluster; however:
    Package pve-cluster is not configured yet.

    dpkg: error processing libpve-access-control (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of qemu-server:
    qemu-server depends on pve-cluster; however:
    Package pve-cluster is not configured yet.

    dpkg: error processing qemu-server (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of redhat-cluster-pve:
    redhat-cluster-pve depends on pve-cluster; however:
    Package pve-cluster is not configured yet.

    dpkg: error processing redhat-cluster-pve (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of vzctl:
    vzctl depends on pve-cluster; however:
    Package pve-cluster is not configured yet.

    dpkg: error processing vzctl (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of resource-agents-pve:
    resource-agents-pve depends on redhat-cluster-pve; however:
    Package redhat-cluster-pve is not configured yet.

    dpkg: error processing resource-agents-pve (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of fence-agents-pve:
    fence-agents-pve depends on redhat-cluster-pve; however:
    Package redhat-cluster-pve is not configured yet.

    dpkg: error processing fence-agents-pve (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of clvm:
    clvm depends on redhat-cluster-pve; however:
    Package redhat-cluster-pve is not configured yet.

    dpkg: error processing clvm (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of libpve-storage-perl:
    libpve-storage-perl depends on clvm; however:
    Package clvm is not configured yet.

    dpkg: error processing libpve-storage-perl (--configure):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    pve-cluster
    pve-manager
    proxmox-ve-2.6.32
    libpve-access-control
    qemu-server
    redhat-cluster-pve
    vzctl
    resource-agents-pve
    fence-agents-pve
    clvm
    libpve-storage-perl
     
  2. m.ardito

    m.ardito Active Member

    Joined:
    Feb 17, 2010
    Messages:
    1,473
    Likes Received:
    12
  3. Sky Chong

    Sky Chong New Member

    Joined:
    Nov 26, 2013
    Messages:
    5
    Likes Received:
    0
    Hi, i following the step on this links, and successful install proxmox-ve Kernel ..
    already rebot and make sure is 2.6.32-26-pve..
    while trying install proxmox-ve packages...i meet the above problem...
    so may need someone help to slove or debug ..
     
  4. Patschi

    Patschi Member

    Joined:
    Jul 23, 2013
    Messages:
    51
    Likes Received:
    0
  5. Sky Chong

    Sky Chong New Member

    Joined:
    Nov 26, 2013
    Messages:
    5
    Likes Received:
    0
    i trying reinstall debian , and following the step to install proxmox...

    here is my /etc/hosts :
    cat /etc/hosts
    127.0.0.1 localhost
    127.0.1.1 sky.sky sky
    192.168.6.177 proxmox-6-177.proxmox.com proxmox-6-177 pvelocalhost

    # The following lines are desirable for IPv6 capable hosts
    ::1 localhost ip6-localhost ip6-loopback

    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts

    is that my hosts list write wrong ?
    because after reinstall debian and follow the step install proxmox...
    i still get same problem...
    Errors were encountered while processing:
    pve-cluster
    redhat-cluster-pve
    fence-agents-pve
    libpve-access-control
    clvm
    libpve-storage-perl
    qemu-server
    resource-agents-pve
    pve-manager
    vzctl
    proxmox-ve-2.6.32
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    and this is my sourcelist:


    #

    # deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 NETINST Binary-1 20130615-23:04]/ wheezy main

    #deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 NETINST Binary-1 20130615-23:04]/ wheezy main

    deb http://ftp.tw.debian.org/debian/ wheezy main
    deb-src http://ftp.tw.debian.org/debian/ wheezy main

    deb http://security.debian.org/ wheezy/updates main
    deb-src http://security.debian.org/ wheezy/updates main

    # wheezy-updates, previously known as 'volatile'
    deb http://ftp.tw.debian.org/debian/ wheezy-updates main
    deb-src http://ftp.tw.debian.org/debian/ wheezy-updates main

    deb http://ftp.at.debian.org/debian wheezy main contrib

    # PVE pve-no-subscription repository provided by proxmox.com, NOT recommended for production use
    deb http://download.proxmox.com/debian wheezy pve-no-subscription

    # security updates
    deb http://security.debian.org/ wheezy/updates main contrib



    very sorry that i just a novice with debian and proxmox...

    Please forgive me...

    SKY
     
  6. m.ardito

    m.ardito Active Member

    Joined:
    Feb 17, 2010
    Messages:
    1,473
    Likes Received:
    12

    very sorry that i just a novice with debian and proxmox...

    don't worry we're here to help each other :) (this does not guarantee that we're able to :-D)

    what is output of
    #hostname ?

    Marco
     
  7. Sky Chong

    Sky Chong New Member

    Joined:
    Nov 26, 2013
    Messages:
    5
    Likes Received:
    0
    # hostname
    sky
     
  8. m.ardito

    m.ardito Active Member

    Joined:
    Feb 17, 2010
    Messages:
    1,473
    Likes Received:
    12
    I feel that could be part of the problem:

    you have:

    127.0.0.1 localhost
    127.0.1.1 sky.sky sky
    192.168.6.177 proxmox-6-177.proxmox.com proxmox-6-177 pvelocalhost

    if hostname is "sky" it will resolve to 127.0.1.1

    but probably you expect this node IP to be 192.168.6.177...

    you could try to adjust your /etc/hosts


    wait,

    127.0.0.1 localhost.localdomain localhost
    192.168.6.177 proxmox-6-177.proxmox.com proxmox-6-177 pvelocalhost

    but these are the wiki default values!!

    you should of course use your IP and hostname, not
    192.168.6.177 proxmox-6-177.proxmox.com proxmox-6-177 pvelocalhost

    that 192.168.6.177 could work if your network setup is like that but it doesn't make sense t me use "proxmox.com" as a domain for your nodes..?!?

    Marco
     
    #8 m.ardito, Nov 26, 2013
    Last edited: Nov 26, 2013
  9. Sky Chong

    Sky Chong New Member

    Joined:
    Nov 26, 2013
    Messages:
    5
    Likes Received:
    0

    Dear m.ardito :

    thanks for helping me...
    finally i solve the problem now...
    by fixing the /etc/hosts list..
    without your help ,maybe i still dont know how to solve it!!

    very thanks your help...



    sky
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice