Chinaunix首页 | 论坛 | 博客
  • 博客访问: 91766629
  • 博文数量: 19283
  • 博客积分: 9968
  • 博客等级: 上将
  • 技术积分: 196062
  • 用 户 组: 普通用户
  • 注册时间: 2007-02-07 14:28
文章分类

全部博文(19283)

文章存档

2011年(1)

2009年(125)

2008年(19094)

2007年(63)

分类:

2008-04-20 11:23:46

作者:xhc19821002  出处:bbs.loveunix.net  
如何查看CPU的时间片的大小 

环境  产品:AIX V4 
平台:RS/6000  
问题  如何查看CPU的时间片的大小  
解答 使用命令:schedtune 
此命令在bos.adt.samples软件包中,安装后在目录/usr/samples/kernel中. 


恢复文件系统超级块 

环境  产品:AIX V4  
问题  如何恢复文件系统超级块  
解答 当文件系统的超级块被破坏后,对文件系统进行操作会提示superblock dirty,这时需恢复超级块,运行 
dd count=1 bs=4k skip=1 seek=31 if=/dev/lv?? of=/dev/lv?? 
可以恢复.lv??是相应的文件系统对应的逻辑卷名字 


在同网段内同步时间 

环境  AIX V4  
问题  如何在同网段内同步时间  
解答 在同一网段内,可通过timed来同步时间, 
在server端: startsrc -s timed -a "-M" 
在client端: startsc -s timed 


tar备份链接文件 

环境  产品:AIX  
版本:V4  
问题  如何用tar备份链接文件  
解答  用tar备份链接文件时,缺省时只备份链接,用-h选项可以将链接所指的文件一同备份进去. 


在RS6000上,当使用新的7210-025  
DVD-RAM 来备份卷组时,可以跨多个CD写文件吗? 

环境  RS6000 AIX 4.3.3/5.1  
问题  在RS6000上,当使用新的7210-025 DVD-RAM 来备份卷组时,可以跨多个CD写文件吗?  
解答 当使用 AIX V4.3.3 or AIX V5.1中的 "mkcd" 命令时,如果需要,用户会被提示插入附加的介质。在AIX mkcd 命令的文档中有这样的描述: "如果你需要建立多卷的CD(因为卷组的映想在一张CD中放不下), mkcd 会给出指示让你换盘,直到所有的盘都生成完。)  
  

  

  


设置以太网卡时选择全双工还是半双工? 

环境  产品:AIX V4  
问题  设置以太网卡时选择全双工还是半双工?  
解答 Full Duplex allows you to send and 
receive packets at the same time. Were half duplex 
only allows you to send or receieve. If you are receiving  
you can not send until you are done receiving and vis versa.  

The way to know which setting to use is if your machine 
is connected to a switch use Full Duplex. If the machine  
is connected to a hub then you use half Duplex.  


运行iostat -d 命令系统返回警告提示 
" Disk history since boot not available. " 

环境  产品 AIX 
平台 RS 
软件版本 AIX V4  
问题  运行iostat -d 命令系统返回警告提示 Disk history since boot not available.   
解答 这是因为没有激活系统统计disk I/O历史数据的功能,可用以下命令打开此项: 
#chdev -l sys0 -a iostat = true 



怎样确定当前系统是32位或64位? 

环境  产品 AIX 
平台 RS 
软件版本 AIX V4.3.3  
问题  怎样确定当前系统是32位或64位?  
解答 1. #bootinfo -y   
若返回: 32, 则说明是32位机器(CPU)  
若返回: 64, 则说明是64位机器(CPU)  
2. #genkex | grep 64.ext  
若返回类似"149bf58 a3ec /usr/lib/drivers/syscalls64.ext", 则当前AIX内核是64位的  






AIX Version 4.3 Bonus Pack - 2001年4月版 

环境  产品: AIX 
平台: RS 
版本: AIX V4.3  
问题  AIX Version 4.3 Bonus Pack - 2001年4月版  
解答 产品名称及版本  
Adobe- Acrobat- Reader 4.05  
AIX Certificate and Security Support Version 4.0  
IBM AIX Developer Kit, Java - 2 Technology Edition, Version 1.3  
Chili!Soft ASP- Version 3.6, Evaluation Software  
IBM DB2- Universal Database- Version 7.1 and Online Analytical Processing (OLAP) Starter Kits  
AIX Fast Connect Version 2.1.2, Evaluation Software  
Geodesic Systems Great Circle-;Enterprise Version 4.1.0.0, Try and Buy  
GraphOn GO-Joe- Version 2.2.0.0   
IBM IP Security, Version 4.3.3 (40-bit, 56-bit, Triple DES encryption)   
Java- Media Framework 1.1.0.1  
Netscape- Communicator 4.76 (128-bit encryption)   
Network Authentication Services Version 1.1 (56-bit encryption)  

