problema de configuração do syslogd

1

Estou tendo alguns problemas com o syslog no Solaris 10. Parece que a configuração não está correta e as mensagens de log estão apenas se acumulando e nunca sendo gravadas em / var / adm / messages.

Veja o que há em / var / adm / messages:

Sep 10 03:10:17 air syslogd: Could not completely output pending messages while preparing re-configuration
Sep 10 03:10:17 air syslogd: discarded 1082 messages and restart configuration.
Sep 12 03:10:17 air syslogd: Could not completely output pending messages while preparing re-configuration
Sep 12 03:10:17 air syslogd: discarded 436 messages and restart configuration. 

Eu emiti este comando:

$ logger -p daemon.notice "TESTING LOGGING"

e obteve a saída em / var / adm / messages:

Sep 14 11:52:43 air gkwrcc: [ID 702911 daemon.notice] TESTING LOGGING

mas nenhuma outra mensagem parece conseguir.

Aqui está meu /etc/syslog.conf:

#ident  "@(#)syslog.conf        1.5     98/12/14 SMI"   /* SunOS 5.0 */
#
# Copyright (c) 1991-1998 by Sun Microsystems, Inc.
# All rights reserved.
#
# syslog configuration file.
#
# This file is processed by m4 so be careful to quote ('') names
# that match m4 reserved words.  Also, within ifdef's, arguments
# containing commas must be quoted.
#
*.err;kern.notice;auth.notice                   /dev/sysmsg
*.err;kern.debug;daemon.notice;mail.crit        /var/adm/messages
auth.info       /var/adm/auth.log

*.alert;kern.err;daemon.err                     operator
*.alert                                         root           

*.emerg                                         *

# if a non-loghost machine chooses to have authentication messages
# sent to the loghost machine, un-comment out the following line:
#auth.notice                    ifdef('LOGHOST', /var/log/authlog, @loghost)

mail.debug                      ifdef('LOGHOST', /var/log/syslog, @loghost)

#
# non-loghost machines will use the following lines to cause "user"
# log messages to be logged locally.         
#                                            
ifdef('LOGHOST', ,
user.err                                        /dev/sysmsg
user.err                                        /var/adm/messages
user.alert                                      'root, operator'
user.emerg                                      *
)
    
por Grant 14.09.2009 / 21:01

1 resposta

1

Você parece ter backticks em vários lugares, que provavelmente deveriam ter aspas simples.

    
por 14.09.2009 / 21:13