Hi, I am new to freepbx and asterisk. I am attempting to install both using the instructions at http://wiki.freepbx.org/display/HTGS/Installing+FreePBX+on+Centos+6.3 Here is what I have done so far
1) Installed CentOS 6.4 on mac hardware using an ISO and all the space in the harddrive. I used the "minimal desktop" installation with no customizations.
2) Opened a terminal as root and followed the directions at http://wiki.freepbx.org/display/HTGS/Installing+FreePBX+on+Centos+6.3 to the letter with the following exceptions
- used the dahdi-linux-complete-2.7.0.1+2.7.0.1 instead of dahdi-linux-complete-2.6.1+2.6.1 since that is the version that is downloaded when running wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz
- used asterisk-11.5.1 instead of asterisk-11.1.0 since that is the version you get when downloading wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11-current.tar.gz
- after the ./configure step in the "Compile and install Asterisk" section gave me an error related to sqlite3 i installed sqlite development package using "yum install sqlite-devel" which allowed the ./configure command to run correctly
- started the mysqld and httpd services manually
When I get to the "Restart Asterisk and install FreePBX" section and attempt to run "./start_asterisk start" i get the following messages repeated over and over
Asterisk ended with exit status 127
Asterisk died with code 127.
cat: /var/run/asterisk/asterisk.pid: No such file or directory
Automatically restarting Asterisk.
Asterisk ended with exit status 127
Asterisk died with code 127.
cat: /var/run/asterisk/asterisk.pid: No such file or directory
Automatically restarting Asterisk.
Oddly, at this point there are no files in the /etc/asterisk folder and no logs (the /var/log/asterisk folder has 3 directories all of which are empty cdr-csv, cdr-custom and cel-custom. There is no /var/log/asterisk/full log). Is this normal?Troubleshooting steps i've taken
- checked the permissions on /var/run/asterisk which are 755 owned by asterisk:asterisk
- repeated all steps from the beginning to be sure i didn't miss anything the first time
- run "make samples" to create sample .conf files in the /etc/asterisk directory
- added an asterisk.conf file from another server to the /etc/asterisk directory
- removed asterisk 11.5 and installed asterisk 11.4 instead which worked for me a few weeks ago
Again I was actually able to do this successfully a few weeks with the same Linux distro and the same instructions however the 11.5 asterisk distribution may not have been released at that time.
Any help would be greatly appreciated. Thank you.