Displaying 20 results from an estimated 6000 matches similar to: "does 2.0.6 fix kill -HUP logrotation?"
1999 Jul 10
5
2.0.4b: logrotate problems with rh60
The 2.04b rpm for rh60 ships with and installs a config file for logrotate
(the samba.log file in the packaging/RedHat section).
=====
/var/log/samba/log.nmb {
postrotate
/usr/bin/killall -HUP nmbd
endrotate
}
/var/log/samba/log.smb {
postrotate
/usr/bin/killall -HUP smbd
endrotate
}
=====
1)
I think that the use of "endrotate" is wrong.
There is no
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:
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 {
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 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
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 {
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
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
2005 Jun 30
5
Logrotate
I created some scripts to logrotate. I am having a problem. After I do
it, I am sending kill -HUP to the process
its not using the newly created messages file again. Could someone help
me out with how I can rotate asterisk's
log's without killing the process?
..o-------------------------------------------------------o.
Brian Fertig
NOC/Network Engineer
Planet Telecom, Inc.
Tampa, FL
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
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
2005 Dec 19
1
logrotate. Bug or am I blind?
Hello!
I having a problem with the permissions of some of my logfiles.
It seems that when the files are rotated, the user/group is root root and the permissions are rw for root only.
more info hereunder:
The strange thing is that sometimes it works for one file...
/var/log/cisco_acl.log /var/log/cisco_debug.log {
rotate 1
notifempty
#daily
size 1k
create 0640 root noc
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
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
2012 Nov 29
2
Tinc Log rotation fails
This may have already been addressed, and I apologize if it has, but here is my issue.
I have separated the TINCD log from syslog to isolate the VPN activity.
By starting with daemon with the --logfile= switch
It seems to work fine except that once log rotation takes place, the daemon does not recreate the log, nor will it write to the new log even if an empty file is put into place.
The only
2005 Jan 19
1
Icecast and logrotate
Icecast 2.1.0
Debian 3.0
I'm trying to use logrotate to rotate my Icecast logs and I'm running
into some problems because it seems that Icecast won't write to the new
log after rotation takes place. I'd really rather not do a full restart
of Icecast everytime I rotate the log, since I don't want to disconnect
a large number of listeners. Is there a signal that can be sent to
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
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
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
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