FreePBX/Elastix on rackspace


I am installing Elastix on a cloud server on rackspace as per these instructions:

(google elastix install on rackspace)

All packages install with no problem…but there seems to be a post install script error. I get this:

Please wait…
/usr/sbin/amportal: line 46: [FATAL]: command not found
When I reboot.

Remember this is a fresh install. Mysql is running and so is asterisk, but amportal will always crash with this error. I have seen threads related to this problem but I can’t find a fix. It is important to notice that this is a fresh install and I have not “broken” my server or had any power outage.

What version of freepbx is it running?