Chinaunix首页 | 论坛 | 博客
  • 博客访问: 356812
  • 博文数量: 93
  • 博客积分: 3010
  • 博客等级: 中校
  • 技术积分: 879
  • 用 户 组: 普通用户
  • 注册时间: 2006-04-06 23:29
文章分类

全部博文(93)

文章存档

2014年(2)

2011年(1)

2010年(2)

2009年(6)

2008年(6)

2007年(13)

2006年(63)

我的朋友

分类:

2006-09-01 01:07:57

从IBM网站下载了ML,原来oslevel是5300,安装过程出现故障和解决过程。
1、ftp把下载到的bff文件全部传到服务器。
2、使用smit installp 安装。
  内容指定1、bff所在目录;2、全部更新(_UPDATE_ALL);
3、安装完成后报FAILED,解决过程如下:
a、确定故障点
看stderr发现是下面3个文件安装失败
X11.motif.lib               5.3.0.30        USR         APPLY       FAILED    
X11.motif.lib               5.3.0.30        USR         CLEANUP     SUCCESS   
X11.motif.mwm               5.3.0.30        USR         APPLY       FAILED    
X11.motif.mwm               5.3.0.30        USR         CLEANUP     SUCCESS   
X11.samples.apps.clients    5.3.0.30        USR         APPLY       FAILED
b、确定原因
继续翻错误信息看到这段:
restore: 0511-147 Unpacking file size error.
The original size of ./usr/lpp/X11/lib/R6/Motif2.1/inst_updt/libXm.a/shr4.o is 2597565;
restored size is 2597538.
restore: 0511-708 There is an internal unpacking error: decode failure
restore: 0511-121 Out of space.
0503-700 inurest:  Error in restoring files
0503-037 inurest:  Failure on system call to execute command /usr/sbin/restbyname -S  -
xYAqf/ora_db/cp/disk1/424.bff -Z /tmp/inutmpa7moEa/sorted.al.
0503-464 installp:  The installation has FAILED for the "usr" part
 of the following filesets:
 X11.motif.lib 5.3.0.30
并且这3个fileset都报相同的错误,按提示应该是解压失败也就是有可能传输出问题了。
c、确定方案
从上面情况看,判断可能传输出问题,重传然后安装。
d、确定这3个fileset从那里来。
 确定方案就开始,但是问题有来了。 提示是3个fileset错误,但是下载到的源文件是几百个bff
文件啊。么办,虽然用installp命令逐个包打开检查这个文件理论上是可以的。但是没有实际意义。这时
候想起了.toc文件,这个文件就会标识出那些fileset在那个bff包中,为了避免过期.toc干扰,先rm
.toc,然后使用inutoc .命令重建一次。然后vi打开搜索3个fileset。呵呵,很快找到了。
X11.motif.lib 424.bff
X11.motif.mwm 425.bff
X11.samples.apps.clients 427.bff 

e、ftp重传这3个fileset。
f、再次安装
smit install 指定bff目录;需要安装的文件集,然后点接受,问题有来了,还是报安装Faild,详细看
看stterr,如下:
FAILURES
--------
  Filesets listed in this section failed pre-installation verification
  and will not be installed.
 
  BROKEN Filesets
  ---------------
  The following selected fileset updates are currently in the BROKEN state.
 
    X11.motif.lib 5.3.0.30                    # AIXwindows Motif Libraries
 
  Alternative actions that can be used to correct broken filesets are:
  1. If the broken fileset is an update, re-install the update with options
     to the installation program that will apply, commit and automatically
     install requisite software without saving replaced files:  -acgN flags.
  2. Re-install the entire fileset, i.e., the base level and any desired
     updates (may need to use the "FORCE" option: -F flag).
  3. Deinstall the entire fileset (using "Remove Software Products":
     -u flag).
看到这3个文件集状态都是BROKEN 。
开始走了弯路,使用installp -u X11.motif.lib 5.3.0.30 命令尝试删除这个fileset,但是一直报依赖
的fileset不允许删除此fieset,后来认真看错误,才看到上面这段,原来是这个时候smit无能为力了。
只能是使用command link方式安装。
g、最后解决
按提示使用下面命令:
$installp -acgNd bff path filesetname
就完成了。
h、一点留意的
1、installp g参数必须跟着ac同时使用的。这样就无法reject到原来的版本了。为何这样呢?原因是默
认情况下安装程序会restore旧版本的fileset,但是上次安装失败之后就无法保存了。
 
4、一点疑问
尝试把一张光盘通过光驱直接读入RS6000上,可能光盘或者光驱读盘不好了。竟然用了2个小时1张盘。
后来通过pc直接ftp传过去,1张盘不超过10分钟。正常情况下2者用时到达有多大的差异呢?
 
5、暂告一段落,睡觉zzzZZZZZ
 

 
阅读(3366) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~