Unable to connect to asterisk 1.6

Hi I just installed asterisk 1.6. I had 1.4 installed before. Does anyone know how to fix this problem:

[color=blue][root@bushido ~]# asterisk -rvvvv
Asterisk 1.6.0.1, Copyright © 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer markster@digium.com
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.

== Parsing ‘/etc/asterisk/asterisk.conf’: == Found
[Nov 14 10:30:23] == Parsing ‘/etc/asterisk/extconfig.conf’: [Nov 14 10:30:23] == Found
Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?)
[root@bushido ~]# asterisk -rvvvv
Asterisk 1.6.0.1, Copyright © 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer markster@digium.com
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.

== Parsing ‘/etc/asterisk/asterisk.conf’: == Found
[Nov 14 10:36:42] == Parsing ‘/etc/asterisk/extconfig.conf’: [Nov 14 10:36:42] == Found
Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?)
[root@bushido ~]#
[/color]

Thanks,
Laura

Seems * isn’t started, try run

asterisk -vvvvvvvvvvvvvvvvvvvc

to see if you get the * cli, if not check the last lines of the messages you see in the shell and look for the error.

Cheers.

Marco Bruni

I don’t get the CLI

this are the last lines. i don’t see any error

.[Nov 14 11:48:09] == Registered translator ‘lintog722’ from format slin to g722, cost 1000
[Nov 14 11:48:09] WARNING[5657]: translate.c:644 __ast_register_translator: plc_samples 160 format f
[Nov 14 11:48:09] == Registered translator ‘g722tolin16’ from format g722 to slin16, cost 2000
[Nov 14 11:48:09] == Registered translator ‘lin16tog722’ from format slin16 to g722, cost 2999
[Nov 14 11:48:09] codec_g722.so => (ITU G.722-64kbps G722 Transcoder)
[Nov 14 11:48:09] == Registered application ‘ParkAndAnnounce’
[Nov 14 11:48:09] app_parkandannounce.so => (Call Parking and Announce Application)
Segmentation fault
[root@bushido ~]#

the file asterisk.ctl is in /var/run/asterisk, but i can see it in pink and the permissions are:

[laura@bushido asterisk]$ ls -l
total 12
srwxr-xr-x 1 root root 0 Nov 14 11:48 [color=violet]asterisk.ctl[/color]
-rw-r–r-- 1 root root 5 Nov 14 11:48 asterisk.pid

Any ideas??
Thanks :smile:

I just installed asterisk 1.4 again, and it started the CLI no problem…

There is a big problem, your * 1.6 crashed, see the last message:

Cheers.

Marco Bruni

U were right!!

Asterisk 1.6 Crashed with segmentation fault when trying to load the following modules.

I use the following option in modules.conf and it works fine

noload => app_hasnewvoicemail.so
noload => app_ices.so
noload => app_image.so
noload => app_lookupblacklist.so
noload => app_lookupcidname.so
noload => app_random.so
noload => app_realtime.so
noload => app_setcdruserfield.so
noload => app_settransfercapability.so
noload => func_language.so
noload => func_moh.so
noload => res_features.so

Thanks!!!

There is no res_features.so in Asterisk 1.6.0 (it’s been renamed). “make install” should have told you that there was a bogus module in the directory, if not actually removed it.

You’ve tried to run the 1.4.x module in a 1.6.x environment.