Hola, he reiniciado el PC en el que tengo asterisk y no puedo volver a arrancar asterisk. El mensaje que me devuelve el sistema es el siguiente:
“Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)”
Lo he comprobado y existe
¿Hay alguna manera de solucionarlo sin reinstalar asterisk?
Gracias
Gracias por la respuesta, el log es superlargo y no acierto a ver que es lo que esta pasando.
He leido por ahí que a@h mete mucha basura en los ficheros de configuracion, y quiza sea este el problema.
Voy a intentar empezar una instalacion de asterisk (no la version @home) desde cero y ver que tal se me da.
Por suerte era una instalacion de prueba y hacer esto creo que no va a suponerme ningun problema mas que intentar aprender a configurar asterisk a pelo.
Muchas gracias de nuevo
Josep
Otra cosita, si al parecer es un modulo de asterisk que o no carga o la carga mal, ¿Hay algun fichero de configuracion donde dice lo que carga asterisk?
Gracias
De: aster...@googlegroups.com [mailto:aster...@googlegroups.com] En nombre de Josep Aguilar
Enviado el: viernes, 19 de mayo de 2006
9:43
Para: aster...@googlegroups.com
Asunto: [Asterisk-ES] Re: Error al
iniciar asterisk
Gracias por la respuesta, el log es superlargo y no acierto a ver que es lo que esta pasando.
He leido por ahí que a@h mete mucha basura en los ficheros de configuracion, y quiza sea este el problema.
Voy a intentar empezar una instalacion de asterisk (no la version @home) desde cero y ver que tal se me da.
Por suerte era una instalacion de prueba y hacer esto creo que no va a suponerme ningun problema mas que intentar aprender a configurar asterisk a pelo.
Muchas gracias de nuevo
Josep
De: aster...@googlegroups.com [mailto:aster...@googlegroups.com] En nombre de Tron
Enviado el: viernes, 19 de mayo de 2006
9:19
Para: aster...@googlegroups.com
Asunto: [Asterisk-ES] Re: Error al
iniciar asterisk
Tiene pinta de que ta ha fallado algo al arrancar, ya que tendrás algo que falla y el safe_asterisk te va levantando,
ejecuta un ps -aux y cárgate todas las instancias de asterisk y safe_asterisk. Una vez que estén muertos los procesos. arranca con asterisk -gcvvvvvvd y observa donde se te está cayendo asterisk y vemos como se puede solucionar.
Saludos,
tron
---~--~---
Hola he redirigido la salida del comando “asterisk –gcvvvvvvvvvvvvdddddddddddddd” a un fichero de texto que adjunto.
No he visto ningun error, lo unico que me choca es que la configuracion del lenguaje es “us” y no veo que se pueda configurar “es” por ningun lado
¿Podria ser eso?
Saludos
De: aster...@googlegroups.com [mailto:aster...@googlegroups.com] En nombre de Tron
Enviado el: viernes, 19 de mayo de 2006
10:45
Para: aster...@googlegroups.com
Asunto: [Asterisk-ES] Re: Error al
iniciar asterisk
Si quieres, en el logger.conf activas el debug => debug, arranca asterisk con asterisk -gcvvvvvvvvvvvvdddddddddddddd y envíanos lo que te sale en consola cuando peta y adjunta el fichero /var/log/asterisk/debug a ver si vemos algo, o si nos dices el módulo que no carga igual te podemos decir algo también.
Saludos,
tron
Sale a Linux
Las ultimas lineas son:
-- Including context 'app-callwaiting' in context 'from-internal'
-- Including context 'app-messagecenter' in context 'from-internal'
-- Including context 'app-calltrace' in context 'from-internal'
-- Including context 'parkedcalls' in context 'from-internal'
-- Including context 'from-internal-custom' in context 'from-internal'
-- Including context 'ext-fax' in context 'from-internal'
-- Including context 'ext-zapbarge' in context 'from-internal'
-- Including context 'ext-record' in context 'from-internal'
-- Including context 'ext-test' in context 'from-internal'
-- Including context 'from-internal-additional' in context 'from-internal'
-- Added extension 's' priority 1 to from-internal
-- Added extension 'h' priority 1 to from-internal
-- Registered extension context 'ext-zapbarge'
-- Added extension '888' priority 1 to ext-zapbarge
-- Added extension '888' priority 2 to ext-zapbarge
-- Added extension '888' priority 3 to ext-zapbarge
-- Added extension '888' priority 4 to ext-zapbarge
-- Added extension '888' priority 5 to ext-zapbarge
-- Added extension '888' priority 6 to ext-zapbarge
-- Registered extension context 'ext-fax'
-- Added extension 's' priority 1 to ext-fax
-- Added extension 's' priority 2 to ext-fax
-- Added extension 'in_fax' priority 1 to ext-fax
-- Added extension 'in_fax' priority 2 to ext-fax
-- Added extension 'in_fax' priority 3 to ext-fax
-- Added extension 'in_fax' priority 4 to ext-fax
-- Added extension 'in_fax' priority 5 to ext-fax
-- Added extension 'in_fax' priority 6 to ext-fax
-- Added extension 'analog_fax' priority 1 to ext-fax
-- Added extension 'analog_fax' priority 2 to ext-fax
-- Added extension 'analog_fax' priority 3 to ext-fax
-- Added extension 'analog_fax' priority 4 to ext-fax
-- Added extension 'out_fax' priority 1 to ext-fax
-- Added extension 'out_fax' priority 2 to ext-fax
-- Added extension 'h' priority 1 to ext-fax
-- Registered extension context 'ext-record'
-- Added extension '*77' priority 1 to ext-record
-- Added extension '*77' priority 2 to ext-record
-- Added extension '*77' priority 3 to ext-record
-- Added extension '*77' priority 4 to ext-record
-- Added extension '*77' priority 5 to ext-record
-- Added extension '*99' priority 1 to ext-record
-- Added extension '*99' priority 2 to ext-record
-- Added extension '*99' priority 3 to ext-record
-- Added extension '*99' priority 4 to ext-record
-- Registered extension context 'default'
-- Including context 'ext-local' in context 'default'
-- Added extension 's' priority 1 to default
-- Added extension 's' priority 2 to default
-- Registered extension context 'ext-test'
-- Added extension '7777' priority 1 to ext-test
-- Added extension '666' priority 1 to ext-test
-- Added extension 'h' priority 1 to ext-test
-- Added extension '*43' priority 1 to ext-test
-- Added extension '*43' priority 2 to ext-test
-- Added extension '*43' priority 3 to ext-test
-- Added extension '*43' priority 4 to ext-test
-- Added extension '*43' priority 5 to ext-test
-- Added extension '*43' priority 6 to ext-test
[chan_mgcp.so] => (Media Gateway Control Protocol (MGCP))
== Parsing '/etc/asterisk/mgcp.conf': Found
== MGCP Listening on 0.0.0.0:2727
== Using TOS bits 0
== Registered channel type 'MGCP' (Media Gateway Control Protocol (MGCP))
[chan_sip.so] => (Session Initiation Protocol (SIP))
== Parsing '/etc/asterisk/sip.conf': Found
== Parsing '/etc/asterisk/sip_nat.conf': Found
== Parsing '/etc/asterisk/sip_additional.conf': Found
-- SIP Seeding peer from astdb: '200' at 2...@191.1.45.17:5060 for 180
-- SIP Seeding peer from astdb: '400' at 4...@191.1.45.4:5060 for 60
== SIP Listening on 0.0.0.0:5060
== Using TOS bits 0
== Parsing '/etc/asterisk/sip_notify.conf': Found
== Registered channel type 'SIP' (Session Initiation Protocol (SIP))
== Registered application 'SIPDtmfMode'
== Registered application 'SIPAddHeader'
== Registered application 'SIPGetHeader'
== Registered custom function SIP_HEADER
== Registered custom function SIPPEER
== Registered custom function SIPCHANINFO
== Registered custom function CHECKSIPDOMAIN
== Manager registered action SIPpeers
== Manager registered action SIPshowpeer
[chan_iax2.so] => (Inter Asterisk eXchange (Ver 2))
== Registered custom function IAXPEER
== Registered application 'IAX2Provision'
== Manager registered action IAXpeers
== Manager registered action IAXnetstats
== Parsing '/etc/asterisk/iax.conf': Found
== Parsing '/etc/asterisk/iax_additional.conf': Found
== Using TOS bits 0
== Binding IAX2 to '0.0.0.0:4569'
== Registered channel type 'IAX2' (Inter Asterisk eXchange Driver (Ver 2))
== IAX Ready and Listening
== Loaded firmware 'iaxy.bin'
== Parsing '/etc/asterisk/iaxprov.conf': Found
-- Loaded provisioning template 'default'
[chan_phone.so] => (Linux Telephony API Support)
== Parsing '/etc/asterisk/phone.conf': Found
== Registered channel type 'Phone' (Standard Linux Telephony API Driver)
[chan_features.so] => (Feature Proxy Channel)
== Registered channel type 'Feature' (Feature Proxy Channel Driver)
[chan_zap.so] => (Zapata Telephony w/PRI)
== Parsing '/etc/asterisk/zapata.conf': Found
== Parsing '/etc/asterisk/zapata-auto.conf': Found
== Parsing '/etc/asterisk/zapata_additional.conf': Found
-- Automatically generated pseudo channel
== Registered channel type 'Zap' (Zapata Telephony Driver w/PRI)
== Manager registered action ZapTransfer
== Manager registered action ZapHangup
== Manager registered action ZapDialOffhook
== Manager registered action ZapDNDon
== Manager registered action ZapDNDoff
== Manager registered action ZapShowChannels
[chan_local.so] => (Local Proxy Channel)
== Registered channel type 'Local' (Local Proxy Channel Driver)
[chan_oss.so] => (OSS Console Channel Driver)
== Parsing '/etc/asterisk/oss.conf': Found
== Registered channel type 'Console' (OSS Console Channel Driver)
[chan_skinny.so] => (Skinny Client Control Protocol (Skinny))
== Parsing '/etc/asterisk/skinny.conf': Found
== Skinny listening on 0.0.0.0:2000
== Registered channel type 'Skinny' (Skinny Client Control Protocol (Skinny))
[chan_agent.so] => (Agent Proxy Channel)
== Registered channel type 'Agent' (Call Agent Proxy Channel)
== Registered application 'AgentLogin'
== Registered application 'AgentCallbackLogin'
== Registered application 'AgentMonitorOutgoing'
== Manager registered action Agents
== Manager registered action AgentLogoff
== Manager registered action AgentCallbackLogin
== Parsing '/etc/asterisk/agents.conf': Found
[app_eval.so] => (Reevaluates strings)
== Registered application 'Eval'
[app_page.so] => (Page Multiple Phones)
== Registered application 'Page'
[app_mp3.so] => (Silly MP3 Application)
== Registered application 'MP3Player'
[format_g729.so] => (Raw G729 data)
== Registered file format g729, extension(s) g729
[app_readfile.so] => (Stores output of file into a variable)
== Registered application 'ReadFile'
[app_lookupcidname.so] => (Look up CallerID Name from local database)
== Registered application 'LookupCIDName'
[app_nbscat.so] => (Silly NBS Stream Application)
== Registered application 'NBScat'
[format_jpeg.so] => (JPEG (Joint Picture Experts Group) Image Format)
== Registered format 'jpg' (JPEG (Joint Picture Experts Group))
[app_txtcidname.so] => (TXTCIDName)
== Registered application 'TXTCIDName'
[format_mp3.so] => (MP3 format [Any rate but 8000hz mono optimal])
== Registered file format mp3, extension(s) mp3
[app_exec.so] => (Executes applications)
== Registered application 'Exec'
[app_sms.so] => (SMS/PSTN handler)
== Registered application 'SMS'
[func_uri.so] => (URI encode/decode functions)
== Registered custom function URIDECODE
== Registered custom function URIENCODE
[app_playback.so] => (Sound File Playback Application)
== Registered application 'Playback'
[cdr_addon_mysql.so] => (MySQL CDR Backend)
== Parsing '/etc/asterisk/cdr_mysql.conf': Found
[app_math.so] => (Basic Math Functions)
== Registered application 'Math'
[app_macro.so] => (Extension Macros)
== Registered application 'MacroExit'
== Registered application 'MacroIf'
== Registered application 'Macro'
[format_ilbc.so] => (Raw iLBC data)
== Registered file format iLBC, extension(s) ilbc
[app_stack.so] => (Stack Routines)
== Registered application 'StackPop'
== Registered application 'Return'
== Registered application 'GosubIf'
== Registered application 'Gosub'
[app_record.so] => (Trivial Record Application)
== Registered application 'Record'
[app_realtime.so] => (Realtime Data Lookup/Rewrite)
== Registered application 'RealTimeUpdate'
== Registered application 'RealTime'
[app_parkandannounce.so] => (Call Parking and Announce Application)
== Registered application 'ParkAndAnnounce'
[app_senddtmf.so] => (Send DTMF digits Application)
== Registered application 'SendDTMF'
[app_waitforring.so] => (Waits until first ring after time)
== Registered application 'WaitForRing'
[app_groupcount.so] => (Group Management Routines)
== Registered application 'GetGroupCount'
== Registered application 'SetGroup'
== Registered application 'CheckGroup'
== Registered application 'GetGroupMatchCount'
[app_setcidname.so] => (Set CallerID Name)
== Registered application 'SetCIDName'
[app_milliwatt.so] => (Digital Milliwatt (mu-law) Test Application)
== Registered application 'Milliwatt'
[codec_gsm.so] => (GSM/PCM16 (signed linear) Codec Translator)
== Parsing '/etc/asterisk/codecs.conf': Found
-- codec_gsm: using generic PLC
== Registered translator 'gsmtolin' from format gsm to slin, cost 1
== Registered translator 'lintogsm' from format slin to gsm, cost 1
[app_echo.so] => (Simple Echo Application)
== Registered application 'Echo'
[app_while.so] => (While Loops and Conditional Execution)
== Registered application 'While'
== Registered application 'ExecIf'
== Registered application 'EndWhile'
[cdr_custom.so] => (Customizable Comma Separated Values CDR Backend)
[app_setcdruserfield.so] => (CDR user field apps)
== Registered application 'SetCDRUserField'
== Registered application 'AppendCDRUserField'
== Manager registered action SetCDRUserField
[app_setcallerid.so] => (Set CallerID Application)
== Registered application 'SetCallerPres'
== Registered application 'SetCallerID'
[func_enum.so] => (ENUM Related Functions)
== Registered custom function ENUMLOOKUP
== Registered custom function TXTCIDNAME
[app_curl.so] => (Load external URL)
== Registered custom function CURL
== Registered application 'Curl'
[app_dumpchan.so] => (Dump Info About The Calling Channel)
== Registered application 'DumpChan'
Saludos
Es cierto, creo que se ha caido al instalar webmin en el puerto 9000
Voy a probar una instalacion limpia sin instalar webmin, y si me aguanta un tiempo, probare a instalar webmin en cualquier otro puerto que se me ocurra.
Os cuento…
Estas son las ultimas 10 lineas
== Registered application 'SetCallerID'
[func_enum.so] => (ENUM Related Func
tions)
== Registered custom function ENUMLOOKUP
== Registered custom function TXTCIDNAME
[app_curl.so] => (Load external URL
)
== Registered custom function CURL
== Registered application 'Curl'
[app_dumpchan.so] => (Dump Info Abou
t The Calling Channel)
== Registered application 'DumpChan'
[app_addon_sql_mysql.so]
Saludos
Josep
tail -f /var/log/asterisk/full
Con eso tendras las ultimas lineas de configuracion que checo el
asterisk y en que parte se queda.
Vlad.