Re: logrotate - got compressed log

2017-02-05 Thread Kamil Jońca
kjo...@poczta.onet.pl (Kamil Jońca) writes: > Andy Smith writes: > >> Hi Kamil, >> >> On Sat, Feb 04, 2017 at 10:11:00AM +0100, Kamil Jońca wrote: >>> I have logrotate with config (excerpt) >>> --8<---cut here---start->8--- >>> compress >> >> […] >> >>> And sin

Re: logrotate - got compressed log

2017-02-04 Thread Joe
On Sat, 04 Feb 2017 18:04:12 +0100 kjo...@poczta.onet.pl (Kamil Jońca) wrote: > Andy Smith writes: > > > Hi Kamil, > > > > On Sat, Feb 04, 2017 at 10:11:00AM +0100, Kamil Jońca wrote: > >> I have logrotate with config (excerpt) > >> --8<---cut here---start->

Re: logrotate - got compressed log

2017-02-04 Thread Joe
On Sat, 4 Feb 2017 16:12:50 + Andy Smith wrote: > Hi Kamil, > > On Sat, Feb 04, 2017 at 10:11:00AM +0100, Kamil Jońca wrote: > > I have logrotate with config (excerpt) > > --8<---cut here---start->8--- > > compress > > […] > > > And since some days I s

Re: logrotate - got compressed log

2017-02-04 Thread Kamil Jońca
Andy Smith writes: > Hi Kamil, > > On Sat, Feb 04, 2017 at 10:11:00AM +0100, Kamil Jońca wrote: >> I have logrotate with config (excerpt) >> --8<---cut here---start->8--- >> compress > > […] > >> And since some days I started to receive *compressed* old syslog

Re: logrotate - got compressed log

