Hello;
I’m a linode customer, I have a server dedicated to asterisk and free pbx, or it will be when it’s running.
asterisk 1.8 and freepbx 2.11 from SVN are the versions being used.
I looked at the instructions on
http://wiki.freepbx.org/display/HTGS/Installing+FreePBX+on+Centos+6.3
but deployed asterisk via the yum repository as I didn’t need dahdi as it’s no longer required in asterisk 1.8.
The install went all right, but when I attempted to apply configurations it says it couldn’t execute retrieve_config.
Running amportal start gives
Please wait…
SETTING FILE PERMISSIONS
chmod: cannot access /var/lib/asterisk/agi-bin/*': No such file or directory chown: cannot access
/var/lib/asterisk/agi-bin’: No such file or directory
Permissions OK
Removing any dangling symlinks
find: `/var/lib/asterisk/agi-bin’: No such file or directory
Dangling symlinks removed
STARTING ASTERISK
nnect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?
ed with exit status 1
d with code 1.
y restarting Asterisk.
ed with exit status 1
d with code 1.
y restarting Asterisk.
rted
[root@li285-226 run]# Asterisk ended with exit status 1
Asterisk died with code 1.
Automatically restarting Asterisk.
that’s a constant loop. so I type clear.
and attempt to start asterisk manually
service asterisk start
just to see if asterisk itself will start
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?
)
Starting asterisk: [ OK ]
[root@li285-226 run]#
ok, check for /var/run/asterisk/asterisk.ctl
[root@li285-226 ~]# cd /var/run/asterisk
[root@li285-226 asterisk]# ls asterisk.ctl
asterisk.ctl
ok, check it’s permission.
[root@li285-226 asterisk]# ls -ald asterisk.ctl
srwxrwx— 1 asterisk asterisk 0 Aug 11 02:36 asterisk.ctl
[root@li285-226 asterisk]#
they look fine to me.
A quick google indicates try amportal chown. OK, why not. let’s try.
[root@li285-226 asterisk]# amportal chown
Please wait…
SETTING FILE PERMISSIONS
chmod: cannot access /var/lib/asterisk/agi-bin/*': No such file or directory chown: cannot access
/var/lib/asterisk/agi-bin’: No such file or directory
Permissions OK
[root@li285-226 asterisk]#
that tells me something’s missing or I broke something.
I’m totally knew to the installation of this setup, so I apologize if this sounds stupid, and I’ve probably missed something or I shouldn’t have installed asterisk from the yum epel repo.
Thank you for any assistance you can offer.