Problem to run asterisk

Hello, i have a next problem with asterisk whena i try to connect to asterisk console:

== Parsing ‘/etc/asterisk/asterisk.conf’: Found
== Parsing ‘/etc/asterisk/extconfig.conf’: Found
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)

Can someone help me, please!

That problem looks very familiar. What asterisk system are you using?

Sorry, i forget it!

Asterisk 1.4.4

Sorry, I should have asked on what platform does your asterisk system run, too.

oooo, i didn’t see. I’m in a hurry, big hurry because of my asterisk :smile:!

I’m using CENT OS 5.0

So, your asterisk is running on an x86 platform. I was hoping you would say your asterisk was running on an open-source supported WiFi router. I had this issue with my asterisk on my LaFonera running on an OpenWRT firmware. It turned out the newest uClibc-0.9.29 library was to blame. So, I had to downgrade to uClibc- library to get the problem resolved. I supposed a uClibc is only used on a Linux embedded system. As such, your CentOS Linux on an x86 system wouldn’t be running a uClibc library to cause this asterisk problem. One thing I would certainly do if I were you is to recompile the asterisk source on the machine that will run the asterisk to see if the problem will get resolved. If you do a ps axw on your CentOS Linux system where asterisk reported missng /var/run/asterisk.ctl file, chances are you will only see about three processes of asterisk running. If you launch asterisk with a -v switch, you will see more asterisk processes are running and accessing asterisk CLI is no longer a problem; however, there may be some other problems lingering with your asterisk, i.e. system time is wrongly reported.