2017-02-04 Thread Andy Smith
Hi Kamil, On Sat, Feb 04, 2017 at 10:11:00AM +0100, Kamil Jońca wrote: > I have logrotate with config (excerpt) > --8<---cut here---start->8--- > compress […] > And since some days I started to receive *compressed* old syslog files > :( instead uncompressed on

Re: logrotate does not work on my log (Debian Jessie)

2016-01-28 Thread ikuzar RABE
:00 GMT+01:00 Glyn Astill : > > > From: ikuzar RABE > >To: Glyn Astill > >Cc: "debian-user@lists.debian.org" > >Sent: Wednesday, 27 January 2016, 16:56 > >Subject: Re: logrotate does not work on my log (Debian Jessie) > > > > > > &

Re: logrotate does not work on my log (Debian Jessie)

2016-01-27 Thread Martin Read
On 27/01/16 21:37, Gene Heskett wrote: What ails the udev maintainer(s) that seem to think the owner and only human user of this machine is to be denied access to its facilities? The udev maintainers have no idea how many users your system is going to have, and udev itself is not sentient.

Re: logrotate does not work on my log (Debian Jessie)

2016-01-27 Thread Joe
On Wed, 27 Jan 2016 16:37:20 -0500 Gene Heskett wrote: > > What ails the udev maintainer(s) that seem to think the owner and > only human user of this machine is to be denied access to its > facilities? > > It is MY machine, and I built it for ME to use. And if someone in the > udev camp gets

Re: logrotate does not work on my log (Debian Jessie)

2016-01-27 Thread Gene Heskett
On Wednesday 27 January 2016 16:00:59 Glyn Astill wrote: > > From: ikuzar RABE > >To: Glyn Astill > >Cc: "debian-user@lists.debian.org" > >Sent: Wednesday, 27 January 2016, 16:56 > >Subject: Re: logrotate does not work on my log (Debian Jessie) > >

Re: logrotate does not work on my log (Debian Jessie)

2016-01-27 Thread Glyn Astill
> From: ikuzar RABE >To: Glyn Astill >Cc: "debian-user@lists.debian.org" >Sent: Wednesday, 27 January 2016, 16:56 >Subject: Re: logrotate does not work on my log (Debian Jessie) > > > >the ownership of my_app.log.gz is not root (just a simple user, and a

Re: logrotate does not work on my log (Debian Jessie)

2016-01-27 Thread ikuzar RABE
the ownership of my_app.log.gz is not root (just a simple user, and a simple group) 2016-01-27 17:43 GMT+01:00 Glyn Astill : > > > From: ikuzar RABE > >To: debian-user@lists.debian.org > >Sent: Wednesday, 27 January 2016, 16:32 > >Subject: logrotate does not work on my log (Debian Jessie) > > >

Re: logrotate does not work on my log (Debian Jessie)

2016-01-27 Thread Glyn Astill
> From: ikuzar RABE >To: debian-user@lists.debian.org >Sent: Wednesday, 27 January 2016, 16:32 >Subject: logrotate does not work on my log (Debian Jessie) > > > >Hi all, > >I upgraded my system from Debian 6 to Debian 8 Jessie. logrotate worked on my >log on Debian 6 (I got my_app.log.gz whe

Re: logrotate permissions problem

2015-09-01 Thread Reco
Hi. On Tue, 01 Sep 2015 08:27:39 -0600 "D. R. Evans" wrote: > D. R. Evans wrote on 08/31/2015 01:09 PM: > > >> The solution of this problem should be as simple as: > >> > >> chgrp adm /var/log/polipo/pol* > >> rm -f /var/log/polipo/polipo.log.1.gz > > > > OK; I have done that, and will let yo

Re: logrotate permissions problem

2015-09-01 Thread D. R. Evans
D. R. Evans wrote on 08/31/2015 01:09 PM: >> The solution of this problem should be as simple as: >> >> chgrp adm /var/log/polipo/pol* >> rm -f /var/log/polipo/polipo.log.1.gz > > OK; I have done that, and will let you know tomorrow whether the problem has > gone away. > Yep; no notification fr

Re: logrotate permissions problem

2015-08-31 Thread D. R. Evans
Reco wrote on 08/29/2015 12:17 PM: > > Your /etc/logrotate.d/polipo should contain this line: > > su proxy adm > Yep. [stuff elided] > > The solution of this problem should be as simple as: > > chgrp adm /var/log/polipo/pol* > rm -f /var/log/polipo/polipo.log.1.gz OK; I have done that, an

Re: logrotate permissions problem

2015-08-29 Thread Reco
Hi. On Sat, 29 Aug 2015 09:43:27 -0600 "D. R. Evans" wrote: > Ever since the upgrade from wheezy to jessie a few days ago, I have been > receiving the following every day: > > > > /etc/cron.daily/logrotate: > error: error setting owner of /var/log/polipo/polipo.log.1.gz to uid 13 and > g

Re: Logrotate failure SOLVED

2015-07-07 Thread Tony van der Hoff
On 07/07/15 09:24, Darac Marjal wrote: > On Mon, Jul 06, 2015 at 06:16:37PM +0100, Tony van der Hoff wrote: >> Since installing Jessie from scratch on this laptop, I'm getting a >> nightly error message from logrotate: >> > >> if [ -z "`$MYADMIN ping 2>/dev/null`" ]; then > > This pi

Re: Logrotate failure

2015-07-07 Thread Darac Marjal
On Mon, Jul 06, 2015 at 06:16:37PM +0100, Tony van der Hoff wrote: > Since installing Jessie from scratch on this laptop, I'm getting a > nightly error message from logrotate: > > /etc/cron.daily/logrotate: > error: error running shared postrotate script for '/var/log/mysql.log > /var/log/mysql/my

Re: logrotate problem

2014-10-08 Thread Catalin Soare
On Oct 6, 2014 11:00 PM, "Michael Grant" wrote: > > I think I've tracked this down to rsyslogd being updated a few days ago and it not restarting. > > So I tried to restart it by hand with /etc/init.d/rsyslogd restart but it failed to stop. So trying to understand why it didn't stop, I tried runn

Re: logrotate problem

2014-10-06 Thread Michael Grant
I think I've tracked this down to rsyslogd being updated a few days ago and it not restarting. So I tried to restart it by hand with /etc/init.d/rsyslogd restart but it failed to stop. So trying to understand why it didn't stop, I tried running start-stop-daemon manually and here's what I see: #

Re: logrotate problem

2014-10-06 Thread Joe
On Mon, 6 Oct 2014 19:51:38 +0100 Michael Grant wrote: > When logrotate fired this month, almost all of my logs remain at zero > length and the .1 log continues to grow. For example: > > ls -l /var/log > ... > -rw-r- 1 root adm 0 Oct 5 06:25 messages > -rw-r- 1 root

Re: logrotate cannot rotate some log files

2014-06-14 Thread Andrew McGlashan
On 15/06/2014 10:49 AM, André Nunes Batista wrote: > # logrotate -f -v /etc/logrotate.d/ 2> logrotate.txt > > # cat logrotate.txt | grep syslog > reading config file rsyslog > rotating pattern: /var/log/syslog > considering log /var/log/syslog > rotating log /var/log/syslog, log->rotateCount is 7

Re: logrotate cannot rotate some log files

2014-06-14 Thread Bzzzz
On Sat, 14 Jun 2014 21:49:35 -0300 André Nunes Batista wrote: > 0 -rw-r- 1 root adm 0 Feb 9 07:35 /var/log/syslog.1.gz Move out syslog* to another place and restart syslog (looks like you have a hole in file numbering). If that doesn't work, try to reinstall logrotate and rsyslog (or switc

Re: logrotate: file size changed while zipping

2013-08-18 Thread Slavko
Hi, I am sorry for blank post - my mistake. Dňa 18.08.2013 11:00 Pertti Kosunen wrote / napísal(a): > On Thu, 26 Jul 2012 10:42:30 +0200, Slavko wrote: >> in last days (perhaps weeks) i get daily mail from cron's logrotate task >> with this: >> >> /etc/cron.daily/logrotate: >> gzip: stdin: file

Re: logrotate: file size changed while zipping

2013-08-18 Thread Slavko
Dňa 18.08.2013 11:00 Pertti Kosunen wrote / napísal(a): > On Thu, 26 Jul 2012 10:42:30 +0200, Slavko wrote: >> in last days (perhaps weeks) i get daily mail from cron's logrotate task >> with this: >> >> /etc/cron.daily/logrotate: >> gzip: stdin: file size changed while zipping > > I had this too

Re: logrotate: file size changed while zipping

2013-08-18 Thread Pertti Kosunen
On Thu, 26 Jul 2012 10:42:30 +0200, Slavko wrote: in last days (perhaps weeks) i get daily mail from cron's logrotate task with this: /etc/cron.daily/logrotate: gzip: stdin: file size changed while zipping I had this too over a year on testing/unstable. I did put --verbose to logrotate, it se

Re: logrotate: file size changed while zipping

2012-07-27 Thread Camaleón
On Fri, 27 Jul 2012 17:18:22 +0200, Slavko wrote: > Dňa Thu, 26 Jul 2012 21:11:09 +0200 Slavko napísal: > >> I will report the result after checking these three (or all, if will be >> needed) files - if i do not forget to do the modification, then after >> three (or after 16 days). > > it seems

Re: logrotate: file size changed while zipping

2012-07-27 Thread Slavko
Hi, Dňa Thu, 26 Jul 2012 21:11:09 +0200 Slavko napísal: > I will report the result after checking these three (or all, if will be > needed) files - if i do not forget to do the modification, then after > three (or after 16 days). it seems, that i was success on the first attempt :-) I changed

Re: logrotate: file size changed while zipping

2012-07-26 Thread Slavko
Hi, Dňa Thu, 26 Jul 2012 17:53:36 + (UTC) Camaleón napísal: > >> Also, have you edited any of the logrotate routines at > >> "/etc/logrotate.d/ *" or have you added a self-made one? > > > > Yes, i have modified (one) and my own (two) routines there, but i have > > them a long time before th

Re: logrotate: file size changed while zipping

2012-07-26 Thread Camaleón
On Thu, 26 Jul 2012 18:45:12 +0200, Slavko wrote: > Dňa Thu, 26 Jul 2012 15:21:34 + (UTC) Camaleón > napísal: (...) >> > /etc/cron.daily/logrotate: >> > gzip: stdin: file size changed while zipping >> >> The error seems coming from "zip.c" library. Have you installed the >> stock version?

Re: logrotate: file size changed while zipping

2012-07-26 Thread Slavko
Hi, Dňa Thu, 26 Jul 2012 15:21:34 + (UTC) Camaleón napísal: > On Thu, 26 Jul 2012 10:42:30 +0200, Slavko wrote: > > > in last days (perhaps weeks) i get daily mail from cron's logrotate > > task with this: > > > > /etc/cron.daily/logrotate: > > gzip: stdin: file size changed while zipping

Re: logrotate: file size changed while zipping

2012-07-26 Thread Camaleón
On Thu, 26 Jul 2012 10:42:30 +0200, Slavko wrote: > in last days (perhaps weeks) i get daily mail from cron's logrotate task > with this: > > /etc/cron.daily/logrotate: > gzip: stdin: file size changed while zipping The error seems coming from "zip.c" library. Have you installed the stock versi

Re: logrotate

2011-01-30 Thread Arturo R.
On Sun, Jan 30, 2011 at 6:10 AM, Informatik.hu wrote: > > It is an old ETCH box. I do not remember if i ever changed these config > files. > Any suggestions? (Maybe, I am blind?) Maybe you just can't see them. :) A common cause found on a quick Google search seems to be CRLF line endings on the c

Re: logrotate

2011-01-30 Thread Camaleón
On Sun, 30 Jan 2011 15:10:39 +0100, Informatik.hu wrote: (...) > I have got a strange problem, every day, a got the following > error: > /etc/cron.daily/logrotate: > error: apache2_template:1 lines must begin with a keyword or a filename > (possibly in double quotes) > error: apache2_template:1

Re: logrotate

2011-01-30 Thread Boyd Stephen Smith Jr.
In <4d45715f.8090...@informatik.hu>, Informatik.hu wrote: > > > > > > > >Hi All! http://www.debian.org/MailingLists/#codeofconduct Specifically: "Never send your messages in HTML; use plain text instead." I've left some of the worst parts quoted; you can see what makes them diffi

Re: logrotate

2011-01-30 Thread Hans-J. Ullrich
Am Sonntag, 30. Januar 2011 schrieb Informatik.hu: > Hi All! > > and i also checked /etc/logrotate.d/apache2, but also did not find > anything: > Is it a typo, or are the > " < at the first line originally in your conf? > "/var/log/apache2/*.log" { > weekly > missingok >

Re: logrotate

2010-06-19 Thread Alexander Batischev
On Sat, Jun 19, 2010 at 05:20:15PM +0530, Kaushal Shriyan wrote: > Hi, > > I have set ionice -c3 for logrotate application,what happens when the other > program which has asked for disk IO during this period ? Well, man 1 ionice describes it pretty clear, isn't it? Class 3 (-c3 option) stands for

[SOLVED] Re: logrotate won't finish, high cpu usage

2010-06-09 Thread manuel
i was able to solve the problem by removing the state-file of logrotate rm /var/lib/logrotate/status regards, manuel On Tue, 08 Jun 2010 08:34:08 +0200, wrote: > Hi! > > recently i've been experiencing problems with logrotate, each time it runs > it > gets kinda stuck and eats up the systems c

Re: logrotate

2010-03-07 Thread Laurent Guignard
On Thu, 04 Mar 2010 15:12:18 +0530, Kaushal Shriyan wrote: > Hi, > > is there a way to scp or rsync the files to a remote host older than > 15 days in the logrotate config and than delete it on localhost older > than 15 days, so that at a time only 15 days of logs are available on > localhost. >

Re: logrotate for multiple websites

2010-03-04 Thread Olaf Reitmaier Veracierta
On 01/03/10 17:13, Richard Hector wrote: Hi all, I understand that I can setup a logrotate entry with sharedscripts, so it will only reload apache once for all the logs in that stanza. That's fine, until you want to have multiple stanzas. Well, it true you can't reload apache per virtualhos

Re: logrotate

2010-03-04 Thread Olaf Reitmaier Veracierta
On 04/03/10 05:12, Kaushal Shriyan wrote: Hi, is there a way to scp or rsync the files to a remote host older than 15 days in the logrotate config and than delete it on localhost older than 15 days, so that at a time only 15 days of logs are available on localhost. Increment logrotate for

Re: logrotate: olddir on different device?

2009-09-27 Thread Frank Lin PIAT
On Sat, 2009-09-26 at 11:59 +0200, Sascha Silbe wrote: > ld (compressed) logfiles to a directory on a > different device (from SD card to hard disk in this case). > Unfortunately > the "olddir" config option only works if both directories are on the > same device (probably for easier handling of

Re: Logrotate error in lenny

2009-05-29 Thread Tony van der Hoff
Tony van der Hoff wrote: Hi, Running Lenny, I'm getting an error in my daily cron log: /etc/cron.daily/logrotate: error: error running shared postrotate script for /var/log/mysql.log /var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log run-parts: /etc/cron.daily/logrotate exited with return

Re: logrotate and apache virtual domains

2008-12-30 Thread Steve Kemp
On Tue Dec 30, 2008 at 12:18:35 -0500, Rick Pasotto wrote: > I have several domains with their log files in separate directories > under /var/log/apache2. Logrotate is rotating only files in > /var/log/apache2 and not in the subdirectories. > > Where/how do I get logrotate to rotate the virtual hos

Re: logrotate

2008-12-20 Thread David Jardine
On Sat, Dec 20, 2008 at 10:07:35PM +0100, Tomas Kral wrote: > dear list, > > it seams as if syslog & messages files are not rotated, at least not in > my installation of Etch, > is there a setting that I need to change to get syslog or mesages files > rotated? Is the machine on all day? If not,

Re: logrotate: Logs in all subdirs of wildcard

2007-09-24 Thread Mike Bird
On Monday 24 September 2007 14:41, Florian Lindner wrote: > can I configure logrotate so that it rotates the logfiles in a subdir of a > wildcard, for example: /home/*/http/log/access.log which should work for > all users. Does this work? It should work. I have "/home/*/.procmail/log" which works

Re: logrotate

2006-12-17 Thread Hans-Christoph Steiner
Phil Dyer cox.net> writes: > > > Been getting these emails from cron lately... running sarge. > > /etc/cron.daily/logrotate: > /tmp/logrotate.qRrfw3: line 4: kill: (880) - No such process > /tmp/logrotate.nnWbEs: line 4: kill: (880) - No such process > > any clues? > > -- > > /phil > >

Re: Logrotate problems

2006-08-15 Thread Florian Kulzer
On Tue, Aug 15, 2006 at 14:14:28 +0200, Martin wrote: > Florian Kulzer wrote: > > >You can run > > > >/usr/sbin/syslogd-listfiles --all > > > >to get a list of all log files that are under the control of sysklogd. > > > >If you want to change the behavior you have to look at > > > >/etc/cron.daily

Re: logrotate zombie

2006-08-15 Thread Chris Brotherton
On Tue, Aug 15, 2006 at 09:34:34AM +0200, Matus UHLAR - fantomas wrote: > On 14.08.06 13:17, Chris Brotherton wrote: > > I am have trouble running logrotate on debian testing. Every morning when > > cron daily runs, logrotate becomes defunct. Here is the "ps" output: > > > > root 24125 22098

Re: Logrotate problems

2006-08-15 Thread Martin
Florian Kulzer wrote: You can run /usr/sbin/syslogd-listfiles --all to get a list of all log files that are under the control of sysklogd. If you want to change the behavior you have to look at /etc/cron.daily/sysklogd /etc/cron.weekly/sysklogd The relevant lines in these two scripts are:

Re: Logrotate problems

2006-08-15 Thread Florian Kulzer
On Tue, Aug 15, 2006 at 11:55:38 +0200, Martin wrote: > Kevin Coyner wrote: > > >Try it as follows: > > > >/var/log/mail.log { > >weekly > >nocompress > >rotate 4 > >missingok > >create 640 root adm > >postrotate > >#reload syslog > >

Re: Logrotate problems

2006-08-15 Thread Martin
Kevin Coyner wrote: Try it as follows: /var/log/mail.log { weekly nocompress rotate 4 missingok create 640 root adm postrotate #reload syslog /etc/init.d/sysklogd reload #reload postfix /etc/init.d/postfix reload

Re: logrotate zombie

2006-08-15 Thread Matus UHLAR - fantomas
On 14.08.06 13:17, Chris Brotherton wrote: > I am have trouble running logrotate on debian testing. Every morning when > cron daily runs, logrotate becomes defunct. Here is the "ps" output: > > root 24125 22098 0 06:25 ?00:00:00 /USR/SBIN/CRON > root 24126 24125 0 06:25 ?

Re: Logrotate problems

2006-08-11 Thread Martin
Kevin Coyner wrote: Try it as follows: /var/log/mail.log { weekly nocompress rotate 4 missingok create 640 root adm postrotate #reload syslog /etc/init.d/sysklogd reload #reload postfix /etc/init.d/postfix reload

Re: Logrotate problems

2006-08-10 Thread Kevin Coyner
On Thu, Aug 10, 2006 at 08:40:47AM +0200, Martin wrote.. > I'm seeing some odd behaviors when rotating maillogs. > > I have the following settings for the maillog: > > # vi /etc/logrotate.d/postfix > > /var/log/mail.log { > rotate 4 > missingok > create 640 root ad

Re: Logrotate and mail

2006-03-14 Thread Benjamin A'Lee
On Tue, 2006-03-14 at 17:41 -0500, Foote, Bruce (OFT) wrote: > However, can I use mail to mail a log to a system user? That is, a > user specified in /etc/passwd?' Yes, just send it to the username: $ cat /var/log/syslog | mail root You might want to look at the logcheck package, if you just

Re: Logrotate and mail

2006-03-14 Thread Foote, Bruce (OFT)
Sir, Back in 5/2002 you wrote a question on a listserve that went with out answer. It was as follows: 'I have a question regarding the use of logrotate. I rotate syslog, apache/error.log, and auth.log weekly. I would like to have the old logs e-mailed, then compressed. As such, I am using the '

Re: logrotate question

2006-02-23 Thread Gene Heskett
On Thursday 23 February 2006 12:12, Michael Schurter wrote: >Chris Brandstetter wrote: >> Also, on kind of a side note, I usually setup /var on a seperate >> partition so that if it does become full you still have access to >> your system, and it will mostly still function as normal. > >While this

Re: logrotate question

2006-02-23 Thread Chris Brandstetter
You are correct. I appologize for my error. :-) On 2/23/06, Michael Schurter <[EMAIL PROTECTED]> wrote: > Chris Brandstetter wrote: > > Also, on kind of a side note, I usually setup /var on a seperate > > partition so that if it does become full you still have access to your > > system, and it

Re: logrotate question

2006-02-23 Thread Michael Schurter
Chris Brandstetter wrote: Also, on kind of a side note, I usually setup /var on a seperate partition so that if it does become full you still have access to your system, and it will mostly still function as normal. While this is common practice, I question its usefulness because most variable

Re: logrotate question

2006-02-23 Thread Marcelo Chiapparini
On Thu, 2006-02-23 at 17:27 +0200, Andras Lorincz wrote: > Hi, > > Not so far I had a problem with disc space and it turned out that > syslog and one more log file occupied together multiple gigabytes so I > found out that logrotate could help me. The thing is that I don't know > what they mean by

Re: logrotate question

2006-02-23 Thread Chris Brandstetter
Also, on kind of a side note, I usually setup /var on a seperate partition so that if it does become full you still have access to your system, and it will mostly still function as normal. On 2/23/06, Florian Kulzer <[EMAIL PROTECTED]> wrote: > Andras Lorincz wrote: > > Hi, > > > > Not so far I h

Re: logrotate question

2006-02-23 Thread Florian Kulzer
Andras Lorincz wrote: Hi, Not so far I had a problem with disc space and it turned out that syslog and one more log file occupied together multiple gigabytes so I found out that logrotate could help me. The thing is that I don't know what they mean by rotating files, could you tell me? It mean

Re: logrotate + mysql = "Help!"

2006-01-11 Thread Adam Porter
Eric d'Alibut wrote: > On 1/7/06, Eric d'Alibut <[EMAIL PROTECTED]> wrote: > >> Done. I await the next cron run. > > Not much enlightenment from the verbosity: > > running shared postrotate script > error: error running shared postrotate script for /var/log/mysql.log > > I wonder: what script

Re: Logrotate don't route

2006-01-10 Thread David Jardine
On Tue, Jan 10, 2006 at 09:09:57PM +0100, Marco wrote: > David Jardine ha scritto: > >On Mon, Jan 09, 2006 at 10:12:46PM +0100, Marco wrote: > > > >>Hi all, > >> > >>I have make in /etc/logrotate.d a new file (as name backup) for rotate > >>my backup's log. > >>This is the text in my file: > >>/

Re: Logrotate don't route

2006-01-10 Thread Marco
David Jardine ha scritto: On Mon, Jan 09, 2006 at 10:12:46PM +0100, Marco wrote: Hi all, I have make in /etc/logrotate.d a new file (as name backup) for rotate my backup's log. This is the text in my file: /var/log/backup { rotate 4 monthly compress delaycompress missingok

Re: logrotate + mysql = "Help!"

2006-01-10 Thread Jay Zach
Jay Zach wrote: > Eric d'Alibut wrote: > >>I have a Debian stable install that runs smoothly; uptime is seventy >>three days. Just lately I am getting these system emails: >> >>/etc/cron.daily/logrotate: >>error: error running shared postrotate script for /var/log/mysql.log >>/var/log/mysql/mysql.

Re: logrotate + mysql = "Help!"

2006-01-10 Thread Jay Zach
Eric d'Alibut wrote: > I have a Debian stable install that runs smoothly; uptime is seventy > three days. Just lately I am getting these system emails: > > /etc/cron.daily/logrotate: > error: error running shared postrotate script for /var/log/mysql.log > /var/log/mysql/mysql.log /var/log/mysql.er

Re: Logrotate don't route

2006-01-09 Thread Bill Marcum
On Mon, Jan 09, 2006 at 10:12:46PM +0100, Marco wrote: > Hi all, > > I have make in /etc/logrotate.d a new file (as name backup) for rotate > my backup's log. > This is the text in my file: > /var/log/backup { >rotate 4 >monthly >compress >delaycompress >missingok >notifem

Re: Logrotate don't route

2006-01-09 Thread Bill Marcum
On Mon, Jan 09, 2006 at 11:20:27PM +0100, David Jardine wrote: > > Have you tried it with the -f option, i.e, > > logrotate -f /var/log/backup > > from the command line? If that works, it may be that your computer > was simply not switched on at the time logrotate should have been > doing its

Re: logrotate + mysql = "Help!"

2006-01-09 Thread Eric d'Alibut
On 1/7/06, Eric d'Alibut <[EMAIL PROTECTED]> wrote: > Done. I await the next cron run. Not much enlightenment from the verbosity: running shared postrotate script error: error running shared postrotate script for /var/log/mysql.log I wonder: what script is this referring to? -- No no no, my fi

Re: Logrotate don't route

2006-01-09 Thread David Jardine
On Mon, Jan 09, 2006 at 10:12:46PM +0100, Marco wrote: > Hi all, > > I have make in /etc/logrotate.d a new file (as name backup) for rotate > my backup's log. > This is the text in my file: > /var/log/backup { >rotate 4 >monthly >compress >delaycompress >missingok >notifem

Re: logrotate + mysql = "Help!"

2006-01-07 Thread Eric d'Alibut
On 1/5/06, Adam Porter <[EMAIL PROTECTED]> wrote: > Maybe if you add the verbose switch there, next time it runs it > will give you more detail (though perhaps more than you want). Done. I await the next cron run. Thanks, -- No no no, my fish's name is Eric, Eric the fish. He's an halibut. I am

Re: logrotate + mysql = "Help!"

2006-01-05 Thread Adam Porter
Eric d'Alibut wrote: > I have a Debian stable install that runs smoothly; uptime is seventy > three days. Just lately I am getting these system emails: > > /etc/cron.daily/logrotate: > error: error running shared postrotate script for /var/log/mysql.log > /var/log/mysql/mysql.log /var/log/mysql.e

Re: logrotate and syslog

2005-05-07 Thread Martin Dickopp
Dalibor Straka <[EMAIL PROTECTED]> writes: > my /var/log/syslog is rotated but there is nothing in > /etc/logrotate.conf nor in /etc/logrotate.d/*. How is syslog rotated? It is rotated in /etc/cron.daily/sysklogd. (See also /etc/cron.weekly/sysklogd). Martin -- To UNSUBSCRIBE, email to [EMAIL

Re: logrotate and syslog

2005-05-07 Thread Pollywog
On Saturday 07 May 2005 04:09 pm, Dalibor Straka wrote: > Hello, > > my /var/log/syslog is rotated but there is nothing in > /etc/logrotate.conf nor in /etc/logrotate.d/*. How is syslog rotated? > Does it have its own rotate skript (why?!!!). > > Thanks a lot, look in /etc/cron.daily/sysklogd 8)

Re: Logrotate + sendmail work bad

2004-11-03 Thread Eriberto
Diferent package? I don't understanding. Thanks for your response. Eriberto Richard A Nelson wrote: On Wed, 3 Nov 2004, Eriberto wrote: However, the mail.log is rotated daily and compressed. How to make logrotate work fine with sendmail? Use a different syslog package (that doesn't do its o

Re: Logrotate + sendmail work bad

2004-11-03 Thread Richard A Nelson
On Wed, 3 Nov 2004, Eriberto wrote: > However, the mail.log is rotated daily and compressed. How to make > logrotate work fine with sendmail? Use a different syslog package (that doesn't do its own rotation). -- Rick Nelson MSDOS didn't get as bad as it is overnight -- it took over ten years of

Re: logrotate and bzip2, bz2 on woody stable rotation problem [solved]

2004-09-04 Thread xavier
On Wed, Sep 01, 2004 at 03:52:36PM -0400, xavier wrote: > > Hi, I've a problem with logrotate and bzip2, > logrotate wont rotate my file !... > > > $ logrotate -v : > > rotating file /var/log/syslog > log needs rotating > compressing previous log with: /usr/bin/bzip2 --best '/var/log/syslog.1'

Re: logrotate and bzip2, bz2 on woody stable rotation problem

2004-09-02 Thread xavier
On Thu, Sep 02, 2004 at 03:11:09PM -0400, Bill Marcum wrote: > On Wed, Sep 01, 2004 at 03:52:36PM -0400, xavier wrote: > > > > Hi, I've a problem with logrotate and bzip2, > > logrotate wont rotate my file !... > > > > > > $ logrotate -v : > > > > rotating file /var/log/syslog > > log needs rot

Re: logrotate and bzip2, bz2 on woody stable rotation problem

2004-09-02 Thread Bill Marcum
On Wed, Sep 01, 2004 at 03:52:36PM -0400, xavier wrote: > > Hi, I've a problem with logrotate and bzip2, > logrotate wont rotate my file !... > > > $ logrotate -v : > > rotating file /var/log/syslog > log needs rotating > compressing previous log with: /usr/bin/bzip2 --best '/var/log/syslog.1'

Re: logrotate: extension `date "+.%m-%d-%Y"`

2004-08-02 Thread peter
Hi, This works for me, when you have to rotate a lot of different logs, writing a simple script isnt as easy as getting logrotate to handle it all for you. lastaction DATE=`date +%F`; mv /var/log/messages.1.gz /var/log/messages-$DATE.gz endscript this is of cource asuming that you are

Re: logrotate: three questions

2004-02-15 Thread Joey Hess
Monique Y. Herman wrote: > Is this really a bug, or just a bad/pointless idea? I mean, it asked me > if I should lock these tools down, and I said yes. I can always loosen > up permissions on a case by case basis. Unless bastille closes down access to programs like perl, python, gcc, the shell,

Re: logrotate: three questions

2004-02-15 Thread Monique Y. Herman
On 2004-02-15, Colin Watson penned: > On Sun, Feb 15, 2004 at 12:20:26PM -0700, Monique Y. Herman wrote: >> On 2004-02-15, Joey Hess penned: >> > That would be a violation of debian policy, and is not the case on >> > any of my systems. >> > >> > -rwxr-xr-x1 root root 33K Oct 9 2

Re: logrotate: three questions

2004-02-15 Thread David Clymer
On Sun, 2004-02-15 at 11:16, Monique Y. Herman wrote: > Hi all! I've looked in the logrotate man page, /usr/share/doc/logrotate > (not much there), and google, and I can't seem to find the answer to > these questions: > > 1) I'd like to have the option of never deleting the backups for certain >

Re: logrotate: three questions

2004-02-15 Thread Colin Watson
On Sun, Feb 15, 2004 at 12:20:26PM -0700, Monique Y. Herman wrote: > On 2004-02-15, Joey Hess penned: > > That would be a violation of debian policy, and is not the case on any > > of my systems. > > > > -rwxr-xr-x1 root root 33K Oct 9 2002 > > /usr/sbin/logrotate* > > Well, Bas

Re: logrotate: three questions

2004-02-15 Thread Monique Y. Herman
On 2004-02-15, Joey Hess penned: > > Monique Y. Herman wrote: >> 3) Permissions. The logrotate app is only executable by root on my >> box. I'm trying to imagine the situation in which giving a normal >> user access to logrotate would hurt anything, as long as logs have >> appropriate permissions

Re: logrotate: three questions

2004-02-15 Thread Joey Hess
Monique Y. Herman wrote: > 3) Permissions. The logrotate app is only executable by root on my box. > I'm trying to imagine the situation in which giving a normal user access > to logrotate would hurt anything, as long as logs have appropriate > permissions. Could the paranoid among us speak up an

Fwd: Re: logrotate question

2004-02-10 Thread Dr.-Ing. C. Hurschler
Am Dienstag, 10. Februar 2004 14:20 schrieb Martin Dickopp: > "Dr.-Ing. C. Hurschler" <[EMAIL PROTECTED]> writes: > > I'm running Debian Testing, and have noticed that my syslog, kern.log, > > and debug.log files are too large (over 100Mb). > > I don't have a "debug.log" file on my system. Do you m

Re: logrotate question

2004-02-10 Thread Kjetil Kjernsmo
On Tuesday 10 February 2004 13:45, Dr.-Ing. C. Hurschler wrote: > Hi, > > I'm running Debian Testing, and have noticed that my syslog, > kern.log, and debug.log files are too large (over 100Mb). Yeah, I've also run into trouble like this. I tried to avoid some problems by adding # Rotate logs

Re: logrotate question

2004-02-10 Thread Andreas Janssen
Hello Dr.-Ing. C. Hurschler (<[EMAIL PROTECTED]>) wrote: > I'm running Debian Testing, and have noticed that my syslog, kern.log, > and debug.log files are too large (over 100Mb). I looked in > logrotate.conf and logrotate.d, but didn't find anything that would > rotate these files. Aren't thes

Re: logrotate question

2004-02-10 Thread Martin Dickopp
"Dr.-Ing. C. Hurschler" <[EMAIL PROTECTED]> writes: > I'm running Debian Testing, and have noticed that my syslog, kern.log, and > debug.log files are too large (over 100Mb). I don't have a "debug.log" file on my system. Do you mean "debug"? > I looked in logrotate.conf and logrotate.d, but did

Re: logrotate help

2003-09-04 Thread Andreas Janssen
Hello [EMAIL PROTECTED] (<[EMAIL PROTECTED]>) wrote: > Pretty standard install of Debian, I haven't changed any logrotate > settings but it seems to be working just fine.. > All log files in /var/log/* are being rotated and compressed so I'm > happy with that. eg. > /var/log/syslog > /var/log/sys

Re: logrotate help

2003-09-04 Thread Carlos Sousa
On Thu, 04 Sep 2003 15:11:38 +1000 [EMAIL PROTECTED] wrote: > > One thing I have noticed though is all the websites I have created, I > put their logs in this format: > /var/log/web1/* > /var/log/web2/* > and so on, > Those log files are not being rotated and are getting quite large. > > In what

Re: Logrotate postscript not able to find just-compressed log

2003-07-04 Thread Ian Stevens
> If this is the case, will I have to compress the just-rotated > logfile in the postrotate script if I want to copy a compressed file? The answer is probably "yes". The following rule works on an uncompressed file: /var/log/phantom/phantom.log { daily missingok rotate 52

Re: Logrotate LOTS of Apache Logfiles

2003-01-24 Thread Derrick 'dman' Hudson
On Wed, Jan 22, 2003 at 09:48:33PM +0100, Daniel Fabian wrote: | Hi, | | I'm trying to find an easy way to logrotate apache logfiles. The logfiles | are created by cronolog, one in a day. | | CustomLog "|/usr/sbin/cronolog | /wwwhome/customer1/logs/www.customer1.tt-%Y-%m-%d.log" combined | ErrorL

Re: logrotate & his config file.

2002-11-19 Thread nate
Egor Tur said: > Hi folk. > I want that `last' does login on year but not month . > I think that I need rewrite /etc/logrotate.conf. But what have I write in > this file. `man' told me about only monthly, weekly & daily. > Thanx. your best bet may be to make a custom logrotate.conf file which rota

Re: logrotate and wtmp confusion...

2002-04-29 Thread Grant Edwards
On Fri, Apr 26, 2002 at 02:55:55PM -0500, Grant Edwards wrote: > On my Woody system, there's nothing in /etc/logrotate.d > except the file for the base-config. Yet, looking at > /var/log shows that syslog, messages, daemon.log user.log, > and other stuff are clearly being rotated.

Re: logrotate and wtmp confusion...

2002-04-29 Thread Grant Edwards
On Mon, Apr 29, 2002 at 10:45:06AM -0500, Grant Edwards wrote: > None of my machines have "chkwtmp", but it turns out that > mgetty is what's causing the huge wtmp files. I don't know if > it's init or mgetty itself that's causing the problem. For the sake of posterity, here's the deal: If the

Re: logrotate and wtmp confusion...

2002-04-29 Thread Grant Edwards
On Fri, Apr 26, 2002 at 08:38:25PM -0500, Grant Edwards wrote: > > on the first, check the output of chkwtmp. None of my machines have "chkwtmp", but it turns out that mgetty is what's causing the huge wtmp files. I don't know if it's init or mgetty itself that's causing the problem. -- Grant

  1   2   >