Asterisk Fehler beim Starten

maxi998

Neuer User
Mitglied seit
26 Nov 2011
Beiträge
11
Punkte für Reaktionen
0
Punkte
0
Sehr geehrtes IPPhone Forum,

ich habe ein Asterisk 1.4.21.2 Server und habe dort mehrere Telefon angeschlossen. Der Server lief einige Monate ohen Probleme, bis ich den Server neustarten musste. Nachdem ich dann den befehl asterisk -r aufgerufen habe kam folgendes:

Code:
XXXXXXX:~# asterisk -r
Asterisk 1.4.21.2~dfsg-3+lenny5, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <[email protected]>
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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to [url]http://bugs.debian.org/asterisk[/url]
=========================================================================
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
Auch mit top konnte ich kein Task erkennen. Auch mit asterisk -vvvvc konnte ich den Server nicht mehr starten.

Code:
  ...
== Registered translator 'speextolin' from format speex to slin, cost 1
  == Registered translator 'lintospeex' from format slin to speex, cost 7
codec_speex.so => (Speex Coder/Decoder)
  == Registered file format g723sf, extension(s) g723|g723sf
format_g723.so => (G.723.1 Simple Timestamp File Format)
[Nov 26 22:45:59] WARNING[22440]: loader.c:619 inspect_module: Module 'bridge_builtin_features.so' does not provide a description.
[Nov 26 22:45:59] WARNING[22440]: loader.c:678 load_resource: Module 'bridge_builtin_features.so' could not be loaded.
  == Parsing '/etc/asterisk/codecs.conf': Found
    -- codec_g726: using generic PLC
  == Registered translator 'g726tolin' from format g726 to slin, cost 1
  == Registered translator 'lintog726' from format slin to g726, cost 1
  == Registered translator 'g726aal2tolin' from format g726aal2 to slin, cost 1
  == Registered translator 'lintog726aal2' from format slin to g726aal2, cost 1
  == Registered translator 'g726aal2tog726' from format g726aal2 to g726, cost 1
  == Registered translator 'g726tog726aal2' from format g726 to g726aal2, cost 1
codec_g726.so => (ITU G.726-32kbps G726 Transcoder)
  == Parsing '/etc/asterisk/cdr_manager.conf': Found
cdr_manager.so => (Asterisk Manager Interface CDR Backend)
  == Registered application 'SpeechCreate'
  == Registered application 'SpeechLoadGrammar'
  == Registered application 'SpeechUnloadGrammar'
  == Registered application 'SpeechActivateGrammar'
  == Registered application 'SpeechDeactivateGrammar'
  == Registered application 'SpeechStart'
  == Registered application 'SpeechBackground'
  == Registered application 'SpeechDestroy'
  == Registered application 'SpeechProcessingSound'
  == Registered custom function SPEECH
  == Registered custom function SPEECH_SCORE
  == Registered custom function SPEECH_TEXT
  == Registered custom function SPEECH_GRAMMAR
  == Registered custom function SPEECH_ENGINE
  == Registered custom function SPEECH_RESULTS_TYPE
app_speech_utils.so => (Dialplan Speech Applications)
  == Registered application 'ZapRAS'
app_zapras.so => (Zap RAS Application)
  == Registered custom function IAXPEER
[Nov 26 22:45:59] WARNING[22440]: chan_iax2.c:11173 load_module: Unable to open IAX timing interface: No such file or directory
  == Registered application 'IAX2Provision'
  == Manager registered action IAXpeers
  == Manager registered action IAXnetstats
  == Parsing '/etc/asterisk/iax.conf': Found
  == Using TOS bits 0
  == Binding IAX2 to default address 0.0.0.0:4569
  == Parsing '/etc/asterisk/users.conf': Found
  == Registered channel type 'IAX2' (Inter Asterisk eXchange Driver (Ver 2))
  == 10 helper threaads started
  == IAX Ready and Listening
  == Parsing '/etc/asterisk/iaxprov.conf': Found
    -- Loaded provisioning template 'default'
