i’ve followed the “Install Process for Ubuntu Server 7.04” guide but i’ve a problem.
It’s the first installation of pbxfree then when i try ."/install_amp" it say:
Checking for PEAR DB..OK
Checking for PEAR Console::Getopt..OK
Checking if Asterisk is running..FAILED
Asterisk must be running. If this is a first time install, you should start
Asterisk by typing './start_asterisk start'
For upgrading, you should run 'amportal start'
then i typing ./start_asterisk start.
This is the output:
Asterisk ended with exit status 1
Asterisk died with code 1.
Automatically restarting Asterisk.
system is looping with this message.
Can you help me?
I had the same problem when doing my install last weekend. I ended up having to recompile both asterisk 1.2 and zaptel 1.2 using the latest SVN branches. It looks like there is an error with some versions of the safe_asterisk script where it can’t find the pid for asterisk so it thinks that it hasn’t started. In any event, try this (from Ubuntu 6.06 install guide)…it worked for me:
svn co http://svn.digium.com/svn/asterisk/branches/1.2 asterisk-1.2
svn co http://svn.digium.com/svn/zaptel/branches/1.2 zaptel-1.2
svn co http://svn.digium.com/svn/asterisk-addons/branches/1.2 asterisk-addons-1.2
svn co http://svn.digium.com/svn/asterisk/trunk/sounds asterisk-sounds
sed -i ‘s!^#define ECHO_CAN_KB1!/* #define ECHO_CAN_KB1 */!’ zconfig.h
sed -i ‘s!/* #define ECHO_CAN_MG2 */!#define ECHO_CAN_MG2!’ zconfig.h
cd /usr/src/asterisk-1.2 && make install
sed -i ‘s/_GNU_SOURCE/_GNU_SOURCE -DMYSQL_LOGUNIQUEID/’ Makefile
Hope that helps!