"Jose Orlando T. Ribeiro" wrote:
>
> Hi!
>
> I have a doubt...
>
> I'm using a LM7.2 machine to store log from some Cisco routers in my network. I
> observed that the logs weren't being rotated nor compressed. So I read the man
> pages and changed the /etc/logrotate.conf, so now the Cisco log f
From: Joe Smith <[EMAIL PROTECTED]>
> Organization: Entropy Enterprises
> To: "Jose Orlando T. Ribeiro" <[EMAIL PROTECTED]>
> Subject: Re: [expert] logrotate and syslog
>
> On Wednesday 15 August 2001 15:49, you wrote:
>
> > Has anybody had the same pro
At 03:57 PM 05/29/01, Stephen Lawrence Jr. wrote:
>Hmm, the only problem I had on 7.1 servers was in the logrotate.d/syslog
>configuration. It was set like this:
>
>
>/var/log/mail/* {
>...
>}
>
>which is wrong.
>
>The correct entrie would be:
>
>/var/log/mail/errors {
>...
>}
>
>/var/log/mail/inf
Hmm, the only problem I had on 7.1 servers was in the logrotate.d/syslog
configuration. It was set like this:
/var/log/mail/* {
...
}
which is wrong.
The correct entrie would be:
/var/log/mail/errors {
...
}
/var/log/mail/info {
...
}
etc.etc.etc.
The '/var/log/mail/*' was causing the pr
On Sunday 04 March 2001 15:04, you wrote:
> jarmo wrote:
> > Hi
> >
> > I have now lost my red line how logrotate should work.
> > Have one comp. running there vers.7.1 of mandrake.
> >
> > Have updated latest logrotate version from 7.1 updates.
>
> Um, can you tell me the name of the package that
jarmo wrote:
>
> Hi
>
> I have now lost my red line how logrotate should work.
> Have one comp. running there vers.7.1 of mandrake.
>
> Have updated latest logrotate version from 7.1 updates.
>
Um, can you tell me the name of the package that you used to do this
with?
--
Mark
"If you don't
On Tue Jan 30, 2001 at 03:35:49PM -0800, Tib wrote:
> I've had this problem as well, with the news and mail folders. What I've
> noticed is that in both of those folders, the logs are stored as 'news.crit,
> mail.warn, etc' and have no .log extension - and I think this is causing
> problems, beca
I've had this problem as well, with the news and mail folders. What I've
noticed is that in both of those folders, the logs are stored as 'news.crit,
mail.warn, etc' and have no .log extension - and I think this is causing
problems, because you'll end up with things like
'mail.info.1.gz.1.gz.2.gz.
** Reply to message from Laurent Duperval <[EMAIL PROTECTED]> on
Tue, 30 Jan 2001 13:40:28 -0500 (EST)
> I'd just like to add that I did a
>
> ls -f /var/log/mail | wc
>
> and I got a count of more than 101000 files!
I get this quite often myself. I typically blow out the directories before
On 30 Jan, Daniel Woods wrote:
>> > You haven't upgraded the logrotate rpm available in the 7.1 updates
>> > yet, have you? Upgrade that and your logrotate problems will go away,
>>
>> Ok, thanks.
>
> And be sure to run MandrakeUpdate to get ALL the latest updates.
> Or do it manually and ftp a
> > You haven't upgraded the logrotate rpm available in the 7.1 updates
> > yet, have you? Upgrade that and your logrotate problems will go away,
>
> Ok, thanks.
And be sure to run MandrakeUpdate to get ALL the latest updates.
Or do it manually and ftp all the rpms that have been
updated since
On 30 Jan, Vincent Danen wrote:
> On Tue Jan 30, 2001 at 01:11:20PM -0500, Laurent Duperval wrote:
>
>> I've noticed that whenever logrotate is run, it can take more than 2 hours
>> to complete. It looks like it's doing something fishy. I'm on LM 7.1 and
>> this is the ls -lt |head of /var/log:
>
On Tue Jan 30, 2001 at 01:11:20PM -0500, Laurent Duperval wrote:
> I've noticed that whenever logrotate is run, it can take more than 2 hours
> to complete. It looks like it's doing something fishy. I'm on LM 7.1 and
> this is the ls -lt |head of /var/log:
You haven't upgraded the logrotate rpm
On 30 Jan, To: Mandrake Expert List wrote:
> Hi,
>
> I've noticed that whenever logrotate is run, it can take more than 2 hours
> to complete. It looks like it's doing something fishy. I'm on LM 7.1 and
> this is the ls -lt |head of /var/log:
>
> -rw-r--r--1 root root 16497976 Jan 30
On Fri, 20 Oct 2000 09:24:52 -0600, Vincent Danen wrote:
>Yeah, use an ftp client (ncftp, etc.) and connect to a mirror,
>download the updates, then run "rpm -Fvh *.rpm" and upgrade the
>packages. Very easy.
Oh, thanks. I tried ftp.mandrake.com, found NOTHING, not even
a text file of explanatio
On Fri, 20 Oct 2000, Turgut Kalfaoglu wrote:
> I wrote a C program that would create a batch to do just that:
> rm mail.err.%d.gz.%d.gz.%d.gz.%d.gz*
Can you email me the source to this?
I'm starting to learn C++ and C, and I can't understand how to do system
calls.
Thanks a bundle!
-- Ashees
On Fri Oct 20, 2000 at 03:19:00PM +0300, turgut kalfaoglu wrote:
> On Thu, 19 Oct 2000 14:45:33 -0400, Bill Shirley wrote:
> >rm -Rf /var/log/news /var/log/mail
> >mkdir -m 755 /var/log/news /var/log/mail
>
> Many thanks Bill and others for helping out!
> Two servers are now happy, with a cron j
On Thu, 19 Oct 2000 14:45:33 -0400, Bill Shirley wrote:
>rm -Rf /var/log/news /var/log/mail
>mkdir -m 755 /var/log/news /var/log/mail
Many thanks Bill and others for helping out!
Two servers are now happy, with a cron job
to delete all files from the mail and news directories.
Of course, that i
> > rm [Aa]*
> > rm [Bb]*
> > rm [Cc]*
>
> I wrote a C program that would create a batch to do just that:
> rm mail.err.%d.gz.%d.gz.%d.gz.%d.gz*
> where each %d goes from 1 to 9.. If I reduce it by 1 %d.gz, I get the
I didn't notice the front end of this thread so I'm not sure what's going
on
On Thu, 19 Oct 2000, Ron Johnson, Jr. wrote:
> > [root@db2 mail]# rm *
> > bash: /bin/rm: Argument list too long
> Divide and conquer:
> rm [Aa]*
> rm [Bb]*
> rm [Cc]*
I wrote a C program that would create a batch to do just that:
rm mail.err.%d.gz.%d.gz.%d.gz.%d.gz*
where each %d goes fro
EMAIL PROTECTED]
> Subject: Re: [expert] logrotate
>
>
> Turgut Kalfaoglu wrote:
> >
> > Let's assume that you have successfully ignored the patches,
> > and announcements, and ended up with a system (Mandrake 7.1)
> > that has over 5 MILLION files on it
On Thu Oct 19, 2000 at 06:06:12PM +0300, Turgut Kalfaoglu wrote:
> Let's assume that you have successfully ignored the patches,
> and announcements, and ended up with a system (Mandrake 7.1)
> that has over 5 MILLION files on its /var/log/mail and /news directories.
>
> Let's also assume that wh
At 6:06 PM +0300 10/19/00, Turgut Kalfaoglu wrote:
>Let's assume that you have successfully ignored the patches,
>and announcements, and ended up with a system (Mandrake 7.1)
>that has over 5 MILLION files on its /var/log/mail and /news directories.
>
>Let's also assume that when you type:
> [ro
Turgut Kalfaoglu wrote:
>
> Let's assume that you have successfully ignored the patches,
> and announcements, and ended up with a system (Mandrake 7.1)
> that has over 5 MILLION files on its /var/log/mail and /news directories.
>
> Let's also assume that when you type:
> [root@db2 mail]# rm *
Turgut Kalfaoglu said at Ò[expert] logrotateÓ.
[2000-10-19 17:06]
> Let's assume that you have successfully ignored the patches,
> and announcements, and ended up with a system (Mandrake 7.1)
> that has over 5 MILLION files on its /var/log/mail and /news directories.
>
> Let's also assume that wh
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Thu, 19 Oct 2000, Turgut Kalfaoglu wrote:
>
> Let's assume that you have successfully ignored the patches,
> and announcements, and ended up with a system (Mandrake 7.1)
> that has over 5 MILLION files on its /var/log/mail and /news directories.
>
26 matches
Mail list logo