*BSD News Article 96892


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!pumpkin.pangea.ca!eru.mt.luth.se!newsfeed2.luth.se!news.luth.se!erix.ericsson.se!erinews.ericsson.se!news.seinf.abb.se!news.mdh.se!columba.udac.uu.se!du.se!news.kth.se!nntp.uio.no!news.maxwell.syr.edu!news-peer.sprintlink.net!news-pull.sprintlink.net!news-in-east.sprintlink.net!news.sprintlink.net!Sprint!199.171.20.9!news.nkn.net!news.panther.net!nemesis!hammy!news-in.iadfw.net!news.gymnet.com!LSNT1!lsbsdi6.lights
peed.net!news.silcom.com!news.genuity.net!www.nntp.primenet.com!nntp.primenet.com!feed1.news.erols.com!news.ecn.uoknor.edu!munnari.OZ.AU!news.mel.connect.com.au!news.syd.connect.com.au!news.bri.connect.com.au!corolla.OntheNet.com.au!not-for-mail
From: Tony Griffiths <tonyg@OntheNet.com.au>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: /var/log/messages stopped???
Date: Fri, 30 May 1997 15:09:18 +1000
Organization: On the Net (ISP on the Gold Coast, Australia)
Lines: 20
Message-ID: <0C2FB4B10806BB2F.D9513877008B1196.1FC883619C3E227B@library-proxy.airnews.net>
X-Orig-Message-ID: <338E60FE.8B@OntheNet.com.au>
References: <338bb125.441417284@207.126.101.81>
Reply-To: tonyg@OntheNet.com.au
NNTP-Proxy-Relay: library.airnews.net
NNTP-Posting-Host: biceps.gymnet.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (WinNT; I)
To: dan@okdirect.com
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:42209

Daniel Walton wrote:
> 
> I have been doing some work on a FreeBSD system that required me to
> change the root crontab.  I first checked the root crontab but I
> didn't find anything in it.  Maybe I didn't look good enough because
> about the same time I changed the root crontab the /var/log/messages
> file stopped updating.  Is this related to the crontab and how do I
> get this going again?

No, no relation at all.  The file "/var/log/messages" is written to by
syslogd which gets it's input from the "/dev/log" device.  You havn't
played with anything in /dev or managed to kill of syslogd by any
chance?

Also, if you want to manually 'rotate' the messages file, you need to
rename the existing one, and then _EXPLICITELY_ create a new one via
touch (or whatever) before HUPing syslogd.

Tony