<div dir="ltr">Checked in /var/logs/ directory, all logs are not rotating by logrotate. Please advise how can I overcome this issue as I'm using CentoOS 5<br><br><div><div class="gmail_extra"><br><br><div class="gmail_quote">
<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
From: Chris Bagnall <<a href="mailto:asterisk@lists.minotaur.cc">asterisk@lists.minotaur.cc</a>><br>
Subject: Re: [asterisk-users] Asterisk Log rotate not working<br>
To: <a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a><br>
Message-ID: <<a href="mailto:519B9FA6.9000506@lists.minotaur.cc">519B9FA6.9000506@lists.minotaur.cc</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
On 21/5/13 4:19 pm, Ahmed Munir wrote:> Last year, I installed Asterisk<br>
10.4.2 and enabled logrotate on daily basis<br>
> which was working perfect. Now in couple of months back, the logrotate<br>
> feature is not working at all but simply appending the logs in 'messages'<br>
> file. Listing down down the configuration for logrotate below;<br>
<br>
This sounds more like a Linux/logrotate issue rather than<br>
asterisk-specific. Are your other system logfiles successfully rotating?<br>
(e.g. /var/log/messages)<br>
<br>
If not, it may be something as simple as logrotate's daemon not running.<br>
You should be able to fix that in your distro's startup scripts.<br>
<br>
On Gentoo, you'd do something like "/etc/init.d/logrotate start" to<br>
start it now, and "rc-update add logrotate default" to add it to your<br>
default runlevel.<br>
<br>
Difficult to advise further without knowing the distro in question.<br>
<br>
Kind regards,<br>
<br>
Chris<br>
--<br>
This email is made from 100% recycled electrons<br>
<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Ahmed Munir Chohan<br><br>
</div></div></div>