Something wrong under /bin, I did not  touch my /bin directory.

Pkgadd -d .  touched my  /bin ?


root@x4470a:/bin# ls -l
total 11
lrwxrwxrwx   1 root     other         28 Jan 24 19:14 ControlPanel -> 
../java/jre/bin/ControlPanel
lrwxrwxrwx   1 root     other         16 Jan 24 19:14 java -> ../java/bin/java
lrwxrwxrwx   1 root     other         18 Jan 24 19:14 javaws -> 
../java/bin/javaws
lrwxrwxrwx   1 root     other         24 Jan 24 19:14 jcontrol -> 
../java/jre/bin/jcontrol
lrwxrwxrwx   1 root     other         19 Jan 24 19:14 keytool -> 
../java/bin/keytool
lrwxrwxrwx   1 root     other         16 Jan 24 19:14 orbd -> ../java/bin/orbd
lrwxrwxrwx   1 root     other         22 Jan 24 19:14 policytool -> 
../java/bin/policytool
lrwxrwxrwx   1 root     other         16 Jan 24 19:14 rmid -> ../java/bin/rmid
lrwxrwxrwx   1 root     other         23 Jan 24 19:14 rmiregistry -> 
../java/bin/rmiregistry
lrwxrwxrwx   1 root     other         22 Jan 24 19:14 servertool -> 
../java/bin/servertool
lrwxrwxrwx   1 root     other         21 Jan 24 19:14 tnameserv -> 
../java/bin/tnameserv
root@x4470a:/bin# pwd
/bin
root@x4470a:/bin#

-----Original Message-----
From: pkg-discuss-boun...@opensolaris.org 
[mailto:pkg-discuss-boun...@opensolaris.org] On Behalf Of Johnny Liu
Sent: Thursday, January 24, 2013 7:14 PM
To: Jordan Brown
Cc: pkg-discuss@opensolaris.org; smf-disc...@opensolaris.org
Subject: Re: [pkg-discuss] [smf-discuss] Oracle smf bootadm gurus please help me

Reproduced!

root@x4470a:/opt#
root@x4470a:/opt# pkg verify core-os
PACKAGE                                                                 STATUS
pkg://solaris/system/core-os                                             ERROR
        dir: export
                Group: 'root (0)' should be 'sys (3)'
        dir: usr/share
                Group: 'bin (2)' should be 'sys (3)'
        dir: var/share
                Group: 'root (0)' should be 'sys (3)'
        link: bin
                File Type: 'directory' should be 'symbolic link'
root@x4470a:/opt#

-----Original Message-----
From: Johnny Liu
Sent: Thursday, January 24, 2013 7:08 PM
To: 'Jordan Brown'
Cc: smf-disc...@opensolaris.org; pkg-discuss@opensolaris.org
Subject: RE: [smf-discuss] Oracle smf bootadm gurus please help me

Continued.

See attached "addpkg-jdk7" script log.

After pkgadd -d . is complete, I saw the meg on the console


On the console:

