Displaying 20 results from an estimated 400 matches similar to: "glusterdump filling up /var on fuse clients"
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:
>
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
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
2017 Nov 16
2
Log rotation and combining...
I have recently noticed that my dovecot-deliver.log is huge and wanted to start rotating it. So a couple of questions:
1. Can the dovecot-deliver.log be combined with the maillog, that gets rotated weekly? If it can be done, is it advisable?
Since the inception of this particular server, the log file has been located in the /home/vmail directory. Is there a reason it shouldn?t be located in
2017 Nov 17
2
Log rotation and combining...
So, the question is, why can I rotate the log manually, but cron returns a permission error? Do I need to tell cron to run it as sudo or something like that?
Ethon
> On Nov 17, 2017, at 2:29 AM, Tom Hendrikx <tom at whyscream.net <mailto:tom at whyscream.net>> wrote:
>
> Hi,
>
>
> Your crontab should normally mail you error output. But you can also run
> the
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
2017 Dec 14
1
doveadm log reopen not works with 2.2.33
Hi,
after the upgrade from dovecot 2.2.32 to 2.2.33 we notice that the
/var/log/director/director.log was empty and the log are write in the
logrotate file es. /var/log/director/director.log-20171201.
Log path is dovecot is:
log_path = /var/log/director/director.log
Logrotate configuration is:
/var/log/director/director.log {
? daily
? rotate 31
? missingok
? notifempty
? compress
?
2019 Mar 15
1
Dovecot logrotation - old journal files are still in use (second attempt)
Hi all
Sorry, it is the second attempt due to wrong format of the first message.
In my Dovecot there are 3 files of logging (debug, info and .log) While executing logrotation, the new files are created, but the previos ones, namely dovecot.*.1 are still in use by the process
Here is the logger process in memory:
root 19140 0.0 0.0 4140 1576 ? S Mar12 0:06 dovecot/log
Here the files it uses
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:
2019 Mar 14
2
Dovecot logrotation - old journal files are still in use
<div xmlns="http://www.w3.org/1999/xhtml">Hi all</div><div xmlns="http://www.w3.org/1999/xhtml"> </div><div xmlns="http://www.w3.org/1999/xhtml">Cannot understand, does it a bug or just a misconfiguration. In my Dovecot there are 3 files of logging (debug, info and .log)</div><div
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 {
2007 Jan 08
2
SV: Manage 'full' log file
Thanks for the quick response!
I read about logrotate at voip-info.org but I didn't quite understand it. I'm no asterisk/linux expert unfortunately.
First of all. What exactly does happen when I run:
/usr/sbin/asterisk -rx 'logger rotate'
Does it clear the file and create a new one? Can I run this manually without any interruption in the system?
And what does the script do? I
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
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
2018 Feb 01
0
Run away memory with gluster mount
On 1/30/2018 6:31 AM, Raghavendra Gowdappa wrote:
>
>
> ----- Original Message -----
>> From: "Dan Ragle" <daniel at Biblestuph.com>
>> To: "Raghavendra Gowdappa" <rgowdapp at redhat.com>, "Ravishankar N" <ravishankar at redhat.com>
>> Cc: gluster-users at gluster.org, "Csaba Henk" <chenk at redhat.com>,
2018 Jan 30
1
Run away memory with gluster mount
----- Original Message -----
> From: "Dan Ragle" <daniel at Biblestuph.com>
> To: "Raghavendra Gowdappa" <rgowdapp at redhat.com>, "Ravishankar N" <ravishankar at redhat.com>
> Cc: gluster-users at gluster.org, "Csaba Henk" <chenk at redhat.com>, "Niels de Vos" <ndevos at redhat.com>, "Nithya
>
2018 Feb 21
1
Run away memory with gluster mount
On 2/3/2018 8:58 AM, Dan Ragle wrote:
>
>
> On 2/2/2018 2:13 AM, Nithya Balachandran wrote:
>> Hi Dan,
>>
>> It sounds like you might be running into [1]. The patch has been
>> posted upstream and the fix should be in the next release.
>> In the meantime, I'm afraid there is no way to get around this without
>> restarting the process.
>>