chan_iax2.so => (Inter Asterisk eXchange (Ver 2))
[Nov 26 22:45:59] WARNING[22440]: loader.c:619 inspect_module: Module 'bridge_softmix.so' does not provide a description.
[Nov 26 22:45:59] WARNING[22440]: loader.c:678 load_resource: Module 'bridge_softmix.so' could not be loaded.
[Nov 26 22:45:59] NOTICE[22440]: pbx_ael.c:4131 pbx_load_module: Starting AEL load process.
[Nov 26 22:45:59] NOTICE[22440]: pbx_ael.c:4138 pbx_load_module: AEL load process: calculated config file name '/etc/asterisk/extensions.ael'.
[Nov 26 22:45:59] NOTICE[22440]: pbx_ael.c:4146 pbx_load_module: AEL load process: parsed config file name '/etc/asterisk/extensions.ael'.
[Nov 26 22:45:59] NOTICE[22440]: pbx_ael.c:4149 pbx_load_module: AEL load process: checked config file name '/etc/asterisk/extensions.ael'.
  == Setting global variable 'CONSOLE-AEL' to 'Console/dsp'
  == Setting global variable 'IAXINFO-AEL' to 'guest'
  == Setting global variable 'OUTBOUND-TRUNK' to 'Zap/g2'
  == Setting global variable 'OUTBOUND-TRUNKMSD' to '1'
    -- Registered extension context 'ael-dundi-e164-canonical'
    -- Registered extension context 'ael-dundi-e164-customers'
    -- Registered extension context 'ael-dundi-e164-via-pstn'
    -- Registered extension context 'ael-dundi-e164-local'
    -- Including context 'ael-dundi-e164-canonical' in context 'ael-dundi-e164-local'
    -- Including context 'ael-dundi-e164-customers' in context 'ael-dundi-e164-local'
    -- Including context 'ael-dundi-e164-via-pstn' in context 'ael-dundi-e164-local'
    -- Registered extension context 'ael-dundi-e164-switch'
    -- Including switch 'DUNDi/e164' in context 'ael-dundi-e164-switch'
    -- Registered extension context 'ael-dundi-e164-lookup'
    -- Including context 'ael-dundi-e164-local' in context 'ael-dundi-e164-lookup'
    -- Including context 'ael-dundi-e164-switch' in context 'ael-dundi-e164-lookup'
    -- Registered extension context 'macro-ael-dundi-e164'
    -- Registered extension context 'ael-iaxtel700'
    -- Registered extension context 'ael-iaxprovider'
    -- Registered extension context 'ael-trunkint'
    -- Including context 'ael-dundi-e164-lookup' in context 'ael-trunkint'
    -- Registered extension context 'ael-trunkld'
    -- Including context 'ael-dundi-e164-lookup' in context 'ael-trunkld'
    -- Registered extension context 'ael-trunklocal'
    -- Registered extension context 'ael-trunktollfree'
    -- Registered extension context 'ael-international'
    -- Including context 'ael-longdistance' in context 'ael-international'
    -- Including context 'ael-trunkint' in context 'ael-international'
    -- Registered extension context 'ael-longdistance'
    -- Including context 'ael-local' in context 'ael-longdistance'
    -- Including context 'ael-trunkld' in context 'ael-longdistance'
    -- Registered extension context 'ael-local'
    -- Including context 'ael-default' in context 'ael-local'
    -- Including context 'ael-trunklocal' in context 'ael-local'
    -- Including context 'ael-iaxtel700' in context 'ael-local'
    -- Including context 'ael-trunktollfree' in context 'ael-local'
    -- Including context 'ael-iaxprovider' in context 'ael-local'
    -- Registered extension context 'macro-ael-std-exten-ael'
    -- Registered extension context 'ael-demo'
    -- Registered extension context 'ael-default'
    -- Including context 'ael-demo' in context 'ael-default'
    -- Added extension 's' priority 1 to macro-ael-dundi-e164
    -- Added extension 's' priority 2 to macro-ael-dundi-e164
    -- Added extension 's' priority 3 to macro-ael-dundi-e164
    -- Added extension 's' priority 4 to macro-ael-dundi-e164
    -- Added extension '_91700XXXXXXX' priority 1 to ael-iaxtel700
    -- Added extension '_9011.' priority 1 to ael-trunkint
    -- Added extension '_9011.' priority 2 to ael-trunkint
    -- Added extension '_91NXXNXXXXXX' priority 1 to ael-trunkld
    -- Added extension '_91NXXNXXXXXX' priority 2 to ael-trunkld
    -- Added extension '_9NXXXXXX' priority 1 to ael-trunklocal
    -- Added extension '_91800NXXXXXX' priority 1 to ael-trunktollfree
    -- Added extension '_91888NXXXXXX' priority 1 to ael-trunktollfree
    -- Added extension '_91877NXXXXXX' priority 1 to ael-trunktollfree
    -- Added extension '_91866NXXXXXX' priority 1 to ael-trunktollfree
    -- Added extension 's' priority 1 to macro-ael-std-exten-ael
    -- Added extension 's' priority 2 to macro-ael-std-exten-ael
    -- Added extension 's' priority 3 to macro-ael-std-exten-ael
    -- Added extension 's' priority 4 to macro-ael-std-exten-ael
    -- Added extension 's' priority 5 to macro-ael-std-exten-ael
    -- Added extension 's' priority 6 to macro-ael-std-exten-ael
    -- Added extension 's' priority 7 to macro-ael-std-exten-ael
    -- Added extension 's' priority 8 to macro-ael-std-exten-ael
    -- Added extension 'a' priority 1 to macro-ael-std-exten-ael
    -- Added extension 'a' priority 2 to macro-ael-std-exten-ael
    -- Added extension 'a' priority 3 to macro-ael-std-exten-ael
    -- Added extension '_sw-1-.' priority 10 to macro-ael-std-exten-ael
    -- Added extension '_sw-1-.' priority 11 to macro-ael-std-exten-ael
    -- Added extension 'sw-1-' priority 10 to macro-ael-std-exten-ael
    -- Added extension 'sw-1-BUSY' priority 10 to macro-ael-std-exten-ael
    -- Added extension 'sw-1-BUSY' priority 11 to macro-ael-std-exten-ael
    -- Added extension 's' priority 1 to ael-demo
    -- Added extension 's' priority 2 to ael-demo
    -- Added extension 's' priority 3 to ael-demo
    -- Added extension 's' priority 4 to ael-demo
    -- Added extension 's' priority 5 to ael-demo
    -- Added extension 's' priority 6 to ael-demo
    -- Added extension 's' priority 7 to ael-demo
    -- Added extension 's' priority 8 to ael-demo
    -- Added extension 's' priority 9 to ael-demo
    -- Added extension 's' priority 10 to ael-demo
    -- Added extension 's' priority 11 to ael-demo
    -- Added extension 's' priority 12 to ael-demo
    -- Added extension '2' priority 1 to ael-demo
    -- Added extension '2' priority 2 to ael-demo
    -- Added extension '3' priority 1 to ael-demo
    -- Added extension '3' priority 2 to ael-demo
    -- Added extension '1000' priority 1 to ael-demo
    -- Added extension '500' priority 1 to ael-demo
    -- Added extension '500' priority 2 to ael-demo
    -- Added extension '500' priority 3 to ael-demo
    -- Added extension '500' priority 4 to ael-demo
    -- Added extension '600' priority 1 to ael-demo
    -- Added extension '600' priority 2 to ael-demo
    -- Added extension '600' priority 3 to ael-demo
    -- Added extension '600' priority 4 to ael-demo
    -- Added extension '_1234' priority 1 to ael-demo
    -- Added extension '8500' priority 1 to ael-demo
    -- Added extension '8500' priority 2 to ael-demo
    -- Added extension '#' priority 1 to ael-demo
    -- Added extension '#' priority 2 to ael-demo
    -- Added extension 't' priority 1 to ael-demo
    -- Added extension 'i' priority 1 to ael-demo
