Re: FBSD5 syslogd not logging

From: Sing Song (song_at_isot.com)
Date: 06/27/03

  • Next message: InvictaNet Customer Support: "Radius question"
    Date: Fri, 27 Jun 2003 14:41:18 -0500
    To: "Scot W. Hetzel" <hetzels@westbend.net>
    
    

    Quoting "Scot W. Hetzel" <hetzels@westbend.net>:

    > From: "Sing Song" <song@isot.com>
    > > Quoting "Scot W. Hetzel" <hetzels@westbend.net>:
    > > > From: "Sing Song" <song@isot.com>
    > > > 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

    Actually I did stop with 'killall syslogd' to kill it, and then started
    manually '/usr/sbin/syslogd -a *.isot.com'.

    Yesterday, I tried your recomendation to use rc.conf. Looked at the log file,
    still nothing. I added 'syslogd_flags="-a *.isot.com" to the rc.conf
    and used '/etc/rc.d/syslogd start' after killing the old syslogd process.

    I sure am getting frustrated as not getting any diag info from the routers.
    Maybe I need to put back my old radius box.

    -------------------------------------------------
    This mail sent through ISOT. To find out more
    about ISOT, visit http://isot.com
    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"


  • Next message: InvictaNet Customer Support: "Radius question"

    Relevant Pages

    • Re: FBSD5 syslogd not logging
      ... Quoting "Scot W. Hetzel": ... >> the syslogd to log from my routers. ... This mail sent through ISOT. ...
      (freebsd-isp)
    • Re: FBSD5 syslogd not logging
      ... When you were giving syslogd the HUP signal, all it did was tell the ... no flag changes were made to the running syslogd. ... the flags for syslogd. ... Scot ...
      (freebsd-isp)
    • Re: Logs Lost....Hacked? Or syslogd crapped out?
      ... >So I did a killall -HUP syslogd and PRESTO! ... no logs even you re-boot. ... | Specify an alternative configuration file instead ...
      (comp.os.linux.security)
    • syslogd not logging
      ... I replaced my old server (FBSD 4.3) with new FBSD 5.0. ... the syslogd to log from my routers. ... This mail sent through ISOT. ...
      (freebsd-isp)
    • Re: Where is "Sys_Log"?
      ... System Administrator for more information. ... "man syslogd" will tell you what the ... syslogd program does with them once it gets them. ... section, a reference to the configuration file for syslogd, ...
      (comp.unix.solaris)