Re: [zones-discuss] Failing to install pkg on a zone

2008-01-16 Thread Asif Iqbal
On Jan 15, 2008 6:48 PM, Steve Lawrence [EMAIL PROTECTED] wrote:
 Not sure if it is related, but what are the lofi devices being used for?

 What is ls -l of /opt/csw?  Is /opt or any of it's subdirectories a
 mountpoint?

bash-3.00# ls -la /opt/csw
total 53
drwxr-xr-x  11 root bin   14 Jan 15 22:11 .
drwxr-xr-x  24 root sys   26 Jan 15 19:36 ..
drwxr-xr-x   4 root root   4 Jan 15 22:11 bdb44
drwxr-xr-x   6 root root  76 Jan 15 22:35 bin
lrwxrwxrwx   1 root root   9 Jan 15 22:08 doc - share/doc
drwxr-xr-x   2 root root   6 Jan 15 22:08 etc
drwxr-xr-x   2 root root  10 Jan 15 22:13 include
lrwxrwxrwx   1 root root  10 Jan 15 22:08 info - share/info
drwxr-xr-x   8 root root  60 Jan 15 22:13 lib
drwxr-xr-x   3 root root   5 Jan 15 22:13 libexec
lrwxrwxrwx   1 root root   9 Jan 15 22:08 man - share/man
drwxr-xr-x   2 root root   3 Jan 15 22:08 sbin
drwxr-xr-x  10 root root  10 Jan 15 22:13 share
drwxr-xr-x   2 root root   2 Jan 15 22:08 var

