Asterisk ended with exit status 127

Asterisk fails with amportal start, the log has turned up nothing useful.

Any ideas?

[code:1][[email protected] ~]# amportal start

SETTING FILE PERMISSIONS
Permissions OK

STARTING ASTERISK
Asterisk ended with exit status 127
Asterisk died with code 127.
Automatically restarting Asterisk.
Asterisk ended with exit status 127
Asterisk died with code 127.
Automatically restarting Asterisk.
mpg123: no process killed


Asterisk could not start!
Use ‘tail /var/log/asterisk/full’ to find out why.

[[email protected] ~]#
[[email protected] ~]# tail /var/log/asterisk/full
[Aug 12 01:38:08] NOTICE[6372] chan_sip.c: Peer ‘4600’ is now Reachable. (15ms / 2000ms)
[Aug 12 01:38:08] NOTICE[6372] chan_sip.c: Peer ‘4401’ is now Reachable. (165ms / 2000ms)
[Aug 12 01:38:08] NOTICE[6372] chan_sip.c: Peer ‘sipgate.co.uk’ is now Reachable. (55ms / 2000ms)
[Aug 12 01:38:09] NOTICE[6372] chan_sip.c: Peer ‘4400’ is now Reachable. (265ms / 2000ms)
[Aug 12 01:38:09] NOTICE[6372] chan_sip.c: Peer ‘4301’ is now Reachable. (137ms / 2000ms)
[Aug 12 01:38:09] NOTICE[6372] chan_sip.c: Peer ‘4300’ is now Reachable. (233ms / 2000ms)
[Aug 12 01:38:09] NOTICE[6372] chan_sip.c: Peer ‘sipgate.de’ is now Reachable. (54ms / 2000ms)
[Aug 12 01:38:09] NOTICE[6372] chan_sip.c: Peer ‘4200’ is now Reachable. (269ms / 2000ms)
[Aug 12 01:38:09] NOTICE[6372] chan_sip.c: Peer ‘SmartTelecom’ is now Reachable. (55ms / 2000ms)
[Aug 12 01:38:09] NOTICE[6372] chan_sip.c: Peer ‘voipuser IN’ is now Reachable. (155ms / 2000ms)
[[email protected] ~]# asterisk
[[email protected] ~]# amportal start

SETTING FILE PERMISSIONS
Permissions OK

STARTING ASTERISK
Asterisk is already running

STARTING FOP SERVER
FOP Server Started
[[email protected] ~]# [/code:1]

What kind of setup do you have? That log snippet didn’t show much, can you turn up the verbosity?

I think this was my fault.

It seems I was missing a symlink in /usr/lib…

James

Super old thread, but what symlink were you missing? I am getting this error on CentOS 6.5 when installing Asterisk via

http://wiki.freepbx.org/display/HTGS/Installing+FreePBX+2.11+on+Centos+6.3#InstallingFreePBX2.11onCentos6.3-UpdateYourSystem

Okay, so the real way to do it has a snip on 32 or 64 bit… here’s the answer.

http://blogs.digium.com/2012/11/05/how-to-install-asterisk-11-on-centos-6/