<p dir="ltr">Send a SIGHUP to syslogd. That should fix the rotation. The issue is that the syslogd is writing to an inode, not a filename (it still has the handle open when logrotate renames the file, so it keeps writing to it until told not to via SIGHUP.</p>
<p dir="ltr">killall -HUP syslogd</p>
<p dir="ltr">Best guess is the SIGHUP was never received by syslogd on one of logrotate's passes. Probably changed PIDs due to a restart of some kind after logrotate had started, but before it finished. You can configure logrotate to copy/truncate instead of move/SIGHUP to prevent this in future, but you risk losing any entries logged between the copy and the truncate. So it's up to you which is more important - getting every log entry (which you are now, at risk of rotation breaking down) or keeping rotation stable (at the cost of maybe losing a few log entries in the few milliseconds between copy and truncate).<br>
</p>
<br><div class="gmail_quote">On Wed, Dec 10, 2014, 18:06 Detlef Bracker <<a href="mailto:bracker@1awww.com">bracker@1awww.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Dear,<br>
<br>
I have the same problem on 2 diferent hosts! The logrotate is not
working correct and the logs<br>
are not going in the log-files normal, they go in the log-file with
the number .1 !!!<br>
Expample not logged in auth - but logged in auth.1 <br>
or not logged in syslog - but logged in syslog.1<br>
<br>
<b>This is a security risk</b>, when you check with fail2ban the
hosts-files about hackings via console, <br>
ssh and some-thing on! - and I dont know, that I have this only or
others too! <br>
<br>
uname -a <br>
<br>
Linux pm3-host 2.6.32-31-pve #1 SMP Thu Jul 24 06:44:16 CEST 2014
x86_64 GNU/Linux<br>
<br>
The logrotate job in cron.daily not working, but I get not an error!
The logrotate stop at the<br>
23 octobre on 1 host and on the other at the 30. september!<br>
<br>
Have somebody a resolution w/o a reboot?<br>
<br>
Dear<br>
<br>
Detlef<br>
</div>
______________________________<u></u>_________________<br>
pve-devel mailing list<br>
<a href="mailto:pve-devel@pve.proxmox.com" target="_blank">pve-devel@pve.proxmox.com</a><br>
<a href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel" target="_blank">http://pve.proxmox.com/cgi-<u></u>bin/mailman/listinfo/pve-devel</a><br>
</blockquote></div>