my os is centOS 5.X
i installed asterisk126.96.36.199 via Installing Asterisk With Yum
i used command as below:
“yum install asterisk18 asterisk18-configs asterisk18-voicemail dahdi-linux
but i will run
showing error "Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?) "
i see /var/log/asterisk/meessage
showing “[Apr 5 17:21:16] ERROR /usr/src/redhat/BUILD/asterisk18-188.8.131.52/include/asterisk/utils.h: Memory Allocation Failure in function internal_ao2_alloc at line 295 of astobj2.c”
[Apr 5 17:41:11] WARNING loader.c: Error loading module ‘res_pktccops’: /usr/lib/asterisk/modules/res_pktccops.so: cannot open shared object file: No such file or directory
[Apr 5 17:41:11] WARNING loader.c: Error loading module ‘chan_mgcp.so’: /usr/lib/asterisk/modules/chan_mgcp.so: undefined symbol: ast_pktccops_gate_alloc
[Apr 5 17:41:11] WARNING loader.c: Module ‘chan_mgcp.so’ could not be loaded.
[Apr 5 17:41:11] WARNING res_musiconhold.c: Cannot open dir /var/lib/asterisk/moh or dir does not exist
[Apr 5 17:41:11] WARNING res_musiconhold.c: No music on hold classes configured, disabling music on hold.
[Apr 5 17:41:11] NOTICE chan_skinny.c: Configuring skinny from skinny.conf
At first sight, you do not have enough RAM, however, given more details, it might turn out to be issues.asterisk.org/view.php?id=19065
The rasterisk error simply means that asterisk proper is not running.
Installing from yum almost certainly means you cannot progress this any further, as the package is unlikely to have been built with options compatible with submitting a bug report, and you will have to wait for any fix to find its way into the package.