Displaying 20 results from an estimated 1000 matches similar to: "SQUID Logrotate"
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
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 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:
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
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
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
2010 Jan 15
4
Logrotate in CentOS 5.4 more brutal (to httpd at least) than in 5.3?
I've just updated a few CentOS 5.3 servers to 5.4. One of them were a Apache Webserver. Doing a diff/check on the new ".rpmnew" config files that are made, I saw that the logrotate command for apache was changed. In 5.3 it did a reload, but in 5.4 it does a hard kill:
CentOS 5.3:
/var/log/httpd/*log {
missingok
notifempty
sharedscripts
postrotate
2009 Dec 28
3
Log rotation?
? Hi people.
? I had read dovecot logging info, they say something about using log
rotation to help us rotate our log, with this setup:
# dovecot SIGUSR1: Re-opens the log files.
/var/log/dovecot*.log {
missingok
notifempty
delaycompress
sharedscripts
postrotate
/bin/kill -USR1 `cat /var/run/dovecot/master.pid 2>/dev/null` 2>
/dev/null || true
endscript
}
Well, my
2020 May 25
1
log.samba missing rotation
Can you try this and adjust the path'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 {
2023 Dec 06
1
missing file in logrotate config
On 28.11.23 15:23, Arnaud FLORENT via samba wrote:
> 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
2018 Jan 30
2
Samba 4.7.4 + bind9 DLZ /backend/ dropping delegated domain
Hai,
Check the content of :
/etc/logrotate.d/named
If you see
postrotate
/etc/init.d/smbd reload > /dev/null
endscript
Change that to
postrotate
if [ -d /run/systemd/system ]; then; systemctl -q is-active named && systemctl reload named; else; /etc/init.d/named reload ; fi';
endscript
Its something like that, so who pointing.. That does not matter, because this is OS
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
2017 Dec 08
0
glusterdump filling up /var on fuse clients
All my 3.8 fuse clients have big dumpfiles that eventually fill up /var.
-bash-4.1$ ls -lh /var/run/gl*
total 1.5G
-rw------- 1 root root 308K Dec 8 03:34 glusterdump.31050.dump.1512722042
-rw------- 1 root root 315K Dec 8 03:34 glusterdump.31124.dump.1512722042
-rw------- 1 root root 1.5G Dec 8 03:36 glusterdump.9314.dump.1512722042
I believe this may be part of the rotatelog config.
2017 Nov 17
2
Log rotation and combining...
That doesn?t seem to work either. Where do I find logs for log rotation to see the reason it failed?
Ethon
> On Nov 16, 2017, at 7:53 PM, Bill Shirley <bill at KnoxvilleChristian.org <mailto:bill at KnoxvilleChristian.org>> wrote:
>
> I believe you need a 'create' statement to set the permissions. Here
> is an example for mariadb:
>
2017 Nov 17
0
Log rotation and combining...
I believe you need a 'create' statement to set the permissions. Here
is an example for mariadb:
/var/log/mariadb/general.log
/var/log/mariadb/slow_query.log
/var/log/mariadb/error.log
/var/log/mariadb/mariadb.log {
??????? create 640 mysql mysql
??????? daily
??????? minsize 30M
??????? notifempty
??????? rotate 3
??????? missingok
??????? compress
??????? sharedscripts
???????
2017 Nov 17
0
Log rotation and combining...
Hi,
Your crontab should normally mail you error output. But you can also run
the logrotate command manually, in verbose mode.
Kind regards,
Tom
On 17-11-17 03:35, SH Development wrote:
> That doesn?t seem to work either. Where do I find logs for log rotation to see the reason it failed?
>
> Ethon
>
>
>
>> On Nov 16, 2017, at 7:53 PM, Bill Shirley <bill at
2017 Nov 18
0
Log rotation and combining...
HI,
Do you have selinux activated? Maybe the context for logrotate does not
allow accessing files under /home, and the root cli is not troubled by
such a limitation? Why are you storing log files under /home anyway?
Note: I don't use any OS with selinux, so can't really help with fixing
this an issue.
Regards,
Tom
On 17-11-17 22:42, SH Development wrote:
> So, the question is, why
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
2017 May 01
2
logrotate failed ... (CentOS 6.9)
I get regularily such a mail
<mail>
Anacron job 'cron.daily' on ....
/etc/cron.daily/logrotate:
error: error running non-shared postrotate script for
/var/log/clamd.clamsmtp/clamsmtpd.log of
'/var/log/clamd.clamsmtp/clamsmtpd.log '
</mail>
content of /etc/logrotate.d/clamsmtp
/var/log/clamd.clamsmtp/clamsmtpd.log {
monthly
notifempty
missingok
2009 Nov 09
1
CentOS 5.4 logrotate and syslog
Anyone having problems with logrotate and CentOS 5.4?
Although I have /etc/logrotate.d/mail (contents below) to rotate my maillog
file, it fails to do it automatically:
/var/log/maillog {
compress
dateext
maxage 365
rotate 60
size=+1024k
missingok
postrotate
/etc/init.d/MailScanner restart
endscript
}
++++++++++++++++++++++++++++
logrotate.conf: