[root@localhost freepbx-2.3.0]#
[root@localhost freepbx-2.3.0]# ./install_amp
Checking for PEAR DB…OK
Checking for PEAR Console::Getopt…OK
Checking user…OK
Checking if Asterisk is running…FAILED
[FATAL] ./install_amp
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’
[root@localhost freepbx-2.3.0]# ./start_asterisk start
STARTING ASTERISK
./start_asterisk: line 43: /usr/sbin/safe_asterisk: No such file or directory
safe_asterisk: no process killed
mpg123: no process killed
Asterisk could not start!
Use ‘tail /full’ to find out why.
Either you don’t have asterisk installed which is a pre-requisite or you don’t have it installed in the default location. When you do a ‘make install’ of asterisk, it installs /usr/bin/safe_asterisk for you. The requirement is to have asterisk running before you run install_amp, however you choose to run it. However, you will run into other problems if you don’ have safe_asterisk so fix that and you should be fine.
Philippe Lindheimer - FreePBX Project Lead
http//freepbx.org - IRC #freepbx
I had the same error when installing on Ubuntu 7.04, and was able to get around the error in the same fashion: by starting asterisk manually and running ./install_amp. The problem then came back on startup because the startup script insists on using safe_asterisk. I would have to agree with Philippe on this one, you probably had an issue during compile. I actually went back and re-compiled asterisk and zaptel and my issue disappeared.