Yes /opt/csw is a mountpoint. It is a zfs filesystem created on
dataset that is provisioned from global zone



 -Steve L.




 On Tue, Jan 15, 2008 at 04:07:09PM -0500, Asif Iqbal wrote:
  -- Forwarded message --
  From: Asif Iqbal [EMAIL PROTECTED]
  Date: Jan 15, 2008 4:05 PM
  Subject: Re: [zones-discuss] Failing to install pkg on a zone
  To: Enda O'Connor [EMAIL PROTECTED]
 
 
  On Jan 15, 2008 3:44 PM, Enda O'Connor [EMAIL PROTECTED] wrote:
   Hi
   what is the zonecfg for the particualr zone
 
   zonecfg -z pdr_Ora_zone info
  zonename: pdr_Ora_zone
  zonepath: /zone/pdr_Ora
  brand: native
  autoboot: true
  bootargs: -m verbose
  pool:
  limitpriv:
  scheduling-class:
  ip-type: shared
  inherit-pkg-dir:
  dir: /lib
  inherit-pkg-dir:
  dir: /platform
  inherit-pkg-dir:
  dir: /sbin
  inherit-pkg-dir:
  dir: /usr
  net:
  address: 6.7.33.135
  physical: ce2
  device
  match: /dev/lofi/*
 
 
  
   is /opt/csw/bin writable in the zone, etc
 
  Yes they are writable fine.
 
 
  
   the mesasge about /var looks wierd though.
   Enda
  
  
  
   Asif Iqbal wrote:
I can install pkg just fine on all the other zones except this one.
   
   bash-3.00# pkgadd -d pkg_get-3.7.2-all-CSW.pkg
   
The following packages are available:
  1  CSWpkgget pkg_get - CSW version of automated package download 
tool
   (all) 3.7.2
   
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: 1
   
Processing package instance CSWpkgget from
/var/tmp/pkg_get-3.7.2-all-CSW.pkg
   
pkg_get - CSW version of automated package download tool(all) 3.7.2
You may use and copy this software without charge, as you see fit.
The software is copyright (C) Philip Brown, Nov 2000-2006
   
Dont forget to update /opt/csw/etc/pkg-get.conf with your nearest 
archive site.
(or /etc/opt/csw/pkg-get.conf)
   
Dont stick with the default of ibiblio.org: it's very slow!
   
Using /opt/csw as the package base directory.
## Processing package information.
## Processing system information.
   5 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
   
The following files are already installed on the system and are being
used by another package:
  /var
   
Do you want to install these conflicting files [y,n,?,q] y
## Checking for setuid/setgid programs.
   
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
   
Do you want to continue with the installation of CSWpkgget [y,n,?] y
   
Installing pkg_get - CSW version of automated package download tool as
CSWpkgget
   
## Installing part 1 of 1.
pkgadd: ERROR: unable to create package object /opt/csw/bin.
pathname does not exist
pathname does not exist
unable to fix attributes
/opt/csw/bin/pkg-get
ERROR: attribute verification of /opt/csw/bin/pkg-get failed
pathname does not exist
unable to fix attributes
pkgadd: ERROR: unable to create package object /opt/csw/etc.
pathname does not exist
pathname does not exist
unable to fix attributes
/opt/csw/etc/pkg-get.conf.csw
ERROR: attribute verification of /opt/csw/etc/pkg-get.conf.csw failed
pathname does not exist
unable to fix attributes
pkgadd: ERROR: unable to create package object /opt/csw/share.
pathname does not exist
pathname does not exist
unable to fix attributes
pkgadd: ERROR: unable to create package object /opt/csw/share/man.
pathname does not exist
pathname does

Re: [zones-discuss] Failing to install pkg on a zone

2008-01-16 Thread Asif Iqbal
On Jan 16, 2008 2:34 PM, Steve Lawrence [EMAIL PROTECTED] wrote:
 There is no /opt/csw fs entry in the zonecfg -z pdr_Ora_zone info output
 below.  How is this filesystem provisioned?


Off of the dataset pdr_Ora_zone/custom

bash-3.00# zonename
pdr_Ora_zone
bash-3.00# df -h /opt/csw
Filesystem size   used  avail capacity  Mounted on
pdr_Ora_zone/custom/csw
   8.6T52M   7.6T 1%/opt/csw


 -Steve L.


 On Wed, Jan 16, 2008 at 09:08:59AM -0500, Asif Iqbal wrote:
  On Jan 15, 2008 6:48 PM, Steve Lawrence [EMAIL PROTECTED] wrote:
   Not sure if it is related, but what are the lofi devices being used for?
  
   What is ls -l of /opt/csw?  Is /opt or any of it's subdirectories a
   mountpoint?
 
  bash-3.00# ls -la /opt/csw
  total 53
  drwxr-xr-x  11 root bin   14 Jan 15 22:11 .
  drwxr-xr-x  24 root sys   26 Jan 15 19:36 ..
  drwxr-xr-x   4 root root   4 Jan 15 22:11 bdb44
  drwxr-xr-x   6 root root  76 Jan 15 22:35 bin
  lrwxrwxrwx   1 root root   9 Jan 15 22:08 doc - share/doc
  drwxr-xr-x   2 root root   6 Jan 15 22:08 etc
  drwxr-xr-x   2 root root  10 Jan 15 22:13 include
  lrwxrwxrwx   1 root root  10 Jan 15 22:08 info - share/info
  drwxr-xr-x   8 root root  60 Jan 15 22:13 lib
  drwxr-xr-x   3 root root   5 Jan 15 22:13 libexec
  lrwxrwxrwx   1 root root   9 Jan 15 22:08 man - share/man
  drwxr-xr-x   2 root root   3 Jan 15 22:08 sbin
  drwxr-xr-x  10 root root  10 Jan 15 22:13 share
  drwxr-xr-x   2 root root   2 Jan 15 22:08 var
 
  Yes /opt/csw is a mountpoint. It is a zfs filesystem created on
  dataset that is provisioned from global zone
 
 
  
   -Steve L.
  
  
  
  
   On Tue, Jan 15, 2008 at 04:07:09PM -0500, Asif Iqbal wrote:
-- Forwarded message --
From: Asif Iqbal [EMAIL PROTECTED]
Date: Jan 15, 2008 4:05 PM
Subject: Re: [zones-discuss] Failing to install pkg on a zone
To: Enda O'Connor [EMAIL PROTECTED]
   
   
On Jan 15, 2008 3:44 PM, Enda O'Connor [EMAIL PROTECTED] wrote:
 Hi
 what is the zonecfg for the particualr zone
   
 zonecfg -z pdr_Ora_zone info
zonename: pdr_Ora_zone
zonepath: /zone/pdr_Ora
brand: native
autoboot: true
bootargs: -m verbose
pool:
limitpriv:
scheduling-class:
ip-type: shared
inherit-pkg-dir:
dir: /lib
inherit-pkg-dir:
dir: /platform
inherit-pkg-dir:
dir: /sbin
inherit-pkg-dir:
dir: /usr
net:
address: 6.7.33.135
physical: ce2
device
match: /dev/lofi/*
   
   

 is /opt/csw/bin writable in the zone, etc
   
Yes they are writable fine.
   
   

 the mesasge about /var looks wierd though.
 Enda



 Asif Iqbal wrote:
  I can install pkg just fine on all the other zones except this one.
 
 bash-3.00# pkgadd -d pkg_get-3.7.2-all-CSW.pkg
 
  The following packages are available:
1  CSWpkgget pkg_get - CSW version of automated package 
  download tool
 (all) 3.7.2
 
  Select package(s) you wish to process (or 'all' to process
  all packages). (default: all) [?,??,q]: 1
 
  Processing package instance CSWpkgget from
  /var/tmp/pkg_get-3.7.2-all-CSW.pkg
 
  pkg_get - CSW version of automated package download tool(all) 3.7.2
  You may use and copy this software without charge, as you see fit.
  The software is copyright (C) Philip Brown, Nov 2000-2006
 
  Dont forget to update /opt/csw/etc/pkg-get.conf with your nearest 
  archive site.
  (or /etc/opt/csw/pkg-get.conf)
 
  Dont stick with the default of ibiblio.org: it's very slow!
 
  Using /opt/csw as the package base directory.
  ## Processing package information.
  ## Processing system information.
 5 package pathnames are already properly installed.
  ## Verifying disk space requirements.
  ## Checking for conflicts with packages already installed.
 
  The following files are already installed on the system and are 
  being
  used by another package:
/var
 
  Do you want to install these conflicting files [y,n,?,q] y
  ## Checking for setuid/setgid programs.
 
  This package contains scripts which will be executed with super-user
  permission during the process of installing this package.
 
  Do you want to continue with the installation of CSWpkgget 
  [y,n,?] y
 
  Installing pkg_get - CSW version of automated package download tool 
  as
  CSWpkgget
 
  ## Installing part 1 of 1.
  pkgadd: ERROR: unable to create package object /opt/csw/bin.
  pathname does not exist
  pathname does not exist
  unable to fix

[zones-discuss] Failing to install pkg on a zone

2008-01-15 Thread Asif Iqbal
I can install pkg just fine on all the other zones except this one.

   bash-3.00# pkgadd -d pkg_get-3.7.2-all-CSW.pkg

The following packages are available:
  1  CSWpkgget pkg_get - CSW version of automated package download tool
   (all) 3.7.2

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: 1

Processing package instance CSWpkgget from
/var/tmp/pkg_get-3.7.2-all-CSW.pkg

pkg_get - CSW version of automated package download tool(all) 3.7.2
You may use and copy this software without charge, as you see fit.
The software is copyright (C) Philip Brown, Nov 2000-2006

Dont forget to update /opt/csw/etc/pkg-get.conf with your nearest archive site.
(or /etc/opt/csw/pkg-get.conf)

Dont stick with the default of ibiblio.org: it's very slow!

Using /opt/csw as the package base directory.
## Processing package information.
## Processing system information.
   5 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.

The following files are already installed on the system and are being
used by another package:
  /var

Do you want to install these conflicting files [y,n,?,q] y
## Checking for setuid/setgid programs.

This package contains scripts which will be executed with super-user
permission during the process of installing this package.

Do you want to continue with the installation of CSWpkgget [y,n,?] y

Installing pkg_get - CSW version of automated package download tool as
CSWpkgget

## Installing part 1 of 1.
pkgadd: ERROR: unable to create package object /opt/csw/bin.
pathname does not exist
pathname does not exist
unable to fix attributes
/opt/csw/bin/pkg-get
ERROR: attribute verification of /opt/csw/bin/pkg-get failed
pathname does not exist
unable to fix attributes
pkgadd: ERROR: unable to create package object /opt/csw/etc.
pathname does not exist
pathname does not exist
unable to fix attributes
/opt/csw/etc/pkg-get.conf.csw
ERROR: attribute verification of /opt/csw/etc/pkg-get.conf.csw failed
pathname does not exist
unable to fix attributes
pkgadd: ERROR: unable to create package object /opt/csw/share.
pathname does not exist
pathname does not exist
unable to fix attributes
pkgadd: ERROR: unable to create package object /opt/csw/share/man.
pathname does not exist
pathname does not exist
unable to fix attributes
pkgadd: ERROR: unable to create package object /opt/csw/share/man/man1m.
pathname does not exist
pathname does not exist
unable to fix attributes
/opt/csw/share/man/man1m/pkg-get.1m
ERROR: attribute verification of /opt/csw/share/man/man1m/pkg-get.1m failed
pathname does not exist
unable to fix attributes
pkgadd: ERROR: unable to create package object /var.
pathname does not exist
unable to fix attributes
/var
pkgadd: ERROR: unable to create package object /var/pkg-get.
pathname does not exist
pathname does not exist
unable to fix attributes
/var/pkg-get
/var/pkg-get/admin-fullauto
ERROR: attribute verification of /var/pkg-get/admin-fullauto failed
pathname does not exist
unable to fix attributes
[ verifying class none ]
ERROR: attribute verification of /opt/csw/bin/pkg-get failed
pathname does not exist
unable to fix attributes
ERROR: attribute verification of /opt/csw/etc/pkg-get.conf.csw failed
pathname does not exist
unable to fix attributes
ERROR: attribute verification of /opt/csw/share/man/man1m/pkg-get.1m failed
pathname does not exist
unable to fix attributes
ERROR: attribute verification of /var failed
pathname does not exist
unable to fix attributes
ERROR: attribute verification of /var/pkg-get failed
pathname does not exist
unable to fix attributes
ERROR: attribute verification of /var/pkg-get/admin-fullauto failed
pathname does not exist
unable to fix attributes
## Executing postinstall script.

Installing /opt/csw/etc/pkg-get.conf.csw to pkg-get.conf

 IMPORTANT 
A default configuration file for pkg-get has been created in
/opt/csw/etc/pkg-get.conf
You should edit it to change the 'site' configuration, to point to
the most appropriate mirror for you, from the list at
   http://www.blastwave.org/mirrors


Installation of CSWpkgget partially failed.



Any idea what is going on?


-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Failing to install pkg on a zone

2008-01-15 Thread Enda O'Connor
Hi
what is the zonecfg for the particualr zone

is /opt/csw/bin writable in the zone, etc

the mesasge about /var looks wierd though.
Enda


Asif Iqbal wrote:
 I can install pkg just fine on all the other zones except this one.

bash-3.00# pkgadd -d pkg_get-3.7.2-all-CSW.pkg

 The following packages are available:
   1  CSWpkgget pkg_get - CSW version of automated package download tool
(all) 3.7.2

 Select package(s) you wish to process (or 'all' to process
 all packages). (default: all) [?,??,q]: 1

 Processing package instance CSWpkgget from
 /var/tmp/pkg_get-3.7.2-all-CSW.pkg

 pkg_get - CSW version of automated package download tool(all) 3.7.2
 You may use and copy this software without charge, as you see fit.
 The software is copyright (C) Philip Brown, Nov 2000-2006

 Dont forget to update /opt/csw/etc/pkg-get.conf with your nearest archive 
 site.
 (or /etc/opt/csw/pkg-get.conf)

 Dont stick with the default of ibiblio.org: it's very slow!

 Using /opt/csw as the package base directory.
 ## Processing package information.
 ## Processing system information.
5 package pathnames are already properly installed.
 ## Verifying disk space requirements.
 ## Checking for conflicts with packages already installed.

 The following files are already installed on the system and are being
 used by another package:
   /var

 Do you want to install these conflicting files [y,n,?,q] y
 ## Checking for setuid/setgid programs.

 This package contains scripts which will be executed with super-user
 permission during the process of installing this package.

 Do you want to continue with the installation of CSWpkgget [y,n,?] y

 Installing pkg_get - CSW version of automated package download tool as
 CSWpkgget

 ## Installing part 1 of 1.
 pkgadd: ERROR: unable to create package object /opt/csw/bin.
 pathname does not exist
 pathname does not exist
 unable to fix attributes
 /opt/csw/bin/pkg-get
 ERROR: attribute verification of /opt/csw/bin/pkg-get failed
 pathname does not exist
 unable to fix attributes
 pkgadd: ERROR: unable to create package object /opt/csw/etc.
 pathname does not exist
 pathname does not exist
 unable to fix attributes
 /opt/csw/etc/pkg-get.conf.csw
 ERROR: attribute verification of /opt/csw/etc/pkg-get.conf.csw failed
 pathname does not exist
 unable to fix attributes
 pkgadd: ERROR: unable to create package object /opt/csw/share.
 pathname does not exist
 pathname does not exist
 unable to fix attributes
 pkgadd: ERROR: unable to create package object /opt/csw/share/man.
 pathname does not exist
 pathname does not exist
 unable to fix attributes
 pkgadd: ERROR: unable to create package object /opt/csw/share/man/man1m.
 pathname does not exist
 pathname does not exist
 unable to fix attributes
 /opt/csw/share/man/man1m/pkg-get.1m
 ERROR: attribute verification of /opt/csw/share/man/man1m/pkg-get.1m failed
 pathname does not exist
 unable to fix attributes
 pkgadd: ERROR: unable to create package object /var.
 pathname does not exist
 unable to fix attributes
 /var
 pkgadd: ERROR: unable to create package object /var/pkg-get.
 pathname does not exist
 pathname does not exist
 unable to fix attributes
 /var/pkg-get
 /var/pkg-get/admin-fullauto
 ERROR: attribute verification of /var/pkg-get/admin-fullauto failed
 pathname does not exist
 unable to fix attributes
 [ verifying class none ]
 ERROR: attribute verification of /opt/csw/bin/pkg-get failed
 pathname does not exist
 unable to fix attributes
 ERROR: attribute verification of /opt/csw/etc/pkg-get.conf.csw failed
 pathname does not exist
 unable to fix attributes
 ERROR: attribute verification of /opt/csw/share/man/man1m/pkg-get.1m failed
 pathname does not exist
 unable to fix attributes
 ERROR: attribute verification of /var failed
 pathname does not exist
 unable to fix attributes
 ERROR: attribute verification of /var/pkg-get failed
 pathname does not exist
 unable to fix attributes
 ERROR: attribute verification of /var/pkg-get/admin-fullauto failed
 pathname does not exist
 unable to fix attributes
 ## Executing postinstall script.

 Installing /opt/csw/etc/pkg-get.conf.csw to pkg-get.conf

  IMPORTANT 
 A default configuration file for pkg-get has been created in
 /opt/csw/etc/pkg-get.conf
 You should edit it to change the 'site' configuration, to point to
 the most appropriate mirror for you, from the list at
http://www.blastwave.org/mirrors


 Installation of CSWpkgget partially failed.



 Any idea what is going on?


   

___
zones-discuss mailing list
zones-discuss@opensolaris.org


[zones-discuss] Failing to install pkg on a zone

2008-01-15 Thread Asif Iqbal
-- Forwarded message --
From: Asif Iqbal [EMAIL PROTECTED]
Date: Jan 15, 2008 4:05 PM
Subject: Re: [zones-discuss] Failing to install pkg on a zone
To: Enda O'Connor [EMAIL PROTECTED]


On Jan 15, 2008 3:44 PM, Enda O'Connor [EMAIL PROTECTED] wrote:
 Hi
 what is the zonecfg for the particualr zone

 zonecfg -z pdr_Ora_zone info
zonename: pdr_Ora_zone
zonepath: /zone/pdr_Ora
brand: native
autoboot: true
bootargs: -m verbose
pool:
limitpriv:
scheduling-class:
ip-type: shared
inherit-pkg-dir:
dir: /lib
inherit-pkg-dir:
dir: /platform
inherit-pkg-dir:
dir: /sbin
inherit-pkg-dir:
dir: /usr
net:
address: 6.7.33.135
physical: ce2
device
match: /dev/lofi/*



 is /opt/csw/bin writable in the zone, etc

Yes they are writable fine.



 the mesasge about /var looks wierd though.
 Enda



 Asif Iqbal wrote:
  I can install pkg just fine on all the other zones except this one.
 
 bash-3.00# pkgadd -d pkg_get-3.7.2-all-CSW.pkg
 
  The following packages are available:
1  CSWpkgget pkg_get - CSW version of automated package download tool
 (all) 3.7.2
 
  Select package(s) you wish to process (or 'all' to process
  all packages). (default: all) [?,??,q]: 1
 
  Processing package instance CSWpkgget from
  /var/tmp/pkg_get-3.7.2-all-CSW.pkg
 
  pkg_get - CSW version of automated package download tool(all) 3.7.2
  You may use and copy this software without charge, as you see fit.
  The software is copyright (C) Philip Brown, Nov 2000-2006
 
  Dont forget to update /opt/csw/etc/pkg-get.conf with your nearest archive 
  site.
  (or /etc/opt/csw/pkg-get.conf)
 
  Dont stick with the default of ibiblio.org: it's very slow!
 
  Using /opt/csw as the package base directory.
  ## Processing package information.
  ## Processing system information.
 5 package pathnames are already properly installed.
  ## Verifying disk space requirements.
  ## Checking for conflicts with packages already installed.
 
  The following files are already installed on the system and are being
  used by another package:
/var
 
  Do you want to install these conflicting files [y,n,?,q] y
  ## Checking for setuid/setgid programs.
 
  This package contains scripts which will be executed with super-user
  permission during the process of installing this package.
 
  Do you want to continue with the installation of CSWpkgget [y,n,?] y
 
  Installing pkg_get - CSW version of automated package download tool as
  CSWpkgget
 
  ## Installing part 1 of 1.
  pkgadd: ERROR: unable to create package object /opt/csw/bin.
  pathname does not exist
  pathname does not exist
  unable to fix attributes
  /opt/csw/bin/pkg-get
  ERROR: attribute verification of /opt/csw/bin/pkg-get failed
  pathname does not exist
  unable to fix attributes
  pkgadd: ERROR: unable to create package object /opt/csw/etc.
  pathname does not exist
  pathname does not exist
  unable to fix attributes
  /opt/csw/etc/pkg-get.conf.csw
  ERROR: attribute verification of /opt/csw/etc/pkg-get.conf.csw failed
  pathname does not exist
  unable to fix attributes
  pkgadd: ERROR: unable to create package object /opt/csw/share.
  pathname does not exist
  pathname does not exist
  unable to fix attributes
  pkgadd: ERROR: unable to create package object /opt/csw/share/man.
  pathname does not exist
  pathname does not exist
  unable to fix attributes
  pkgadd: ERROR: unable to create package object /opt/csw/share/man/man1m.
  pathname does not exist
  pathname does not exist
  unable to fix attributes
  /opt/csw/share/man/man1m/pkg-get.1m
  ERROR: attribute verification of /opt/csw/share/man/man1m/pkg-get.1m 
  failed
  pathname does not exist
  unable to fix attributes
  pkgadd: ERROR: unable to create package object /var.
  pathname does not exist
  unable to fix attributes
  /var
  pkgadd: ERROR: unable to create package object /var/pkg-get.
  pathname does not exist
  pathname does not exist
  unable to fix attributes
  /var/pkg-get
  /var/pkg-get/admin-fullauto
  ERROR: attribute verification of /var/pkg-get/admin-fullauto failed
  pathname does not exist
  unable to fix attributes
  [ verifying class none ]
  ERROR: attribute verification of /opt/csw/bin/pkg-get failed
  pathname does not exist
  unable to fix attributes
  ERROR: attribute verification of /opt/csw/etc/pkg-get.conf.csw failed
  pathname does not exist
  unable to fix attributes
  ERROR: attribute verification of /opt/csw/share/man/man1m/pkg-get.1m 
  failed
  pathname does not exist
  unable to fix attributes
  ERROR: attribute verification of /var failed
  pathname does not exist
  unable to fix attributes
  ERROR: attribute verification of /var/pkg-get failed
  pathname does not exist
  unable to fix attributes
  ERROR: attribute verification of /var/pkg-get/admin