Hi,

 

Sent this yesterday but seems to have disappeared, resending with another
log of another failed attempt.

 

----

I'm trying to create a zone but it keeps failing...

 

Machine is a fresh install of 147, then 

pkg image_update to 148,

Few mini admin tasks (set Primary Administrator, took a snapshot etc.)

Then tried to create zones

Zfs create rpool/export/zones

Zonecfg -z dev-zone

zonecfg:dev-zone> create

zonecfg:dev-zone> set zonepath=/export/zones/dev-zone

zonecfg:dev-zone> verify

zonecfg:dev-zone> commit

zonecfg:dev-zone> exit

de...@chicco:~$ pfexec zoneadm -z dev-zone install

A ZFS file system has been created for this zone.

   Publisher: Using openindiana.org (http://pkg.openindiana.org/dev/ ).

   Publisher: Using opensolaris.org (http://pkg.openindiana.org/legacy/).

       Image: Preparing at /export/zones/dev-zone/root.

       Cache: Using /var/pkg/download.

Sanity Check: Looking for 'entire' incorporation.

  Installing: Core System (output follows)

pkg: No solution was found to satisfy constraints

ERROR: failed to install package

 

 

Tried lots of combinations, setting zone net parameters, different zonepath
and zfs bits but always fails to install the core packages.

 

Never done zones before, so perhaps I'm missing something obvious, but the
existing howtos and guides I could find seem to indicate this used to work
on oSol?

 

Latest log

 

Last login: Fri Jan  7 10:59:57 2011 from 192.168.254.3

OpenIndiana     SunOS 5.11      oi_148  November 2010

de...@chicco:~$ su

Password:

de...@chicco:~# zonecfg -z webserver-zone

webserver-zone: No such zone configured

Use 'create' to begin configuring a new zone.

zonecfg:webserver-zone> create

zonecfg:webserver-zone> set autoboot=true

zonecfg:webserver-zone> set zonepath=/export/webserver-zone

zonecfg:webserver-zone> info

zonecfg:webserver-zone> verify

zonecfg:webserver-zone> commit

zonecfg:webserver-zone> exit

de...@chicco:~# zoneadm list -cv

  ID NAME             STATUS     PATH                           BRAND    IP

   0 global           running    /                              ipkg
shared

   - webserver-zone   configured /export/webserver-zone         ipkg
shared

de...@chicco:~# mkdir /export/webserver-zone

de...@chicco:~# chmod 700 /export/webserver-zone

de...@chicco:~# zoneadm -z webserver-zone verify

de...@chicco:~# zoneadm -z webserver-zone install

A ZFS file system has been created for this zone.

   Publisher: Using openindiana.org (http://pkg.openindiana.org/dev/ ).

   Publisher: Using opensolaris.org (http://pkg.openindiana.org/legacy/).

       Image: Preparing at /export/webserver-zone/root.

       Cache: Using /var/pkg/download.

Sanity Check: Looking for 'entire' incorporation.

  Installing: Core System (output follows)

pkg: No solution was found to satisfy constraints

ERROR: failed to install package

 

 

 

Thanks for your help,

Deano

 

de...@cloudpixies.com

 

_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to