- 论坛徽章:
- 0
|
各位高手
请看下这个问题,
看到rc.log和syslog里面有RESTART的记录,但是在shutdown.log里面没有shutdown的记录。
inittab文件内容如下,想诊断下是由于电源,温度,人为还是服务器本身的restart.
init:4:initdefault:
ioin::sysinit:/sbin/ioinitrc >/dev/console 2>&1
tape::sysinit:/sbin/mtinit > /dev/console 2>&1
muxi::sysinit:/sbin/dasetup </dev/console >/dev/console 2>&1 # mux init
stty::sysinit:/sbin/stty 9600 clocal icanon echo opost onlcr ixon icrnl ignpar </dev/systty
fs01::wait:/sbin/fs/fsdaemon -k > /dev/null 2>&1 # kill fsdaemon
fs02:123456:respawn:/sbin/fs/fsdaemon -f 0 > /dev/null 2>&1 # start fsdaemon
fs03::wait:/sbin/fs/fsdaemon -t > /dev/null 2>&1 # Wait for fsdaemon to start
vxen::bootwait:/sbin/fs/vxfs/vxenablef -a
brc1::bootwait:/sbin/bcheckrc </dev/console >/dev/console 2>&1 # fsck, etc.
link::wait:/sbin/sh -c "/sbin/rm -f /dev/syscon; \
/sbin/ln /dev/systty /dev/syscon" >/dev/console 2>&1
cprt::bootwait:/sbin/cat /etc/copyright >/dev/syscon # legal req
sqnc::wait:/sbin/rc </dev/console >/dev/console 2>&1 # system init
#powf::powerwait:/sbin/powerfail >/dev/console 2>&1 # powerfail
cons:123456:respawn:/usr/sbin/getty console console # system console
#ttp1:234:respawn:/usr/sbin/getty -h tty0p1 9600
#ttp2:234:respawn:/usr/sbin/getty -h tty0p2 9600
#ttp3:234:respawn:/usr/sbin/getty -h tty0p3 9600
#ttp4:234:respawn:/usr/sbin/getty -h tty0p4 9600
#ttp5:234:respawn:/usr/sbin/getty -h tty0p5 9600
krsd:123456:respawn:/sbin/krsd -i
cspd::boot:/sbin/clu_spawnd -i
sfd:123456:respawn:/sbin/sfd
esmd:234:respawn:/usr/sbin/esmd
#ups::respawn:rtprio 0 /usr/lbin/ups_mond -f /etc/ups_conf
cim1:3456:respawn:/opt/wbem/lbin/cimserverd
vxfs:1:sysinit:/sbin/fs/vxfs5.0/vxenablef -a
ems1::bootwait:/sbin/rm -f /etc/opt/resmon/persistence/runlevel4_flag
ems2::bootwait:/sbin/sh -c "/sbin/cat </dev/null >/etc/opt/resmon/persistence/reboot_flag; /sbin/chmod 644 /etc/opt/resmon/persistence/reboot_flag"
ems3:3456:wait:/sbin/sh -c "/usr/bin/touch /etc/opt/resmon/persistence/runlevel4_flag; /usr/bin/chmod 644 /etc/opt/resmon/persistence/runlevel4_flag"
ems4:3456:respawn:/etc/opt/resmon/lbin/p_client
util:23456:respawn:/usr/lbin/utild # Utilization Provider daemon
gvsd::sysinit:/sbin/init.d/avio-vio avioinit >/dev/console 2>&1
cdsf:23456:respawn:/usr/sbin/iocdsfd
cdin:3456 nce:/usr/sbin/clu_dsf_init |
|