[Nov 26 22:45:59] NOTICE[22440]: pbx_ael.c:4151 pbx_load_module: AEL load process: compiled config file name '/etc/asterisk/extensions.ael'.
[Nov 26 22:45:59] NOTICE[22440]: pbx_ael.c:4154 pbx_load_module: AEL load process: merged config file name '/etc/asterisk/extensions.ael'.
[Nov 26 22:45:59] NOTICE[22440]: pbx_ael.c:4157 pbx_load_module: AEL load process: verified config file name '/etc/asterisk/extensions.ael'.
pbx_ael.so => (Asterisk Extension Language Compiler)
  == Registered application 'ExternalIVR'
app_externalivr.so => (External IVR Interface Application)
  == Parsing '/etc/asterisk/codecs.conf': Found
    -- codec_alaw: using generic PLC
  == Registered translator 'alawtolin' from format alaw to slin, cost 1
  == Registered translator 'lintoalaw' from format slin to alaw, cost 1
codec_alaw.so => (A-law Coder/Decoder)
[Nov 26 22:45:59] WARNING[22440]: loader.c:619 inspect_module: Module 'app_originate.so' does not provide a description.
[Nov 26 22:45:59] WARNING[22440]: loader.c:678 load_resource: Module 'app_originate.so' could not be loaded.
[Nov 26 22:45:59] WARNING[22440]: loader.c:619 inspect_module: Module 'func_blacklist.so' does not provide a description.
[Nov 26 22:45:59] WARNING[22440]: loader.c:678 load_resource: Module 'func_blacklist.so' could not be loaded.
[Nov 26 22:45:59] WARNING[22440]: loader.c:619 inspect_module: Module 'app_minivm.so' does not provide a description.
[Nov 26 22:45:59] WARNING[22440]: loader.c:678 load_resource: Module 'app_minivm.so' could not be loaded.
  == Registered application 'ZapBarge'
app_zapbarge.so => (Barge in on Zap channel application)
  == Registered application 'Milliwatt'
app_milliwatt.so => (Digital Milliwatt (mu-law) Test Application)
  == Registered custom function ISNULL
  == Registered custom function SET
  == Registered custom function EXISTS
  == Registered custom function IF
  == Registered custom function IFTIME
func_logic.so => (Logical dialplan functions)
  == Registered file format gsm, extension(s) gsm
format_gsm.so => (Raw GSM data)
[Nov 26 22:45:59] WARNING[22440]: loader.c:619 inspect_module: Module 'format_siren7.so' does not provide a description.
[Nov 26 22:45:59] WARNING[22440]: loader.c:678 load_resource: Module 'format_siren7.so' could not be loaded.
  == Registered application 'SetTransferCapability'
app_settransfercapability.so => (Set ISDN Transfer Capability)
  == Parsing '/etc/asterisk/say.conf': Found
  == Registered application 'Playback'
app_playback.so => (Sound File Playback Application)
  == Registered custom function MD5
  == Registered custom function CHECK_MD5
