Summary: | ASTERISK-19449: Can't connect to asterisk's console using command asterist -r | ||
Reporter: | rockch (rockch) | Labels: | |
Date Opened: | 2012-02-29 09:46:10.000-0600 | Date Closed: | 2012-02-29 09:49:37.000-0600 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | . I did not set the category correctly. |
Versions: | 10.1.3 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Centos 6.2, asterisk-10.1.3, Oracle VirtualBox 4.0 | Attachments: | |
Description: | The first, I'm sure the Asterisk 10.1.3 is running, I started the asterisk by typing command "service asterisk start", I input the command "ps -ef|grep asterist" and I got the informations as below: [root@pbx asterisk-10.1.3]# ps -ef|grep asterisk root 1371 1 0 23:23 pts/0 00:00:00 /bin/sh /usr/sbin/safe_asterisk root 1373 1371 0 23:23 pts/0 00:00:00 /usr/sbin/asterisk -f -vvvg -c root 1418 1186 0 23:30 pts/0 00:00:00 grep asterisk and then, I try input the command "asterisk -r", and I got the informations: [root@pbx asterisk-10.1.3]# asterisk -r Asterisk 10.1.3, Copyright (C) 1999 - 2011 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. ========================================================================= Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?) Unfortunately, I can NOT connect to the console!!! Now,I run command "service asterisk stop" to stop the asterisk service. The next, I run command "/usr/sbin/asterisk -f -vvvg -c", the asterisk is started!!! And then, i run command "asterisk -r" and got the information as below: [root@pbx ~]# asterisk -r Asterisk 10.1.3, Copyright (C) 1999 - 2011 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. ========================================================================= Connected to Asterisk 10.1.3 currently running on pbx (pid = 1474) Verbosity is at least 3 pbx*CLI> It looks like i'd connected to asterisk's console!!! I don't known what's the different between starting asterisk by command "service asterisk start" and by command "/usr/sbin/asterisk -f -vvvg -c", or it's a BUG? | ||
Comments: | By: Matt Jordan (mjordan) 2012-02-29 09:49:48.733-0600 Thanks for your comments. This does not appear to be a bug report and we are closing it. We appreciate the difficulties you are facing, but it would make more sense to raise your question in the support tracker, http://www.asterisk.org/support. |