[Asterisk-Users] Help with amportal: asterisk ended with exit
status 127
Colin Anderson
ColinA at landmarkmasterbuilder.com
Tue Jan 10 14:46:20 MST 2006
from the command line, run asterisk -v. You will either get "Asterisk Ready"
(good) or "Ouch...Broken Pipe" (bad). If it breaks, note the name of the
last .so file it referenced before you got the "Ouch" and remove that file
from /var/lib/asterisk/modules. Rinse and repeat until you get an "Asterisk
Ready" prompt. Once you do, Ctrl-C (kill) it, then run ampportal start.
Asterisk should run OK.
Now you have to figure out why the .so modules you removed won't run.
However, a lot of times they aren't important for you to use, so you can
ignore them. For example, app_adsiprog.so is only relevant if you are
running ADSI phones. If you aren't, and it's causing Asterisk to die, leave
it out.
One other thing comes to mind and that is you might be running safe_asterisk
*already* from ampportal start which is invoked by default in
/etc/rc.d/rc.local. Comment out the /usr/sbin/ampportal start in rc.local,
reboot, THEN try the above stuff. If Asterisk runs right away, then it is a
conflict with the entry in rc.local. You can comment it back in, reboot,
then type in asterisk -r at the command line to get an Asterisk console. If
not, you have to follow the troubleshooting procedure above in order to get
it running.
hth
-----Original Message-----
From: Ben Ferguson [mailto:ben at circlepix.com]
Sent: Tuesday, January 10, 2006 1:48 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [Asterisk-Users] Help with amportal: asterisk ended with exit
status 127
Greetings. I am trying to get AMP up and going on my Asterisk server. I can
access the admin pages on my asterisk server via a web browser. I can add
and edit things via the web browser and it edits the database accordingly.
Everything seems fine except when I try to run 'amportal start'. Below is
what I get (Plus tail /var/log/asterisk/full, but the tail of the 'full' log
doesn't seem to list anything from trying to run amportal. It seems to me
that the last lines from the 'full' log are related to me stopping my
currently up and running asterisk so that I can try to run the amportal
command. Make sense?). Please help.
Thanks,
Ben F
CirclePix
************************************************************************
[root at blah]# /usr/sbin/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.
-----------------------------------------------------
[root at blah]#
[root at blah]# tail /var/log/asterisk/full
Jan 10 09:47:01 VERBOSE[12657] logger.c: == Registered file format pcm,
extension(s) pcm|ulaw|ul|mu
Jan 10 09:47:01 VERBOSE[12657] logger.c: == Manager registered action DBGet
Jan 10 09:47:01 VERBOSE[12657] logger.c: == Manager registered action DBPut
Jan 10 09:47:01 VERBOSE[12657] logger.c: == Parsing
'/etc/asterisk/enum.conf': Jan 10 09:47:01 VERBOSE[12657] logger.c: ==
Parsing '/etc/asterisk/enum.conf': Found
Jan 10 09:47:01 VERBOSE[12657] logger.c: Asterisk Ready.
Jan 10 09:47:09 VERBOSE[12657] logger.c: Asterisk Ready. Beginning asterisk
shutdown.... Jan 10 09:47:09 VERBOSE[12657] logger.c: Executing last minute
cleanups
Jan 10 09:47:09 VERBOSE[12657] logger.c: == Destroying musiconhold processes
Jan 10 09:47:09 VERBOSE[12657] logger.c: Asterisk cleanly ending (0).
[root at blah]#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060110/ba4df3a8/attachment.htm
More information about the asterisk-users
mailing list