aix系统软硬件问题征兆及解决办法

上传人:第*** 文档编号:33965213 上传时间:2018-02-19 格式:DOC 页数:26 大小:154.50KB
返回 下载 相关 举报
aix系统软硬件问题征兆及解决办法_第1页
第1页 / 共26页
aix系统软硬件问题征兆及解决办法_第2页
第2页 / 共26页
aix系统软硬件问题征兆及解决办法_第3页
第3页 / 共26页
aix系统软硬件问题征兆及解决办法_第4页
第4页 / 共26页
aix系统软硬件问题征兆及解决办法_第5页
第5页 / 共26页
点击查看更多>>
资源描述

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

1、AIX 系统软硬件问题征兆及解决办法第一部分、系统启动问题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

2、 software and running 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 ( s

3、econd boot phase for normal 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

4、 off from the console # last root console如果你想决定系统上次 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

5、 status is of your diagnostic flags# mpcfg cf 11 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 i

6、nteractive messages to guide the user through the shutdown注意 : /etc/rc.shutdown 文件由 /usr/sbin/shutdown script 调用来关闭在关机的时候想中断的进程,该文件的必须是可执行的才能被正确调用安装媒质有问题的征兆:1、安装时意外挂起 2、 无法从介质读数据 3、意外重起如果安装媒质没有问题的话,在你的系统中两个设备可能共享相同的 SCSI 地址LED Error CodeLED 201 - Damaged boot image解决方法:1、访问你的 rootvg ( 进入 system main

7、tenance 模式 )2、检查 / 和 /tmp 文件系统,看看他们是否已经满了,如果是创建更多的空间3、决定 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 - Erro

8、rs Including corrupted file system and corrupted JFS log1、进入维护模式 access rootvg before mounting and file system2、fsck y /dev/hd1fsck y /dev/hd2fsck y /dev/hd3fsck y /dev/hd4fsck y /dev/hd9var3、再次 Format the JFS log/usr/sbin/logform /dev/hd84、使用 lslv m hd5 去决定 boot disk5、重新创建 boot image bosboot a d /d

9、ev/hdisk0 LED 552,554,and 556 - Super block corrupted or 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=4

10、k skip=31 seek=1 if=/dev/hdn of=/dev/hdn3、rebuild your JFS 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 Moun

11、t /dev/hd4 /mntMount /usr7、copy system configuration to a 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/et

12、c/fscketc/profile/.profile5、shutdown and reboot第二部分、硬件相关为了列出系统中的磁带(盘),使用 # 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 hd

13、isk0 列示 range , state , region , LV name , type , and mount point for each PP on the PVcfgmgr 配置设备在软件层SMS 检查和配置系统在硬件层如何进入 SMS:1、关机2、如果需要的话插入 SMS 软盘 ,启动机器3、Press F1 得到一个图形化的 SMS 菜单或 Press F4 去得到一个 ASCII SMS 菜单( 要眼疾手快 ) 你可以改变访问的口令在 SMS 菜单,从而只有授权的人才可以访问 SMS 工具,但如果你忘了这个口令,唯一的解决方法是给主板放电(将电池拿掉)当显示一个定制设备的有

14、效属性时,信息的获得是从 Configuration daabase 而不是设备本身,一般来说,chdev with P or T flag 将刷新设备的配置,如果没有的话,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

15、 tty0# smitty devices 该命令可以使用 smit 菜单1、安装或配置设备(在 IPL 之后)2、删除设备3、列示存在的设备4、改变或显示设备的属性5、执行设备相关的问题的决定# /usr/lib/errdemon 启动 errdemon# /usr/lib/errdemon l 决定系统错误日志文件的路径# errpt 产生错误报告 # errpt a # errpt a s 0828093001# errpt a j AA8AB241(最后为 error identifier )# errloger 命令允许你记录管理员的信息到系统错误日志中# diag 执行硬件问题诊断

16、AIX 使用 syslogd 记录系统的信息,在这里有一个/etc/syslog.conf 配置文件,该文件控制syslogd 进程的行为,系统日志应该被升级通过编辑/etc/syslog.conf 文件,在你编辑并增加了条目在/etc/syslog.conf 文件,你需要重新启动 syslogd 进程# smitty tty 增加一个 TTY第三部分、系统和软件的安装为了安装 BOS,应该启动系统进入 Maintenance mode三种安装方法的区别:(1)New and Complete Overwrite Installation情形一、一台新的机器情形二、你想安装到那个硬盘(包含在一个已经存在的卷组)你想完全覆盖掉,或者rootvg 已经损坏 情形三、你想重新分配你的硬盘,

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

当前位置:首页 > 办公文档 > 解决方案

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