Cannot install zone on Solaris 11


 
Thread Tools Search this Thread
Operating Systems Solaris Cannot install zone on Solaris 11
# 1  
Old 05-24-2014
Cannot install zone on Solaris 11

I am trying to install a zone on Solaris 11.

I am following the instructions for zones intro at oracle.com (I can't post the url yet.)


I get up to Listing 2 when the error occurs.

Code:
        # 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 has no extra information.
# 2  
Old 05-24-2014
Quote:
The install log has no extra information.
To you maybe, to us maybe, or maybe not…

The more information you give us, even if it seems obvious to you, can be precious information for us. That is why we keep on saying the more information you give better the assistance you will get!

Are you sure you did not get warnings before?
What are all the commands past and what output (logs) did you receive?...
# 3  
Old 05-24-2014
Sorry, I more meant that it contained the same information, but there's slightly more.

Code:
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  ====


The previous commands were:
Code:
root@global:~# zonecfg -z testzone
testzone: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:testzone> create
create: Using system default template 'SYSdefault'
zonecfg:testzone> set zonepath=/zones/testzone
zonecfg:testzone> set autoboot=true
zonecfg:testzone> set bootargs="-m verbose"
zonecfg:testzone> verify
zonecfg:testzone> commit
zonecfg:testzone> exit


I can see the zone is now incomplete, but I think it was configured after I first ran the command.
Code:
root@solaris-11:~# zoneadm list -cv
  ID NAME             STATUS     PATH                           BRAND    IP
   0 global           running    /                              solaris  shared
   - testzone         incomplete /zones/testzone                solaris  excl

I don't think I got any warnings originally, unfortunately my shell timed out and closed, I can't backtrack.
# 4  
Old 05-25-2014
It is complaining about the lack of a system disk I think. I do not know for sure.
Please post the output of:
Code:
zonecfg -z testzone info

# 5  
Old 05-25-2014
Code:
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:~#

# 6  
Old 06-15-2014
Quote:
Originally Posted by jim mcnamara
It is complaining about the lack of a system disk I think. I do not know for sure.
Please post the output of:
Code:
zonecfg -z testzone info

Hi Jim, I posted it. Any thoughts?

Thanks,
Evan
# 7  
Old 06-19-2014
Hi Kinesia,

I Saw your log:
Code:
[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

I think you don't have any active IPS publisher
check it with:
# pkg publisher

The default publisher required internet connection,
if you don't have any internet connection in your Box, you can configure local IPS publisher.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Solaris 11 zone has no external network access (except to Global Zone)

Hi, hoping someone can help, its been a while since I used Solaris. After creating a NGZ (non global zone), the NGZ can access the GZ (Global Zone) and the GZ can access the NGZ (using ssh, zlogin) However, the NGZ cannot access any other netwqork devices, it can't even see the default router ... (2 Replies)
Discussion started by: GazinLincoln
2 Replies

2. Solaris

No way to install a flar archive of Solaris 10 to Solaris 11.4 zone

I want to migrate a solaris 10 os to solaris 11.4 zone. I did this a)Collect some data like id sysid,disks,ip,etc..on solaris10 OK b)Create this file.cfg with this command on solaris 10 zonep2vchk -c > /migration/sol10.cfg OK c)Create the archive flash on Solaris10 (1 Reply)
Discussion started by: Linusolaradm1
1 Replies

3. Solaris

Solaris 11 Global zone patching having Solaris 10 branded zone

I am planning to do solaris 11 global zone patching having solaris 10 branded zone. I have a doubts on step 8 specially Can someone clear my step 8 doubts or if anything wrong between step 1 to step 9 please correct that also as I have pretty good idea about Step 10 mean patching in solaris 10... (2 Replies)
Discussion started by: amity
2 Replies

4. UNIX for Advanced & Expert Users

Solaris 10: I forgot to detach a zone before zpool export. Uninstall zone?

Dear all, recently, I migrated a solaris zone from one host to another. The zone was inside of a zpool. The zpool cotains two volumes. I did the following: host1: $ zlogin zone1 shutdown -y -g0 -i0 #Zone status changes from running to installed $ zpool export zone1 host2: $ zpool... (2 Replies)
Discussion started by: custos
2 Replies

5. Solaris

Force patch install on non global zone

All, I am trying to install the patch 148689-02. However, this patch fails to install due to the non global zone does not have the required patch 147143-17. I have tried to login to the non global zone and install it manually. "patchadd 147143-17" however, this returns a message stating its for... (1 Reply)
Discussion started by: jpolachak
1 Replies

6. Solaris

Solaris 10 local zone on Solaris 11 global zone

Hi, A quick question: Can Solaris 10 local zones be moved to a Solaris 11 global zone and work well? Thank you in advance! (5 Replies)
Discussion started by: aixlover
5 Replies

7. Solaris

install jre in local zone

How can I install a new version of jre on a local zone? Since /usr is not writable in a local zone)? pls advise solaris10 sparc ---------- Post updated at 03:51 PM ---------- Previous update was at 02:34 PM ---------- jdk6 i mean (6 Replies)
Discussion started by: lhareigh890
6 Replies

8. Solaris

Creating A Solaris Zone - Unable to install - Are network settings required?

Hi i have created a solaris zone but have not yet connected any network cables for this new zone, can i set the zone up without running the command 'add net' and not adding an ip or physical interface? i tried to add dummy internet settings and get this zonecfg:coddr> add net... (4 Replies)
Discussion started by: newbiesolaris10
4 Replies

9. Solaris

Solaris Zone : Non global Zone check failed

Hi All , I try to install some packages in my global zone... On the execution of the installion of the script it quits by saying the error "Non global zone check failed" Kindly help me in this regard Thanks in advance, jeganr (7 Replies)
Discussion started by: jegaraman
7 Replies
Login or Register to Ask a Question