func_md5.so => (MD5 digest dialplan functions)
  == Registered application 'TrySystem'
  == Registered application 'System'
app_system.so => (Generic System() application)
  == Parsing '/etc/asterisk/cdr.conf': Found
[Nov 26 22:45:59] DEBUG[22440]: cdr_csv.c:126 load_config: logging time in GMT
[Nov 26 22:45:59] DEBUG[22440]: cdr_csv.c:134 load_config: logging CDR field UNIQUEID
[Nov 26 22:45:59] DEBUG[22440]: cdr_csv.c:142 load_config: logging CDR user-defined field
cdr_csv.so => (Comma Separated Values CDR Backend)
  == Registered channel type 'Local' (Local Proxy Channel Driver)
chan_local.so => (Local Proxy Channel (Note: used internally by other modules))
  == Registered application 'Authenticate'
app_authenticate.so => (Authentication Application)
  == Parsing '/etc/asterisk/dundi.conf': Found
[Nov 26 22:45:59] DEBUG[22440]: pbx_dundi.c:418 reset_global_eid: Seeding global EID '40:61:86:be:cd:c6' from 'eth0' using 'siocgifhwaddr'
  == Using TOS bits 0
  == DUNDi Ready and Listening on 0.0.0.0 port 4520
  == Registered custom function DUNDILOOKUP
pbx_dundi.so => (Distributed Universal Number Discovery (DUNDi))
  == Parsing '/etc/asterisk/cdr_pgsql.conf': Found
cdr_pgsql.so => (PostgreSQL CDR Backend)
  == Registered application 'WaitForSilence'
app_waitforsilence.so => (Wait For Silence)
  == Parsing '/etc/asterisk/voicemail.conf': Found
[Nov 26 22:45:59] WARNING[22440]: pbx.c:2981 ast_register_application: Already have an application 'Directory'
Unter /var/run/asterisk/ finde ich 2 dateien. :confused: Kann mir jemand weiterhelfen?
Wie bekomme ich wieder mein Asterisk Server zum laufen?

Fakten:
  • Server lief problemlos bis Server neu gestarten werden musste
  • Das Starten mit asterisk oder asterisk -r geht nicht.(codes weiter oben)
  • Das starten mit /etc/init.d/asterisk start -.- geht auch nicht. Keine Reaktion.

Vielen Dank:)
 
Zuletzt bearbeitet:

fant

Mitglied
Mitglied seit
6 Mai 2005
Beiträge
622
Punkte für Reaktionen
0
Punkte
16
Könnte es sein, daß Du als Nicht-Root mit asterisk -r auf eine Asterisk-Instanz zugreifst? Wenn ja, dann hat der Normalo-User keinen Zugriff auf die Files in /var/run/asterisk und es erscheint der von Dir beschriebene Fehler.

Mögliche Lösung: versuche es mal als root.

Hawedieehre.
Fant
 

maxi998

Neuer User
Mitglied seit
26 Nov 2011
Beiträge
11
Punkte für Reaktionen
0
Punkte
0
Hallo Fant,

danke für den Tipp, aber ich versuch als Root mein Asterisk zu starten. ;)Ohne Ergebnis

Ich habe nun mal aus Testzwecken ein 2. Server mit (apt-get install asterisk) Asterisk installiert. Nach einem neustart des Servers, bekanntes Problem. Ich kann als Root das Programm nicht starten. Egal on asterisk/asterisk -r/asterisk -vvvvvc oder /etc/init.d/asterisk start/stop/restart/reload

Immerwieder das selbe Problem.:confused:

mfg
Max
 
R

rentier-s

Guest
Findet sich in der /var/log/asterisk/messages irgendwas, was ihm nicht passt?
 

LooserOuting

Neuer User
Mitglied seit
28 Nov 2011
Beiträge
85
Punkte für Reaktionen
0
Punkte
0
Wie sieht denn die asterisk.conf aus? Hier sind einige settings den start betreffend drin.
wenn die asterisk abschmiert kann man mit dem coredump einen backtrace erstellen und vielleicht herausfinden was passier.
Das debuglevel könnte noch erhöht werden.
 

maxi998

Neuer User
Mitglied seit
26 Nov 2011
Beiträge
11
Punkte für Reaktionen
0
Punkte
0
Hallo also in der /var/log/asterisk/messages steht folgendes:

