*BSD News Article 93003


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!mindspring!uunet!in2.uu.net!206.66.12.35!news-in.iadfw.net!pcrown.net!not-for-mail
From: Phil Crown <pcrown@airmail.net>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: syslogd and inn 1.5.1 under FreeBSD 2.1.7-RELEASE
Date: 07 Apr 1997 02:00:53 -0500
Organization: pcrown
Lines: 51
Message-ID: <iv1z71wa.fsf@pcrown.net>
References: <ragn6ci0.fsf@pcrown.net> <gergE88sCD.E9t@netcom.com>
NNTP-Posting-Host: dal21-17.ppp.iadfw.net
X-Newsreader: Gnus v5.3/Emacs 19.34
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:38630

gerg@netcom.com (Greg Andrews) writes:

> Phil Crown <pcrown@airmail.net> writes:
> >
> >#
> ># INN
> >#
> >news.crit					/var/log/news/news.crit
> >news.err                                        /var/log/news/news.err
> >news.notice					/var/log/news/news.notice
> >news.info					/var/log/news/news.info
> >
> 
> Did you create those files before sending the HUP signal to syslogd?

No, I will try creating them and see what happens (and to add to the
confusion, the syslogd under Redhat Linux v4.1 will create the files
after the HUP signal, and it also has some other extensions).

> Syslogd doesn't create files at startup time or when it gets a HUP
> signal.  It only opens the ones that already exist.  At least, that's
> the way syslogd has been in all the Unixes I've worked on.

Try syslogd that ships with RedHat Linux v4.1, it creates the files
after the HUP signal.  It also logs that syslogd was restarted (not
sure where, mine ends up in /var/log/messages).

Apr  7 01:58:43 pcrown syslogd 1.3-3: restart.

INN ships with its own syslogd, but I had trouble getting it compiled,
I will keep trying.

> The man page for syslog.conf in my v2.1.6 install drops a small hint
> about this by saying when the second field (the "action" field) is a
> pathname, the selected messages are "appended" to the file.  The man
> page for syslogd doesn't say anything on the topic.

I have read and re-read the man pages, and I have a feeling I will be
reading them again.

Thanks for the reply!

>   -Greg
> -- 
> :::::::::::::::::::  Greg Andrews  gerg@netcom.com  :::::::::::::::::::
> I have a map of the United States that's actual size.
>                    -- Steven Wright
> :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

-- 
Phil Crown  pcrown@airmail.net  http://web2.airmail.net/pcrown/