Olá
Tenho um Endian 2.4.1 (virtual VMware) que está desligando diariamente às 21:55.
O log diz “Job halt started for user root (pid 666)” (/var/log/messages), e depois já vem as mensagens da inicialização:
Oct 28 21:01:02 proxy01 fcron[27042]: Job [ -x /bin/run-parts ] && run-parts –report /etc/cron.hourly completed
Oct 28 21:10:25 proxy01 fcron[28266]: Job [ -x /bin/run-parts ] && run-parts –report /etc/anacron.hourly started for user root (pid 28267)
Oct 28 21:11:17 proxy01 fcron[28266]: Job [ -x /bin/run-parts ] && run-parts –report /etc/anacron.hourly completed
Oct 28 21:55:00 proxy01 fcron[665]: Job halt started for user root (pid 666)
Oct 28 21:55:00 proxy01 init: Switching to runlevel: 0
Oct 28 21:55:02 proxy01 fcron[665]: Job halt completed
Oct 28 21:55:05 proxy01 ntpd[5654]: ntpd exiting on signal 15
Oct 28 21:55:05 proxy01 fcron[6329]: SIGTERM signal received
Oct 28 21:55:05 proxy01 syslog-ng[2917]: Termination requested via signal, terminating;
Oct 28 21:55:05 proxy01 syslog-ng[2917]: syslog-ng shutting down; version=’2.0.10′
Oct 28 21:55:05 proxy01 sshd[5252]: Received signal 15; terminating.
Nov 9 10:46:40 proxy01 kernel: [ 0.000000] Linux version 2.6.32.25-57.e40.i586 (root@buildmaster.office) (gcc version 4.1.2 20070626 (Endian 4.1.2-14)) #1
SMP Thu Nov 11 10:01:30 EST 2010
Nov 9 10:46:40 proxy01 kernel: [ 0.000000] KERNEL supported cpus:
Nov 9 10:46:40 proxy01 kernel: [ 0.000000] Intel GenuineIntel
Nov 9 10:46:40 proxy01 kernel: [ 0.000000] AMD AuthenticAMD
Rodei os scripts do cron para ver se algum estava causando o problema, mas nada de errado ocorreu.
Eu customizei alguns programas do Endian para funcionar bem com o meu AD, portanto não estou muito feliz com a idéia de reinstalá-lo.
Alguém tem idéia do que pode ser?
Vou colocar abaixo o crontab.
JT
root@proxy01:/etc/rc.d # cat /etc/crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=
HOME=/
#
&nolog */1 * * * * [ -x /bin/run-parts ] && run-parts –report /etc/cron.minutely
&nolog */5 * * * * [ -x /bin/run-parts ] && run-parts –report /etc/cron.cyclic
01 * * * * [ -x /bin/run-parts ] && run-parts –report /etc/cron.hourly
25 1 * * * [ -x /bin/run-parts ] && run-parts –report /etc/cron.daily
47 2 * * 0 [ -x /bin/run-parts ] && run-parts –report /etc/cron.weekly
52 3 1 * * [ -x /bin/run-parts ] && run-parts –report /etc/cron.monthly
#
@nolog 5 [ -x /bin/run-parts ] && run-parts –report /etc/anacron.cyclic
@ 1h [ -x /bin/run-parts ] && run-parts –report /etc/anacron.hourly
@ 1d [ -x /bin/run-parts ] && run-parts –report /etc/anacron.daily
@ 1w [ -x /bin/run-parts ] && run-parts –report /etc/anacron.weekly
@ 1m [ -x /bin/run-parts ] && run-parts –report /etc/anacron.monthly
# Summarize ip accounting info:
2 1 * * * /usr/sbin/ipacsum -r -H /bin/hostname
-t “the day 2 days ago” >/dev/null
3 1 * * 0 /usr/sbin/ipacsum -r -H /bin/hostname
-t “the week 4 weeks ago” >/dev/null
4 1 1 2 * /usr/sbin/ipacsum -r -H /bin/hostname
-t “the year 2 years ago” >/dev/null
55 21 * * 5 root halt