免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2640 | 回复: 8
打印 上一主题 下一主题

[cacti]机器时间不准问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-09-06 15:08 |只看该作者 |倒序浏览
哈哈,谢谢进来,帮忙看看问题。

奇怪的问题。请大家帮忙看看,什么问题?谢谢
cacti监控网络流量的机器,今天发现时间不准了,查看日志,发现信息如下:

[root@cacti scripts]# more /var/log/messages
Sep  3 04:02:04 cacti syslogd: restart
Sep  3 04:02:04 cacti logrotate: ALERT exited abnormally with [1]
Sep  3 04:02:04 cacti snmpd[11023]: NET-SNMP version 5.1.2
Sep  3 04:03:01 cacti snmpd[11023]: Received SNMP packet(s) from 127.0.0.1
Sep  3 05:30:12 cacti smartd[2445]: Device: /dev/sdb, Temperature changed -2 Cel
sius to 35 Celsius since last report
Sep  4 04:02:03 cacti logrotate: ALERT exited abnormally with [1]
Sep  4 13:30:12 cacti smartd[2445]: Device: /dev/sdb, Temperature changed 2 Cels
ius to 37 Celsius since last report
Sep  4 14:00:12 cacti smartd[2445]: Device: /dev/sda, Temperature changed 2 Cels
ius to 34 Celsius since last report
Sep  4 16:30:12 cacti smartd[2445]: Device: /dev/sda, Temperature changed -2 Cel
sius to 32 Celsius since last report
Sep  4 18:00:12 cacti smartd[2445]: Device: /dev/sdb, Temperature changed -2 Cel
sius to 35 Celsius since last report
Sep  5 04:02:03 cacti logrotate: ALERT exited abnormally with [1]
Sep  5 16:00:12 cacti smartd[2445]: Device: /dev/sda, Temperature changed 3 Cels
ius to 35 Celsius since last report
Sep  5 16:00:12 cacti smartd[2445]: Device: /dev/sdb, Temperature changed 2 Cels
ius to 37 Celsius since last report
Sep  6 03:00:12 cacti smartd[2445]: Device: /dev/sdb, Temperature changed 2 Cels
ius to 39 Celsius since last report
Sep  6 04:02:03 cacti logrotate: ALERT exited abnormally with [1]
[root@cacti scripts]#


[root@cacti scripts]# uname -a
Linux cacti 2.6.9-42.0.2.EL #1 Tue Aug 22 23:56:05 CDT 2006 i686 i686 i386 GNU/Linux

从日志来看,明显有问题。但不明白,请大家帮忙看看,什么问题?谢谢
cnsecurity #gmail.com

[ 本帖最后由 lunchan 于 2006-9-12 09:48 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2006-09-06 15:37 |只看该作者
ssh登录很慢,top显示,图片奉上。

[ 本帖最后由 deargentle 于 2006-9-6 15:38 编辑 ]

top.JPG (113.94 KB, 下载次数: 12)

top.JPG

论坛徽章:
0
3 [报告]
发表于 2006-09-11 10:23 |只看该作者
出现这个日志后,把计算机时间调整正确之后,过了几天,时间又不准了,再看message,又出现了此日志。
反反复复,不知道什么问题,请大家帮忙分析一下
谢谢

[ 本帖最后由 deargentle 于 2006-9-11 10:50 编辑 ]

论坛徽章:
0
4 [报告]
发表于 2006-09-11 11:08 |只看该作者

dmesg

SELinux:  Unregistering netfilter hooks
inserting floppy driver for 2.6.9-42.0.2.EL
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
tg3.c:v3.52-rh (Mar 06, 2006)
ACPI: PCI interrupt 0000:02:04.0[A] -> GSI 22 (level, low) -> IRQ 185
divert: allocating divert_blk for eth0
eth0: Tigon3 [partno(BCM95703A30) rev 1002 PHY(5703)] (PCIX:100MHz:64-bit) 10/100/1000BaseT Ethernet 00:02:55:b7:3f:7b
eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1] TSOcap[1]
eth0: dma_rwctrl[769f4000]
ACPI: PCI interrupt 0000:02:05.0[A] -> GSI 23 (level, low) -> IRQ 193
divert: allocating divert_blk for eth1
eth1: Tigon3 [partno(BCM95703A30) rev 1002 PHY(5703)] (PCIX:100MHz:64-bit) 10/100/1000BaseT Ethernet 00:02:55:b7:3f:7c
eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1] TSOcap[1]
eth1: dma_rwctrl[769f4000]
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ACPI: PCI interrupt 0000:00:0f.2[A] -> GSI 10 (level, low) -> IRQ 10
ohci_hcd 0000:00:0f.2: OHCI Host Controller
ohci_hcd 0000:00:0f.2: irq 10, pci mem e081c000
ohci_hcd 0000:00:0f.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
ACPI: Power Button (FF) [PWRF]
EXT3 FS on sdb1, internal journal
device-mapper: 4.5.0-ioctl (2005-10-04) initialised: dm-devel@redhat.com
cdrom: open failed.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 779144k swap on /dev/sdb2.  Priority:-1 extents:1
IA-32 Microcode Update Driver: v1.14 <tigran@veritas.com>
microcode: CPU0 updated from revision 0x33 to 0x37, date = 06042003
IA-32 Microcode Update Driver v1.14 unregistered
ip_tables: (C) 2000-2002 Netfilter core team
ip_tables: (C) 2000-2002 Netfilter core team
tg3: eth0: Link is up at 100 Mbps, full duplex.
tg3: eth0: Flow control is off for TX and off for RX.
i2c /dev entries driver
NET: Registered protocol family 10
Disabled Privacy Extensions on device c0384d60(lo)
IPv6 over IPv4 tunneling driver
divert: not allocating divert_blk for non-ethernet device sit0
eth0: no IPv6 routers present
[root@cacti cron.daily]#

[ 本帖最后由 deargentle 于 2006-9-11 11:20 编辑 ]

论坛徽章:
0
5 [报告]
发表于 2006-09-11 20:54 |只看该作者
请问LZ考虑过服务器主板的那个电池是否电量不足了?????

论坛徽章:
0
6 [报告]
发表于 2006-09-12 09:29 |只看该作者
原帖由 zhangzhu1984 于 2006-9-11 20:54 发表
请问LZ考虑过服务器主板的那个电池是否电量不足了?????



此话怎么理解,您是指主板上的电池电量不足了吗?导致信息丢失或时钟变慢吗?

如果是主板电池电量不足的话,我理解时钟应该是慢慢的失准,
现在看来,时间是突然变慢,再查看日志,发现有上面的信息。(只要时间不准,就会出现上面的日志信息)

谢谢,关注。

[ 本帖最后由 deargentle 于 2006-9-12 10:21 编辑 ]

论坛徽章:
0
7 [报告]
发表于 2006-09-12 09:54 |只看该作者
没注意看上面的描述,如果你只是时间不准,可以用ntpdate校准时间

论坛徽章:
0
8 [报告]
发表于 2006-09-12 10:20 |只看该作者
我不想用ntp,

我只是想知道为什么会出现这个问题

论坛徽章:
0
9 [报告]
发表于 2006-09-12 11:54 |只看该作者
这么有经典的问题 咋就没有人知道呢
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP