免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: xuguopeng
打印 上一主题 下一主题

solaris 10打补丁打不上 [复制链接]

论坛徽章:
2
丑牛
日期:2014-06-11 13:55:04ChinaUnix元老
日期:2015-02-06 15:16:14
11 [报告]
发表于 2009-07-30 14:11 |只看该作者
原帖由 xuguopeng 于 2009-7-30 14:10 发表
是必须要创建一个叫install的账号,直接用root不行。。。。。。我愤特~~~

还有这事

论坛徽章:
0
12 [报告]
发表于 2009-07-30 14:16 |只看该作者
传说如果不用install帐户进行安装,系统会用nobody进行返回。。。。。

论坛徽章:
0
13 [报告]
发表于 2009-07-30 14:25 |只看该作者
本着求学求真求上进的精神,在solaris10+sparc上实验用root用户安装119254-66,记录如下:
login: Password:
Last login: Wed Jul 29 13:37:50 from localhost
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
Sourcing //.profile-EIS.....
root@sun # cd /tmp
root@sun # ls
119254-66.zip        hsperfdata_noaccess  hsperfdata_root
root@sun # uname -a
SunOS sun 5.10 Generic_139555-08 sun4u sparc sun4u
root@sun # ls
119254-66.zip        hsperfdata_noaccess  hsperfdata_root
root@sun # unzip 119254-66.zip
Archive:  119254-66.zip
   creating: 119254-66/
  inflating: 119254-66/postpatch     
  inflating: 119254-66/postbackout   
  inflating: 119254-66/.diPatch      
  inflating: 119254-66/patchinfo     
   creating: 119254-66/SUNWswmt/
  inflating: 119254-66/SUNWswmt/pkgmap  
  inflating: 119254-66/SUNWswmt/pkginfo  
   creating: 119254-66/SUNWswmt/install/
  inflating: 119254-66/SUNWswmt/install/checkinstall  
  inflating: 119254-66/SUNWswmt/install/copyright  
  inflating: 119254-66/SUNWswmt/install/i.none  
  inflating: 119254-66/SUNWswmt/install/patch_checkinstall  
  inflating: 119254-66/SUNWswmt/install/patch_postinstall  
  inflating: 119254-66/SUNWswmt/install/postinstall  
  inflating: 119254-66/SUNWswmt/install/preinstall  
  inflating: 119254-66/SUNWswmt/install/u.none  
   creating: 119254-66/SUNWswmt/reloc/
   creating: 119254-66/SUNWswmt/reloc/usr/
   creating: 119254-66/SUNWswmt/reloc/usr/bin/
  inflating: 119254-66/SUNWswmt/reloc/usr/bin/funzip  
  inflating: 119254-66/SUNWswmt/reloc/usr/bin/unzip  
  inflating: 119254-66/SUNWswmt/reloc/usr/bin/unzipsfx  
  inflating: 119254-66/SUNWswmt/reloc/usr/bin/zipgrep  
   creating: 119254-66/SUNWswmt/reloc/usr/lib/
   creating: 119254-66/SUNWswmt/reloc/usr/lib/patch/
  inflating: 119254-66/SUNWswmt/reloc/usr/lib/patch/patch_common_lib  
  inflating: 119254-66/SUNWswmt/reloc/usr/lib/patch/patchadd  
  inflating: 119254-66/SUNWswmt/reloc/usr/lib/patch/patchrm  
  inflating: 119254-66/SUNWswmt/reloc/usr/lib/patch/patchutil  
  inflating: 119254-66/SUNWswmt/reloc/usr/lib/patch/pdo  
   creating: 119254-66/SUNWswmt/reloc/usr/share/
   creating: 119254-66/SUNWswmt/reloc/usr/share/man/
   creating: 119254-66/SUNWswmt/reloc/usr/share/man/man1/
  inflating: 119254-66/SUNWswmt/reloc/usr/share/man/man1/funzip.1  
  inflating: 119254-66/SUNWswmt/reloc/usr/share/man/man1/unzip.1  
  inflating: 119254-66/SUNWswmt/reloc/usr/share/man/man1/unzipsfx.1  
  inflating: 119254-66/SUNWswmt/reloc/usr/share/man/man1/zipgrep.1  
  inflating: 119254-66/SUNWswmt/reloc/usr/share/man/man1/zipinfo.1  
   creating: 119254-66/SUNWinstall-patch-utils-root/
  inflating: 119254-66/SUNWinstall-patch-utils-root/pkgmap  
  inflating: 119254-66/SUNWinstall-patch-utils-root/pkginfo  
   creating: 119254-66/SUNWinstall-patch-utils-root/install/
  inflating: 119254-66/SUNWinstall-patch-utils-root/install/checkinstall  
  inflating: 119254-66/SUNWinstall-patch-utils-root/install/copyright  
  inflating: 119254-66/SUNWinstall-patch-utils-root/install/i.manifest  
  inflating: 119254-66/SUNWinstall-patch-utils-root/install/i.none  
  inflating: 119254-66/SUNWinstall-patch-utils-root/install/i.preserve  
  inflating: 119254-66/SUNWinstall-patch-utils-root/install/patch_checkinstall  
  inflating: 119254-66/SUNWinstall-patch-utils-root/install/patch_postinstall  
  inflating: 119254-66/SUNWinstall-patch-utils-root/install/postinstall  
  inflating: 119254-66/SUNWinstall-patch-utils-root/install/preinstall  
  inflating: 119254-66/SUNWinstall-patch-utils-root/install/u.manifest  
  inflating: 119254-66/SUNWinstall-patch-utils-root/install/u.none  
