RE: Logrotate

2003-09-29 Thread Marvin Blackburn
Brett, I was working with logrotate this weekend and remember reading that olddir must be on the same device as the original dir.   --Marvin BlackburnSystems AdministratorGlen Raven"He's no failure.  He's not dead yet" --William Lloyd George -Original Message-From

RE: Logrotate: 2 questions

2003-08-14 Thread Jason Staudenmayer
Logrotate does what it says. Rotate log files. This is most certainly needed or you logfiles will fill your drive. Why it's not finishing? I've never seen that, maybe it's looking for a log file that's not there or there is some other process that is hanging it. After it rotates the file it sends t

Re: logrotate and mysqld

2003-08-14 Thread Matthew Saltzman
On Sun, 10 Aug 2003, Sean Estabrooks wrote: > On Sun, 10 Aug 2003 13:10:30 -0400 (EDT) > Matthew Saltzman <[EMAIL PROTECTED]> wrote: > > > The /etc/logrotate.d/mysqld script in mysql-server-3.23.56-1.72 invokes > > "mysqladmin flushlogs" in the prerotate and postrotate sections. If mysql > > has

Re: logrotate and mysqld

2003-08-14 Thread Sean Estabrooks
On Sun, 10 Aug 2003 13:10:30 -0400 (EDT) Matthew Saltzman <[EMAIL PROTECTED]> wrote: > The /etc/logrotate.d/mysqld script in mysql-server-3.23.56-1.72 invokes > "mysqladmin flushlogs" in the prerotate and postrotate sections. If mysql > has a root password, then these steps fail. It is possible

Re: Logrotate: 2 questions

2003-08-14 Thread Gordon Messmer
Keith Soares wrote: What happens is that each night a 4:02am it runs, but it seems to take a very long time to run and use a lot of resources. It shows up as using over 94% of the CPU time in Running Processes (Webmin). Plus to make matters worse, it doesn’t complete before the next instance run

Re: Logrotate: 2 questions

2003-08-09 Thread Jason Dixon
On Thu, 2003-08-07 at 10:15, Keith Soares wrote: > We have a RH Linux 7.3 web server that has what I believe to be a > default setup of logrotate running each night. > > My first question is: what is the purpose of the default > installation/setup of logrotate? What is it rotating? I ask because I

RE: Logrotate: 2 questions

2003-08-07 Thread Keith Soares
Your answer is dead-on correct - thank you so much! --- Keith Soares Bean Creative -Original Message- From: Gordon Messmer [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 10:59 AM To: [EMAIL PROTECTED] Subject: Re: Logrotate: 2 questions Keith Soares wrote: > What happens

Re: logrotate custom extension

2003-07-30 Thread Peter Peltonen
On Wed, 2003-07-30 at 12:17, Adam Reynolds wrote: > Having read the Man page I see that I can use extension in the > logrotate.conf script but how can I tell it to attach the date to this?? > will the line > > extension `date -d '1 day ago' +%d%m%Y` > > in the logrotate.conf achieve what I'm afte

Re: logrotate and custom Apache install

2003-07-24 Thread Bill Tangren
Reuben D. Budiardja wrote: Hello, I have Apache installed/compiled from source in my server (*not* from RPM). In its httpd.conf, I specify so that it writes its log in /var/log/apache/logs/. The log files are access_log and error_log. So I read the man page for logrotate, and thought to play aro

Re: Logrotate steals resources

2003-01-09 Thread David Lupo
On Thu, Jan 09, 2003 at 03:02:18PM -0500, Jeff Myers wrote: > I have 7.3 running on an HP e800 server with 256M and 9gig of space. > > First indication was the system would not respond to anything except ping. > At the console the error messages were Out Of Memoryyada yada. > Upon further inve

Re: Logrotate steals resources

2003-01-09 Thread Ed Wilts
On Thu, Jan 09, 2003 at 03:02:18PM -0500, Jeff Myers wrote: > I have 7.3 running on an HP e800 server with 256M and 9gig of space. > > First indication was the system would not respond to anything except ping. > At the console the error messages were Out Of Memoryyada yada. > Upon further inve

Re: logrotate problems

2002-12-26 Thread Yoink!
On Thu, 26 Dec 2002, Daniel Tan wrote: > i have rh7.3 running and my logrotate and cron is eating up > memoryi have 23 file in /etc/logrotate.d and that is alot from what i > know...how do i disable services i don't need at all and also from tripwire > and logwatch from cron.daily...do

Re: logrotate error

2002-12-10 Thread Ben Russo
cd /var/log/samba touch snmbd.log /etc/cron.daily/logrotate The last line is just to check. On Tue, 2002-12-10 at 18:06, Matthew Simpson wrote: > Does anyone know what this error is and how to correct it. We had a > situation when we rebooted our server that our BIOS battery went flat > and ju

Re: logrotate error

2002-12-10 Thread nate
Matthew Simpson said: > Does anyone know what this error is and how to correct it. We had a > situation when we rebooted our server that our BIOS battery went flat and > jumped the clock to the year 2009. We have touched all the future dated > files to 2002 but are still receiving this cron email

Re: Logrotate

2002-11-21 Thread sentinel
Try stopping cron then starting it up again. I've seen this happen sometimes on Solaris 8 systems. After I modify crontab I've noticed cron doens't always pick up the changes. Restarting cron picked up the changes. Weird. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?sub

Re: Logrotate

2002-11-21 Thread Javier Gostling
On Thu, Nov 21, 2002 at 02:48:23PM -, Will Mc Donald wrote: > Have you checked that cron's actually running? If your cron daemon's died it >wouldn't be picking up the logrotate entry in /etc/cron.daily, cron.weekly etc. > > $ ps auxww | grep cron I checked /var/log/cron, and it has run ever

Re: Logrotate

2002-11-21 Thread Will Mc Donald
t; To: <[EMAIL PROTECTED]> Sent: Thursday, November 21, 2002 2:28 PM Subject: Re: Logrotate On Tue, Nov 19, 2002 at 07:01:46PM -0600, Yoink! wrote: > On Tue, 19 Nov 2002, Javier Gostling wrote: > > Yester5day I setup logrotate to rotate logfiles for ColdFusionMX on a > > daily basi

Re: Logrotate

2002-11-21 Thread Javier Gostling
On Tue, Nov 19, 2002 at 07:01:46PM -0600, Yoink! wrote: > On Tue, 19 Nov 2002, Javier Gostling wrote: > > Yester5day I setup logrotate to rotate logfiles for ColdFusionMX on a > > daily basis, but today I found that the files were not rotated. > > check the files in your /var/log directory for er

Re: Logrotate

2002-11-20 Thread Yoink!
On Tue, 19 Nov 2002, Javier Gostling wrote: > Yester5day I setup logrotate to rotate logfiles for ColdFusionMX on a > daily basis, but today I found that the files were not rotated. check the files in your /var/log directory for errors, espcially messages and cron. -- \ \/ / _ |~\ _ In Go

Re: logrotate mail from

2002-04-04 Thread Erik Troan
On Wed, 3 Apr 2002, Devon Harding - GTHLA wrote: > Hi, how can I change the address that logrotate sends emails from instead of > [EMAIL PROTECTED] You can't unless you modify the source. Erik --- |"Who is

Re: Logrotate Problem: Please HELP, Please, Please, PLEASE

2001-04-23 Thread Matthew Melvin
On Mon, 23 Apr 2001 at 4:36pm (-0700), Ben Ocean wrote: > At 09:02 AM 4/24/2001 +1000, you wrote: > >You should just be able to remove /etc/logrotate.d/interchange and have done > >with it. You should probably clean up whatever package belongs with the > >file - if you're not using it you prolly

Re: Logrotate Problem: Please HELP, Please, Please, PLEASE

2001-04-23 Thread Ben Ocean
At 09:02 AM 4/24/2001 +1000, you wrote: >You should just be able to remove /etc/logrotate.d/interchange and have done >with it. You should probably clean up whatever package belongs with the >file - if you're not using it you prolly don't want it there at all. At a >guess I would say that your /

Re: Logrotate Problem: Please HELP, Please, Please, PLEASE

2001-04-23 Thread Matthew Melvin
On Mon, 23 Apr 2001 at 3:49pm (-0700), Ben Ocean wrote: > At 08:15 AM 4/24/2001 +1000, you wrote: > >What's in /tmp/logrotate.strace? > > Everything proceeds smoothly until it goes to read a files in > /var/log/interchange and then it starts spitting out zillions of lines like > this: > > 30860 t

Re: Logrotate Problem: Please HELP, Please, Please, PLEASE

2001-04-23 Thread Ben Ocean
At 08:15 AM 4/24/2001 +1000, you wrote: >What's in /tmp/logrotate.strace? Everything proceeds smoothly until it goes to read a files in /var/log/interchange and then it starts spitting out zillions of lines like this: 30860 time(NULL)= 988063316 30860 time(NULL)

Re: Logrotate Problem: Please HELP, Please, Please, PLEASE

2001-04-23 Thread Matthew Melvin
On Mon, 23 Apr 2001 at 3:09pm (-0700), Ben Ocean wrote: > At 07:49 AM 4/24/2001 +1000, you wrote: > >On Mon, 23 Apr 2001 at 2:40pm (-0700), Ben Ocean wrote: > > > > > Hi; > > > I don't know WHY nobody out there responds to my queries, > > > >Ussually it's 'cause no one knows the answer. Your que

Re: Logrotate Problem: Please HELP, Please, Please, PLEASE

2001-04-23 Thread Ben Ocean
At 07:49 AM 4/24/2001 +1000, you wrote: >On Mon, 23 Apr 2001 at 2:40pm (-0700), Ben Ocean wrote: > > > Hi; > > I don't know WHY nobody out there responds to my queries, > >Ussually it's 'cause no one knows the answer. Your query doesn't really >give us much to go on. As I thought about it, I fig

Re: Logrotate Problem: Please HELP, Please, Please, PLEASE

2001-04-23 Thread Hal Burgiss
On Tue, Apr 24, 2001 at 07:49:22AM +1000, Matthew Melvin wrote: > On Mon, 23 Apr 2001 at 2:40pm (-0700), Ben Ocean wrote: > > > Hi; > > I don't know WHY nobody out there responds to my queries, > > Ussually it's 'cause no one knows the answer. Your query doesn't really > give us much to go on.

Re: Logrotate Problem: Please HELP, Please, Please, PLEASE

2001-04-23 Thread Matthew Melvin
On Mon, 23 Apr 2001 at 2:40pm (-0700), Ben Ocean wrote: > Hi; > I don't know WHY nobody out there responds to my queries, Ussually it's 'cause no one knows the answer. Your query doesn't really give us much to go on. > but my server's > costing me lots of money and I NEED YOUR HELP. I have a p

Re: Logrotate and dates..

2001-03-06 Thread Emmanuel Seyman
On Tue, Mar 06, 2001 at 08:18:29AM -0500, Duncan Hill a ecrit: > I'm playing with logrotate, and have run into something. Namely, the > fact that log rotate calls the older logs .1, .2, .3 etc. Is it > possible, within logrotate, to specify that these files get a date > instead? Or, can Apache

Re: Logrotate and dates..

2001-03-06 Thread Hal Burgiss
On Tue, Mar 06, 2001 at 08:18:29AM -0500, Duncan Hill wrote: > I'm playing with logrotate, and have run into something. Namely, the > fact that log rotate calls the older logs .1, .2, .3 etc. Is it > possible, within logrotate, to specify that these files get a date > instead? Or, can Apache wr

Re: logrotate problem, error renaming...File name too long

2001-03-01 Thread Larry Grover
Thanks for the suggestion. I'll give it a try. __ Larry Grover, PhD Assoc Prof of Physiology Marshall Univ Sch of Med On Thu, 01 Mar 2001 10:06:04 -0700 (MST), John Weber <[EMAIL PROTECTED]> wrote: > > It's the log.* in /etc/logrotate.d/samba. I changed mine to explicitly > name the logs I w

Re: logrotate problem, error renaming...File name too long

2001-03-01 Thread John Weber
It's the log.* in /etc/logrotate.d/samba. I changed mine to explicitly name the logs I want to rotate. /var/log/samba/log.smb { notifempty missingok postrotate /usr/bin/killall -HUP nmbd endscript } /var/log/samba/log.nmb { notifempty missingok postrotate

RE: logrotate broken in 6.2?

2000-08-08 Thread Burke, Thomas G.
Same thing happens to me... Somebody mentioned something about a newer version of samba fixing it, but I think I have the newest... I added a script in my cron.weekly, with the following: rm -rf /var/log/samba/log.*.?.* Every week, then, it cleans up all that crap. > -Original Message

Re: logrotate error

2000-01-19 Thread Robert Canary
Sometimes the post/pre rotate scripts will change the PWD. So it could be looking for the file under a different directory. Long Shot John Horne wrote: > Hi, > > I am starting to see the following error on two RH6.1 systems: > >errors occured while rotating /var/log/netconf.log > >

Re: logrotate qn

1999-12-07 Thread Tamas Arpad
Hi try man logrotate anyway: > /var/log/maillog { > rotate 1 it means that logrotate will keep 1 backlog file for maillog > size=50k the logfile will be rotated when its bigger than 50k > daily if its not bigger than 50k, your log will be rotated every once day (in RH at 4o'clock if

Re: logrotate chokes w/ long pathnames?

1998-04-08 Thread Dave Wreski
> One bit that's interesting is that "logrotate -d /etc/logrotate.conf" > finishes to completion while both "logrotate -v /etc/logrotate.conf" & > "logrotate /etc/logrotate.conf" segfault... Post a message to [EMAIL PROTECTED], and explain to him the problem. I'm sure logrotate isn't on the top

RE: logrotate on SunOS?

1998-03-27 Thread Dave Wreski
On 27-Mar-98 Grant Beattie wrote: > Hi everyone, > > This is a little off-topic, but the most likely place that someone will > be able to help.. > > Has anyone successfully compiled logrotate (I have v2.2) on SunOS 5.5.1? > If so, could you pls tar up the source and email it to me so I can comp

Re: logrotate and httpd (repost)

1998-03-16 Thread Howard Holm
I'm sure someone will correct me if I'm wrong, but looking at the Apache documentation it looks like killall -USR1 "graceful restart" should be used instead of killall -HUP "restart now". P.S. It's curious that the quoted material is dated 16-Mar-98 when both the original author and the respon

RE: logrotate and httpd (repost)

1998-03-15 Thread Dave Wreski
On 16-Mar-98 Montana Banana wrote: > In my /etc/logrotate.d/apache file, the following line accompanies the > entry for each of the virtual domains on my server: > postrotate > /usr/bin/killall -HUP httpd > endscript > > Is it necessary to kill/restart the apache daemon after *ea