免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: lzxigua
打印 上一主题 下一主题

[故障求助] 我刚换了一个新电源,但是不知道什么原因,每隔12小时,就老报个电源错误。请教 [复制链接]

论坛徽章:
0
11 [报告]
发表于 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.

出现这么多,然后怎么办?   高手送佛送到西哇。

论坛徽章:
0
12 [报告]
发表于 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 编辑 ]

论坛徽章:
0
13 [报告]
发表于 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
把该行注释掉

论坛徽章:
0
14 [报告]
发表于 2008-08-19 16:48 |只看该作者
多谢, 立刻见效,那行没有了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP