Re: [asterisk-users] format_wav.c:247 update_header: Unable to find our position
Chris Mason (Lists) пишет: Tzafrir Cohen wrote: Do you rotate Asterisk's logs with the logger or with logrotate? I have never addressed this before and never seen this problem before. The issue is causing thousand of log files to be written to the /var/log/asterisk directory, so many that I have to use find to erase them. I believe this is a bug but I don't see many other people report it. I have seen a couple of instances of it, though. This usually happens if one of the log files in /var/log/asterisk is more than 2Gb... ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] format_wav.c:247 update_header: Unable to find our position
Andrey Solovjov wrote: This usually happens if one of the log files in /var/log/asterisk is more than 2Gb... I had deleted all the log a week previously, so that's is not likely. I think we have a bug. I built two systems on the same hardware, the only difference was one had a Sangoma A101, the other had a Sangoma A200. The A101 system has been rock solid. Could this be hardware related? -- Chris Mason (264) 497-5670 Fax: (264) 497-8463 Int: (305) 704-7249 Fax: (815)301-9759 UK 44.207.183.0271 Cell: 264-235-5670 Yahoo IM: [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] format_wav.c:247 update_header: Unable to find our position
I have a persistent problem with a PBX I commissioned recently. After a few days it goes into a spasm, creating thousand of log files and giving the message below on the CLI. Dell PE 1600 with Sangoma A200. pbtpbx*CLI show version Asterisk 1.2.14 built by root @ pbtpbx.local on a i686 running Linux on 2007-01-13 18:31:56 UTC Asterisk Queue Logger restarted Rotated Logs Per SIGXFSZ (Exceeded file size limit) Feb 5 08:43:00 WARNING[20103]: format_wav.c:247 update_header: Unable to find our position == Parsing '/etc/asterisk/logger.conf': Found -- Chris Mason (264) 497-5670 Fax: (264) 497-8463 Int: (305) 704-7249 Fax: (815)301-9759 UK 44.207.183.0271 Cell: 264-235-5670 Yahoo IM: [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] format_wav.c:247 update_header: Unable to find our position
On Mon, Feb 05, 2007 at 08:52:52AM -0400, Chris Mason (Lists) wrote: I have a persistent problem with a PBX I commissioned recently. After a few days it goes into a spasm, creating thousand of log files and giving the message below on the CLI. Dell PE 1600 with Sangoma A200. pbtpbx*CLI show version Asterisk 1.2.14 built by root @ pbtpbx.local on a i686 running Linux on 2007-01-13 18:31:56 UTC Asterisk Queue Logger restarted Rotated Logs Per SIGXFSZ (Exceeded file size limit) Feb 5 08:43:00 WARNING[20103]: format_wav.c:247 update_header: Unable to find our position == Parsing '/etc/asterisk/logger.conf': Found What do you have on logger.conf ? Do you rotate Asterisk's logs with the logger or with logrotate? -- Tzafrir Cohen icq#16849755jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] format_wav.c:247 update_header: Unable to find our position
Do you rotate Asterisk's logs with the logger or with logrotate? Don't know. I have not modified the installation. What do you have on logger.conf ? [general] ; Customize the display of debug message time stamps ; this example is the ISO 8601 date format (-mm-dd HH:MM:SS) ; see strftime(3) Linux manual for format specifiers ;dateformat=%F %T ; ; This appends the hostname to the name of the log files. ;appendhostname = yes ; ; This determines whether or not we log queue events to a file ; (defaults to yes). ;queue_log = no ; ; This determines whether or not we log generic events to a file ; (defaults to yes). ;event_log = no ; ; ; For each file, specify what to log. ; ; For console logging, you set options at start of ; Asterisk with -v for verbose and -d for debug ; See 'asterisk -h' for more information. ; ; Directory for log files is configures in asterisk.conf ; option astlogdir ; [logfiles] ; ; Format is filename and then levels of debugging to be included: ;debug ;notice ;warning ;error ;verbose ;dtmf -- Chris Mason (264) 497-5670 Fax: (264) 497-8463 Int: (305) 704-7249 Fax: (815)301-9759 UK 44.207.183.0271 Cell: 264-235-5670 Yahoo IM: [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] format_wav.c:247 update_header: Unable to find our position
Tzafrir Cohen wrote: Do you rotate Asterisk's logs with the logger or with logrotate? I have never addressed this before and never seen this problem before. The issue is causing thousand of log files to be written to the /var/log/asterisk directory, so many that I have to use find to erase them. I believe this is a bug but I don't see many other people report it. I have seen a couple of instances of it, though. -- Chris Mason (264) 497-5670 Fax: (264) 497-8463 Int: (305) 704-7249 Fax: (815)301-9759 UK 44.207.183.0271 Cell: 264-235-5670 Yahoo IM: [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users