I upgraded my server from Fedora Core 4 to Fedora Core 5. I was wondering if anybody else has run into the problem and know's the fix? I recompiled asterisk and if I don't have the /usr/lib/asterisk/modules/codec_g729a.so file in place it works. I use or used to use the licensed G729 Codec from Digium. This is the error message from asterisk -vvg: [app_playback.so] => (Sound File Playback Application) == Registered application 'Playback' [app_dumpchan.so] => (Dump Info About The Calling Channel) == Registered application 'DumpChan' [app_zapateller.so] => (Block Telemarketers with Special Information Tone) == Registered application 'Zapateller' [codec_ilbc.so] => (iLBC/PCM16 (signed linear) Codec Translator) == Registered translator 'ilbctolin' from format ilbc to slin, cost 7 == Registered translator 'lintoilbc' from format slin to ilbc, cost 245 [codec_g729a.so]Apr 29 22:25:25 WARNING[16253]: loader.c:325 __load_resource: /usr/lib/asterisk/modules/codec_g729a.so: cannot restore segment prot after reloc: Permission denied Apr 29 22:25:25 WARNING[16253]: loader.c:554 load_modules: Loading module codec_g729a.so failed! Ouch ... error while writing audio data: : Broken pipe uname -a (Updated the hostname from the output.) Linux asteriskserver.XXXXXX.XXX 2.6.16-1.2096_FC5 #1 Wed Apr 19 05:14:36 EDT 2006 i686 i686 i386 GNU/Linux I re-downloaded the codec and attempted the i686 and i586 version wiht no luck. md5sum codec_g729a.so 92b64cc5be4a3e622c91357b116d99e3 codec_g729a.so Thanks -Jason -- ---------------------------------------------------------------------------- Jason A. Kates (jason@kates.org) Fax: 208-975-1514 Phone: 212-400-1670 x2 ============================================================================
What version of Asterisk are you using? If it's trunk then you'll have to wait for the G729 codecs to be rebuilt with the new loader changes. On 4/29/06 11:49 PM, "Jason A. Kates" <jason@kates.org> wrote:> I upgraded my server from Fedora Core 4 to Fedora Core 5. > > I was wondering if anybody else has run into the problem and know's the > fix? > > I recompiled asterisk and if I don't have > the /usr/lib/asterisk/modules/codec_g729a.so > file in place it works. > > I use or used to use the licensed G729 Codec from Digium. > > This is the error message from asterisk -vvg: > [app_playback.so] => (Sound File Playback Application) > == Registered application 'Playback' > [app_dumpchan.so] => (Dump Info About The Calling Channel) > == Registered application 'DumpChan' > [app_zapateller.so] => (Block Telemarketers with Special Information > Tone) > == Registered application 'Zapateller' > [codec_ilbc.so] => (iLBC/PCM16 (signed linear) Codec Translator) > == Registered translator 'ilbctolin' from format ilbc to slin, cost 7 > == Registered translator 'lintoilbc' from format slin to ilbc, cost > 245 > [codec_g729a.so]Apr 29 22:25:25 WARNING[16253]: loader.c:325 > __load_resource: /usr/lib/asterisk/modules/codec_g729a.so: cannot > restore segment prot after reloc: Permission denied > Apr 29 22:25:25 WARNING[16253]: loader.c:554 load_modules: Loading > module codec_g729a.so failed! > Ouch ... error while writing audio data: : Broken pipe > > uname -a (Updated the hostname from the output.) > Linux asteriskserver.XXXXXX.XXX 2.6.16-1.2096_FC5 #1 Wed Apr 19 05:14:36 > EDT 2006 i686 i686 i386 GNU/Linux > > I re-downloaded the codec and attempted the i686 and i586 version wiht > no luck. > md5sum codec_g729a.so > 92b64cc5be4a3e622c91357b116d99e3 codec_g729a.so > > Thanks -Jason > > >-- Joshua Colp Software Developer Digium P - 256-428-6066 C - 506-878-0147 jcolp@digium.com
On Sat, 2006-04-29 at 22:49 -0400, Jason A. Kates wrote:> I upgraded my server from Fedora Core 4 to Fedora Core 5. > > I was wondering if anybody else has run into the problem and know's the > fix? > > I recompiled asterisk and if I don't have > the /usr/lib/asterisk/modules/codec_g729a.so > file in place it works. > > I use or used to use the licensed G729 Codec from Digium. > > This is the error message from asterisk -vvg: > [app_playback.so] => (Sound File Playback Application) > == Registered application 'Playback' > [app_dumpchan.so] => (Dump Info About The Calling Channel) > == Registered application 'DumpChan' > [app_zapateller.so] => (Block Telemarketers with Special Information > Tone) > == Registered application 'Zapateller' > [codec_ilbc.so] => (iLBC/PCM16 (signed linear) Codec Translator) > == Registered translator 'ilbctolin' from format ilbc to slin, cost 7 > == Registered translator 'lintoilbc' from format slin to ilbc, cost > 245 > [codec_g729a.so]Apr 29 22:25:25 WARNING[16253]: loader.c:325 > __load_resource: /usr/lib/asterisk/modules/codec_g729a.so: cannot > restore segment prot after reloc: Permission deniedLooks like an SELinux issue. Try booting with selinux=0 or disable SELinux in /etc/sysconfig/selinux, reboot and see if it works then. Regards, Patrick