[asterisk-users] Asterisk Log rotate not working

Ahmed Munir ahmedmunir007 at gmail.com
Tue May 21 13:54:04 CDT 2013


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




From: Chris Bagnall <asterisk at lists.minotaur.cc>
> Subject: Re: [asterisk-users] Asterisk Log rotate not working
> To: asterisk-users at lists.digium.com
> Message-ID: <519B9FA6.9000506 at lists.minotaur.cc>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 21/5/13 4:19 pm, Ahmed Munir wrote:> 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;
>
> This sounds more like a Linux/logrotate issue rather than
> asterisk-specific. Are your other system logfiles successfully rotating?
> (e.g. /var/log/messages)
>
> If not, it may be something as simple as logrotate's daemon not running.
> You should be able to fix that in your distro's startup scripts.
>
> On Gentoo, you'd do something like "/etc/init.d/logrotate start" to
> start it now, and "rc-update add logrotate default" to add it to your
> default runlevel.
>
> Difficult to advise further without knowing the distro in question.
>
> Kind regards,
>
> Chris
> --
> This email is made from 100% recycled electrons
>
>
>


-- 
Regards,

Ahmed Munir Chohan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130521/3aec2f2a/attachment.htm>


More information about the asterisk-users mailing list