On Sat, Dec 6, 2008 at 4:15 AM, Shawn Walker <[EMAIL PROTECTED]>wrote:
> What's the output of "pkg version" ? > Sun Microsystems Inc. SunOS 5.11 snv_86 January 2008 > # bash > bash-3.2# pkg version > d974bb176266 > bash-3.2# I understand that this is a pretty old version, I tried creating the zone in a upgraded env: bash-3.2# zoneadm -z small-zone install A ZFS file system has been created for this zone. Error: unable to determine global zone boot environment. bash-3.2# pwd /droot bash-3.2# pkg version 216d2efd0c27 bash-3.2# beadm list BE Active Mountpoint Space Policy Created -- ------ ---------- ----- ------ ------- opensolaris - - 63.95M static 2008-11-20 09:34 opensolaris-1 NR / 5.63G static 2008-11-20 11:45 opensolaris-2 - /tmp/tmpbbuFCO 262.5K static 2008-11-27 15:42 bash-3.2# hostname opensolaris2 bash-3.2# I'm stuck here, your inputs are greatly appreciated.. > > > ramanujan oops wrote: > >> Posted originally in zones-discuss forum.. >> >> Reposting with pkg-discuss in loop as the error message is coming out of >> pkg client.. >> >> Request you to kindly provide your inputs and help me troubleshoot this. >> >> regards, >> Ram >> >> On Thu, Dec 4, 2008 at 8:46 PM, ramanujan oops <[EMAIL PROTECTED]<mailto: >> [EMAIL PROTECTED]>> wrote: >> >> Hi, >> >> I'm not able to generate 'IPS brand' local zones on a >> opensolaris box. Please find the relevant screen logs below and >> kindly let me know where I'm going wrong.. >> >> bash-3.2# zonecfg -z small-zone info >> zonename: small-zone >> zonepath: /zone/small-zone >> brand: ipkg >> autoboot: false >> bootargs: >> pool: >> limitpriv: >> scheduling-class: >> ip-type: shared >> bash-3.2# >> >> bash-3.2# >> bash-3.2# pkg refresh --full >> bash-3.2# pkg authority >> AUTHORITY URL >> localhost-stbrepo http://localhost:10000/ >> opensolaris.org <http://opensolaris.org> (preferred) >> http://pkg.opensolaris.org:80/ >> >> bash-3.2# zoneadm -z small-zone install >> >> Image: Preparing at /zone/small-zone/root ... done. >> Catalog: Retrieving from http://pkg.opensolaris.org:80/ ... done. >> Installing: (output follows) >> Creating Plan |Traceback (most recent call last): >> File "/usr/bin/pkg", line 1440, in ? >> ret = main_func() >> File "/usr/bin/pkg", line 1406, in main_func >> return install(img, pargs) >> File "/usr/bin/pkg", line 445, in install >> verbose = verbose, noexecute = noexecute) >> File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", >> line 1282, in make_install_plan >> ip.evaluate() >> File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", >> line 344, in evaluate >> self.evaluate_fmri(f) >> File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", >> line 269, in evaluate_fmri >> self.evaluate_fmri(cf) >> File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", >> line 187, in evaluate_fmri >> m = self.image.get_manifest(pfmri) >> File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", >> line 516, in get_manifest >> m = self._fetch_manifest(fmri) >> File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", >> line 468, in _fetch_manifest >> mcontent = retrieve.get_manifest(self, fmri) >> File "/usr/lib/python2.4/vendor-packages/pkg/client/retrieve.py", >> line 81, in get_manifest >> raise NameError, "could not retrieve manifest '%s' from '%s'" % \ >> NameError: could not retrieve manifest >> '[EMAIL PROTECTED]' from >> 'http://pkg.opensolaris.org:80' >> >> bash-3.2# zfs list | grep zones >> rpool/zones 18K 32.0G >> 18K /zones >> bash-3.2# >> >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> pkg-discuss mailing list >> [EMAIL PROTECTED] >> http://mail.opensolaris.org/mailman/listinfo/pkg-discuss >> > > > -- > Shawn Walker >
_______________________________________________ zones-discuss mailing list zones-discuss@opensolaris.org