From owner-freebsd-stable Wed Feb 13 6: 5:38 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.astra-st.ru (mx1.ucsnet.ru [62.102.131.10]) by hub.freebsd.org (Postfix) with ESMTP id A2C3F37B417 for ; Wed, 13 Feb 2002 06:05:30 -0800 (PST) Received: from lw (lw.int.ptt [192.168.85.128]) by mx1.astra-st.ru (Postfix) with ESMTP id 1D4551A for ; Wed, 13 Feb 2002 19:05:28 +0500 (YEKT) Date: Wed, 13 Feb 2002 19:05:28 +0500 From: "Sergey A. Ivanov" X-Mailer: The Bat! (v1.53d) UNREG / CD5BF9353B3B7091 Organization: Astra-ST X-Priority: 3 (Normal) Message-ID: <67113886430.20020213190528@astra-st.ru> To: freebsd-stable@freebsd.org Subject: strange behavior of syslogd: bug or operator failure? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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