AIX系统软硬件问题征兆与解决办法

上传人:xmg****18 文档编号:217076295 上传时间:2021-11-30 格式:DOC 页数:27 大小:111KB
返回 下载 相关 举报
AIX系统软硬件问题征兆与解决办法_第1页
第1页 / 共27页
AIX系统软硬件问题征兆与解决办法_第2页
第2页 / 共27页
AIX系统软硬件问题征兆与解决办法_第3页
第3页 / 共27页
AIX系统软硬件问题征兆与解决办法_第4页
第4页 / 共27页
AIX系统软硬件问题征兆与解决办法_第5页
第5页 / 共27页
点击查看更多>>
资源描述

《AIX系统软硬件问题征兆与解决办法》由会员分享,可在线阅读,更多相关《AIX系统软硬件问题征兆与解决办法(27页珍藏版)》请在金锄头文库上搜索。

1、. .第一部分、系统启动问题cfgmgr : configures devices and optionally installs device software into the systemlast : display all the previous logins and logoffs that still have entries in /var/adm/wtmp fileuptime : show how long the system has been up要在maintenance mode作 installing new or updated software and run

2、ning diagnostic checksalog : trace the boot process and find out if sht went wrong,alog命令调用rc.boot脚本将启动信息导入/var/adm/ras/bootlog中# alog -L 显示定义在alog Database中的logs# alog -o -t 显示启动日志cfgmgr命令:在系统启动阶段,cfgmgr命令配置对使用系统必须的所有设备系统启动包括两个阶段:阶段一: cfgmgr f 一旦系统启动就不能运行了阶段二: cfgmgr s ( second boot phase for norma

3、l boot )阶段三: cfgmgr p ( second boot phase for service boot )# cfgmgr i /usr/sys/inst.images 该命令尝试自动安装设备的软件 FOR 新检测到的设备-I 选项指定安装的媒质在哪里在此处有一个seq field ,该field 是一个整数指定了优先权,值越小,优先级越高,0的优先级最低,1的优先级最高# cfgmgr l scsi0 ( 配置检测到的连接到SCSI0适配卡的设备 )-如果你想查找root用户什么时候logged on and off from the console # last root c

4、onsole如果你想决定系统上次shutdown是什么时候# last shutdown为了显示一个启动列表# bootlist m normal o如果你想改变你的启动列表# bootlist m normal fd0 hdisk0 cd0注意:加到bootlist的每一个设备必须处于Avalable的状态如果你怀疑你的系统被shutdown或restarted,你可以使用uptime命令去查明,uptime命令显示系统已经运行了多长时间# mpcfg df To find out what the status is of your diagnostic flags# mpcfg cf 1

5、1 1 如果你想Fast IPL system,你可以改变diagnostic flag的值注意: mpcfg 和 service information相关shutdown -v 或 h Halt the operating system completely-k Avoids shuting down the system-m Bring the system down to maintenance mode-I specifies interactive mode , Display interactive messages to guide the user through the s

6、hutdown注意 : /etc/rc.shutdown文件由 /usr/sbin/shutdown script调用来关闭在关机的时候想中断的进程,该文件的必须是可执行的才能被正确调用安装媒质有问题的征兆:1、安装时意外挂起 2、 无法从介质读数据 3、意外重起如果安装媒质没有问题的话,在你的系统中两个设备可能共享一样的SCSI地址LED Error CodeLED 201 - Damaged boot image解决方法:1、访问你的rootvg ( 进入 system maintenance 模式 )2、检查 / 和 /tmp文件系统,看看他们是否已经满了,如果是创建更多的空间3、决定

7、bootdisk 通过用命令 lslv m hd54、重新创建 boot image 使用 bosboot a d /dev/hdisk05、检查 CHECKSTOP errors in the error log , 如果这样的错误发现的话可能是失败的硬件6、关机 重起LED 223-229 - Invalid boot list 1、决定启动磁盘 lslv m hd52、创建新的bootlist 使用 bootlist命令LED 551,555,and 557 - Errors Including corrupted file system and corrupted JFS log1、进

8、入维护模式 access rootvg before mounting and file system2、fsck y /dev/hd1 fsck y /dev/hd2 fsck y /dev/hd3 fsck y /dev/hd4 fsck y /dev/hd9var3、再次Format the JFS log/usr/sbin/logform /dev/hd84、使用 lslv m hd5 去决定 boot disk5、重新创建boot image bosboot a d /dev/hdisk0 LED 552,554,and 556 - Super block corrupted or

9、corrupted customized ODM databaseFsck1、Repeat steps 1 and 2 for LEDs 551 555 and 5572、If fsck inidicates that block 8 is corrupted, the super block for the file system is cororupted and needs to be repaired , Enter the command :Dd count=1 bs=4k skip=31 seek=1 if=/dev/hdn of=/dev/hdn3、rebuild your JF

10、S log by using the command :/usr/sbin/logform /dev/hd84、if this solves the problem, stop here otherwise ,continue with step 55、Your ODM database is corrupted ,restart your system and 进入 maintenance mode6、Mount the root and usr file system Mount /dev/hd4 /mntMount /usr7、copy system configuration to a

11、 backup directorymkdir /mnt/etc/objrepos /backupcp /mnt/etc/objrepos/Cu* /mnt/etc/objrepos /backupLED 553 - corrupted /etc/inittab file1、进入系统维护模式2、检查 / /var /tmp 使用 df命令3、检查 /inittab文件4、检查 execution problems/etc/environment/bin/sh/bin/bsh/etc/fscketc/profile/.profile5、shutdown and reboot第二部分、硬件相关为了列

12、出系统中的磁带(盘),使用 # lsdev C c tape(disk)列示在预定义ODM数据库中的设备 # lsdev P H列示在定制定义ODM数据库中的设备 # lsdev C H# lspv 显示在系统中的每一个PV along with its physical disk name ,PVID,and with VG it belongs to.# lspv pvname 仅仅显示该PV的信息 eg: # lspv hdisk0 # lspv p hdisk0 列示 range , state , region , LV name , type , and mount point f

13、or each PP on the PVcfgmgr 配置设备在软件层SMS检查和配置系统在硬件层如何进入SMS:1、关机2、如果需要的话插入 SMS 软盘 ,启动机器3、Press F1 得到一个图形化的 SMS菜单或 Press F4去得到一个ASCII SMS菜单( 要眼疾手快 ) 你可以改变访问的口令在SMS菜单,从而只有授权的人才可以访问SMS工具,但如果你忘了这个口令,唯一的解决方法是给主板放电(将电池拿掉)当显示一个定制设备的有效属性时,信息的获得是从 Configuration daabase 而不是设备本身,一般来说,chdev with P or T flag 将刷新设备的

14、配置,如果没有的话,lsattr 命令显示设备的信息有可能是不准确的,一直到重起后 # lsattr El rmt0 显示磁带的当前的属性 # lsattr l rmt0 D 显示磁带默认的属性 # lsattr l scsi0 a bus_intr_lvl E # lsattr l tty0 a login R To list possible values of the login attribute for the TTY device tty0# smitty devices 该命令可以使用smit菜单1、安装或配置设备(在IPL之后)2、删除设备3、列示存在的设备4、改变或显示设备的

15、属性5、执行设备相关的问题的决定# /usr/lib/errdemon 启动errdemon# /usr/lib/errdemon l 决定系统错误日志文件的路径# errpt 产生错误报告 # errpt a # errpt a s 0828093001# errpt a j AA8AB241(最后为 error identifier )# errloger 命令允许你记录管理员的信息到系统错误日志中# diag 执行硬件问题诊断AIX使用syslogd记录系统的信息,在这里有一个/etc/syslog.conf配置文件,该文件控制syslogd进程的行为,系统日志应该被升级通过编辑/etc/syslog.conf文件,在你编辑并增加了条目在/etc/syslo

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 商业/管理/HR > 其它文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号