Leo Burd
2005-Nov-18 09:11 UTC
[Asterisk-Users] Asterisk 1.2 error: "Ouch ... error while writing audio data: : Broken pipe"
Hello there, I've just managed to install Asterisk 1.2. Unfortunately, whenever I try to run asterisk -v I get the following error message: "Ouch ... error while writing audio data: : Broken pipe" I also get warningw like: [app_muxmon.so]Nov 18 11:05:17 WARNING[8175]: loader.c:325 __load_resource: /usr/lib/asterisk/modules/app_muxmon.so: undefined symbol: ast_parseoptions Nov 18 11:05:17 WARNING[8175]: loader.c:554 load_modules: Loading module app_muxmon.so failed! Any ideas about what is going on? Thanks in advance, Leo
Kevin P. Fleming
2005-Nov-18 09:22 UTC
[Asterisk-Users] Asterisk 1.2 error: "Ouch ... error while writing audio data: : Broken pipe"
Leo Burd wrote:> Any ideas about what is going on?Yes. You didn't read the warnings prominently displayed at the end of 'make install' about removing old modules from /usr/lib/asterisk/modules.
BJ Weschke
2005-Nov-18 09:25 UTC
[Asterisk-Users] Asterisk 1.2 error: "Ouch ... error while writing audio data: : Broken pipe"
On 11/18/05, Leo Burd <leob@media.mit.edu> wrote:> Hello there, > > I've just managed to install Asterisk 1.2. Unfortunately, whenever I > try to run asterisk -v I get the following error message: > > "Ouch ... error while writing audio data: : Broken pipe" > > I also get warningw like: > > [app_muxmon.so]Nov 18 11:05:17 WARNING[8175]: loader.c:325 > __load_resource: /usr/lib/asterisk/modules/app_muxmon.so: undefined > symbol: ast_parseoptions > Nov 18 11:05:17 WARNING[8175]: loader.c:554 load_modules: Loading module > app_muxmon.so failed! > > Any ideas about what is going on? > > Thanks in advance, >rm -rf /usr/lib/asterisk/modules/*.so and then "make install" and again. -- Bird's The Word Technologies, Inc. http://www.btwtech.com/
Doug Lytle
2005-Nov-22 07:10 UTC
[Asterisk-Users] Spandsp/rxfax/txfax & Asterisk 1.2stable -
Dominik Simon wrote:> Hi all, > > today I installed asterisk 1.2stable and than spandsp-0.0.2pre21 with > rxfax & txfax. After I restart the asterisk and get the following errors: > - > > But I only have spandsl-0.0.2 installed, and the libs are in /usr/ > local/lib, see: > > -rw-r--r-- 1 root root 946280 18. Nov 22:02 libspandsp.a > -rwxr-xr-x 1 root root 822 18. Nov 22:02 libspandsp.la > lrwxrwxrwx 1 root root 19 18. Nov 22:02 libspandsp.so -> > libspandsp.so.0.0.1 > lrwxrwxrwx 1 root root 19 18. Nov 22:02 libspandsp.so.0 -> > libspandsp.so.0.0.1 > -rwxr-xr-x 1 root root 738959 18. Nov 22:02 libspandsp.so.0.0.1 >Your output shows that you have 0.0.1 installed. Delete the older version of spandsp and re-install 0.0.2 Doug
Dominik Simon
2005-Nov-22 08:22 UTC
[Asterisk-Users] Spandsp/rxfax/txfax & Asterisk 1.2stable -
Hi Doug, hi list, I installed spandsp-0.0.2 were the libspandsp.so.0.0.1 are included, now I installed die spandsp-0.0.3 an you see: the same problem - and now there is the libspandsp.so.0.0.2: [app_txfax.so]Nov 22 16:15:38 WARNING[29448]: loader.c:325 __load_resource: /usr/lib/asterisk/modules/app_txfax.so: undefined symbol: fax_set_header_info Nov 22 16:15:38 WARNING[29448]: loader.c:554 load_modules: Loading module app_txfax.so failed! [root@obelix /]# cd /usr/local/lib [root@obelix lib]# ll -rw-r--r-- 1 root root 1143730 22. Nov 16:06 libspandsp.a -rwxr-xr-x 1 root root 822 22. Nov 16:06 libspandsp.la lrwxrwxrwx 1 root root 19 22. Nov 16:06 libspandsp.so -> libspandsp.so.0.0.2 lrwxrwxrwx 1 root root 19 22. Nov 16:06 libspandsp.so.0 -> libspandsp.so.0.0.2 -rwxr-xr-x 1 root root 873774 22. Nov 16:06 libspandsp.so.0.0.2 Whats going wrong? I cant see the mistake... Best regards, Dominik Am 22.11.2005 um 15:10 schrieb Doug Lytle:> Dominik Simon wrote: > >> Hi all, >> >> today I installed asterisk 1.2stable and than spandsp-0.0.2pre21 >> with rxfax & txfax. After I restart the asterisk and get the >> following errors: >> - >> >> But I only have spandsl-0.0.2 installed, and the libs are in /usr/ >> local/lib, see: >> >> -rw-r--r-- 1 root root 946280 18. Nov 22:02 libspandsp.a >> -rwxr-xr-x 1 root root 822 18. Nov 22:02 libspandsp.la >> lrwxrwxrwx 1 root root 19 18. Nov 22:02 libspandsp.so -> >> libspandsp.so.0.0.1 >> lrwxrwxrwx 1 root root 19 18. Nov 22:02 libspandsp.so.0 -> >> libspandsp.so.0.0.1 >> -rwxr-xr-x 1 root root 738959 18. Nov 22:02 libspandsp.so.0.0.1 >> > > Your output shows that you have 0.0.1 installed. > > Delete the older version of spandsp and re-install 0.0.2 > > Doug > > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com -- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Doug Lytle
2005-Nov-22 11:06 UTC
[Asterisk-Users] Spandsp/rxfax/txfax & Asterisk 1.2stable -
Dominik Simon wrote:> Hi Doug, > hi list, > > I installed spandsp-0.0.2 were the libspandsp.so.0.0.1 are included, > now I installed die spandsp-0.0.3 an you see: > the same problem - and now there is the libspandsp.so.0.0.2: > > [app_txfax.so]Nov 22 16:15:38 WARNING[29448]: loader.c:325 > __load_resource: /usr/lib/asterisk/modules/app_txfax.so: undefined > symbol: fax_set_header_info >You need to make sure there is no version of spandsp on the system. Use locate -u to update your locate database, then do a local spandsp to find all the locations that it may install to. Remove them all, recompile and install spandsp. That should do it. Doug
Martinez Felix
2005-Nov-23 06:50 UTC
[Asterisk-Users] Spandsp/rxfax/txfax & Asterisk 1.2stable - problems loading the modules
two things...verify the content of your /etc/ld.so.conf file must have the path included(/usr/local/lib) and recompile and install...first span and then asterisk... On 11/22/05, Dominik Simon <kannel@dominik.de> wrote:> > Hi all, > > today I installed asterisk 1.2stable and than spandsp-0.0.2pre21 with > rxfax & txfax. After I restart the asterisk and get the following > errors: > > [app_rxfax.so] WARNING[6340]: loader.c:325 __load_resource: /usr/lib/ > asterisk/modules/app_rxfax.so: undefined symbol: fax_set_phase_d_handler > WARNING[6340]: loader.c:554 load_modules: Loading module app_rxfax.so > failed! > > [app_txfax.so] WARNING[6311]: loader.c:325 __load_resource: /usr/lib/ > asterisk/modules/app_txfax.so: undefined symbol: fax_set_header_info > WARNING[6311]: loader.c:554 load_modules: Loading module app_txfax.so > failed! > > I am running Asterisk on fedora core 4 - all works great (Asterisk, > app_conference and others...), but tx/rxfax failed :( > > Now I found the following message on http://www.asteriskguru.com/ > tutorials/spandsp.html: > > // START // > > 2) If you receive a message like the following: > > [app_txfax.so]Oct 5 12:05:24 WARNING[14665]: loader.c:314 > __load_resource: /usr/lib/asterisk/modules/app_txfax.so: undefined > symbol: fax_set_header_info > Oct 5 12:05:24 WARNING[14665]: loader.c:543 load_modules: Loading > module app_txfax.so failed! > Ouch ... error while writing audio data: : Broken pipe > > When you execute the asterisk -vvvvvvvc command and the Asterisk > crashes when you try to execute the safe_asterisk command, then very > probably you have the following problem: > > The previously installed version of spandsp has been 0.0.3, but now > you have installed version 0.0.2. The problem is that the > installation of version 0.0.3 creates a symlink, which is not > replaced by installation of version 0.0.2. So the symlink points to > the library of version 0.0.3, which actually does not exist. > > The solution is to find the location of this symlink and to delete it > manually. Usually it is in the /usr/lib/ directory. > > /// STOP /// > > - > > But I only have spandsl-0.0.2 installed, and the libs are in /usr/ > local/lib, see: > > -rw-r--r-- 1 root root 946280 18. Nov 22:02 libspandsp.a > -rwxr-xr-x 1 root root 822 18. Nov 22:02 libspandsp.la > lrwxrwxrwx 1 root root 19 18. Nov 22:02 libspandsp.so -> > libspandsp.so.0.0.1 > lrwxrwxrwx 1 root root 19 18. Nov 22:02 libspandsp.so.0 -> > libspandsp.so.0.0.1 > -rwxr-xr-x 1 root root 738959 18. Nov 22:02 libspandsp.so.0.0.1 > > - > > Does anybody have the same problems? > > Best regards and thx for help! > > Dominik Simon. > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com -- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051123/867ba0cb/attachment.htm