Debian 6 +freepbx 2.11 fails to install

hello everyone.
i am following this guide http://wiki.freepbx.org/display/HTGS/Installing+FreePBX+on+Debian+Wheezy to install in a barebone debian 6 (squeeze).
unfortunately it fails at the part Configure Asterisk database in MYSQL.
the command mysqladmin -u root create asterisk returns errors. does anybody had the same issue? if yes how do i overcome that problem, please?

Start by pasting the returned errors, no mind readers here :slight_smile:

If it is truly a bare-bones squeeze, I would start off with

apt-get update
sed -i ‘s/squeeze/wheezy/g’ /etc/apt/sources.list
apt-get update
apt-get upgrade
apt-get dist-upgrade

to get yourself modernized.

after a clean installl everything installed correctly. the problem is that i have to run amportal start on every boot, otherwise the asterisk fails.
how do i overcome this issue?

when you compile asterisk make sure you also

make config

which will generate /etc/init.d/asterisk and a link in /etc/rc2.d/SNNasterisk which will itself start asterisk on startup.