http://www.developer.ibm.com:8080/devcon/kerberosarticle.htm  
SecureWay Directory Version 3.2.1   
SecureWay-SSL V3.3 (56-bit encryption)  
SecureWay-SSL V4.0 (56-bit encryption)  
SecureWay Directory Client And Server Utilities For Maximum Encryption V3.1.1 (128-bit, Triple DES encryption)   
SecureWay Directory Client And Server Utilities For Maximum Encryption V3.2.1 (128-bit, Triple DES encryption) includes a Software Developer Kit (SDK) which provides 128-bit encryption supporting Java Naming and Directory Interface (JNDI).   
SecureWay Directory Client Software Development Kit Encryption V3.1.1 (128-bit encryption)  
SCO Tarantella- Version 1.4.1 Evaluation Software  
System V Commands and Tools for AIX Version 1.0  
IBM techexplorer Hypermedia Browser, Introductory Edition, Version 3.0, plug-in (packaged with Netscape)  
Tools to build secure Java applications (includes encryption)  

http://www.rsasecurity.com/rsalabs/pkcs  


The Kernel Group's ZeroFault- Dynamic Debugger Version 2.5, Evaluation Software  
Tivoli- Management Agent Version 3.2  
IBM Ultimedia Services  2.3  
IBM Web-based System Manager Security Version 4.3.3 (40-bit, 128-bit encryption)  
IBM WebSphere- Application Server Version 3.5, Standard Edition with IBM HTTP Server Version 1.3.12 (128-bit encryption)  
(for application server)   
(for http server)   




AIX V4.3支持超过2GB大文件 

环境  产品 AIX 
平台 RS/6000 
软件版本 AIX V4.3 or later  
问题  怎样使AIX V4.3支持超过2GB大文件  
解答 1. 编辑文件/etc/security/limits,设置参数fsize = -1  
2. 创建大文件系统:  
  smit fs -->;Add a Journaled File System -->; Add a Large File Enabled Journaled File System  
3. 用户logout ,然后login.  

  

  

  


如何在AIX4.3.3中启动或停止dhcpcd 

环境  AIX 4.3.3  
问题  如何在AIX4.3.3中启动或停止dhcpcd  
解答 在AIX4.3.3中,DHCP的控制不在/etc/rc.net文件中了。可通过smit界面来启动或停止 
dhcpcd.如下: 

#smit dhcpcd 


编辑超大文本文件 

环境  AIX V4  
问题  如何用vi编辑超大文本文件  
解答 vi缺省能编辑的最大文件不能超过1048560行,如果需要编辑更大的文件,用-y参数可以指定行数,如vi -y 2000000. 


在根目录(/)下执行了rm *,如何恢复系统 

环境  产品 AIX 
平台 RS/6000 
软件版本 AIX V4  
问题  在根目录(/)下执行了rm *,如何恢复系统  
解答 1. 从引导介质(bootable CD-ROM or bootable tape)起动系统。 

2.选择 Start Maintenance Mode for System Recovery (Option 3),进入维护菜单.然后依次再选择如下: 

a.Access a Root Volume Group (Option 1).   
b.0 continue and Select Volume Group by number.  
c.Access this volume group and start a shell before mounting the file systems (Option 2).   

3.检查并mount根文件系统 

# fsck -y /dev/hd4  
#mount /dev/hd4 /mnt  

4.重建删除的文件和目录  

#cd /mnt  
#ln -s /usr/bin bin  
#ln -s /usr/lib/boot/unix_up unix 或 #ln -s /usr/lib/boot/unix_mp unix  
#ln -s /usr/lib lib  
#ln -s /home u   

5.重起系统 

#cd /   
#umount /dev/hd4   
#exit   
#sync;sync;sync  
#shutdown -Fr  


  


怎样创建固定大小的临时大文件 

环境  产品 AIX  
平台 RS/6000 
软件版本 AIX V4  
问题  怎样创建临时大文件  
解答  #/usr/sbin/lmktemp filename filesize 



smit.log 与 smit.script 文件 

环境  产品: RS6000 
平台: AIX  
问题  smit.log 与 smit.script 文件  
解答 smit 是一个菜单式系统管理界面,它包括设备,用户,网络,文件系统等等的管理。Smit 是 system management interface tool 的缩写。使用smit命令可以避免敲入很长,很复杂的命令。但不是所有的命令及它们的选项都可以通过smit执行的, 它包括的是一些常用的命令及选项。要想知道smit最终执行的命令可以在菜单中按ESC+6. 

