Error loading module G.729

2,791 views
Skip to first unread message

紀成璞

unread,
Sep 20, 2012, 2:12:48 PM9/20/12
to asteri...@googlegroups.com
hi, my asterisk version is 1.8.12.0



$ asterisk -rv
CLI> load module codec_g729.so
Unable to load module codec_g729.so
Command 'module load codec_g729.so' failed.
[Sep 21 02:03:39] WARNING[23574]: loader.c:398 load_dynamic_module: Error loading module 'codec_g729.so': /usr/lib/asterisk/modules/codec_g729.so: cannot enable executable stack as shared object requires: Permission denied
[Sep 21 02:03:39] WARNING[23574]: loader.c:850 load_resource: Module 'codec_g729.so' could not be loaded.


my cpu info:

model name      : Intel(R) Xeon(R) CPU           X5670  @ 2.93GHz

which codec i download is           codec_g729-ast18-gcc4-glibc-x86_64-pentium4.so

and 

$ cp  codec_g729-ast18-gcc4-glibc-x86_64-pentium4.so /usr/lib/asterisk/modules/codec_g729.so
$ chmod 775  /usr/lib/asterisk/modules/codec_g729.so
$ ls -al /usr/lib/asterisk/modules/codec_g729.so
-rwxr-xr-x. 1 root root 620208 2012-09-21 01:00 codec_g729.so


can someone tell me why? Thank!

Arkadi Shishlov

unread,
Sep 21, 2012, 4:02:11 AM9/21/12
to asteri...@googlegroups.com
On Thu, Sep 20, 2012 at 9:12 PM, 紀成璞 <axdc...@gmail.com> wrote:
> [Sep 21 02:03:39] WARNING[23574]: loader.c:398 load_dynamic_module: Error
> loading module 'codec_g729.so': /usr/lib/asterisk/modules/codec_g729.so:
> cannot enable executable stack as shared object requires: Permission denied

Try
$ chcon -t textrel_shlib_t /usr/lib/asterisk/modules/codec_g72[39]*.so

紀成璞

unread,
Sep 21, 2012, 4:05:27 AM9/21/12
to asteri...@googlegroups.com
Thanks for your advise , I solve this question by

setsebool -P allow_execstack 1 

CLI> module load codec_g729.so



Arkadi Shishlov於 2012年9月21日星期五UTC+8下午4時02分32秒寫道:

Arkadi Shishlov

unread,
Oct 24, 2012, 2:56:19 PM10/24/12
to asteri...@googlegroups.com
On Fri, Sep 21, 2012 at 11:05 AM, 紀成璞 <axdc...@gmail.com> wrote:
> Thanks for your advise , I solve this question by
>
> $ setsebool -P allow_execstack 1

The less intrusive solution would be
$ execstack -c /usr/lib/asterisk/modules/codec_g72[39]*.so

moustaf...@gmail.com

unread,
Dec 7, 2012, 8:36:47 AM12/7/12
to asteri...@googlegroups.com
Hi there ,

I have the same issue and i am not sure of the code .. Plz assist on how to rectify the issue ..

Package installed on Xeon processor 3.0 codec_g729-ast14-gcc4-glibc-pentium4-sse3.so

Actually not sure if its the right package ... Hope you can assist .

Thanks

diegogu...@gmail.com

unread,
Feb 16, 2014, 12:47:50 AM2/16/14
to asteri...@googlegroups.com
Help!!!

Unable to load module codec_g729-ast18-gcc4-glibc-x86_64-core2-sse4.so
Command 'module load codec_g729-ast18-gcc4-glibc-x86_64-core2-sse4.so' failed.


processor    : 0
vendor_id    : GenuineIntel
cpu family    : 6
model        : 58
model name    : Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz
stepping    : 9

processor    : 1
vendor_id    : GenuineIntel
cpu family    : 6
model        : 58
model name    : Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz
stepping    : 9

processor    : 2
vendor_id    : GenuineIntel
cpu family    : 6
model        : 58
model name    : Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz
stepping    : 9

processor    : 3
vendor_id    : GenuineIntel
cpu family    : 6
model        : 58
model name    : Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz
stepping    : 9

flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 b19 b21 mmxext mmx fxsr xmm sse2 b27 b28 b29 3dnow
cpu MHz        : 3292.59
bogomips    : 3292.59

diego gualtieri

unread,
Feb 16, 2014, 12:58:02 AM2/16/14
to asteri...@googlegroups.com
Debian 9.0 and Asterisk 1.8.13

Carlos Andrade

unread,
Mar 17, 2014, 3:48:34 PM3/17/14
to asteri...@googlegroups.com
dear, I have the same problem. Someone managed to solve?

Arkadi Shishlov

unread,
Mar 17, 2014, 4:20:22 PM3/17/14
to asteri...@googlegroups.com
On Mon, Mar 17, 2014 at 9:48 PM, Carlos Andrade <caasu...@gmail.com> wrote:
> dear, I have the same problem. Someone managed to solve?

The same problem, you mean "cannot enable executable stack"?

yassin...@gmail.com

unread,
Apr 27, 2014, 7:44:21 PM4/27/14
to asteri...@googlegroups.com
plz  codec for Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz (4 CPUs), ~2.4GHz 
goautodial CE 2.1

yassin...@gmail.com

unread,
Apr 27, 2014, 7:45:40 PM4/27/14
to asteri...@googlegroups.com, yassin...@gmail.com

yassin...@gmail.com

unread,
Apr 29, 2014, 10:10:54 AM4/29/14
to asteri...@googlegroups.com, yassin...@gmail.com

thongd...@gmail.com

unread,
Aug 5, 2016, 5:41:24 AM8/5/16
to Asterisk G.729


เมื่อ วันศุกร์ที่ 21 กันยายน ค.ศ. 2012 1 นาฬิกา 12 นาที 48 วินาที UTC+7, 紀成璞 เขียนว่า:

Maxim Morgunov

unread,
Aug 5, 2016, 6:06:17 AM8/5/16
to asteri...@googlegroups.com
Hi

You prablem is "permission denied"

пятница, 5 августа 2016 г. пользователь написал:
--
You received this message because you are subscribed to the Google Groups "Asterisk G.729" group.
To unsubscribe from this group and stop receiving emails from it, send an email to asterisk-g729+unsubscribe@googlegroups.com.
To post to this group, send email to asteri...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/asterisk-g729/3572ca1d-867e-4791-ae4d-949e6df67cd4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
с уважением
Моргунов Максим,
моб. +7-914-8-999-589

ouachi.a...@gmail.com

unread,
Aug 30, 2016, 1:05:05 PM8/30/16
to Asterisk G.729
model name      : Intel(R) Celeron(R) CPU          420  @ 1.60GHz

paul...@gmail.com

unread,
Dec 26, 2017, 12:29:00 PM12/26/17
to Asterisk G.729

In my case I had to disable SELinux (Centos 7).
Reply all
Reply to author
Forward
0 new messages