search for: prerotate

Displaying 10 results from an estimated 10 matches for "prerotate".

2005 May 12
1
trigger for pre and post rsync
Hello: Please be patient, its hard to me to explain this even in my native language. I think it may be useful to add an option like lograte's prerotate and postrotate, that triggers server side scripts before and after rsync. It would help the administrator work. Escenary 1: ----------- client -> rsync server -> 2nd stage rsync server Want to rsync from rsync server to 2nd stage rsync server before rsync from client to rsync server....
2005 Aug 23
1
logrotate broken on 4.1
...#39;s the way it was handed off to me, built. Some said setting TMPDIR=/var/tmp;export TMPDIR would fix it. My /var/tmp is not on a noexec partition so I'm good there. Setting TMPDIR however does not fix it. I've tried adding the variable in /etc/cron.daily/logrotate, I tried it after a prerotate inside the actual syslog logrotate file, netiher worked. I finally had to remount /tmp and remove the noexec. I have the stock 4.1 logrotate, I understand some later versions *may* address the TMPDIR but I hate to start straying off the stock/stable path since the main reason I am running Centos4...
2003 May 01
0
factanal
...0.296 -0.602 -0.990 -1.174 # 0.171 -0.417 -0.620 -0.519 0.694 0.648 # 1.460 1.038 0.532 1.261 -0.364 0.848 # -0.639 0.888 0.306 -0.372 -0.305 1.101 # 0.779 1.595 0.775 0.499 1.215 -1.055 # 1.304 0.702 0.844 0.688 0.992 0.488 # ; # # proc factor data=x corr method=ml nfactors=2 prerotate=varimax rotate=promax out=fscores score; # run; # # proc print data=fscores; # var factor1 factor2; # run; # # The factor scores one obtains: # Obs Factor1 Factor2 # 1 -1.00830 -2.12208 # 2 -1.76352 0.09283 # 3 -0.23031 0.96792 # 4 0.069...
2005 Oct 12
2
Ip route cache problem
Hello, I need some help about a routing problem on a complex configuration. The problem is that I can''t reach from services outside from my DMZ. The scenario is a gateway linked to three internet connections, so that I used three distinct iproute2 tables for routing. The gw is running ipvs for balancing over the dmz''s servers. DMZ servers are on 192.168.1.0/24 network, .
2019 Mar 13
5
read permission on rotated logs
When logs (e.g. /var/log/maillog) are rotated (e.g. to /var/log/maillog-YYYYMDD) is there a way via systemd or whatever to assign read permission to a specific group? Right now, for example - ls -l maillog* -rw------- 1 root root 3105240 Mar 13 22:04 maillog -rw------- 1 root root 1079031 Feb 24 04:39 maillog-20190224 -rw------- 1 root root 7237640 Mar 1 12:59 maillog-20190228 -rw------- 1
2005 Sep 18
1
postrotate error
Running CentOS 4 w/ BlueQuartz on a whitebox, and getting this cron.daily email: /etc/cron.daily/logrotate: error: error running postrotate script Is this a common problem? Thoughts on a typical solution? thnx, Manny
2012 Oct 03
0
Logrotate "firstaction" with non-0 exit status. Or: How to keep logrotate from rotating via scripts?
...with a non-0 exit status. The logrotate manpage says: firstaction/endscript The lines between firstaction and endscript (both of which must appear on lines by themselves) are executed (using /bin/sh) once before all log files that match the wildcarded pattern are rotated, before prerotate script is run and only if at least one log will actually be rotated. These directives may only appear inside a log file definition. Whole pattern is passed to the script as first argument. If the script exits with error, no further processing is done. See also lastaction. My q...
2011 Oct 19
2
Silly logrotate question
Ok, I have Googled this and either I am not asking the right way or I just can't see what's in front of me (sorry)... We have log files called app.2011-10-119.log (with the date changing every day). The log is created by the application each day at midnight. I have logrotate set to rotate files ending in .log at 4am, with copytruncate on by default. If I list the files I see all the old
2016 Jun 26
2
Need IP on failed logins in logfile
Hi Jeremy, list, On 06/26/2016 12:11 AM, Jeremy Allison wrote: > We should probably have something in the server that logs > this as an official "event". Can someone log a RFE bug in > the bugzilla so we don't forget this request ? I created this bug: https://bugzilla.samba.org/show_bug.cgi?id=11998 I hope it is (approximately) what you mean. :-) Best regards, MJ
2017 Sep 19
1
How to track attempted breakins, authentication failure logging
On Tue, 2017-09-19 at 17:02 +0200, L.P.H. van Belle via samba wrote: > Hai Mark, > > I see the bugreport for this is still untouched. > https://bugzilla.samba.org/show_bug.cgi?id=11998 I've closed that bug now. Extensive work has been done to add this feature to Samba 4.7, due out this week: https://wiki.samba.org/index.php/Setting_up_Audit_Logging Two new debug classes,