extracting: 119254-66/SUNWinstall-patch-utils-root/install/u.preserve  
   creating: 119254-66/SUNWinstall-patch-utils-root/reloc/
   creating: 119254-66/SUNWinstall-patch-utils-root/reloc/etc/
   creating: 119254-66/SUNWinstall-patch-utils-root/reloc/etc/patch/
  inflating: 119254-66/SUNWinstall-patch-utils-root/reloc/etc/patch/pdo.conf  
   creating: 119254-66/SUNWinstall-patch-utils-root/reloc/lib/
   creating: 119254-66/SUNWinstall-patch-utils-root/reloc/lib/svc/
   creating: 119254-66/SUNWinstall-patch-utils-root/reloc/lib/svc/method/
  inflating: 119254-66/SUNWinstall-patch-utils-root/reloc/lib/svc/method/patch-finish  
   creating: 119254-66/SUNWinstall-patch-utils-root/reloc/var/
   creating: 119254-66/SUNWinstall-patch-utils-root/reloc/var/svc/
   creating: 119254-66/SUNWinstall-patch-utils-root/reloc/var/svc/manifest/
   creating: 119254-66/SUNWinstall-patch-utils-root/reloc/var/svc/manifest/system/
  inflating: 119254-66/SUNWinstall-patch-utils-root/reloc/var/svc/manifest/system/patch-finish.xml  
   creating: 119254-66/SUNWpkgcmdsu/
  inflating: 119254-66/SUNWpkgcmdsu/pkgmap  
  inflating: 119254-66/SUNWpkgcmdsu/pkginfo  
   creating: 119254-66/SUNWpkgcmdsu/install/
  inflating: 119254-66/SUNWpkgcmdsu/install/checkinstall  
  inflating: 119254-66/SUNWpkgcmdsu/install/copyright  
  inflating: 119254-66/SUNWpkgcmdsu/install/i.none  
  inflating: 119254-66/SUNWpkgcmdsu/install/patch_checkinstall  
  inflating: 119254-66/SUNWpkgcmdsu/install/patch_postinstall  
  inflating: 119254-66/SUNWpkgcmdsu/install/postinstall  
  inflating: 119254-66/SUNWpkgcmdsu/install/preinstall  
  inflating: 119254-66/SUNWpkgcmdsu/install/u.none  
   creating: 119254-66/SUNWpkgcmdsu/reloc/
   creating: 119254-66/SUNWpkgcmdsu/reloc/usr/
   creating: 119254-66/SUNWpkgcmdsu/reloc/usr/bin/
  inflating: 119254-66/SUNWpkgcmdsu/reloc/usr/bin/pkgadm  
  inflating: 119254-66/SUNWpkgcmdsu/reloc/usr/bin/pkgcond  
  inflating: 119254-66/SUNWpkgcmdsu/reloc/usr/bin/pkginfo  
  inflating: 119254-66/SUNWpkgcmdsu/reloc/usr/bin/pkgmk  
  inflating: 119254-66/SUNWpkgcmdsu/reloc/usr/bin/pkgparam  
  inflating: 119254-66/SUNWpkgcmdsu/reloc/usr/bin/pkgproto  
  inflating: 119254-66/SUNWpkgcmdsu/reloc/usr/bin/pkgtrans  
   creating: 119254-66/SUNWpkgcmdsu/reloc/usr/lib/
  inflating: 119254-66/SUNWpkgcmdsu/reloc/usr/lib/libgendb.so.1  
  inflating: 119254-66/SUNWpkgcmdsu/reloc/usr/lib/libpkg.so.1  
  inflating: 119254-66/SUNWpkgcmdsu/reloc/usr/lib/libpkgdb.so.1  
   creating: 119254-66/SUNWpkgcmdsu/reloc/usr/sadm/
   creating: 119254-66/SUNWpkgcmdsu/reloc/usr/sadm/install/
   creating: 119254-66/SUNWpkgcmdsu/reloc/usr/sadm/install/bin/
  inflating: 119254-66/SUNWpkgcmdsu/reloc/usr/sadm/install/bin/pkginstall  
  inflating: 119254-66/SUNWpkgcmdsu/reloc/usr/sadm/install/bin/pkgname  
  inflating: 119254-66/SUNWpkgcmdsu/reloc/usr/sadm/install/bin/pkgremove  
   creating: 119254-66/SUNWpkgcmdsu/reloc/usr/sadm/install/scripts/
  inflating: 119254-66/SUNWpkgcmdsu/reloc/usr/sadm/install/scripts/cmdexec  
   creating: 119254-66/SUNWpkgcmdsu/reloc/usr/sbin/
  inflating: 119254-66/SUNWpkgcmdsu/reloc/usr/sbin/installf  
  inflating: 119254-66/SUNWpkgcmdsu/reloc/usr/sbin/pkgadd  
  inflating: 119254-66/SUNWpkgcmdsu/reloc/usr/sbin/pkgchk  
  inflating: 119254-66/SUNWpkgcmdsu/reloc/usr/sbin/pkgrm  
  inflating: 119254-66/README.119254-66  
  inflating: 119254-66/LEGAL_LICENSE.TXT  