Code:
[Dec  2 16:04:42] NOTICE[5595] cdr.c: CDR simple logging enabled.
[Dec  2 16:04:42] NOTICE[5595] loader.c: 204 modules will be loaded.
[Dec  2 16:04:42] WARNING[5595] res_musiconhold.c: A directory must be specified for class 'general'!
[Dec  2 16:04:42] ERROR[5595] res_config_pgsql.c: Postgresql RealTime: Failed to connect database server asterisk on 127.0.0.1. Check debug for more info.
[Dec  2 16:04:42] WARNING[5595] res_config_pgsql.c: Postgresql RealTime: Couldn't establish connection. Check debug.
[Dec  2 16:04:42] NOTICE[5595] config.c: Registered Config Engine pgsql
[Dec  2 16:04:42] WARNING[5595] loader.c: Module 'func_sprintf.so' does not provide a description.
[Dec  2 16:04:42] WARNING[5595] loader.c: Module 'func_sprintf.so' could not be loaded.
[Dec  2 16:04:42] WARNING[5595] loader.c: Module 'chan_bridge.so' does not provide a description.
[Dec  2 16:04:42] WARNING[5595] loader.c: Module 'chan_bridge.so' could not be loaded.
[Dec  2 16:04:43] WARNING[5595] loader.c: Module 'res_realtime.so' does not provide a description.
[Dec  2 16:04:43] WARNING[5595] loader.c: Module 'res_realtime.so' could not be loaded.
[Dec  2 16:04:43] NOTICE[5595] config.c: Registered Config Engine odbc
[Dec  2 16:04:43] WARNING[5595] loader.c: Module 'func_iconv.so' does not provide a description.
[Dec  2 16:04:43] WARNING[5595] loader.c: Module 'func_iconv.so' could not be loaded.
[Dec  2 16:04:43] NOTICE[5595] res_odbc.c: res_odbc loaded.
[Dec  2 16:04:43] WARNING[5595] res_smdi.c: No SMDI interfaces are available to listen on, not starting SMDI listener.
[Dec  2 16:04:43] WARNING[5595] loader.c: Module 'res_phoneprov.so' does not provide a description.
[Dec  2 16:04:43] WARNING[5595] loader.c: Module 'res_phoneprov.so' could not be loaded.
[Dec  2 16:04:43] WARNING[5595] loader.c: Error loading module 'res_ael_share.so': /usr/lib/asterisk/modules/res_ael_share.so: undefined symbol: ast_compat
[Dec  2 16:04:43] ERROR[5595] chan_vpb.cc: No Voicetronix cards detected
[Dec  2 16:04:43] WARNING[5595] loader.c: Module 'func_audiohookinherit.so' does not provide a description.
[Dec  2 16:04:43] WARNING[5595] loader.c: Module 'func_audiohookinherit.so' could not be loaded.
[Dec  2 16:04:43] WARNING[5595] loader.c: Module 'func_dialplan.so' does not provide a description.
[Dec  2 16:04:43] WARNING[5595] loader.c: Module 'func_dialplan.so' could not be loaded.
[Dec  2 16:04:43] WARNING[5595] loader.c: Module 'func_version.so' does not provide a description.
[Dec  2 16:04:43] WARNING[5595] loader.c: Module 'func_version.so' could not be loaded.
[Dec  2 16:04:43] WARNING[5595] loader.c: Module 'func_volume.so' does not provide a description.
[Dec  2 16:04:43] WARNING[5595] loader.c: Module 'func_volume.so' could not be loaded.
[Dec  2 16:04:43] WARNING[5595] loader.c: Module 'res_limit.so' does not provide a description.
[Dec  2 16:04:43] WARNING[5595] loader.c: Module 'res_limit.so' could not be loaded.
[Dec  2 16:04:43] WARNING[5595] loader.c: Module 'app_waituntil.so' does not provide a description.
[Dec  2 16:04:43] WARNING[5595] loader.c: Module 'app_waituntil.so' could not be loaded.
[Dec  2 16:04:43] WARNING[5595] loader.c: Module 'chan_unistim.so' does not provide a description.
[Dec  2 16:04:43] WARNING[5595] loader.c: Module 'chan_unistim.so' could not be loaded.
[Dec  2 16:04:43] WARNING[5595] loader.c: Module 'func_sysinfo.so' does not provide a description.
[Dec  2 16:04:43] WARNING[5595] loader.c: Module 'func_sysinfo.so' could not be loaded.
[Dec  2 16:04:43] WARNING[5595] app_followme.c: Unknown keyword in profile 'default': call_from_prompt at line 62 of followme.conf
[Dec  2 16:04:43] WARNING[5595] app_followme.c: Unknown keyword in profile 'default': norecording_prompt at line 65 of followme.conf
[Dec  2 16:04:43] WARNING[5595] app_followme.c: Unknown keyword in profile 'default': options_prompt at line 70 of followme.conf
[Dec  2 16:04:43] WARNING[5595] app_followme.c: Unknown keyword in profile 'default': pls_hold_prompt at line 74 of followme.conf
[Dec  2 16:04:43] WARNING[5595] app_followme.c: Unknown keyword in profile 'default': status_prompt at line 78 of followme.conf
[Dec  2 16:04:43] WARNING[5595] app_followme.c: Unknown keyword in profile 'default': sorry_prompt at line 82 of followme.conf
[Dec  2 16:04:43] WARNING[5595] loader.c: Module 'app_playtones.so' does not provide a description.
[Dec  2 16:04:43] WARNING[5595] loader.c: Module 'app_playtones.so' could not be loaded.
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'res_timing_pthread.so' does not provide a description.
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'res_timing_pthread.so' could not be loaded.
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'func_dialgroup.so' does not provide a description.
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'func_dialgroup.so' could not be loaded.
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'bridge_multiplexed.so' does not provide a description.
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'bridge_multiplexed.so' could not be loaded.
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'res_clialiases.so' does not provide a description.
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'res_clialiases.so' could not be loaded.
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'func_extstate.so' does not provide a description.
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'func_extstate.so' could not be loaded.
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'format_siren14.so' does not provide a description.
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'format_siren14.so' could not be loaded.
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'func_module.so' does not provide a description.
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'func_module.so' could not be loaded.
[Dec  2 16:04:44] WARNING[5606] app_voicemail_odbc.c: Failed to obtain database object for 'asterisk'!
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'func_aes.so' does not provide a description.
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'func_aes.so' could not be loaded.
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'format_sln16.so' does not provide a description.
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'format_sln16.so' could not be loaded.
[Dec  2 16:04:44] WARNING[5606] app_voicemail_odbc.c: Failed to obtain database object for 'asterisk'!
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'bridge_builtin_features.so' does not provide a description.
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'bridge_builtin_features.so' could not be loaded.
[Dec  2 16:04:44] WARNING[5595] chan_iax2.c: Unable to open IAX timing interface: No such file or directory
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'bridge_softmix.so' does not provide a description.
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'bridge_softmix.so' could not be loaded.
[Dec  2 16:04:44] NOTICE[5595] pbx_ael.c: Starting AEL load process.
[Dec  2 16:04:44] NOTICE[5595] pbx_ael.c: AEL load process: calculated config file name '/etc/asterisk/extensions.ael'.
[Dec  2 16:04:44] NOTICE[5595] pbx_ael.c: AEL load process: parsed config file name '/etc/asterisk/extensions.ael'.
[Dec  2 16:04:44] NOTICE[5595] pbx_ael.c: AEL load process: checked config file name '/etc/asterisk/extensions.ael'.
[Dec  2 16:04:44] NOTICE[5595] pbx_ael.c: AEL load process: compiled config file name '/etc/asterisk/extensions.ael'.
[Dec  2 16:04:44] NOTICE[5595] pbx_ael.c: AEL load process: merged config file name '/etc/asterisk/extensions.ael'.
[Dec  2 16:04:44] NOTICE[5595] pbx_ael.c: AEL load process: verified config file name '/etc/asterisk/extensions.ael'.
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'app_originate.so' does not provide a description.
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'app_originate.so' could not be loaded.
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'func_blacklist.so' does not provide a description.
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'func_blacklist.so' could not be loaded.
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'app_minivm.so' does not provide a description.
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'app_minivm.so' could not be loaded.
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'format_siren7.so' does not provide a description.
[Dec  2 16:04:44] WARNING[5595] loader.c: Module 'format_siren7.so' could not be loaded.
[Dec  2 16:04:44] WARNING[5595] pbx.c: Already have an application 'Directory'
Kann es sein, das die datenbank abgeschmiert ist?

