== 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?
is there a way to fix this?
please
== 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?
is there a way to fix this?
please
Usually means Asterisk is not running. Do a tail /var/log/asterisk/full to figure out where it is dieing. This will tell you what is wrong.
Kerry Garrison
http://www.VoipStore.com - http://3cxbook.com
(888) VOIPSTORE - (888) 864-7786
I get the same error. All looks good in log file.
Did you make any hardware or configuration changes recently?
I had this happen. It was because asterisk was running as 'root'. I did an 'amportal restart', and it came back online as the user 'asterisk' (like it should be), and all worked fine after that.
I do a yum -y update and before that trixbox did't detect the tdm02b
I do a yum -y update and AFTER that trixbox did't detect the tdm02b
SORRY
I do it and works.
First you need to create the asterisk folder in /var/run/asterisk, then in the shell type asterisk, type asteriks -r, If you have error in asterisk -r type asterisk -& and the asterisk -r. Then reboot, tha's all.
I didnt even touch the zaptel drivers
root@cpanel3 [/var/run/asterisk]# asterisk -r
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
root@cpanel3 [/var/run/asterisk]# asterisk -&
[1] 5710
root@cpanel3 [/var/run/asterisk]# asterisk -r
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
[1]+ Done asterisk -
root@cpanel3 [/var/run/asterisk]#
root@cpanel3 [/var/run/asterisk]# asterisk -r
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
root@cpanel3 [/var/run/asterisk]# amportal stop
STOPPING ASTERISK
STOPPING FOP SERVER
usage: kill [ -s signal | -p ] [ -a ] pid ...
kill -l [ signal ]
FOP Server Stopped
root@cpanel3 [/var/run/asterisk]# amportal start
SETTING FILE PERMISSIONS
chmod: cannot access `/home/sip2ins/fop/safe_opserver': No such file or directory
Permissions OK
STARTING ASTERISK
Asterisk ended with exit status 1
Asterisk died with code 1.
Automatically restarting Asterisk.
Asterisk ended with exit status 1
Asterisk died with code 1.
Automatically restarting Asterisk.
mpg123: no process killed
-----------------------------------------------------
Asterisk could not start!
Use 'tail /var/log/asterisk/full' to find out why.
-----------------------------------------------------
root@cpanel3 [/var/run/asterisk]#
root@cpanel3 [/var/run/asterisk]#
root@cpanel3 [/var/run/asterisk]# tail /var/log/asterisk/full
Sep 24 17:04:12 VERBOSE[6028] logger.c: == Parsing '/etc/asterisk/phone.conf': Sep 24 17:04:12 VERBOSE[6028] logger.c: == Parsing '/etc/asterisk/phone.conf': Found
Sep 24 17:04:12 VERBOSE[6028] logger.c: == Registered channel type 'Phone' (Standard Linux Telephony API Driver)
Sep 24 17:04:12 VERBOSE[6028] logger.c: [chan_zap.so]Sep 24 17:04:12 VERBOSE[6028] logger.c: [chan_zap.so] => (Zapata Telephony w/PRI)
Sep 24 17:04:12 VERBOSE[6028] logger.c: == Parsing '/etc/asterisk/zapata.conf': Sep 24 17:04:12 VERBOSE[6028] logger.c: == Parsing '/etc/asterisk/zapata.conf': Found
Sep 24 17:04:12 WARNING[6028] chan_zap.c: Unable to open '/dev/zap/channel': No such file or directory
Sep 24 17:04:12 ERROR[6028] chan_zap.c: Unable to open channel 1: No such file or directory
here = 0, tmp->channel = 1, channel = 1
Sep 24 17:04:12 ERROR[6028] chan_zap.c: Unable to register channel '1'
Sep 24 17:04:12 WARNING[6028] loader.c: chan_zap.so: load_module failed, returning -1
Sep 24 17:04:12 WARNING[6028] loader.c: Loading module chan_zap.so failed!
Run "genzaptelconf" may improve things
I have encountered the same error messages, and here is my solution:
chown asterisk:asterisk /var/run/asterisk/asterisk.ctl
Cheers.
Bao Nguyen
----------------------
IT/VOIP consultancy, VOIP eStore, Support Forum
Bao Nguyen IT Co., Ltd.
http://www.baonguyen.vn
WE MAKE IT
I run this command but problem is same.
[root@test ~]# chown asterisk:asterisk /var/run/asterisk/asterisk.ctl
[root@test ~]#
[root@test ~]# asterisk -rvv
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
Need output of tail /var/log/asterisk/full.
Likely you have an error in your zaptel configuration.
Josh
FluentStream Technologies - Integrate * Communicate
I tried administrator@SSTS-ALPH1:~$ sudo chown asterisk:asterisk/var/run/asterisk/asterisk.ctl
and got
chown: missing operand after `asterisk:asterisk/var/run/asterisk/asterisk.ctl'
Any suggestions?
rookie/newbie so bear with me
rookie/newbie so bear with me
and yes "asterisk.ctl" does exist
rookie/newbie so bear with me
Copyright © 2011 Fonality
Fonality and trixbox are trademarks of Fonality. Trademark Policy. Privacy Policy.
Asterisk is a trademark of Digium, Inc. Fonality and trixbox are not affiliated with, nor endorsed by Digium, Inc.
Member Since:
2006-12-24