root@sun # ls
119254-66            119254-66.zip        hsperfdata_noaccess  hsperfdata_root
root@sun # patchadd 119254-66
Validating patches...

Loading patches installed on the system...

Done!

Loading patches requested to install.

Done!

Checking patches that you specified for installation.

Done!


Approved patches will be installed in this order:

119254-66


Checking installed patches...
Verifying sufficient filesystem capacity (dry run method)...
Installing patch packages...

Patch 119254-66 has been successfully installed.
See /var/sadm/patch/119254-66/log for details
Executing postpatch script...

Patch packages installed:
  SUNWinstall-patch-utils-root
  SUNWpkgcmdsu
  SUNWswmt

root@sun # showrev -p | grep 119254-66
Patch: 119254-66 Obsoletes: 119015-03 Requires: 121133-02 Incompatibles:  Packages: SUNWinstall-patch-utils-root, SUNWswmt, SUNWpkgcmdsu
root@sun # pkginfo -l SUNWinstall-patch-utils-root
   PKGINST:  SUNWinstall-patch-utils-root
      NAME:  Install and Patch Utilities (root)
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  11.10,REV=2005.01.09.23.05
   BASEDIR:  /
    VENDOR:  Sun Microsystems, Inc.
      DESC:  Install and Patch Utilities (root)
    PSTAMP:  on10-adms-patch20090529160555
  INSTDATE:  Jul 30 2009 14:13
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:       14 installed pathnames
                  11 shared pathnames
                  10 directories
                   1 executables
                  13 blocks used (approx)

root@sun # pkginfo -l SUNWpkgcmdsu
   PKGINST:  SUNWpkgcmdsu
      NAME:  SVr4 packaging commands (usr)
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  11.11,REV=2005.01.09.23.05
   BASEDIR:  /
    VENDOR:  Sun Microsystems, Inc.
      DESC:  Solaris 2.x System V Release IV Packaging Commands (usr)
    PSTAMP:  on10-adms-patch20090529160558
  INSTDATE:  Jul 30 2009 14:13
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:       38 installed pathnames
                   8 shared pathnames
                   2 linked files
                   8 directories
                  25 executables
                5637 blocks used (approx)

root@sun # pkginfo -l SUNWswmt
   PKGINST:  SUNWswmt
      NAME:  Install and Patch Utilities
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  11.10,REV=2005.01.10.17.19
   BASEDIR:  /
    VENDOR:  Sun Microsystems, Inc.
      DESC:  Solaris 2.x Install and Patch Utilities
    PSTAMP:  on10-adms-patch20090529160601
  INSTDATE:  Jul 30 2009 14:13
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:       31 installed pathnames
                  12 shared pathnames
                   2 linked files
                  12 directories
                   9 executables
                1560 blocks used (approx)

root@sun #

论坛徽章:
0
14 [报告]
发表于 2009-07-30 14:58 |只看该作者
那是你文件目录的权限很宽松吧?

我看了一个老外的帖子说:系统默认会找install,如果没有的话直接使用nobody进行反馈。如果nobody对文件目录什么的都有权限,那么就没问题。

我们的目录文件权限基本都是640。。。。。

论坛徽章:
0
15 [报告]
发表于 2009-07-30 15:07 |只看该作者
我的也是640

论坛徽章:
2
丑牛
日期:2014-06-11 13:55:04ChinaUnix元老
日期:2015-02-06 15:16:14
16 [报告]
发表于 2009-07-30 15:17 |只看该作者

回复 #14 xuguopeng 的帖子

以前打补丁都是用root打的,不过没印象具体这个成不

论坛徽章:
0
17 [报告]
发表于 2009-07-30 15:58 |只看该作者
难道是偶人品有问题?就我用root装不上?

论坛徽章:
0
18 [报告]
发表于 2009-07-30 16:05 |只看该作者

回复 #17 xuguopeng 的帖子

怎么会? 你能新建install安装成功,说明你的RP那是相当的高! 艳慕ing。。。。。。

论坛徽章:
0
19 [报告]
发表于 2009-07-31 10:18 |只看该作者
install的UID是0。。。。。。。。。。。。。。邪门了。。。。不管怎么样打上了就好~~
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP