Chinaunix

标题: 我刚换了一个新电源,但是不知道什么原因,每隔12小时,就老报个电源错误。请教 [打印本页]

作者: lzxigua    时间: 2008-08-15 17:01
标题: 我刚换了一个新电源,但是不知道什么原因,每隔12小时,就老报个电源错误。请教
前几天电源坏了,更换了电源,但是每隔12小时还是有警告信息,DIAG检测又无问题。是不是要清楚一些残留message?如何清理,请教?谢谢
作者: hp9000a    时间: 2008-08-15 17:04
把inittab文件中(fail power)这一行给注释掉
作者: lzxigua    时间: 2008-08-15 17:05
怎么注释,直接删除吗?
作者: beacherer    时间: 2008-08-15 17:05
楼上正解
作者: beacherer    时间: 2008-08-15 17:06
标题: 回复 #3 lzxigua 的帖子
在行首加#表示注释,
删除掉该行也可以
作者: qingzhi76    时间: 2008-08-15 20:44
不是这样吧,
crontab -l 看看,是不是这里的原因
作者: makevin    时间: 2008-08-15 23:06
同意楼上
作者: yddll    时间: 2008-08-15 23:08
对,是crontab里的
就这点事,不至于去动inittab的
作者: myciciy    时间: 2008-08-16 09:17
原来如此啊 学习了
作者: chalylau    时间: 2008-08-16 16:23
原帖由 qingzhi76 于 2008-8-15 20:44 发表
不是这样吧,
crontab -l 看看




作者: autokyo    时间: 2008-08-19 14:33
原帖由 chalylau 于 2008-8-16 16:23 发表





# crontab -l
# @(#)08        1.15.1.3  src/bos/usr/sbin/cron/root, cmdcntl, bos510 2/11/94 17:19:47
#
# COMPONENT_NAME: (CMDCNTL) commands needed for basic system needs
#
# FUNCTIONS:
#
# ORIGINS: 27
#
# (C) COPYRIGHT International Business Machines Corp. 1989,1994
# All Rights Reserved
# Licensed Materials - Property of IBM
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
#0 3 * * * /usr/sbin/skulker
#45 2 * * 0 /usr/lib/spell/compress
#45 23 * * * ulimit 5000; /usr/lib/smdemon.cleanu > /dev/null
0 11 * * * /usr/bin/errclear -d S,O 30
0 12 * * * /usr/bin/errclear -d H 90
0 15 * * *  /usr/lib/ras/dumpcheck >/dev/null 2>&1
# SSA warning : Deleting the next two lines may cause errors in redundant
# SSA warning : hardware to go undetected.
01 5 * * * /usr/lpp/diagnostics/bin/run_ssa_ela 1>/dev/null 2>/dev/null
0 * * * * /usr/lpp/diagnostics/bin/run_ssa_healthcheck 1>/dev/null 2>/dev/null
# SSA warning : Deleting the next line may allow enclosure hardware errors to go undetected
30 * * * * /usr/lpp/diagnostics/bin/run_ssa_encl_healthcheck 1>/dev/null 2>/dev/null
# SSA warning : Deleting the next line may allow link speed exceptions to go undetected
30 4 * * * /usr/lpp/diagnostics/bin/run_ssa_link_speed 1>/dev/null 2>/dev/null
0 00,12 * * * wall%rc.powerfail:2::WARNING!!! The system is now operating with a power problem.  This message will be walled every 12 hours. Remove this crontab entry after the         problem is resolved.

出现这么多,然后怎么办?   高手送佛送到西哇。
作者: hengrui    时间: 2008-08-19 16:36
把最後一行
0 00,12 * * * wall%rc.powerfail:2::WARNING!!! The system is now operating with a power problem.  This message will be walled every 12 hours. Remove this crontab entry after the         problem is resolved.
刪除就好啦 !!

方法 :
crontab -e
游標移到最後一行
然後 dd 就會刪除
最後用 :wq! 存檔...
( vi 應該會用吧... )

[ 本帖最后由 hengrui 于 2008-8-19 16:38 编辑 ]
作者: chalylau    时间: 2008-08-19 16:39
0 00,12 * * * wall%rc.powerfail:2::WARNING!!! The system is now operating with a power problem.  This message will be walled every 12 hours. Remove this crontab entry after the         problem is resolved.


#crontab -e
把该行注释掉
作者: autokyo    时间: 2008-08-19 16:48
多谢, 立刻见效,那行没有了。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2