Pagina 1 di 1

Continui messaggi in Syslog

Inviato: giovedì 26 maggio 2011, 16:26
da Schwitzd
Ciao a tutti

sto controllando il syslog del mio server e noto che ogni 10 min appaiono questi messaggi, qualcuno sa dirmi a cosa si referiscono.

Codice: Seleziona tutto

May 26 16:00:01 Server /USR/SBIN/CRON[4339]: (CRON) error (grandchild #4341 failed with exit status 2)
May 26 16:09:01 Server /USR/SBIN/CRON[4405]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)
May 26 16:09:01 Server sendmail[4412]: p4QE91bU004412: from=root, size=560, class=0, nrcpts=1, msgid=<201105261409.p4QE91bU004412@Server.company.com>, relay=root@localhost
May 26 16:09:02 Server sm-mta[4413]: p4QE91s2004413: from=<root@Server.company.com>, size=848, class=0, nrcpts=1, msgid=<201105261409.p4QE91bU004412@Server.company.com>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
May 26 16:09:02 Server sendmail[4412]: p4QE91bU004412: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30560, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (p4QE91s2004413 Message accepted for delivery)
May 26 16:09:02 Server sm-mta[4414]: p4QE91s2004413: to=koha, ctladdr=<root@Server.company.com> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31079, dsn=2.0.0, stat=Sent
May 26 16:17:01 Server /USR/SBIN/CRON[4419]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
May 26 16:20:01 Server /USR/SBIN/CRON[4426]: (smmsp) CMD (test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp)
May 26 16:20:17 Server crontab[4444]: (root) BEGIN EDIT (root)
May 26 16:20:30 Server crontab[4444]: (root) END EDIT (root)
Premetto che sul server è configurato sendmail e ci sono dei job nella crontab

grazie mille
Daniel

Re: Continui messaggi in Syslog

Inviato: giovedì 26 maggio 2011, 16:45
da ReMichael
Le mail che il sistema manda agli utenti root e koha cosa dicono?

Re: Continui messaggi in Syslog

Inviato: giovedì 26 maggio 2011, 17:00
da Schwitzd
bella domanda!
come faccio a vederle?  ;D

Re: Continui messaggi in Syslog

Inviato: giovedì 26 maggio 2011, 17:09
da ReMichael
Schwitzd ha scritto: bella domanda!
come faccio a vederle?  ;D
prova da utente root con:

Codice: Seleziona tutto

mail

Re: Continui messaggi in Syslog

Inviato: giovedì 26 maggio 2011, 17:40
da Schwitzd
per l'utente root non ho neanche una mail, mentre per l'utente koha ne ho tantissime.

e tutte dicono la stessa cosa:

Codice: Seleziona tutto

This is a RAID status update from mpt-statusd.  The mpt-status
program reports that one of the RAIDs changed state:
Ho controllato io il servizio mpt-statusd l'ho disabilitato visto che non ho un sistema RAID.

Re: Continui messaggi in Syslog

Inviato: giovedì 26 maggio 2011, 17:54
da Schwitzd
mi sa che l'ho trovato il problema... in /ect/cron.d/ c'è un file che si chiama sendmail con il seguente contenuto

Codice: Seleziona tutto

####################################################################
##### This file is automagically generated -- edit at your own risk
#####
##### file: /etc/cron.d/sendmail
##### generated via: (/usr/bin/perl v5>10.1)
#####           /usr/share/sendmail/update_conf
#####           version: 8.14.3 2010-09-21 11:05:34 cowboy
##### by: root@hbcdsl10
##### on: Wed May 25 15:02:34 2011
##### in: /
##### input files:
#####   /etc/mail/sendmail.conf
#####
####################################################################
#------------------------------------------------------------------------------
#
# /etc/cron.d/sendmail
#
# Copyright (c) 2001-2009 Richard Nelson.  All Rights Reserved.
# Version:        8.14.3
# Time-stamp: <2010-09-21 11:05:34 cowboy>
#
# Sendmail crontab - Call sendmail at various times to do the following:
#       1) Age queues - move undelivered mail to a slower queue
#       2) Retry any mail queued by the message submission process
#       3) run the queues (deliver mail) if a standalone daemon is not desired
#
# Each processes is independant and guided by /etc/mail/sendmail.conf and
# {sendmail,submit}.mc files.
#
# There isn't anything here that should need touching.
#
# Any requisite queue/misc parameters must be set in /etc/mail/sendmail.conf
# and reflected herein via /usr/sbin/sendmailconfig (or more directly via
# /usr/share/sendmail/update_conf).
#
#------------------------------------------------------------------------------
#
# use default path, shell, home
#SHELL=/bin/sh
#PATH=
#HOME=
# send mail to this user, as `mail/smmsp` isn't real.
MAILTO=root
#
# format of entries:
# m h dom mon dow       user    command
#
#------------------------------------------------------------------------------
# Every so often, give sendmail a chance to run the MSP queues.
#
*/20 *    *    *    *           smmsp   test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp
#
#------------------------------------------------------------------------------
# Every so often, give sendmail a chance to run the MTA queues.
# Will also run MSP queues if enabled
#
#*/10 *    *    *    *          root    test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-mta
#
#------------------------------------------------------------------------------
# Every so often, give sendmail a chance to age the queues.
#
# No queue aging
e c'è un altro per php che è presente nel file di log...
qualcuno sa a cosa servono?

Re: Continui messaggi in Syslog

Inviato: giovedì 26 maggio 2011, 17:58
da ReMichael
A quanto pare sono dei controlli che servono a sendmail:
Sendmail crontab - Call sendmail at various times to do the following:
#      1) Age queues - move undelivered mail to a slower queue
#      2) Retry any mail queued by the message submission process
#      3) run the queues (deliver mail) if a standalone daemon is not desired