Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2002 19:05:28 +0500
From:      "Sergey A. Ivanov" <lw@astra-st.ru>
To:        freebsd-stable@freebsd.org
Subject:   strange behavior of syslogd: bug or operator failure?
Message-ID:  <67113886430.20020213190528@astra-st.ru>

next in thread | raw e-mail | index | archive | help
Hello freebsd-stable!

  After upgrading to 4.5-stable syslogd stops logging messages from
our ciscos. After investigating into problem it seems that syslogd
have no ideas about file it need to save messages: some of them logged
onto console (in fact into /var/log/console), others - into
/var/log/messages. One difference - messages originated from different
hosts.
Is something wrong with syslogd? It works before upgrade.


My config file (important lines):
-----
*.err;kern.debug;auth.notice;mail.crit;local3.none;local5.none  /var/log/console
syslog.*;user.*;ntp.*;kern.debug;lpr.info;mail.crit;news.err            /var/log/messages
#+a.a.ru
*.*                                             /var/log/a
#+b.a.ru.
*.*                                             /var/log/b
#+xxx.xxx.xxx.xxx
*.*                                             /var/log/xxx
#+c.a.ru
*.*                                             /var/log/c

#+*
#!startslip
*.*                                             /var/log/slip.log
-----

Debug output from "syslogd -d" (junk deleted:
-----
allowaddr: rule 0: domainname = c.a.ru; port = 0
allowaddr: rule 1: domainname = a.a.ru; port = 0
allowaddr: rule 2: domainname = b.a.ru; port = 0
listening on inet and/or inet6 socket
sending on inet and/or inet6 socket
off & running....
init
cfline("*.err;kern.debug;auth.notice;mail.crit;local3.none;local5.none  /var/log/console", f, "*", "*")
cfline("syslog.*;user.*;ntp.*;kern.debug;lpr.info;mail.crit;news.err /var/log/messages", f, "*", "*")
cfline("*.* /var/log/a", f, "*", "+a.a.ru")
cfline("*.* /var/log/b", f, "*", "+b.a.ru.")
cfline("*.* /var/log/c", f, "*", "+c.a.ru")
cfline("*.* /var/log/slip.log", f, "startslip", "*")
8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 X FILE: /var/log/a
8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 X FILE: /var/log/b
8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 X FILE: /var/log/c
8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 X FILE: /var/log/slip.log (startslip)
cvthname(xxx.xxx.xxx.a)
validate: dgram from IP xxx.xxx.xxx.a, port 7318, name a.a.ru;
rejected in rule 0 due to name mismatch.
accepted in rule 1.
logmsg: pri 275, flags 0, from a.a.ru, msg 263763: 18w0d: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/3, changed state to down
cvthname(xxx.xxx.xxx.a)
validate: dgram from IP xxx.xxx.xxx.a, port 7318, name a.a.ru;
rejected in rule 0 due to name mismatch.
accepted in rule 1.
logmsg: pri 273, flags 0, from a.a.ru, msg 263764: 18w0d: %LINK-3-UPDOWN: Interface Serial1/3, changed state to up
Logging to FILE /var/log/console
cvthname(xxx.xxx.xxx.b)
validate: dgram from IP xxx.xxx.xxx.b, port 514, name b.a.ru;
rejected in rule 0 due to name mismatch.
rejected in rule 1 due to name mismatch.
accepted in rule 2.
logmsg: pri 14, flags 0, from b.a.ru, msg IPG:IPFILT/FRAG,DirBcast Fail x.x.x.x.x>x.x.x.x Prot=17 Int=vlan6-0
Logging to FILE /var/log/messages
-----

Uname:
ns# uname -a
FreeBSD ns.a.ru 4.5-STABLE FreeBSD 4.5-STABLE #3: Mon Jan 28 16:16:33 YEKT
2002



Best regards,
Sergey                                   mailto:lw@astra-st.ru
                                             ICQ UIN: 49432691


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?67113886430.20020213190528>