solaris x86 打不上补丁,请教高手

tender_hui 2007-10-04 03:59:35
我打补丁的步骤
下载了 10_x86_Recommended.ZIP
cp 10_x86_Recommended.ZIP /tmp
unzip /tmp/10_x86_Recommended.ZIP
按照README的说明
cd /tmp/10_x86_Recommended
运行 ./install_cluster
出现
Patch cluster install script for Solaris 10_x86 Recommended Patch Cluster

Special handling may be required for some of the patches in
this cluster. Please refer to the CAUTION section in the
cluster README for further instructions on how to proceed.

This section also contains a passcode that will need to be
provided below to allow the install_cluster script to continue
running.

Please enter passcode:
与README上说的不一样啊.是什么原因!!
...全文
223 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
tender_hui 2007-10-12
  • 打赏
  • 举报
回复
谢谢问题解决了.
hefuhua 2007-10-06
  • 打赏
  • 举报
回复
Solaris 10补丁的安装方法及返回值含义


Solaris 10补丁安装方法
1.从http://sunsolve.sun.com, http://sunsolve.sun.com/show.do?target=patches/patch-access下载最新的10_x86_Recommended.zip(For X86)或10_Recommended.zip(for SPARC)。
2.拷贝到/tmp目录下,解压得到目录如/tmp/10_x86_Recommended。
3.在/tmp/10_x86_Recommended目录下运行./install_cluster,如果询问密码就到/tmp/10_x86_Recommended/CLUSTER_README中找。
4.删除/tmp/10_x86_Recommended目录及补丁文件。
5.重新启动计算机,reboot。

如果单个补丁,可以使用"patchadd 补丁文件名"的方式安装。
有些补丁包含的目录路径很深,安装时会出现“找不到文件”的错误,所以建议将补丁放到/tmp安装。


错误号一般是2或8,属于正常现象。
Solaris Patch Return Codes
When adding patched to a solaris box you sometime get these error messages esp. 2 and 8 and sometimes 5 and 25. Here's what the all mean.

0 No error
1 Usage error
2 Attempt to apply a patch that's already been applied[/td]
3 Effective UID is not root
4 Attempt to save original files failed
5 pkgadd failed
6 Patch is obsoleted
7 Invalid package directory
8 Attempting to patch a package that is not installed
9 Cannot access /usr/sbin/pkgadd (client problem)
10 Package validation errors
11 Error adding patch to root template
12 Patch script terminated due to signal
13 Symbolic link included in patch
14 NOT USED
15 The prepatch script had a return code other than 0.
16 The postpatch script had a return code other than 0.
17 Mismatch of the -d option between a previous patch install and the current one.
18 Not enough space in the file systems that are targets of the patch.
19 $SOFTINFO/INST_RELEASE file not found
20 A direct instance patch was required but not found
21 The required patches have not been installed on the manager
22 A progressive instance patch was required but not found
23 A restricted patch is already applied to the package
24 An incompatible patch is applied
25 A required patch is not applied
26 The user specified backout data can't be found
27 The relative directory supplied can't be found
28 A pkginfo file is corrupt or missing
29 Bad patch ID format
30 Dryrun failure(s)
31 Path given for -C option is invalid
32 Must be running Solaris 2.6 or greater
33 Bad formatted patch file or patch file not found
34 The appropriate kernel jumbo patch needs to be installed

http://www.unix-center.net/bbs/redirect.php?tid=1584&goto=lastpost
tender_hui 2007-10-06
  • 打赏
  • 举报
回复
那应该怎样打补丁呢??请教
hefuhua 2007-10-04
  • 打赏
  • 举报
回复
提示按回车跳过不行..

1,543

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 Solaris
社区管理员
  • Solaris
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