Date: Mon, 20 Feb 2012 17:47:55 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: alexus <alexus@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: newsyslog-local.conf Message-ID: <4F42874B.3010404@infracaninophile.co.uk> In-Reply-To: <CAJxePNL%2B5UMr7SSqFsr5nH6w5EJF=YoDrnDecUnXdrFPA4SyTw@mail.gmail.com> References: <CAJxePNLROWxA4AtS2TNeTVRyWJPpazY_iS=hsKXMdbV3WQZbTQ@mail.gmail.com> <4F4281C9.9060601@infracaninophile.co.uk> <CAJxePNL%2B5UMr7SSqFsr5nH6w5EJF=YoDrnDecUnXdrFPA4SyTw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1D6DE4CAC3795264874F323B Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 20/02/2012 17:29, alexus wrote: > /var/log/squid/access.log <7J>: --> will trim at Tue Feb 21 00:00:00 20= 12 > /var/log/squid/cache.log <7J>: --> will trim at Tue Feb 21 00:00:00 201= 2 OK -- this looks fine. It should cycle the log files overnight. Presumably you first setup the cycling of the squid logfiles yesterday and your post was prompted by the logs not being recycled last night? (Yes, that's insultingly obvious, but worth eliminating as a possibility.= ) > Signal all daemon process(es)... > sleep 10 > s# >=20 > one thing that I noticed: > newsyslog: pid file doesn't exist: /var/run/syslog.pid >=20 > s# grep ^syslogd /etc/rc.conf > syslogd_enable=3D"NO" > s# >=20 > does syslogd has be run for newsyslog to operate? No, syslogd doesn't /need/ to be running, but newsyslog assumes that a logfile is generated by syslogd unless configured otherwise -- ie. to signal the pid of a different process. You'll get errors like you've seen if syslogd isn't running, but they should be innocuous. Mind you, not running syslogd is a pretty unusual management decision; I'd turn it on if I were you, as it's the first recourse whenever anything goes wrong. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig1D6DE4CAC3795264874F323B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9Ch0sACgkQ8Mjk52CukIyT6QCeNw/yMV6/ayhWRGpEzKMF6H9Q AukAoJO35lrSOc8556mtv6pLFjHXN5XJ =+TU9 -----END PGP SIGNATURE----- --------------enig1D6DE4CAC3795264874F323B--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F42874B.3010404>