similar to: Rotating logs on a DC

Displaying 20 results from an estimated 10000 matches similar to: "Rotating logs on a DC"

2012 Oct 03
0
Logrotate "firstaction" with non-0 exit status. Or: How to keep logrotate from rotating via scripts?
Hi, I'm wondering if anyone here has any experience with the "firstaction" script in logrotate config files, or more specifically, the behaviour with a non-0 exit status. The logrotate manpage says: firstaction/endscript The lines between firstaction and endscript (both of which must appear on lines by themselves) are executed (using /bin/sh) once before all log
2018 May 14
1
Logrotate
Am 14.05.2018 um 21:08 schrieb Reindl Harald via samba: > Am 14.05.2018 um 20:56 schrieb Carlos via samba: >> /opt/samba/var/log.samba >> >> { >>   rotate 10 >>         daily >>         compress >>         dateext >>         size 100M >>         nomail >>         missingok >>         notifempty >>         create 644 root
2011 Jul 18
0
SQUID Logrotate
Hi all, i have problem, after uprade CentOS 5.5 to 5.6, Logrotate don't work on two proxy servers. I have installed : squid-2.6.STABLE21-6.el5 logrotate-3.7.4-9.el5_5.2 On first server , squid logs never rotated, config is here cat /etc/logrotate.d/squid /var/log/squid/access.log { weekly rotate 5 copytruncate compress notifempty missingok } /var/log/squid/cache.log
2014 Apr 09
3
Logrotate errors
Hi all, I have a problem with logrotate and I don't know why. In /var/log/messages appears these errors: Apr 8 15:01:01 plzfnsm02 logrotate: ALERT exited abnormally with [1] Apr 8 16:01:01 plzfnsm02 logrotate: ALERT exited abnormally with [1] Apr 8 17:01:01 plzfnsm02 logrotate: ALERT exited abnormally with [1] Apr 8 18:01:01 plzfnsm02 logrotate: ALERT exited abnormally with [1] Apr 8
2000 Apr 03
0
2.0.7pre3: misc issues
My systems: rh61, 2.2.14 + smbfs-nls.patch. === 1) Samba seems to override unix permissions in a particular case. I get the very same behavior of: http://us1.samba.org/listproc/samba-technical/February2000/0476.html === 2) browsing behavior: anonymous login There is a different behavior doing smbclient -L -U% if the server is samba or nt/w2k nt wants a correct user/pass pair if guest account
2011 Oct 19
2
Silly logrotate question
Ok, I have Googled this and either I am not asking the right way or I just can't see what's in front of me (sorry)... We have log files called app.2011-10-119.log (with the date changing every day). The log is created by the application each day at midnight. I have logrotate set to rotate files ending in .log at 4am, with copytruncate on by default. If I list the files I see all the old
2006 Sep 27
1
Slightly OT: Cron for Logrotate and Squid
Howdy list, Hey does anyone know what the best cron job is to call logrotate to run the squid logrotations? -Or the subscribe address for a squid or logrotate mailing list (can't seem to find anything other than the usual MARC archives). I have this in /etc/logrotate.conf # rotate log files daily, they get too big otherwise, another story. daily # keep 8 weeks worth of backlogs e.g. 60
2012 Oct 02
0
Icecast Digest, Vol 101, Issue 2
Hi, Can you unscript me for icecast-request mail, please. I don't no what to do with this, regards, edhoeven 2012/10/2 <icecast-request at xiph.org> > Send Icecast mailing list submissions to > icecast at xiph.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.xiph.org/mailman/listinfo/icecast > or, via email, send a
2018 May 14
3
Logrotate
Hi! I have one problem with my logrotate. Samba version: Samba 4 7.7 (compilated) S.O.: Ubuntu 14.04 /16.04 Samba logs file: /opt/samba/var/ Logrotate File: cat /etc/logrotate.d/samba -- /opt/samba/var/log.samba {   rotate 10         daily         compress         dateext         size 100M         nomail         missingok         notifempty         create 644 root root
2008 Nov 27
0
OT: Testing copytruncate
Hi I am trying to simulate the behaviour when a file gets copy-truncated or any other option selected in logrotate. As a start, I have written a quick script to create values in a file at high rate. #!/usr/bin/perl open FILE, ">testdata" or die $!; for (my $i = 1; $i <= 10000000; $i++){ print FILE "$i\n"; # sleep 1; } close FILE and a logrotate.conf file that
2016 Mar 06
2
logrotate script error
Hey guys, I'm trying to rotate a logstash log that can grow pretty large. 3.4GB last I saw! And that's because the logrotate script I came up with didn't work. The error I get on a syntax check is this: #logrotate -f logstash size: '100M': No such file size: '100M': No such file size: '100M': No such file size: '100M': No such file size:
2016 Jul 28
2
ElasticSearch Logrotate not working
Hey guys, I have this log rotation script setup in my /etc/logrotate.d folder /var/log/elasticsearch/*.log { daily rotate 100 size 50M copytruncate compress delaycompress missingok notifempty create 644 elasticsearch elasticsearch } And I notice that log files are still being generated that are upwards of 7 or 8 GBs. Can anyone point out to me where the
2012 Oct 01
1
Daily Access Log Files
How do you do this in a Windows OS system? Thanks Mike From: icecast-bounces at xiph.org [mailto:icecast-bounces at xiph.org] On Behalf Of Alejandro Sent: Monday, October 01, 2012 5:23 PM To: Rick Ricari Cc: icecast at xiph.org Subject: Re: [Icecast] Daily Access Log Files Rick, If you use Linux, can use logrotate with copytruncate to do this jobs... Take a look to this howto is
2016 Mar 06
0
Re: logrotate script error
On Sun, 6 Mar 2016 04:34, Tim Dunphy <bluethundr at ...> wrote: > Hey guys, > > I'm trying to rotate a logstash log that can grow pretty large. 3.4GB last > I saw! > > And that's because the logrotate script I came up with didn't work. > > The error I get on a syntax check is this: > > #logrotate -f logstash > size: '100M': No such file
2016 Jul 28
0
ElasticSearch Logrotate not working
On 07/28/2016 07:40 AM, Tim Dunphy wrote: > Hey guys, > > I have this log rotation script setup in my /etc/logrotate.d folder > > /var/log/elasticsearch/*.log { > daily > rotate 100 > size 50M > copytruncate > compress > delaycompress > missingok > notifempty > create 644 elasticsearch elasticsearch > } > >
2018 Jun 14
2
After logrotation Dovecot still writes to old log file
Hi there This is weird. On my latest Ubuntu server Dovecot seems to write to /var/log/dovecot.log.1 instead of a recently created /var/log/dovecot.log Here my logrotate config for Dovecot: /var/log/dovecot.log { ??????? su root syslog ??????? rotate 7 ??????? missingok ??????? copytruncate ??????? create 666 root syslog ??????? sharedscripts ??????? postrotate ??????????? doveadm log
2024 Aug 19
1
Spotlight & accented characters in share name
Hi Ralph, Someone has created this: https://bugzilla.samba.org/show_bug.cgi?id=15379 Looks like the same issue. What?s a good way to fund this? Buy Samba+ and/or support from SerNet, make a donation through samba.org or something else? -Perttu > On 19. Aug 2024, at 16.21, Ralph Boehme <slow at samba.org> wrote: > > ?Interesting. This will likely take a day or two to diagnose
2008 Jul 08
0
Problem with logrotate and compress
Hi I am using Centos 5.1 and I have a weird problem with squid logs rotation. I have the file squid as follow in /etc/logrotate.d: Recently I reduce size parameter. /var/log/squid/access.log { weekly missingok rotate 10 compress create 0660 squid squid missingok size 200M postrotate /usr/sbin/squid -k rotate endscript } /var/log/squid/cache.log { weekly
2018 Apr 11
2
Logs size and rotate log
Hi! I enabled Audit log um my samba dc. But i want configuration log size and rotation. my config : log size: max log size = 5000 https://wiki.samba.org/index.php/Configuring_Logging_on_a_Samba_Server#Setting_the_Maximum_Log_File_Size for rotation I did not find anything But option "max log size" dont work .. Any ideia ? samba v 4.8.0 Ubuntu 16.04 My conf: log level = 1
2019 Oct 23
1
vfs_fruit & resource forks on macOS
> On 23 Oct 2019, at 18.54, Ralph Boehme <slow at samba.org> wrote: > > On 10/23/19 4:31 PM, Perttu Aaltonen via samba wrote: >> From version 4.10.6 onwards folder icons are not working anymore on macOS. I can see the "._Icon?? file written on disk but seems like Samba isn?t reading it back and presenting it to the client. Is there a change or new setting that is needed