search for: delaycompress

Displaying 20 results from an estimated 33 matches for "delaycompress".

2009 May 27
1
[PATCH node] Compress all rotated logs.
Removes the delaycompress line so that every rotation is compressed. Signed-off-by: Darryl L. Pierce <dpierce at redhat.com> --- logrotate/ovirt-logrotate.conf | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/logrotate/ovirt-logrotate.conf b/logrotate/ovirt-logrotate.conf index 8747f59..8b8...
2020 May 25
1
log.samba missing rotation
...th's in it. #/etc/logrotate.d/samba /var/log/samba/log.smbd { weekly missingok rotate 7 postrotate [ ! -x /usr/bin/smbcontrol ] || [ ! -f /run/samba/smbd.pid ] || /usr/bin/smbcontrol smbd reload-config endscript compress delaycompress notifempty } /var/log/samba/log.nmbd { weekly missingok rotate 7 postrotate [ ! -x /usr/bin/smbcontrol ] || [ ! -f /run/samba/nmbd.pid ] || /usr/bin/smbcontrol nmbd reload-config endscript compress delaycompress...
2016 Mar 06
2
logrotate script error
...00M': No such file size: '100M': No such file size: '100M': No such file size: '100M': No such file And this is the logstash rotate script: #cat /etc/logrotate.d/logstash /var/log/logstash/* { daily rotate 7 copytruncate compress delaycompress missingok notifempty postrotate size 100M /bin/kill -HUP `cat /var/run/logstash.pid 2>/dev/null` 2> /dev/null || true endscript } I can't find the error there. Can I have a suggestion as to what's wrong and how to correct it? Thanks, T...
2017 Dec 08
0
glusterdump filling up /var on fuse clients
...of any use? If not what would be the best way to suppress this? I want rotate but if I can I would like to live without managing the space issues. [root at gui logrotate.d]# cat glusterfs # Rotate client logs /var/log/glusterfs/*.log { sharedscripts weekly rotate 52 missingok compress delaycompress notifempty postrotate /usr/bin/killall -HUP glusterfs > /dev/null 2>&1 || true /usr/bin/killall -HUP glusterd > /dev/null 2>&1 || true endscript } # Rotate server logs /var/log/glusterfs/bricks/*.log { sharedscripts weekly rotate 52 missingok compress delay...
2023 Nov 28
1
missing file in logrotate config
Hi you could try a file /etc/logrotate.d/samba-local with this content /var/log/samba/log.samba-dcerpcd /var/log/samba/log.rpcd_classic /var/log/samba/log.rpcd_winreg /var/log/samba/log.samba-bgqd /var/log/samba/log.rpcd_spoolss { ?? ?weekly ?? ?missingok ?? ?rotate 7 ?? ?compress ?? ?delaycompress ?? ?notifempty } Le 27/11/2023 ? 10:12, Stefan G. Weichinger via samba a ?crit?: > Am 28.03.23 um 10:40 schrieb Rowland Penny via samba: >> >> >> On 28/03/2023 08:40, Arnaud FLORENT via samba wrote: >>> Hello >>> >>> >>> i am running samba...
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 script is going wrong, and why log files for ES are growing so incredibly big? I would think that hav...
2017 Nov 16
2
Log rotation and combining...
...the /home/vmail directory. Is there a reason it shouldn?t be located in the /var/log directory with the maillog? 2. Separate from above, if I create a new logrotate script example as follows: # dovecot SIGUSR1: Re-opens the log files. /home/vmail/dovecot-deliver.log { missingok notifempty delaycompress sharedscripts postrotate /bin/kill -USR1 `cat /var/run/dovecot/master.pid 2>/dev/null` 2> /dev/null || true endscript } I get the following error only when cron tries to run it: /etc/cron.daily/logrotate: error: stat of /home/vmail/dovecot-deliver.log failed: Permission denied O...
2017 Nov 17
2
Log rotation and combining...
...n the /var/log directory with the maillog? >> >> 2. Separate from above, if I create a new logrotate script example as follows: >> >> # dovecot SIGUSR1: Re-opens the log files. >> /home/vmail/dovecot-deliver.log { >> missingok >> notifempty >> delaycompress >> sharedscripts >> postrotate >> /bin/kill -USR1 `cat /var/run/dovecot/master.pid 2>/dev/null` 2> /dev/null || true >> endscript >> } >> >> I get the following error only when cron tries to run it: >> >> /etc/cron.daily/logrot...
2023 Dec 06
1
missing file in logrotate config
...with this content > > > /var/log/samba/log.samba-dcerpcd > /var/log/samba/log.rpcd_classic > /var/log/samba/log.rpcd_winreg > /var/log/samba/log.samba-bgqd > /var/log/samba/log.rpcd_spoolss { > ?? ?weekly > ?? ?missingok > ?? ?rotate 7 > ?? ?compress > ?? ?delaycompress > ?? ?notifempty > } I have: /var/log/samba/log.rpcd_* { weekly missingok rotate 7 postrotate /usr/bin/killall -HUP /usr/sbin/smbd endscript compress delaycompress notifempty } and get "ls" like: log.rpcd_spoolss log.rpcd_spoolss.1 log.rpcd_spoolss.1....
2017 May 12
3
samba-ad restart fails occasionally
Hi, We are running sernet samba, and on one particular DC (debian 7.11, samba 4.5.6), when logrotate is ready rotating, "sernet-samba-ad restart" fails with: > Shutting down SAMBA AD services : ...trying once more ... (warning). > ...trying once more ... (warning). ..... > ...trying once more ... (warning). > Error: /usr/sbin/samba still running with PID=14755 from
2018 Jan 30
2
Samba 4.7.4 + bind9 DLZ /backend/ dropping delegated domain
...singok rotate 7 postrotate [ ! -x /usr/bin/smbcontrol ] || /usr/bin/smbcontrol smbd reload- config endscript compress delaycompress notifempty } /var/log/samba/log.nmbd { weekly missingok rotate 7 postrotate [ ! -x /usr/bin/smbcontrol ] || /usr/bin/smbcontrol nmbd reload-...
2020 May 22
3
log.samba missing rotation
I know about this param, I configured it and log.smbd, log.nmbd and others are rotated, log.samba is not. ----- Original Message ----- > From: "samba" <samba at lists.samba.org> > To: "Lorenzo Milesi" <maxxer at yetopen.it>, "samba" <samba at lists.samba.org> > Sent: Thursday, May 21, 2020 7:29:04 PM > Subject: Re: [Samba] log.samba
2014 Apr 09
3
Logrotate errors
...e: ALERT exited abnormally with [1] Apr 8 23:01:01 plzfnsm02 logrotate: ALERT exited abnormally with [1] It seems the problem if with this logrotate.conf (executed every hour): create dateext /srv/www2/logs/viewer.log { size 512k create 0640 www www missingok rotate 7 compress delaycompress copytruncate notifempty } Doing a debug: [root at www02 ~]# logrotate /data/config/etc/logrotate.conf -dv reading config file /data/config/etc/logrotate.conf reading config info for /nsm/moloch/logs/viewer.log Handling 1 logs rotating pattern: /srv/www2/logs/viewer.log 524288 bytes (7 ro...
2017 Nov 17
2
Log rotation and combining...
...>>>> 2. Separate from above, if I create a new logrotate script example as follows: >>>> >>>> # dovecot SIGUSR1: Re-opens the log files. >>>> /home/vmail/dovecot-deliver.log { >>>> missingok >>>> notifempty >>>> delaycompress >>>> sharedscripts >>>> postrotate >>>> /bin/kill -USR1 `cat /var/run/dovecot/master.pid 2>/dev/null` 2> /dev/null || true >>>> endscript >>>> } >>>> >>>> I get the following error only when cron tries...
2019 Mar 14
2
Dovecot logrotation - old journal files are still in use
...use next logrotate config for dovecot:</div><div xmlns="http://www.w3.org/1999/xhtml">/var/log/dovecot.log /var/log/dovecot.info /var/log/dovecot.debug {<br />  daily<br />  rotate 14<br />  missingok<br />  notifempty<br />  compress<br />  delaycompress<br />  sharedscripts<br />  postrotate<br />    doveadm log reopen<br />    chmod 666 /var/log/dovecot.log<br />    chmod 666 /var/log/dovecot.info<br />    chmod 666 /var/log/dovecot.debug<br />  endscript<br />}<br /><br />Here is the lo...
2007 Jan 08
2
SV: Manage 'full' log file
...tion of Asterisk's CLI "logger reload" command so as to close the old files and open new ones. Cheers, -- Ex Vito /var/log/asterisk/messages /var/log/asterisk/queue_log /var/log/asterisk/event_log { weekly rotate 52 dateext compress delaycompress nocreate missingok sharedscripts postrotate /usr/sbin/asterisk -rx "logger reload" endscript } _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To U...
2018 Jan 29
3
Samba 4.7.4 + bind9 DLZ /backend/ dropping delegated domain
Just a wild guess, but I and others have been having problems with samba_dlz, because of named "reload." Try to see if systemctl reload named and systemctl restart named break and fix the server respectively. (if your're not using systemd, try "serivice named reload", "service named restart instead") If you have a /etc/logrotate.d/named file containing
2016 Mar 06
0
Re: logrotate script error
...file > size: '100M': No such file > size: '100M': No such file > > And this is the logstash rotate script: > > #cat /etc/logrotate.d/logstash > /var/log/logstash/* { > daily > rotate 7 > copytruncate > compress > delaycompress > missingok > notifempty > postrotate > size 100M > /bin/kill -HUP `cat /var/run/logstash.pid 2>/dev/null` 2> /dev/null > || true > endscript > } > > I can't find the error there. Can I have a suggestion as to what...
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 > } > > 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 script is going wrong, and > why log files for ES are growing s...
2017 Nov 17
0
Log rotation and combining...
...eason it shouldn?t be located in the /var/log directory with the maillog? > > 2. Separate from above, if I create a new logrotate script example as follows: > > # dovecot SIGUSR1: Re-opens the log files. > /home/vmail/dovecot-deliver.log { > missingok > notifempty > delaycompress > sharedscripts > postrotate > /bin/kill -USR1 `cat /var/run/dovecot/master.pid 2>/dev/null` 2> /dev/null || true > endscript > } > > I get the following error only when cron tries to run it: > > /etc/cron.daily/logrotate: > error: stat of /home/vma...