Smit 在执行时会产生两个文件:smit.log 和 smit.script。smit.log 文件中记录着进入的每层菜单和执行的结果。Smit.script 文件中记录着执行的命令及选项。这两个文件存放在用户的主目录($HOME)下。使用-s选项可以改变smit.log文件存放的位置。使用-l 选项可以改变smit.script文件存放的位置。 

当你的系统空间不够且你不需要这两个文件的内容时,可将这两个文件清空。 




如何减少文件系统中的碎块 

环境  产品:RS/6000 
平台: AIX V4  
问题  如何减少文件系统中的碎块?  
解答 当一个文件系统中有很多小的碎块时,虽然文件系统看起来有很多空间,但不能存储大的文件。用defragfs命令可以减少文件系统中的碎块,增加连续空间。用法如下: 

# defragfs /var 
defragfs有两个选项: 
-q: 显示文件系统当前的状态。 
-r: 显示文件系统当前及如果运行defragfs命令将要变成的状态。 


AIX中对软盘操作的DOS兼容命令 

环境  产品: AIX 
平台: RS 
版本: AIX V4  
问题  AIX中对软盘操作的DOS兼容命令  
解答 下面是AIX中一些对软盘操作的DOS兼容命令: 


a. 将软盘格式化成DOS 格式  
# dosformat -D /dev/fd0 

b. 从软盘上读DOS 文件到主机里的UNIX 文件 
# dosread -D /dev/fd0 /myfile /home/myfile 

c. 拷贝主机里的UNIX文件到软盘上的DOS文件, 这时软盘上的文件为DOS 格式,可用任何DOS编辑器进行编辑。 
# doswrite -D /dev/fd0 /home/myfile /myfile 

d. 查看软盘上DOS 格式的文件 
# dosdir -D /dev/fd0  

  

  

  


查看系统启动信息(alog) 

环境  版本: AIX V4  
问题  查看系统启动信息(alog)  
解答 操作系统在启动时会在主控台屏幕上显示一些信息。启动后,你仍可以用alog 命令查看这些信息以及其它没有在屏幕上显示的启动信息,命令如下: 

    # alog -o -t boot 


如何查看多用户系统中其它终端的属性 

环境  AIX V4  
问题  如何查看多用户系统中其它终端的属  
解答 用下面命令可查看多用户系统中其它终端的属性 
     
# stty -a < /dev/ttyn 

其中,/dev/ttyn为你想要查看的终端号。 


查看SSA磁盘中pdisk与hdisk的对应关系 

环境  AIX V4   
问题  怎样查看SSA磁盘中pdisk与hdisk的对应关系?  
解答 ssaxlate命令显示pdisk与hdisk的对应关系. 

#ssaxlate -l LogicalDiskName 
#ssaxlate -l PhysicalDiskName 


如何看机器内的卡及硬盘的微码级别(microcode level) 

环境  平台:RS/6000 
软件版本:AIX 4.3  
问题  如何看机器内的卡及硬盘的微码级别(microcode level)  
解答 用下面命令可以得到一个SSA卡的微码级别:  
# lscfg -vl ssa0  
其中 ssa0 是此SSA卡的设备名称.  
输出结果中的ROS level及ID 即是微码级别(microcode level).  

用下面命令可以得到一个硬盘的微码级别:  
lscfg -vl pdiskX 


如何在dtterm中使用PageUp/PageDown 上下翻页 

环境  RS/6000 
软件版本:AIX V4  
问题  在dtterm窗口中使用PageUp/PageDown进行翻页,但不生效  
解答  在dtterm中,应使用 Shift+PageUp 和 Shift+PageDown 向上或向下翻页。 


如何禁止动态路由 

环境  产品:RS6000 
平台:AIX 
软件版本:V4.3  
问题  若想要禁止掉系统产生的动态路由,如何做?  
解答 1. 用命令 lssrc -s routed 和 lssrc -s gated 分别检查routed和gated子系统是否为活动状态。若任一子系统为活动状态,请用命令 stopsrc -s routed 或 stopsrc -s gated 将它们置为不活动状态。  
     
2.  用命令 no -a |grep ipignoreredirects 查看该值是否为1, 若不为1, 则用命令 no -o ipignoreredirects=1 将该值设置为1, 从而禁止动态路由。  
     
3. 可将命令 no -o ipignoreredirects=1 加入 /etc/rc.net 文件中,使该设置在系统重新启动后依然有效。  

  

  

  


无法删除文件系统 

环境  产品:RS6000 
平台:RS 
软件版本:AIX 4.3  
问题  可以mount或unmount一个文件系统,但却无法删除该文件系统,在删除时,系统报错:0516-306:get lvodm: unable to find ; in the device confgiguration data.  
解答 发生此错误的原因可能是ODM数据库中的定义与实际不一致。可以用命令 lsvg -l rootvg 检查该文件系统的类型,若类型显示为???,则用命令 synclvodm -P rootvg 和 syncvg -v rootvg 进行同步,之后再用命令 lsvg -l rootvg 显示出正确的文件类型。此时可以成功删除该文件系统。 


