Unable to connect to remote asterisk

Hi,

I’ve installed asterisk using asterisknow repository, since that getting error message like as below.

[root@localhost CATIE_SSHClient_v0.7]# /etc/init.d/asterisk status
asterisk (pid 32227) is running…
[root@localhost CATIE_SSHClient_v0.7]# chkconfig --list asterisk
asterisk 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[root@localhost CATIE_SSHClient_v0.7]# asterisk -r
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
[root@localhost CATIE_SSHClient_v0.7]#

help me to fix this problem.

If the server is running, this will be a permissions problem.