Are you deleting the old ones?It was probably already out of disk space when it was refusing to rename the files.Looks like you have 40 of them, you may need to auto delete some.You are not providing much other data to go on so all I can do is guess.The system call to move the file is failing which could be due to permissions or disk full or whatever.If you want you can update to latest and I added a call to strerror(errno) so you can see the exact reason.
On Tue, Nov 20, 2012 at 10:23 PM, Nageshwara Rao Moova <mnrao2001@gmail.com> wrote:
Hi Anthony,
I doubt any permission issue as the failure happened not initially but after a while. The user we are using has sufficient permissions for doing rwx operations. Below is the log snippet from freeswitch log.
If it’s any help, the freeswitch log had entries like this every few seconds:
2012-10-26 11:53:16.653473 [CRIT] mod_logfile.c:164 Error renaming log from /usr/local/freeswitch/log/freeswitch.log.40 to /usr/local/freeswitch/log/freeswitch.log.41
……
2012-10-27 00:19:30.313497 [CRIT] mod_logfile.c:164 Error renaming log from /usr/local/freeswitch/log/freeswitch.log.40 to /usr/local/freeswitch/log/freeswitch.log.41
Until it ran out of disk space and crashed. No reason why it couldn’t rename the file, though.
On Tue, Nov 20, 2012 at 1:50 AM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
When it says it cannot, is that because of file permissions? Dos FS have permission to write to the directory?Can you reproduce this with logs and if so can you report it to Jira http://jira.freeswitch.org
On Mon, Nov 19, 2012 at 6:45 AM, Nageshwara Rao Moova <mnrao2001@gmail.com> wrote:_________________________________________________________________________Hi all,
I have modified my default logconf file for rollover to be restricted to 100. But sometimes freeswitch is unable to rename rollover say “cannot rename freeswitch.log.41” and fails. But the fail follows with serious issue of writing all the logs to "freeswitch.log" and ends up filling the disk space.
I have not change the default file size i.e 10MB.
How does 10MB size overridden by freeswitch?
--
regards & thanks
--
m nageshwara rao
99891 86280
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
regards & thanks
--
m nageshwara rao
99891 86280
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org