Displaying 20 results from an estimated 5000 matches similar to: "Btmp and Wmtp log rotate"
2015 Sep 08
1
How to rebuild logrotate.status
I have a problem in that at first all my log files were dated 12-31-1969
and logrotate has:
# more /var/lib/logrotate.status
logrotate state -- version 2
"/var/log/yum.log" 1969-12-31-20:26:1
"/var/named/data/named.run" 1969-12-31-20:26:1
"/var/log/httpd/error_log" 2015-8-27-4:43:1
"/var/log/wtmp" 1969-12-31-20:26:1
"/var/log/chrony/*.log"
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:
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:
>
2010 Dec 16
1
/dev/null permission changes figured out
a while back i reported an issue where /dev/null was getting set to 600
perms after a system update. i finally figured out what it is. i don't
care about failed logins and have limited space on some servers, so i
symlinked /var/log/btmp to /dev/null. the initscripts package does a
chmod 600 /var/log/btmp, so voila /dev/null gets changed.
so now i know why it happened just to me. i now
2015 Aug 28
0
regenerating /var/lib/logrotate.status
I had a system date problem when logrotate ran for the first time such
that /var/lib/logrotate.status has:
logrotate state -- version 2
"/var/log/yum.log" 1970-1-1-0:0:0
"/var/log/wtmp" 1970-1-1-0:0:0
"/var/log/chrony/*.log" 1970-1-1-0:0:0
"/var/log/spooler" 1970-1-1-0:0:0
"/var/log/btmp" 1970-1-1-0:0:0
"/var/log/maillog" 1970-1-1-0:0:0
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
2012 Apr 05
0
rsyslog / rotation, best practices
centos6
in regards to /etc/logrotate.d/syslog the file is in charge of processing
/var/log/cron
/var/log/maillog
/var/log/messages
/var/log/secure
/var/log/spooler
If I wanted to make a specific setting just for maillog (since that file
gets huge really quick) would I add
1- a new file /etc/logrotate.d/maillog with the parameters just like
the other files
2- add parameters in the file it is
2010 Mar 15
1
log rotation not working
Hello,
I've got a Centos 5.4 box that is not rotating it's mail logs. I just
found out about this, the file is considerably large. I've included my
log rotation configs if anyone has any suggestions i'm open to them.
Thanks.
Dave.
/etc/rsyslog.conf:
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.*
2018 Nov 11
0
CentOS 6: Logrotate / selinux problem
Ever since a recent power failure I have been getting a Logrotate error. My
machine is on a UPS -- it shutdown cleanly, but I suspect that its BIOS/RTC
battery is dead, since the machine came up thinking it was 1982 :-(. I reset
the clock and everything is fine, *except* I had to delete Logrotate's state
files (which had bad dates). But now Logrotate is raising the error:
error: error
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
2012 Apr 27
2
[PATCH 1/2] sysprep: remove the logfiles configured by logrotate
Remove the logfiles configured by /etc/logrotate.d/*.
Omit the logfile of "samba" and "sssd" which we removed
them separately .
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
sysprep/sysprep_operation_logfiles.ml | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/sysprep/sysprep_operation_logfiles.ml
2000 Nov 27
0
/var/log/btmp logging ?
Hi,
Openssh doesn't log failed logins to /var/log/btmp like login does
(if btmp exists). This is on RH6.2.
Is there a specific reason for not logging to btmp ?
I think that logging to btmp would be a 'good thing'(tm). What about
other unices ? Do they have /var/log/btmp or something similar (AIX has
something like that and I think openssh already logs the failed attempts).
AFAIK
2013 May 21
4
Asterisk Log rotate not working
Hi,
Last year, I installed Asterisk 10.4.2 and enabled logrotate on daily basis
which was working perfect. Now in couple of months back, the logrotate
feature is not working at all but simply appending the logs in 'messages'
file. Listing down down the configuration for logrotate below;
/var/log/asterisk/messages {
missingok
rotate 5
daily
postrotate
/usr/sbin/asterisk -rx 'logger
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 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
2005 Feb 03
4
[Bug 979] Openssh doesn't support UTMPS/BTMPS/WTMPS database
http://bugzilla.mindrot.org/show_bug.cgi?id=979
Summary: Openssh doesn't support UTMPS/BTMPS/WTMPS database
Product: Portable OpenSSH
Version: 3.9p1
Platform: Other
OS/Version: HP-UX
Status: NEW
Severity: enhancement
Priority: P5
Component: Miscellaneous
AssignedTo: openssh-bugs at mindrot.org
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
???????
2009 May 27
1
[PATCH node] Compress all rotated logs.
Removes the delaycompress line so that every rotation is compressed.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
logrotate/ovirt-logrotate.conf | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/logrotate/ovirt-logrotate.conf b/logrotate/ovirt-logrotate.conf
index 8747f59..8b89a2d 100644
--- a/logrotate/ovirt-logrotate.conf
+++
2004 Sep 16
3
Estimating parameters for a bimodal distribution
For several years, I have been using Splus to analyze an ongoing series of
datasets that have a bimodal distribution. I have used the following
functions, in particular the ms() function, to estimate the parameters: two
means, two standard deviations, and one proportion. Here is the code I've
been using in S:
btmp.bi <- function(vec, p, m1, m2, sd1, sd2)
{
2005 Jan 20
27
[Bug 974] Record Badlogins for all supported Authentication methods
http://bugzilla.mindrot.org/show_bug.cgi?id=974
dtucker at zip.com.au changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Platform|HPPA |All
Summary|Enhancement : Record |Record Badlogins for