Danke für die evtl hilfen. :)

mfg
Max
 
R

rentier-s

Guest
Sieht so aus. Offensichtlich hast Du Teile der Config als Realtime, aber Asterisk bekommt keine Verbindung zur Datenbank.

Schau nach, ob der Datenbankserver läuft und ob der Login funktioniert.
 

maxi998

Neuer User
Mitglied seit
26 Nov 2011
Beiträge
11
Punkte für Reaktionen
0
Punkte
0
Danke rentier-s,

habe nochmal nachgeschaut. ich habe wohl kein Postgresql wenden Mysql. Kann es sein, dass Asterisk eher MySQL benutzt? MySQL ist an und funktioniert einwandfrei.

mfg
Max
 
R

rentier-s

Guest
Asterisk benutzt das, was in der extconfig.conf eingestellt ist. Ggf. könntest Du, wenn nicht genutzt, das res_config_pgsql.so in der modules.conf auf noload setzen.

Btw, benutze für Codes und Logs bitte [noparse]
Code:
...
[/noparse] statt Zitat.
 

maxi998

Neuer User
Mitglied seit
26 Nov 2011
Beiträge
11
Punkte für Reaktionen
0
Punkte
0
Danke rentier-s,

habe folgendes in der extconfig.conf drinnen stehen:

