Open Source Training Seminar


Not Logged in - No Account?

Don't have an account? Registering an account with us allows you to post to the forums, easily track new posts, subscribe to threads, pm (private message) other forum members, and receive periodic news letters (you can opt out if you desire). Once you are logged in this message will no longer appear. If you don't have an account, you can create one by registering here. Lost your password, request a new password. We respect your privacy which means we collect minimal information when you register and we do not resell that information or use it in any objectionable way. You can review our privacy policy for full details.


Install Trouble On Ubuntu 8.04 - Asterisk won't start after FreePBX install.

jmorey's picture

Trying to install FreePBX 2.4 on Ubuntu 8.04. Installing Zaptel, Asterisk, and Apache2 using the Ubuntu packages. Everything goes fine. Installing other FreePBX despendincies from the Ubuntu packages and still everything is fine. Now I run ./install_amp. Several things go wrong.

1) At the end of the install I get a bunch of errors saying the the MYSQL database can not be connected to by asteriskuser@localhost/amp109. The problem is I did not use that user name or password. I entered different information during the install. Why is the install trying to use the defaults now.

2) Asterisk wont start now. If I try and use start_asterisk I just get the following over and over again:

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

Thanks for any help or ideas,

John Morey


__________________


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

I have the same

asimko's picture

I have the same problem.
Asterisk starts normally when I reinstall asterisk-config, but with configs from freepbx it want start. If I start Asterisk with debug it just hangsup but no error is displayed. So I dont know for what it is waiting.

Any suggestion here?
Thanks a lot


Asterisk 1.6 With Ubuntu 8.04

rayj00's picture

You don't say what version asterisk, but I have asterisk 1.6 with Ubuntu 8.04 running just fine. By that I mean it starts and stops just fine. I have not done any calls yet.

I am trying to install FreePBX and am having problems. I have another thread going for that one.


I had the same problem...

Zone-MR's picture

I had the same problem... solved by adding:

noload = app_directory_odbc.so
noload = app_voicemail_odbc.so
noload = app_voicemail_imap.so

to /etc/asterisk/modules.conf

Another problem you're likely to encounter with Ubuntu Gusty Gibbon's asterisk package and FreePBX is a hang during the "amportal start" script. I solved this by changing "BACKGROUND=0" to "BACKGROUND=1" in /usr/sbin/safe_asterisk.

Hope this helps :)

M.