如何限制某些用户无法ftp至RS/6000服务器 

环境  产品:RS6000 
平台:RS 
软件版本:AIX 4.3  
问题  RS/6000的系统管理员想要限制某些用户无法ftp至RS/6000服务器, 如何做?  
解答 可通过以下两种方法进行限制: 

1. 直接编辑 /etc/ftpusers 文件,将被禁止进行ftp至本RS/6000服务器操作的用户名列在该文件中,每个用户名列一行。 

2. 通过SMIT菜单设置: 
smit --->; Communications Applications and Services --->; TCP/IP --->; Further Configuration --->; Server Network Services --->; Remote Access --->; Restrict File Transfer Program Users (/etc/ftpusers) --->; Add a Restricted User 


如何扩大文件系统的空间 

环境  平台:RS/6000 
软件版本:AIX V4  
问题  遇到文件系统空间已满的情况时,可用下述方法将其空间扩大。  
解答 1. 运行命令 

smit chfs  
--->; Change/Show Characteristics of a Journaled File System  
将光标移至需要修改的文件系统,并按下回车键,屏幕显示如下(下表中各字段值为示例):  
*******************************************************  
Change / Show Characteristics of a Journaled File System  
Type or select values in entry fields.    
Press Enter AFTER making all desired changes.    
  [Entry Fields]   
File system name /   
NEW mount point [/]   
SIZE of file system (in 512-byte blocks) [98304]   
Mount GROUP [bootfs]   
Mount AUTOMATICALLY at system restart? yes +  
PERMISSIONS read/write +  
Mount OPTIONS [/] +  
Start Disk Accounting? no +  
Fragment Size (bytes) 4096   
Number of bytes per inode 2048   
Compression algorithm no   
Large File Enabled false   
Allocation Group Size (MBytes) 8   
**************************************************************  
2. 将光标直接定位于“SIZE of file system (in 512-byte blocks) [98304]”,把此文件系统当前定义的总空间值(例中为98304)改为需要的大小(注意:这里填写的数值以512字节为单位),按下回车键,命令运行结束后修改后的文件系统空间值立即生效。此操作不需重启系统。  

3. 使用命令 

df -k  
可以查看修改后的文件系统空间值。  


  


PCI 两口多协议卡(2-Port Multiprotocol PCI Adapter 9-L)的配置方法 

环境  平台: RS/6000; 
软件版本: AIX 3.2.5 -- AIX 4.3.3  
问题  两口多协议卡(2-port PCI multiprotocol adapter)常被用于基于SNA协议的广域网的连接接口,本文介绍如何在AIX系统中配置此卡。  
解答 1. 安装驱动程序 


使用smit命令从AIX系统盘找出并安装下列驱动程序:  
devices.pci.331121b9.com IBM PCI 2-Port Multiprotocol  
devices.pci.331121b9.diag IBM PCI 2-Port Multiprotocol  
  Adapter (331121b9) Diagnostics  
devices.pci.331121b9.rte IBM PCI 2-Port Multiprotocol  

2. 运行命令  


# lsdev -Cs pci | grep 331121b9    
查看该卡的状态信息,命令输出如下:    
dpmpa0 Available 04-05 IBM 2-Port Multiprotocol Adapter    

3. 运行命令 

# lsdev -Cs 331121b9    
查看卡上端口的状态信息,命令输出如下:    
hdlc0 Available 04-05-00 IBM HDLC Network Device Driver    
hdlc1 Available 04-05-01 IBM HDLC Network Device Driver    

4. SDLC仿真端口的配置 

如果该卡用于SNA网络接口,需要安装软件包    
devices.common.IBM.hdlc.sdlc    
此软件包提供与MPQP驱动程序兼容的应用程序接口的支持。用户需要对每个hdlc端口配置SDLC COMIO 设备驱动程序的仿真设备。这可以通过smit 菜单完成。具体方法如下:  
在命令行输入:    
smitty sciesdlc_dd    
显示菜单如下:    
*****************************************************  
  Manage SDLC COMIO Device Driver Emulator   
Move cursor to desired item and press Enter.  
  Add a Device Driver  
  Change/Show Characteristics of an SDLC Device Driver  
  Remove a Device Driver  
  Configure a Defined Device Driver  
             
  F1=Help  F2=Refresh  F3=Cancel F8=Image  
  F9=Shell  F10=Exit Enter=Do   
*****************************************************  
   
