From owner-freebsd-isp@FreeBSD.ORG Tue Jun 24 16:13:05 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF87B37B401 for ; Tue, 24 Jun 2003 16:13:05 -0700 (PDT) Received: from mail.westbend.net (ns1.westbend.net [216.47.253.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id A107043FCB for ; Tue, 24 Jun 2003 16:13:04 -0700 (PDT) (envelope-from hetzels@westbend.net) Received: from ADMIN00 (admin00.westbend.net [216.47.253.17]) by mail.westbend.net (8.12.9/8.12.9) with SMTP id h5OND1C4001232; Tue, 24 Jun 2003 18:13:01 -0500 (CDT) (envelope-from hetzels@westbend.net) Message-ID: <002a01c33aa6$28734150$11fd2fd8@westbend.net> From: "Scot W. Hetzel" To: "Sing Song" References: <1056158489.3ef3b319e5313@webmail.isot.com> <00a701c339a7$3251d010$11fd2fd8@westbend.net> <1056467228.3ef8691c3b65a@webmail.isot.com> Date: Tue, 24 Jun 2003 18:13:00 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Spam-Status: No, hits=-0.6 required=8.0 tests=QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_01_02, USER_AGENT_OE version=2.43 cc: freebsd-isp@freebsd.org Subject: Re: FBSD5 syslogd not logging X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2003 23:13:06 -0000 From: "Sing Song" > Quoting "Scot W. Hetzel" : > > From: "Sing Song" > > How are you stoping/starting syslogd? (reboot, /etc/rc.d/syslogd, ...) > > > > If your using /etc/rc.d/syslogd, make sure that /etc/rc.conf has > > syslogd_flags defined to the correct value. > > > > Is the FBSD 5.x system using the same IP address as the old FBSD 4.x > > system? > > If it's not you may need to either change the FBSD 5.x IP address to the > > old > > 4.x IP address or change the syslog address on the routers. > > > > Scot > > I stop and restart with 'killall -HUP syslogd' > I'm using '/usr/sbin/syslogd' > The IP address and the port is same. > When you were giving syslogd the HUP signal, all it did was tell the currently running syslogd to re-read its configuration file (/etc/syslogd.conf), no flag changes were made to the running syslogd. And if you try to start a second syslogd daemon you should have gotten an error: # /usr/sbin/syslogd -s -a westbend.net syslogd: child pid 4423 exited with return code 1 You should have given syslogd the TERM signal, and then started syslogd with the correct flags. > What's funny is the logfiles to turn over as set in syslog.conf. > You should be using /etc/rc.d/syslogd to stop/start syslogd when changing the flags for syslogd. You should be adding your changes to /etc/rc.conf, specifically add the following to rc.conf: syslogd_flags="-a *.isot.com" NOTE: you may of may not Then stop and start syslogd with: /etc/rc.d/syslogd stop /etc/rc.d/syslogd start Scot