Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am trying to install a zone on Solaris 11. I am using these instructions.

I get up to Listing 2 when the error occurs.

    # zoneadm -z testzone install
    The following ZFS file system(s) have been created:
        rpool/zones/testzone
    Progress being logged to /var/log/zones/zoneadm.20140522T025544Z.testzone.install
           Image: Preparing at /zones/testzone/root.

   ERROR: an exception occurred.

        'NoneType' object has no attribute 'bind'

       Please check logs for further information.
   ERROR: auto-install failed.

The install log is:

root@solaris-11:~# cat /var/log/zones/zoneadm.20140523T065105Z.testzone.install
    [Fri May 23 16:51:05 EST 2014] ==== Starting: /usr/lib/brand/solaris/pkgcreatezone -z testzone -R /zones/testzone ====
    [Fri May 23 16:51:05 EST 2014] Progress being logged to /var/log/zones/zoneadm.20140523T065105Z.testzone.install
    [Fri May 23 16:51:08 EST 2014]        Image: Preparing at /zones/testzone/root.
    [Fri May 23 16:51:12 EST 2014] Running auto-install: '/usr/bin/auto-install -z testzone -Z rpool/zones/testzone/rpool -m /tmp/manifest.xml.PCa4ad -c /usr/share/auto_install/sc_profiles/enable_sci.xml'
    [Fri May 23 16:51:14 EST 2014] ERROR: auto-install failed.
    [Fri May 23 16:51:14 EST 2014] Exiting with exit code 255
    [Fri May 23 16:51:14 EST 2014] ==== Completed: /usr/lib/brand/solaris/pkgcreatezone -z testzone -R /zones/testzone  ====

Zonecfg results:

    root@solaris-11:~# zonecfg -z testzone export
    create -b
    set brand=solaris
    set zonepath=/zones/testzone
    set autoboot=true
    set bootargs=-m verbose
    set ip-type=exclusive
    add anet
    set linkname=net0
    set lower-link=auto
    set configure-allowed-address=true
    set link-protection=mac-nospoof
    set mac-address=random
    end

Zonecfg info:

    root@solaris-11:~# zonecfg -z testzone info
    zonename: testzone
    zonepath: /zones/testzone
    brand: solaris
    autoboot: true
    bootargs: -m verbose
    file-mac-profile:
    pool:
    limitpriv:
    scheduling-class:
    ip-type: exclusive
    hostid:
    fs-allowed:
    anet:
        linkname: net0
        lower-link: auto
        allowed-address not specified
        configure-allowed-address: true
        defrouter not specified
        allowed-dhcp-cids not specified
        link-protection: mac-nospoof
        mac-address: random
        mac-prefix not specified
        mac-slot not specified
        vlan-id not specified
        priority not specified
        rxrings not specified
        txrings not specified
        mtu not specified
        maxbw not specified
        rxfanout not specified
        vsi-typeid not specified
        vsi-vers not specified
        vsi-mgrid not specified
        etsbw-lcl not specified
        cos not specified
        pkey not specified
        linkmode not specified
    root@solaris-11:~#
share|improve this question
2  
Looks like there's a problem in your zone config. Run zonecfg -z testzone export and post the contents here. –  bahamat May 25 at 6:11
    
pkg publisher ? –  c4f4t0r May 30 at 9:10
    
I'm not sure who the publisher is. What do I run to find out? –  Kinesia Jun 3 at 0:18
    
@Kinesia What is the output from pkg publisher –  Warwick Jun 18 at 23:51
    
Can your test system's global zone resolve and reach pkg.oracle.com ? –  James McPherson Jun 24 at 13:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.