|
List Info
Thread: log file rotation
|
|
| log file rotation |

|
2006-01-16 20:50:16 |
My maillog and daillog files have stopped rotating everyday
like they
use to. I have 2 FBSD machines that have stopped these files
from
rotating as of Dec 15th. I have no idea what could have
caused two
different machines to have the same thing happen to them.
The entry in
my newsyslog.conf file is correct. There is no reason these
files
shouldn't be rotating daily like before. Anyone have any
ideas on what
to look for?
Thanks
_______________________________________________
freebsd-questions freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|
|
| log file rotation |

|
2006-01-16 21:48:12 |
On Mon, Jan 16, 2006 at 02:50:16PM -0600, Jason King wrote:
> My maillog and daillog files have stopped rotating
everyday like they
> use to. I have 2 FBSD machines that have stopped these
files from
> rotating as of Dec 15th. I have no idea what could have
caused two
> different machines to have the same thing happen to
them. The entry in
> my newsyslog.conf file is correct. There is no reason
these files
> shouldn't be rotating daily like before. Anyone have
any ideas on what
> to look for?
Try running newsyslog manually. If that works then its
supposed to be
run every hour on the hour out of /etc/crontab.
--
David Kelly N4HHE, dkelly HiWAAY.net
============================================================
============
Whom computers would destroy, they must first drive mad.
_______________________________________________
freebsd-questions freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|
|
| log file rotation |

|
2006-01-17 00:37:37 |
At 2:50 PM -0600 1/16/06, Jason King wrote:
>My maillog and daillog files have stopped rotating
everyday
>like they use to. I have 2 FBSD machines that have
stopped
>these files from rotating as of Dec 15th. I have no idea
what
>could have caused two different machines to have the
same
>thing happen to them. The entry in my newsyslog.conf
file is
>correct. There is no reason these files shouldn't be
rotating
>daily like before. Anyone have any ideas on what to look
for?
Check timestamps on the various files. perhaps some kind of
timewarp happened.
Check to make sure newsyslog is still being run from cron.
(do you have other files which are rotating, but just those
two are not rotating?)
Run: newsyslog -vv
and see if it tells you anything interesting.
--
Garance Alistair Drosehn = gad gilead.netel.rpi.edu
Senior Systems Programmer or gad FreeBSD.org
Rensselaer Polytechnic Institute; Troy, NY; USA
_______________________________________________
freebsd-questions freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|
|
| log file rotation |

|
2006-01-17 13:23:25 |
Hmm, when I run newsyslog I get the following message:
root mail# newsyslog -vv
newsyslog: malformed 'at' value:
/var/log/clamd.log 640 3 * $T00
BJ /var/run/clamd.pid 1
Any ideas?
On Mon, 2006-01-16 at 15:48 -0600, David Kelly wrote:
> On Mon, Jan 16, 2006 at 02:50:16PM -0600, Jason King
wrote:
> > My maillog and daillog files have stopped rotating
everyday like they
> > use to. I have 2 FBSD machines that have stopped
these files from
> > rotating as of Dec 15th. I have no idea what could
have caused two
> > different machines to have the same thing happen
to them. The entry in
> > my newsyslog.conf file is correct. There is no
reason these files
> > shouldn't be rotating daily like before. Anyone
have any ideas on what
> > to look for?
>
> Try running newsyslog manually. If that works then its
supposed to be
> run every hour on the hour out of /etc/crontab.
>
_______________________________________________
freebsd-questions freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|
|
| log file rotation |

|
2006-01-17 15:16:20 |
On Tue, Jan 17, 2006 at 07:23:25AM -0600, Jason King wrote:
> Hmm, when I run newsyslog I get the following message:
>
> root mail# newsyslog -vv
> newsyslog: malformed 'at' value:
> /var/log/clamd.log 640 3 *
$T00
> BJ /var/run/clamd.pid 1
>
>
> Any ideas?
Use T00 rather than $T00
--
David Kelly N4HHE, dkelly HiWAAY.net
============================================================
============
Whom computers would destroy, they must first drive mad.
_______________________________________________
freebsd-questions freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|
|
| log file rotation |

|
2006-01-17 15:23:31 |
It is already T00. I don't know why it appears as a $ in
the email.
Just did a copy paste. Go figure on that one. Any other
thoughts?
On Tue, 2006-01-17 at 09:16 -0600, David Kelly wrote:
> On Tue, Jan 17, 2006 at 07:23:25AM -0600, Jason King
wrote:
> > Hmm, when I run newsyslog I get the following
message:
> >
> > root mail# newsyslog -vv
> > newsyslog: malformed 'at' value:
> > /var/log/clamd.log 640 3
* $T00
> > BJ /var/run/clamd.pid 1
> >
> >
> > Any ideas?
>
> Use T00 rather than $T00
>
_______________________________________________
freebsd-questions freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|
|
| log file rotation |

|
2006-01-17 15:41:29 |
On Tue, Jan 17, 2006 at 09:23:31AM -0600, Jason King wrote:
> It is already T00. I don't know why it appears as a $ in
the email.
> Just did a copy paste. Go figure on that one. Any other
thoughts?
Your error is "malformed at value" and when one
does copy/paste the data
appears differently than expected. Therefore there is
something wrong
with the way its typed, maybe high bit set on one or more
characters.
Suggest deleting the * up to the BJ and retype with care.
Retry.
> On Tue, 2006-01-17 at 09:16 -0600, David Kelly wrote:
> > On Tue, Jan 17, 2006 at 07:23:25AM -0600, Jason
King wrote:
> > > Hmm, when I run newsyslog I get the following
message:
> > >
> > > root mail# newsyslog -vv
> > > newsyslog: malformed 'at' value:
> > > /var/log/clamd.log 640
3 * $T00
> > > BJ /var/run/clamd.pid 1
> > >
> > >
> > > Any ideas?
> >
> > Use T00 rather than $T00
--
David Kelly N4HHE, dkelly HiWAAY.net
============================================================
============
Whom computers would destroy, they must first drive mad.
_______________________________________________
freebsd-questions freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|
|
| log file rotation |

|
2006-01-17 15:44:38 |
On Tue, Jan 17, 2006 at 09:41:29AM -0600, David Kelly wrote:
> On Tue, Jan 17, 2006 at 09:23:31AM -0600, Jason King
wrote:
> > It is already T00. I don't know why it
appears as a $ in the email.
> > Just did a copy paste. Go figure on that one. Any
other thoughts?
>
> Your error is "malformed at value" and when
one does copy/paste the data
> appears differently than expected. Therefore there is
something wrong
> with the way its typed, maybe high bit set on one or
more characters.
> Suggest deleting the * up to the BJ and retype with
care. Retry.
For fun try "hexdump -C /etc/newsyslog.conf |
more" to see exactly what
is typed.
--
David Kelly N4HHE, dkelly HiWAAY.net
============================================================
============
Whom computers would destroy, they must first drive mad.
_______________________________________________
freebsd-questions freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|
|
| log file rotation |

|
2006-01-17 20:15:13 |
At 9:23 AM -0600 1/17/06, Jason King wrote:
>
>On Tue, 2006-01-17 at 09:16 -0600, David Kelly wrote:
>> On Tue, Jan 17, 2006 at 07:23:25AM -0600, Jason
King wrote:
>> > Hmm, when I run newsyslog I get the following
message:
>> >
>> > root mail# newsyslog -vv
>> > newsyslog: malformed 'at' value:
> > > /var/log/clamd.log 640
3 * $T00
>> > BJ /var/run/clamd.pid 1
>> >
>> >
>> > Any ideas?
>>
> > Use T00 rather than $T00
>
>It is already T00. I don't know why it appears as a $ in
the email.
>Just did a copy paste. Go figure on that one. Any other
thoughts?
If newsyslog is saying that's a bad 'at' value, then there
is
*something* wrong with that line. Maybe there's some
non-printing
character in it, which might be why we see $T00 instead of
T00.
But as long as newsyslog thinks there is something wrong
with the
'at' value on that line, then it will not rotate the files.
Maybe
you have multiple lines for the same logfile, one with $T00
and
one with T00.
Also, you don't need to specify the '1' at the end, since
that is
just SIGHUP, and newsyslog defaults to using SIGHUP unless
you give
it some other value. Including the '1' should not cause any
problem,
though.
--
Garance Alistair Drosehn = gad gilead.netel.rpi.edu
Senior Systems Programmer or gad FreeBSD.org
Rensselaer Polytechnic Institute; Troy, NY; USA
_______________________________________________
freebsd-questions freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|
|
[1-9]
|
|