选择“Add a Device Driver”将创建设备文件 “/dev/mpcX”(如/dev/mpc0, /dev/mpc1)。  
使用命令行:    
mkdev -c driver -s sdlc -t scie -a nddname=hdlc0    
mkdev -c driver -s sdlc -t scie -a nddname=hdlc1' command    
同样可以创建该设备文件mpc0 和mpc1。    
上述步骤完成后,系统对两口多协议卡的配置工作已经完成。用户可以针对所使用的网络协议做进一步配置。  




  

  


用户转换错误 

环境  产品:RS6000 
平台:RS 
软件版本:AIX 4.3  
问题  一个普通用户执行su命令切换到root或其他普通用户时,系统报错说权限被禁止(Authentication Denied).  
解答 产生该错误的原因是/usr/bin/su文件的权限不正确。请用如下命令检查该文件的权限: 
ls -l /usr/bin/su 
正确的权限应为:-r-sr-xr-x root security /usr/bin/su 
若权限不正确,用如下命令修改: 

cd /usr/bin 
chmod 4555 su 


杀进程的shell程序 

环境  AIX V4  
问题  用来杀掉由用户"user1"产生的进程的shell命令。  
解答  # kill -9 `ps -ef|grep user1|grep -v grep|awk '{print $2}'


怎样在AIX中Mount Redhat Linux上的nfs文件系统? 

环境  任何机型,操作系统 AIX 4.3.3,Redhat 6.2  
问题  当在R6上mount redhat linux的nfs时,系统报错: 
1831-008: Operation not permitted  
解答 当在R6上mount redhat linux的nfs时,系统报错: 
1831-008: Operation not permitted 


用nfso命令修改参数nfs_use_reserved_ports,如下: 
#nfso -o nfs_use_reserved_ports=1  
缺省时AIX的参数nfs_use_reserved_ports是0,而linux 
在响应客户的mount请求时,需要使用reserved_ports。 
修改参数后,故障排除。  


如何限制用户改变密码 

环境  RS6000,AIX V4   
问题  如何限制用户改变密码?  
解答 可以用命令pwdadm -f ADMIN username来实现,如果想让用户恢复更改密码的权利,运行pwdadm -f ADMCHG username 来重置. 


如何自动启动和关闭软件的运行 


环境  产品: AIX 
平台: RS  
问题  本文档讨论了如何定制系统, 以使用户定义的应用在系统引导过程中自动启动, 并在系统关闭时自动停止. 

解答 1. 自动启动定制的软件 
在系统引导时, init进程顺序检测/etc/inittab文件, 决定在引导过程中进行什么样的操作.如果应用, 进程或其它的用户操作需要在系统引导过程中进行, 则要在/etc/inittab文件中加入相应的条目.通常的做法是创建一个名为rc.local的脚本文件, 将所有要在系统引导过程中启动的用户应用写入该脚本文件中. 该脚本文件可以在/etc/inittab文件中被调用, 通常是在所有系统应用和服务启动后, 在用户登录被允许之前被调用. 位置通常是在主控登录的条目前. 
下面是一个例子: 
  rc.local:2:wait:/etc/rc.local >; /dev/console 2>;&1 
在上面的条目中, init将在执行余下的条目之前等待该脚本程序的完成.如果进程, 应用或命令需要通过特定的用户运行, 则可在运行的命令中加入su命令. 
如: su myuser "-c /usr/bin/myapp" 
建议在脚本程序中加入应用开始启动和完成启动的输出提示. 
如: 
  #!/bin/ksh  
  echo "Starting User Applications...."  
  echo "Starting Application XYZ"  
  su myuser "-c /usr/bin/myapp"  
  echo "Startup of User Applications completed"  
2. 自动停止定制的软件 
shutdown命令用于关闭AIX系统. 在此操作中会关闭所有AIX子系统及文件系统.如果名为/etc/rc.shutdown的脚本程序存在, 系统会首先执行该脚本程序中的命令. 在该脚本程序中可以加入关闭用户应用的命令. 建议在脚本程序中加入应用停止运行和完成停止运行的输出提示. 
如: 
  #!/bin/ksh  
  echo "Stopping User Applications...."  
  echo "Stopping Application XYZ"  
  [ commands to stop application ]  
  echo "Shutdown of User Applications completed"  


AIX4.3 的维护包(Maintenance Level) 及推荐维护包(Recommended Maintenance) 

内容 
提要  说明 
适用操作系统 
AIX 4.3 维护策略 
维护包(Maintenance Levels) 
推荐维护包(Recommended Maintenance)  
说明 本文描述了AIX4.3的维护策略以及作为一个对AIX 4.3维护包升级的通知。本文档在有新的升级维护包时将会被更新。 

最新的 AIX 4.3 维护包(Maintenance Level) 是: 4.3.3  
最新的 AIX 4.3.3 推荐维护包(Recommended Maintenance) 是: 4330-06  
最新的 AIX 4.3 Update CD is: 0011  

