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 <aster...@lists.minotaur.cc> > Subject: Re: [asterisk-users] Asterisk Log rotate not working > To: asterisk-users@lists.digium.com > Message-ID: <519b9fa6.9000...@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
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users