Displaying 20 results from an estimated 800 matches similar to: "After logrotation Dovecot still writes to old log file"
2018 Jun 15
2
After logrotation Dovecot still writes to old log file
Thanks man
You suggesting the same as https://wiki2.dovecot.org/Logging says?
postrotate
kill -s 0 `cat /var/run/dovecot/master.pid` || kill -s USR1 `cat /var/run/dovecot/master.pid`
endscript
Well, I already tried that and didn't work. Hence my guess that it's
something else.
On 15/06/18 13:19, Stephen Satchell wrote:
> From the manpage:
> SIGNALS
> Dovecot
2017 Mar 19
2
Permission denied when logrotating dovecot.log
Hello guys
Having headaches here how to make logrotation for dovecot log files
work. Having permission issues:
michael.heuberger at xxx /e/l/daily ??? sudo logrotate -fv
dovecot.daily
?
reading config file dovecot.daily
Handling 1 logs
rotating
2017 Mar 19
2
Permission denied when logrotating dovecot.log
Well, I tried the same but it didn't work.
Setting my dovecot.log to 600 with root:root is breaking my mail system.
I am then unable to receive and open emails.
Had to apply an ugly hack
/var/log/dovecot*.log {
su syslog syslog
create 666 syslog syslog
rotate 10
...
}
Like that anyone who wants to access/write to it, can do it and all works.
That's my
2017 Mar 19
4
Permission denied when logrotating dovecot.log
Thank you. And what user/group/file perms does your dovecot.log file have?
- Michael
On 19/03/17 13:43, Richard wrote:
>
>> Date: Sunday, March 19, 2017 13:32:57 +1300
>> From: Michael Heuberger <michael.heuberger at binarykitchen.com>
>>
>> Hello guys
>>
>> Having headaches here how to make logrotation for dovecot log files
>> work. Having
2017 Mar 19
1
Permission denied when logrotating dovecot.log
Well, I'd rather to have dovecot log alone in one log file.
My initial question is that user/group and file permissions to use??
On 19/03/17 15:40, Richard wrote:
>
>> Date: Sunday, March 19, 2017 15:28:35 +1300
>> From: Michael Heuberger <michael.heuberger at binarykitchen.com>
>>
>> On 19/03/17 15:12, Richard wrote:
>>>> Date: Sunday, March 19,
2018 Jun 15
0
After logrotation Dovecot still writes to old log file
>From the manpage:
SIGNALS
Dovecot handles the following signals as described:
USR1 Force dovecot to reopen all configured log files
(log_path, info_log_path and debug_log_path).
So, you need to add
kill -s USR1 `cat /var/run/dovecot/master.pod`
(or wherever your distribution puts the PID for dovecot) in your
log-rotate file, to tell Dovecot to use the new log
2017 Mar 19
0
Permission denied when logrotating dovecot.log
> Date: Sunday, March 19, 2017 15:28:35 +1300
> From: Michael Heuberger <michael.heuberger at binarykitchen.com>
>
> On 19/03/17 15:12, Richard wrote:
>>
>>> Date: Sunday, March 19, 2017 14:56:01 +1300
>>> From: Michael Heuberger <michael.heuberger at binarykitchen.com>
>>>
>>> On 19/03/17 13:43, Richard wrote:
2017 Mar 19
0
Permission denied when logrotating dovecot.log
> Date: Sunday, March 19, 2017 14:56:01 +1300
> From: Michael Heuberger <michael.heuberger at binarykitchen.com>
>
> On 19/03/17 13:43, Richard wrote:
>>
>>> Date: Sunday, March 19, 2017 13:32:57 +1300
>>> From: Michael Heuberger <michael.heuberger at binarykitchen.com>
>>>
>>> Hello guys
>>>
>>> Having
2017 Mar 19
0
Permission denied when logrotating dovecot.log
> Date: Sunday, March 19, 2017 13:32:57 +1300
> From: Michael Heuberger <michael.heuberger at binarykitchen.com>
>
> Hello guys
>
> Having headaches here how to make logrotation for dovecot log files
> work. Having permission issues:
>
> michael.heuberger at xxx /e/l/daily ??? sudo logrotate -fv
> dovecot.daily
> ?
> reading config file dovecot.daily
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 Jun 15
0
After logrotation Dovecot still writes to old log file
> On 15 Jun 2018, at 5.17, Michael Heuberger <michael.heuberger at binarykitchen.com> wrote:
>
> Thanks man
>
> You suggesting the same as https://wiki2.dovecot.org/Logging <https://wiki2.dovecot.org/Logging> says?
>
> postrotate
> kill -s 0 `cat /var/run/dovecot/master.pid` || kill -s USR1 `cat /var/run/dovecot/master.pid`
> endscript
> Well, I
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
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
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
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
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
2009 Nov 09
3
Sort logfiles at rotation time
Hi,
I want to be certain that my apache and varnish logfiles are in strict
date order when rotated. I'd like to run a sort command against them
before they're compressed.
I've had a look at the logrotate man page, and it looks like I can use
a postrotate/endscript to do this. However, I can see any reference
in the documentation for how to operate on the file. All the examples
2000 Jan 18
1
does 2.0.6 fix kill -HUP logrotation?
2.0.5 (on linux) has a small annoyance in that, when the log files get
rotated, kill -HUP won't point the daemons to the new log files. They keeps
logging to the old ones until they are stopped/started. Does 2.0.6 fix this?
2013 Apr 26
3
Problem with tinc.log and logrotate.
Hi everyone again.
I run tinc with the following command:
/usr/sbin/tincd -d1 --logfile=/var/log/tinc.log
That creates the file "/var/log/tinc.log" correctly and reports into it.
Well, because I want to have a log file by day, I have created a logrotate
file (/etc/logrotate.d/tinc) that contains the following lines:
-----------------------------------------
/var/log/tinc.log {