Maintenance Levels 和 Recommended Maintenance 可从FixDist中的 Base Maintenance Levels 得到。要得到更多的有关FixDist的信息, 请发邮件到 aixserv@austin.ibm.com 并以FixDist作为标题。 

Update CD包含了对严重问题的修正补丁,预防性的维护包,软件功能的增强,以及对新硬件的支持驱动程序。  


正文 适用操作系统 

AIX 4.3 


AIX 4.3 维护策略 
============= 

文件集(Filesets) 
---------------- 
AIX 4.3 分为文件集, 文件集中又包含了一组逻辑相关的文件。每个文件集可以被独立地分为安装的和升级的。 

对文件集的修订通过version, release, modification, and fix (VRMF) 来管理. 每次当文件集被升级后,fix的版本就会被调整。 
每次当maintenance level被升级后,modification level 的版本就会被调整,而fix的版本就会被置为0。 


维护包(Maintenance Levels) 
====================== 
维护包(简称ML) 由从AIX 4.3 的base level文件集更新后的一系列文件集组成。 
每个文件集的更新都是累计的,即它包含了AIX 4.3发布以来的所有那个文件集的补丁,并替换了所有以前的更新。 

维护包(ML)的命名规则是4位的 VRMF. 
V-version 
R-release 
M-modification 
F-fix  

AIX 4.3有3 个维护包(ML): 

  * ML 4310, 也叫做 AIX 4.3.1 
  * ML 4320, 也叫做 AIX 4.3.2 
  * ML 4330, 也叫做 AIX 4.3.3 

可以用oslevel来判定当前系统中的维护包版本。 


推荐维护包(Recommended Maintenance) 
================================= 
推荐维护包(简称RM)是由一系列适用于最新的ML的文件集组成的软件包,它由一系列经过实际测试过的更新的文件集组成, 
它提供了一种在两个完全ML之间来交付预防性的维护包的机制。 

推荐维护包(RM)的命名规则是4位的 VRMF,在加两位数字后缀: 
V-version 
R-release 
M-modification 
F-fix  

对于 ML 4330 有6个推荐维护包(RM): 

  * 4330-01 
  * 4330-02 
  * 4330-03 
  * 4330-04 
  * 4330-05 
  * 4330-06 

可以用以下的命令来判定是否4330-06已经安装在你的系统里,oslevel将仍然显示4.3.3.0,表示系统的ML仍是4330: 

  instfix -ik 4330-02_AIX_ML 

   


AIX4.3.2下安装显卡GXT130P 

环境  产品:RS6000 
平台:AIX 
版本:AIX 4.3.2  
问题  AIX4.3.2下安装显卡GXT130P  
解答 AIX4.3.2下安装显卡GXT130P 
这个版本不支持该显卡,需要去从UPDATE光盘(JUNE 1999 or later)上安装驱动程序,包括: 
devices.pci.2b102005.X11 4.3.2.0 
devices.pci.2b102005.rte 4.3.2.1 
devices.pci.2b101a05.X11 4.3.2.4 
devices.pci.2b101a05.rte 4.3.2.4  



/var/adm/wtmp文件保存所有用户登录的信息,随着时间会增长到很大,有时需要清理或编辑它,要清理它, 
运行cp /dev/null /var/adm/wtmp. 要部分清理,用fwtmp命令先将文件wtmp变成ASCII格式的文件 
dummy.file:/usr/sbin/acct/fwtmp < /var/adm/wtmp >; dummy.file,编辑之后用 
/usr/sbin/acct/fwtmp -ic < dummy.file >; /var/adm/wtmp再将ASCII文件转变成二进制文件. 显示设置启动引导顺序 

环境:(产品,平台,机型,软件版本,等) 

问题描述: 

解答:bootlist -m normal -o显示引导顺序,如hdisk0 cd0 
bootlist -m normal cd0 hdisk0更改引导顺序为cd0 hdisk0  
安装MAN 

环境  产品:RS6000 
平台:AIX  
问题  安装MAN  
解答 AIX上的帮助MAN需从文档盘上安装,所需要安装的文件集为: 
bos.html.en_US.cmds.cmds1 4.3.0.1 AIX Commands Reference 1 - U. 
bos.html.en_US.cmds.cmds2 4.3.0.1 AIX Commands Reference 2 - 
bos.html.en_US.cmds.cmds3 4.3.0.1 AIX Commands Reference 3 - 
bos.html.en_US.cmds.cmds4 4.3.0.1 AIX Commands Reference 4 - 
bos.html.en_US.cmds.cmds5 4.3.0.1 AIX Commands Reference 5 - U.S 
bos.html.en_US.cmds.cmds6 4.3.0.1 AIX Commands Reference 6 - 
bos.html.en_US.nav 4.3.0.1 Online Navigation - U. S. 
bos.html.en_US.topnav.navigate  


改变主机IP地址解析顺序 

环境  产品:RS6000 
平台:AIX  
问题  改变主机IP地址解析顺序  
解答 一般主机IP地址的解析顺序是DNS,NIS,本机host文件,改变这个顺序,需创建一个/ect/netsvc.conf文件,并在这个文件中加一行hosts=local,bind,nis,这样主机IP地址就先从本地文件开始搜索,其次再去DNS server,最后是NIS server,也可通过运行export NSORDER=bind,nis,local改变环境变量来改变顺序  


telnet提示"所有的网络端口已用" 

环境  产品:RS6000  
问题  telnet提示"所有的网络端口已用"  
解答 1.检查pty0是否可用:lsdev -Cl pty0 
2.检查telnet守护进程是否启动:lssrc -t telnet 
3.检查/etc/security/login.cfg中maxlogins是否不够大 
4.smitty pty检查最大可用终端是否够用 
5.no -a|grep thewall检查网络缓冲是否够用  


LED 223-229故障的解决 

环境  产品: AIX 
平台: RS 
机型: RS6000 
软件版本: V4  
问题  统无法正常启动,液晶面板LED显示223-229.  
解答 LED 223-229通常由非法引导列表顺序引起.应启动机器进入维护服务模式(对于较旧的微通道式机器,应将钥匙拧至维护模式后启动系统),更改引导列表顺序后,关机并重新启动系统.  


LED 553故障的解决 

环境  产品: AIX 
平台: RS 
机型: RS6000 
软件版本: V4  
问题  系统无法正常启动,液晶面板LED显示553.  
解答 LED 553通常是由于/etc/inittab文件系统被破坏引起的.应检查并修正这些遭到破坏的文件系统.  
具体步骤: 
1.启动,进入维护模式; 

2.用df命令检查根目录下,/var目录下和/tmp目录下的剩余空间; 

3.检查/etc/inittab文件,并修正inittab文件的错误; 

4.检查执行错误; 
  /etc/environment 
  /bin/bsh 
  /bin/fsck 

5.重新启动系统. 



AIX版本号释疑 

环境  产品: AIX 
平台: RS 
机型: RS6000 
软件版本: V4  
问题  AIX的版本号代表什么意思?  
解答 AIX的版本号的格式通常为AIX x.x.x.x.例如: AIX 4.3.3.1.其代表意义分别为: 
操作系统版本号(version).发行版号(release).改进版号(modification).修正版号(fix)   


/etc/preserve.list文件有什么用? 


环境  产品: AIX 
平台: RS 
机型: RS6000 
软件版本: V4  
问题   /etc/preserve.list文件有什么用? 

解答 /etc/preserve.list文件里包括有一个系统在BOS保留安装(preservation BOS installation)期间,所复制和保存的系统文件列表.  

LED 201故障的解决 


环境  产品: AIX 
平台: RS 
机型: RS6000 
软件版本: V4  
问题  系统无法正常启动,液晶面板LED显示201. 

解答 LED 201通常由引导镜像损坏引起.应检查 /and/tmp 文件系统.  
解决LED 201的具体步骤: 
1.键入: lslv -m hd5 来确定引导盘; 
2.键入: bostboot -a -d /dev/hdiskn 来重建引导镜像; 
3.关机并重新启动系统. 


LED 551,555和557故障的解决 


环境  产品: AIX 
平台: RS 
机型: RS6000 
软件版本: V4  
问题  系统无法正常启动,液晶面板LED显示551,555或557. 

解答 LED 551,555,557通常由文件系统被破坏或JFS日志被破坏引起.应检查并修正这些遭到破坏的文件系统.  
具体步骤: 
1.检查文件系统; 
  fsck -y /dev/hd1 
  fsck -y /dev/hd2 
  fsck -y /dev/hd3 
  fsck -y /dev/hd4 
  fsck -y /dev/hd9var 

2.重建JFS日志; 
  /usr/sbin/logform /dev/hd8 

3.键入 lslv -m hd5 来确定引导盘; 

4.重建引导镜像bosboot -a -d /dev/hdiskn; 

5.重新启动系统. 


LED 552,554和556故障的解决 


环境  产品: AIX 
平台: RS 
机型: RS6000 
软件版本: V4  
问题  系统无法正常启动,液晶面板LED显示552,554或556 

解答 LED 552,554,556通常由超级块(Super Block)被破坏或定制的ODM数据库被破坏引起.应检查并修正这些遭到破坏的文件系统.  
具体步骤: 
1.用备份的超级块(Super Block)替换被破坏超级块(Super Block),重建文件系统; 
  dd count=1 bs=4k skip=31 seek=1 if=/dev/hdn of=/dev/hdn 
  /usr/sbin/logform /dev/hd8 

