similar to: rotate * log file?

Displaying 20 results from an estimated 10000 matches similar to: "rotate * log file?"

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
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
2005 Feb 28
5
Strange text on Asterisk console
I've just set up a new box with FC1+updates and the latest Stable Asterisk from CVS. Asterisk is started with the default safe_asterisk script with a console on TTY9. The coloured text on this console is made up of weird characters instead of normal. Please see http://www.softins.co.uk/dsc00018.jpg for an example. If I do "asterisk -rvvvvv" on a normal login, either via the
2011 May 20
5
xferlog not rotating.
I am not sure how to correctly troubleshoot this. I just noticed that my /var/log/xferlog file is huge. There are no files in /etc/logrotate.d/ for xferlog. This is what leads me to believe that it isnot rotating. Or perhaps I do not have it set to rotate. I am not sure. I am running CentOS release 5 (Final). Can someone tell me what I, apparently, do not have configured correctly. Thank
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 +++
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: >
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
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
2009 Jun 12
1
Btmp and Wmtp log rotate
IN the /var/log/ folder there are two files WTMP and BTMP BTMP is getting huge after a year, about 800MB, WTMP is getting close to 1MB. In the /etc/logrotate.conf I see this -------------------- # no packages own wtmp -- we'll rotate them here /var/log/wtmp { monthly minsize 1M create 0664 root utmp rotate 1 } ------------------- I can see where WTMP will probably rotate
2006 Jul 12
3
Rotating mongrel.log?
Hi all - I searched, but didn''t see anything on this so.... Best way to rotate the mongrel.log file? Should I just restart the mongrel cluster? Or is there a better way? Thanks! -philip
2014 Apr 09
3
Logrotate errors
Hi all, I have a problem with logrotate and I don't know why. In /var/log/messages appears these errors: Apr 8 15:01:01 plzfnsm02 logrotate: ALERT exited abnormally with [1] Apr 8 16:01:01 plzfnsm02 logrotate: ALERT exited abnormally with [1] Apr 8 17:01:01 plzfnsm02 logrotate: ALERT exited abnormally with [1] Apr 8 18:01:01 plzfnsm02 logrotate: ALERT exited abnormally with [1] Apr 8
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
2005 Jul 12
2
Having Trouble Creating an IVR
I have asterisk 1.0.5 installed via apt on a debian system. It's a custom distrobution called Voyage Linux that runs from a flash card and I have a hard drive installed with mysql installed on it as well as apache. I have been though the AMP install guide (asterisk management portal) and in the interface it has a place for me to record new IVR menus. I have to dial *77 to begin recording
2004 Feb 25
2
rsync & rotated logs
What is the best way to keeps rsynced copy of rotate log files ? x.log -> x.log.1 -> x.log.2.gz -> ... Can rsync "notice" changes of file name and avoid needless synchronization ? -- Andrzej [en:Andrew] Adam Filip anfi@priv.onet.pl anfi@xl.wp.pl http://anfi.webhop.net http://slashdot.org/~anfi
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 {
2005 Oct 12
2
asterisk log
Is there a way to 1) disable asterisk from writing in the "full" log ? ( /var/log/asterisk/full ) or 2) implement a log rotation or similar of the full log ? I see the full log grows a lot (about 100 MB per Month) thanks in advance, Andrea Chi ricevesse questa mail per errore e' gentilmente pregato di cancellarla. Visitate il sito http://www.frameweb.it
2008 Jul 08
1
CONSOLE logging
Hello, I'm trying to enable CONSOLE logging in Asterisk 1.4.14 on a 2.6.18 Debian Lenny server. It is enabled in logger.conf, however no log file is created in /var/log/asterisk/ Also I was wondering if I manage to get it working and use logrotate daemon as well, is logrotate going to restart the asterisk process each time in order to rotate the log file? Thank you.
2015 Jan 08
5
logrotate script not working
Hey guys, Got a quick question and I hope this is an easy one! In my /etc/logrotate.conf file I have the following entry: # rotate all of the apache logs -- we'll rotate them here /var/log/mysqld.log { weekly size 50M create 0644 mysql mysql rotate 1 } And from that I would expect the log to rotate when it reaches 50M in size. However I just caught that log weighing
2018 Apr 11
2
Logs size and rotate log
Hi! I enabled Audit log um my samba dc. But i want configuration log size and rotation. my config : log size: max log size = 5000 https://wiki.samba.org/index.php/Configuring_Logging_on_a_Samba_Server#Setting_the_Maximum_Log_File_Size for rotation I did not find anything But option "max log size" dont work .. Any ideia ? samba v 4.8.0 Ubuntu 16.04 My conf: log level = 1
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