Code:
;
; Static and realtime external configuration
; engine configuration
;
; Please read doc/extconfig.txt for basic table
; formatting information.
;
[settings]
;
; Static configuration files: 
;
; file.conf => driver,database[,table]
;
; maps a particular configuration file to the given
; database driver, database and table (or uses the
; name of the file as the table if not specified)
;
;uncomment to load queues.conf via the odbc engine.
;
;queues.conf => odbc,asterisk,ast_config
;extensions.conf => sqlite,asterisk,ast_config
;
; The following files CANNOT be loaded from Realtime storage:
;	asterisk.conf
;	extconfig.conf (this file)
;	logger.conf
;
; Additionally, the following files cannot be loaded from
; Realtime storage unless the storage driver is loaded
; early using 'preload' statements in modules.conf:
;	manager.conf
;	cdr.conf
;	rtp.conf
;
;
; Realtime configuration engine
;
; maps a particular family of realtime
; configuration to a given database driver,
; database and table (or uses the name of
; the family if the table is not specified
;
;example => odbc,asterisk,alttable
;example2 => ldap,"dc=oxymium,dc=net",example2
;
; "odbc" is shown in the examples below, but is not the only valid realtime
; engine.  There is:
;    odbc ... res_config_odbc
;    sqlite ... res_config_sqlite
;    pgsql ... res_config_pgsql
;
;iaxusers => odbc,asterisk
;iaxpeers => odbc,asterisk
;sipusers => odbc,asterisk
;sippeers => odbc,asterisk
;sipregs => odbc,asterisk
;voicemail => odbc,asterisk
;extensions => odbc,asterisk
;meetme => mysql,general
;queues => odbc,asterisk
;queue_members => odbc,asterisk
;musiconhold => mysql,general
;queue_log => mysql,general
;
;
; While most dynamic realtime engines are automatically used when defined in
; this file, 'extensions', distinctively, is not.  To activate dynamic realtime
; extensions, you must turn them on in each respective context within
; extensions.conf with a switch statement.  The syntax is:
;      switch => Realtime/[[[email protected]]tablename]/<opts>
; The only option available currently is the 'p' option, which disallows
; extension pattern queries to the database.  If you have no patterns defined
; in a particular context, this will save quite a bit of CPU time.  However,
; note that using dynamic realtime extensions is not recommended anymore as a
; best practice; instead, you should consider writing a static dialplan with
; proper data abstraction via a tool like func_odbc.
Alles ausgeklammert.

Habe also in der moduleconf.conf wie beschrieben die datei res_config_pgsql.so auf noload gesetzt.
Code:
;
; Asterisk configuration file
;
; Module Loader configuration file
;

[modules]
autoload=yes
;
; Any modules that need to be loaded before the Asterisk core has been
; initialized (just after the logger has been initialized) can be loaded
; using 'preload'. This will frequently be needed if you wish to map all
; module configuration files into Realtime storage, since the Realtime
; driver will need to be loaded before the modules using those configuration
; files are initialized.
;
; An example of loading ODBC support would be:
;preload => res_odbc.so
;preload => res_config_odbc.so
;
; Uncomment the following if you wish to use the Speech Recognition API
;preload => res_speech.so
;
; If you want, load the GTK console right away.  
;
noload => pbx_gtkconsole.so
;load => pbx_gtkconsole.so
;
load => res_musiconhold.so
;
; Load one of: chan_oss, alsa, or console (portaudio).
; By default, load chan_oss only (automatically).
;
noload => chan_alsa.so
;noload => chan_oss.so
noload => chan_console.so
noload => res_config_pgsql.so
Habe dann versucht asterisk neuzustarten, aber es funktioniert immernoch nicht. Ich bin langsam echt am verzweifeln :confused:

Log:
Code:
[Dec  7 19:34:08] NOTICE[15725] cdr.c: CDR simple logging enabled.
[Dec  7 19:34:08] NOTICE[15725] loader.c: 203 modules will be loaded.
[Dec  7 19:34:08] WARNING[15725] res_musiconhold.c: A directory must be specified for class 'general'!
[Dec  7 19:34:09] WARNING[15725] loader.c: Module 'func_sprintf.so' does not provide a description.
[Dec  7 19:34:09] WARNING[15725] loader.c: Module 'func_sprintf.so' could not be loaded.
[Dec  7 19:34:09] WARNING[15725] loader.c: Module 'chan_bridge.so' does not provide a description.
[Dec  7 19:34:09] WARNING[15725] loader.c: Module 'chan_bridge.so' could not be loaded.
[Dec  7 19:34:10] WARNING[15725] loader.c: Module 'res_realtime.so' does not provide a description.
[Dec  7 19:34:10] WARNING[15725] loader.c: Module 'res_realtime.so' could not be loaded.
[Dec  7 19:34:10] NOTICE[15725] config.c: Registered Config Engine odbc
[Dec  7 19:34:10] WARNING[15725] loader.c: Module 'func_iconv.so' does not provide a description.
[Dec  7 19:34:10] WARNING[15725] loader.c: Module 'func_iconv.so' could not be loaded.
[Dec  7 19:34:10] NOTICE[15725] res_odbc.c: res_odbc loaded.
[Dec  7 19:34:10] WARNING[15725] res_smdi.c: No SMDI interfaces are available to listen on, not starting SMDI listener.
[Dec  7 19:34:10] WARNING[15725] loader.c: Module 'res_phoneprov.so' does not provide a description.
[Dec  7 19:34:10] WARNING[15725] loader.c: Module 'res_phoneprov.so' could not be loaded.
[Dec  7 19:34:10] WARNING[15725] loader.c: Error loading module 'res_ael_share.so': /usr/lib/asterisk/modules/res_ael_share.so: undefined symbol: ast_compat
[Dec  7 19:34:11] ERROR[15725] chan_vpb.cc: No Voicetronix cards detected
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'func_audiohookinherit.so' does not provide a description.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'func_audiohookinherit.so' could not be loaded.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'func_dialplan.so' does not provide a description.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'func_dialplan.so' could not be loaded.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'func_version.so' does not provide a description.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'func_version.so' could not be loaded.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'func_volume.so' does not provide a description.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'func_volume.so' could not be loaded.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'res_limit.so' does not provide a description.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'res_limit.so' could not be loaded.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'app_waituntil.so' does not provide a description.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'app_waituntil.so' could not be loaded.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'chan_unistim.so' does not provide a description.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'chan_unistim.so' could not be loaded.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'func_sysinfo.so' does not provide a description.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'func_sysinfo.so' could not be loaded.
[Dec  7 19:34:11] WARNING[15725] app_followme.c: Unknown keyword in profile 'default': call_from_prompt at line 62 of followme.conf
[Dec  7 19:34:11] WARNING[15725] app_followme.c: Unknown keyword in profile 'default': norecording_prompt at line 65 of followme.conf
[Dec  7 19:34:11] WARNING[15725] app_followme.c: Unknown keyword in profile 'default': options_prompt at line 70 of followme.conf
[Dec  7 19:34:11] WARNING[15725] app_followme.c: Unknown keyword in profile 'default': pls_hold_prompt at line 74 of followme.conf
[Dec  7 19:34:11] WARNING[15725] app_followme.c: Unknown keyword in profile 'default': status_prompt at line 78 of followme.conf
[Dec  7 19:34:11] WARNING[15725] app_followme.c: Unknown keyword in profile 'default': sorry_prompt at line 82 of followme.conf
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'app_playtones.so' does not provide a description.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'app_playtones.so' could not be loaded.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'res_timing_pthread.so' does not provide a description.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'res_timing_pthread.so' could not be loaded.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'func_dialgroup.so' does not provide a description.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'func_dialgroup.so' could not be loaded.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'bridge_multiplexed.so' does not provide a description.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'bridge_multiplexed.so' could not be loaded.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'res_clialiases.so' does not provide a description.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'res_clialiases.so' could not be loaded.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'func_extstate.so' does not provide a description.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'func_extstate.so' could not be loaded.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'format_siren14.so' does not provide a description.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'format_siren14.so' could not be loaded.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'func_module.so' does not provide a description.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'func_module.so' could not be loaded.
[Dec  7 19:34:11] WARNING[15736] app_voicemail_odbc.c: Failed to obtain database object for 'asterisk'!
[Dec  7 19:34:11] WARNING[15736] app_voicemail_odbc.c: Failed to obtain database object for 'asterisk'!
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'func_aes.so' does not provide a description.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'func_aes.so' could not be loaded.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'format_sln16.so' does not provide a description.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'format_sln16.so' could not be loaded.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'bridge_builtin_features.so' does not provide a description.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'bridge_builtin_features.so' could not be loaded.
[Dec  7 19:34:11] WARNING[15725] chan_iax2.c: Unable to open IAX timing interface: No such file or directory
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'bridge_softmix.so' does not provide a description.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'bridge_softmix.so' could not be loaded.
[Dec  7 19:34:11] NOTICE[15725] pbx_ael.c: Starting AEL load process.
[Dec  7 19:34:11] NOTICE[15725] pbx_ael.c: AEL load process: calculated config file name '/etc/asterisk/extensions.ael'.
[Dec  7 19:34:11] NOTICE[15725] pbx_ael.c: AEL load process: parsed config file name '/etc/asterisk/extensions.ael'.
[Dec  7 19:34:11] NOTICE[15725] pbx_ael.c: AEL load process: checked config file name '/etc/asterisk/extensions.ael'.
[Dec  7 19:34:11] NOTICE[15725] pbx_ael.c: AEL load process: compiled config file name '/etc/asterisk/extensions.ael'.
[Dec  7 19:34:11] NOTICE[15725] pbx_ael.c: AEL load process: merged config file name '/etc/asterisk/extensions.ael'.
[Dec  7 19:34:11] NOTICE[15725] pbx_ael.c: AEL load process: verified config file name '/etc/asterisk/extensions.ael'.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'app_originate.so' does not provide a description.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'app_originate.so' could not be loaded.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'func_blacklist.so' does not provide a description.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'func_blacklist.so' could not be loaded.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'app_minivm.so' does not provide a description.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'app_minivm.so' could not be loaded.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'format_siren7.so' does not provide a description.
[Dec  7 19:34:11] WARNING[15725] loader.c: Module 'format_siren7.so' could not be loaded.
[Dec  7 19:34:11] WARNING[15725] pbx.c: Already have an application 'Directory'
Vielen Dank

mfg
Maxi
 

Zurzeit aktive Besucher

3CX

Statistik des Forums

Themen
235,914
Beiträge
2,067,826
Mitglieder
356,956
Neuestes Mitglied
kks71