2.加载(Mount)根文件系统和用户文件系统; 
  mount /dev/hd4 /mnt 
  mount /usr 

3.将系统配置拷贝到备份目录; 
  mkdir /mnt/etc/objrepors/backup 
  cp /mnt/etc/objrepors/Cu* /mnt/etc/objrepos 

4.从RAM文件系统复制出系统配置; 
  cp /etc/objrepos/Cu* /mnt/etc/objrepos 

5.卸载(Unmount)所有的文件系统; 

6.确定引导盘; 
  lslv -m hd5 command. 

7.保存新的ODM到根逻辑卷; 
  savebase -d/dev/hdiskn 

8.重新启动系统. 

如果系统仍无法正常启动,亦可重装BOS. 


如何替换损坏的镜像卷组硬盘? 


环境  产品: AIX 
平台: RS 
机型: RS6000 
软件版本: V4  
问题  如何替换损坏的镜像卷组硬盘? 

解答 要替换损坏的镜像卷组硬盘,应运行以下命令: 
# unmirrorvg workvg hdisk7 
# reducevg workvg hdisk7 
# rmdev -l hdisk7 -d 
# extendvg workvg hdisk7 
# mirrorvg workvg  

RS/6000液晶显示屏上显示代码(LED)的含义 

环境  平台:RS/6000 
版本:AIX 4.3  
问题  本文介绍RS/6000启动过程中机器上的液晶显示屏代码的含义。本文代码不针对具体机型。  
解答   ---------- Dump Progress Indicator ----------  
     
0c0 The dump completed successfully  
0c1 The dump failed due to an I/O error.  
0c2 A user-requested dump has started. You requested a dump using the SYSDUMPSTART command, a dump key sequence, or the Reset button.  
   
0c3 The dump is inhibit  
0c4 The dump did not complete. A partial dump was written to the dump device. There is not enough space on the dump deviceto contain the entire dump. To prevent this problem from occuring again, you must increase the size of your dumpmedia.  
   
   
0c5 The dump failed to start. An unecpected error occured while the system was attempting to write to the dump media.  
0c6 A dump to the secondary dump device was requested. Make the secondary dump device ready, then press CTRL-ALT-NUMPAD2.  
0c7 Reserved.  
0c8 The dump function is disabled. No primary dump device is configured.  
0c9 A dump is in progress.  
0cc Unknown dump failure  
     
     
  ---------- Diagnostics Load Progress Indicators -----------  
     
c00 AIX Install/Maintenance loaded successfully.  
c01 Insert the first diagnostic diskette.  
c02 Diskettes inserted out of sequence.  
c03 The wrong diskette is in the drive.  
c04 The loading stopped with an irrecoverable error.  
c05 A diskette error occurred.  
c08 RAM filesystem started incorrectly.  
c07 Insert the next diagnostic diskette.  
c09 The diskette drive is reading or writing a diskette.  
c20 An unexpected halt occured, and the system is configured to enter the kernel debug program instead of entering asystem dump.  
   
c21 The 'ifconfig' command was unable to configure the network for the client network host.  
c22 The 'tftp' command was unable to read client's ClientHostName.info file during a client network boot.  
c24 Unable to read client's ClientHostName.info file during a client network boot.  
c25 Client did not mount remote miniroot during network install.  
c26 Client did not mount the /usr filesystem during the network boot.  
c29 System was unable to configure the network device.  
c31 Select the console display for the diagnostics. To select "No console display", set the key mode switch to normal thento Service. The diagnostic program will then load and run the diagnostics automatically.  
   
c32 A direct-attached display (HFT) was selected.  
c33 a TTY terminal attached to serial ports S1 or S2 was selected.  
c34 A file was selected. The console messages store in a file  
c40 Configuration files are been restored.  
c41 Could not determine the boot type or device.  
c42 Extracting data files from diskette.  
c43 Diagboot cannot be accessed.  
c44 Initialyzing installation database with target disk information.  
c45 Cannot configure the console.  
c46 Normal installation processing.  
c47 Could not create a physical volume identifier (PVID) on disk.  
c48 Prompting you for input.  
c49 Could not create or form the JFS log.  
c50 Creating rootvg volume group on target disk  
c51 No paging space were found.  
c52 Changing from RAM environment to disk environment.  
c53 Not enough space in the /tmp directory to do a preservation installation.  
c54 Installing either BOS or additionnal packages.  
c55 Could not remove the specified logical volume in a preservation installation.  
c56 Running user-defined customization.  
c57 Failure to restore BOS.  
c58 Display message to turn the key.  
c59 Could not copy either device special files, device ODM, or volume group information from RAM to disk.  
阅读(946) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~