use:
Asterisk 1.6.2.0
Freepbx 2.5.2
I installed asterisk and the daemon run. Then i installed freepbx, asterisk works fine yet. When i reboot the system asterisk doesn’t start. And if i try to start it manually… nothing…
any idea?
use:
Asterisk 1.6.2.0
Freepbx 2.5.2
I installed asterisk and the daemon run. Then i installed freepbx, asterisk works fine yet. When i reboot the system asterisk doesn’t start. And if i try to start it manually… nothing…
any idea?
need a debug log, status, etc
I think I have the same problem. I don’t have the debug output with me, but can post it when I get home tonight.
Here is what happens:
Install Asterisk
result: /etc/init.d/asterisk start & stop works fine
Install FreePBX
result: Looks fine at first in the web interface
Stop & Start Asterisk (command line or reboot)
result: Extension link is grayed out and Asterisk won’t start again
I installed Asterisk via Ubuntu’s Synaptic package manager. FreePBX doesn’t have permissions to read /etc/asterisk/asterisk.conf at default which makes me suspicious there could be some other permissions problem. Also, after completing my FreePBX configuration I’m not seeing evedence in the /etc/asterisk config files that they have actually been altered by FreePBX (granted I haven’t looked through all of them).
Hmm… did you run passwd-master?
~snip~
Using default FreePBX admin security alone will not protect your system from a web attack and may compromise root access to your entire server, if you do not change the password, before connecting the PBX to the Internet. For this reason, we recommend that you log in as root and immediately run passwd-master. This establishes Apache .htaccess security on your FreePBX web interface. After running this conversion utility, you can only log into the FreePBX admin interface with the username maint and the password which you establish when you run the utility. ~snip~
Thanks for that advice. That didn’t make into the UbuntuServer install tutorial. Once I get this thing running I will try and improve it.
I would like to see your improvements, too. Thanks!
passwd-master doesn’t exist on my system - as in “-bash: passwd-master: command not found”
Nor can I find a script file anywhere on the computer with that name.
What should I do?
Dave
Here is my log of actions taken during the install.
Install needed programs, letting package manager include dependencies
asterisk, dahdi, libpri, asterisk-config, asterisk-mysql, asterisk-mp3
Add system user and group asterisk (completed automatically by asterisk installation)
Test asterisk start/stop
Download FreePBX, copy to /usr/src and tar zxf
mysql stuff
Install FreePBX (/usr/src/freepbx_/install_amp)
Running passwd-master is reccommended immediately after install.
I can’t find the command. Is this a php script?
Stop/Start web interface
bash$ sudo amportal start
SETTING FILE PERMISSIONS
Permissions OK
STARTING ASTERISK
ulimit: 105: error setting limit (Operation not permitted)
Asterisk ended with exit status 1
Asterisk died with code 1.
Automatically restarting Asterisk…repeating
is this a x_64 compatibility issue? start/stop works before freepbx is installed.
is the normal install procedure to change permissions on this?
now http://localhost/html/admin comes up, but with an error that the script can’t read /etc/asterisk/asterisk.conf (permissions)
should I chmod asterisk.conf? maybe chgrp?
Can you did you run update-fixes and update-scripts
That should make passwd-master appear.