x4470a console login:
x4470a console login:
x4470a console login:
x4470a console login: Jan 24 19:14:18 x4470a svc.startd[11]: 
system/manifest-import:default failed: transitioned to mai ntenance (see 'svcs 
-xv' for details)

SUNW-MSG-ID: SMF-8000-YX, TYPE: defect, VER: 1, SEVERITY: major
EVENT-TIME: Thu Jan 24 19:14:18 PST 2013
PLATFORM: SUN-FIRE-X4470-M2-SERVER, CSN: 1203FMJ010, HOSTNAME: x4470a
SOURCE: software-diagnosis, REV: 0.1
EVENT-ID: 40d8408b-12e7-636e-a180-af0d1f26483f
DESC: A service failed - a method is failing in a retryable manner but too 
often.
AUTO-RESPONSE: The service has been placed into the maintenance state.
IMPACT: svc:/system/manifest-import:default is unavailable.
REC-ACTION: Run 'svcs -xv svc:/system/manifest-import:default' to determine the 
generic reason why the service failed, the location of any logfiles, and a list 
of other services impacted. Please refer to the associated reference document 
at http://support.oracle.com/msg/SMF-8000-YX for the latest service procedures 
and policies regarding this diagnosis.
Jan 24 19:14:19 x4470a sendmail[2026]: My unqualified host name (x4470a) 
unknown; sleeping for retry Jan 24 19:15:19 x4470a sendmail[2026]: unable to 
qualify my own domain name (x4470a) -- using short name

x4470a console login:

root@x4470a:/opt#
root@x4470a:/opt#
root@x4470a:/opt# pkg info pkg
          Name: package/pkg
       Summary: Image Packaging System
   Description: The Image Packaging System (IPS), or pkg(5), is the software
                delivery system used on Oracle Solaris.  This package contains
                the core command-line components and depot server.
      Category: System/Packaging
         State: Installed
     Publisher: solaris
       Version: 0.5.11
 Build Release: 5.11
        Branch: 0.175.1.0.0.24.0
Packaging Date: September  4, 2012 06:03:35 PM
          Size: 8.06 MB
          FMRI: 
pkg://solaris/package/pkg@0.5.11,5.11-0.175.1.0.0.24.0:20120904T180335Z
root@x4470a:/opt#
root@x4470a:/opt# bootadm update-archive
sh: /boot/solaris/bin/extract_boot_filelist:  not found root@x4470a:/opt#


REPRODUCED!



-----Original Message-----
From: Johnny Liu
Sent: Thursday, January 24, 2013 7:02 PM
To: 'Jordan Brown'
Cc: smf-disc...@opensolaris.org; pkg-discuss@opensolaris.org
Subject: RE: [smf-discuss] Oracle smf bootadm gurus please help me

I am reproducing it now.

root@x4470a:/opt# pkgadd -d .

The following packages are available:
  1  SUNWj7cfg              JDK 7.0 Host Config. (1.7.0)
                            (i386) 1.7.0,REV=2011.06.27.03.37
  2  SUNWj7dev              JDK 7.0 Dev. Tools (1.7.0)
                            (i386) 1.7.0,REV=2011.06.27.03.37
  3  SUNWj7dmo              JDK 7.0 Demo Programs (1.7.0)
                            (i386) 1.7.0,REV=2011.06.27.03.37
  4  SUNWj7jmp              JDK 7.0 Man Pages: Japan (1.7.0)
                            (i386) 1.7.0,REV=2011.06.27.03.37
  5  SUNWj7man              JDK 7.0 Man Pages (1.7.0)
                            (i386) 1.7.0,REV=2011.06.27.03.37
  6  SUNWj7rt               JDK 7.0 Runtime Env. (1.7.0)
                            (i386) 1.7.0,REV=2011.06.27.03.37
  7  SUNWjavadb-client      Java DB client
                            (i386) 10.6.2,REV=2010.10.29
  8  SUNWjavadb-common      Java DB common files
                            (i386) 10.6.2,REV=2010.10.29
  9  SUNWjavadb-core        Java DB core
                            (i386) 10.6.2,REV=2010.10.29
 10  SUNWjavadb-demo        Java DB demo
                            (i386) 10.6.2,REV=2010.10.29

... 3 more menu choices to follow;
<RETURN> for more choices, <CTRL-D> to stop display:

 11  SUNWjavadb-docs        Java DB documentation
                            (i386) 10.6.2,REV=2010.10.29
 12  SUNWjavadb-javadoc     Java DB javadoc
                            (i386) 10.6.2,REV=2010.10.29
 13  SUNWjavadb-service     Java DB service management
                            (i386) 10.6.2,REV=2010.10.29

Select package(s) you wish to process (or 'all' to process all packages). 
(default: all) [?,??,q]: q root@x4470a:/opt# root@x4470a:/opt# script 
addpkg-jdk7 Script started, file is addpkg-jdk7 root@x4470a:/opt# pkgadd -d .

The following packages are available:
  1  SUNWj7cfg              JDK 7.0 Host Config. (1.7.0)
                            (i386) 1.7.0,REV=2011.06.27.03.37
  2  SUNWj7dev              JDK 7.0 Dev. Tools (1.7.0)
                            (i386) 1.7.0,REV=2011.06.27.03.37
  3  SUNWj7dmo              JDK 7.0 Demo Programs (1.7.0)
                            (i386) 1.7.0,REV=2011.06.27.03.37
  4  SUNWj7jmp              JDK 7.0 Man Pages: Japan (1.7.0)
                            (i386) 1.7.0,REV=2011.06.27.03.37
  5  SUNWj7man              JDK 7.0 Man Pages (1.7.0)
                            (i386) 1.7.0,REV=2011.06.27.03.37
  6  SUNWj7rt               JDK 7.0 Runtime Env. (1.7.0)
                            (i386) 1.7.0,REV=2011.06.27.03.37
  7  SUNWjavadb-client      Java DB client
                            (i386) 10.6.2,REV=2010.10.29
  8  SUNWjavadb-common      Java DB common files
                            (i386) 10.6.2,REV=2010.10.29
  9  SUNWjavadb-core        Java DB core
                            (i386) 10.6.2,REV=2010.10.29
 10  SUNWjavadb-demo        Java DB demo
                            (i386) 10.6.2,REV=2010.10.29

... 3 more menu choices to follow;
<RETURN> for more choices, <CTRL-D> to stop display:

 11  SUNWjavadb-docs        Java DB documentation
                            (i386) 10.6.2,REV=2010.10.29
 12  SUNWjavadb-javadoc     Java DB javadoc
                            (i386) 10.6.2,REV=2010.10.29
 13  SUNWjavadb-service     Java DB service management
                            (i386) 10.6.2,REV=2010.10.29

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

Processing package instance <SUNWj7cfg> from </opt>

JDK 7.0 Host Config. (1.7.0)(i386) 1.7.0,REV=2011.06.27.03.37 Copyright (c) 
2010, Oracle and/or its affiliates. All rights reserved.
ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
Using </> as the package base directory.
## Processing package information.
## Processing system information.
   1 package pathname is already properly installed.
## Verifying package dependencies.
WARNING:
    The <SUNWmfrun> package "Motif RunTime Kit" is a
    prerequisite package and should be installed.

Do you want to continue with the installation of <SUNWj7cfg> [y,n,?] 
-----Original Message-----
From: Johnny Liu
Sent: Thursday, January 24, 2013 6:57 PM
To: 'Jordan Brown'
Subject: RE: [smf-discuss] Oracle smf bootadm gurus please help me

Let me reproduce it now.


root@x4470a:/# beadm list
BE               Active Mountpoint Space  Policy Created
--               ------ ---------- -----  ------ -------
solaris          -      -          18.29G static 2012-08-03 09:03
solaris-backup-1 -      -          48.15M static 2012-08-03 09:44
solaris-backup-2 -      -          8.42M  static 2012-08-03 10:05
solaris-backup-3 -      -          2.06G  static 2013-01-22 16:06
solaris-backup-4 NR     /          5.32G  static 2013-01-23 18:46
root@x4470a:/#
root@x4470a:/#
root@x4470a:/# beadm mount solaris-backup-3 /mnt root@x4470a:/# cd /mnt 
root@x4470a:/mnt# cd opt root@x4470a:/mnt/opt# ls -l jdk-7-solaris-i586.tar
-rw-r--r--   1 root     root     269544960 Jan 23 17:24 jdk-7-solaris-i586.tar
root@x4470a:/mnt/opt# cp jdk-7-solaris-i586.tar /opt/.
root@x4470a:/mnt/opt# cd /
root@x4470a:/# cd opt
root@x4470a:/opt# ls
jdk-7-solaris-i586.tar
root@x4470a:/opt# beadm unmount solaris-backup-3 tar -xvf ...

root@x4470a:/opt# ls -l
total 527584
-r--r--r--   1 10       143         3339 Jun 27  2011 COPYRIGHT
-rw-r--r--   1 root     root     269544960 Jan 24 19:03 jdk-7-solaris-i586.tar
-r--r--r--   1 10       143           40 Jun 27  2011 LICENSE
-r--r--r--   1 10       143        22272 Jun 27  2011 README.html
drwxr-xr-x   4 10       143            6 Jun 27  2011 SUNWj7cfg
drwxr-xr-x   4 10       143            6 Jun 27  2011 SUNWj7dev
drwxr-xr-x   4 10       143            6 Jun 27  2011 SUNWj7dmo
drwxr-xr-x   4 10       143            6 Jun 27  2011 SUNWj7jmp
drwxr-xr-x   4 10       143            6 Jun 27  2011 SUNWj7man
drwxr-xr-x   4 10       143            6 Jun 27  2011 SUNWj7rt
drwxr-xr-x   4 10       143            6 Oct 28  2010 SUNWjavadb-client
drwxr-xr-x   4 10       143            6 Oct 28  2010 SUNWjavadb-common
drwxr-xr-x   4 10       143            6 Oct 28  2010 SUNWjavadb-core
drwxr-xr-x   4 10       143            6 Oct 28  2010 SUNWjavadb-demo
drwxr-xr-x   4 10       143            6 Oct 28  2010 SUNWjavadb-docs
drwxr-xr-x   4 10       143            6 Oct 28  2010 SUNWjavadb-javadoc
drwxr-xr-x   4 10       143            6 Oct 28  2010 SUNWjavadb-service
-r--r--r--   1 10       143       172135 Jun 27  2011 
THIRDPARTYLICENSEREADME.txt
root@x4470a:/opt#




-----Original Message-----
From: Jordan Brown [mailto:jordan.br...@oracle.com]
Sent: Thursday, January 24, 2013 6:42 PM
To: Johnny Liu
Cc: casper....@oracle.com; pkg-discuss@opensolaris.org; 
smf-disc...@opensolaris.org
Subject: Re: [smf-discuss] Oracle smf bootadm gurus please help me

On 01/24/13 11:42, Johnny Liu wrote:
> Surprisingly the smf seems to be quite fragile in this respect.

 From the errors you're reporting, major parts of your system are missing.
  I don't blame SMF in the slightest for complaining.  I'm not saying that 
something isn't *very* wrong... only that it doesn't look like SMF is the 
problem.

sh: /boot/solaris/bin/extract_boot_filelist:  not found

/usr/sbin/sh[1]: exec: /lib/svc/method/manifest-import: not found

root@:~# pkg verify core-os
pkg: No image rooted at '/'

/lib/svc/method/fs-usr[62]: /usr/sbin/swapadd: not found [No such file or 
directory]




________________________________

This message and any attached documents contain information from QLogic 
Corporation or its wholly-owned subsidiaries that may be confidential. If you 
are not the intended recipient, you may not read, copy, distribute, or use this 
information. If you have received this transmission in error, please notify the 
sender immediately by reply e-mail and then delete this message.
_______________________________________________
pkg-discuss mailing list
pkg-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss


________________________________

This message and any attached documents contain information from QLogic 
Corporation or its wholly-owned subsidiaries that may be confidential. If you 
are not the intended recipient, you may not read, copy, distribute, or use this 
information. If you have received this transmission in error, please notify the 
sender immediately by reply e-mail and then delete this message.

_______________________________________________
pkg-discuss mailing list
pkg-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to