Fehlermeldungen nach Installation
Verfasst: Mo 22. Okt 2012, 17:13
Ich habe Asterisk 10.9.0 gemäß der Anleitung im Asterisk-Buch installiert (http://das-asterisk-buch.de/installatio ... ebian.html), jedoch nicht auf einem frischen Debian sondern auf einem bestehenden Ubuntu 12.04.01. Der Test "Hello-World im CLI aufrufen" ( (http://das-asterisk-buch.de/hello-world-im-cli.html) funktioniert nicht, ich erhalte eine Reihe von Fehlermeldungen:
Beim Start:
asterisk -c
Asterisk 10.9.0, Copyright (C) 1999 - 2012 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.
=========================================================================
[ Booting...
[ Reading Master Configuration ]
[ Initializing Custom Configuration Options ]
Unable to bind socket to /var/run/asterisk/asterisk.ctl: Address already in use
[Oct 22 17:08:47] NOTICE[12782]: cdr.c:1565 do_reload: CDR simple logging enabled.
[Oct 22 17:08:47] NOTICE[12782]: loader.c:1151 load_modules: 185 modules will be loaded.
..[Oct 22 17:08:47] NOTICE[12782]: res_smdi.c:1418 load_module: No SMDI interfaces are available to listen on, not starting SMDI listener.
.....[Oct 22 17:08:47] WARNING[12782]: loader.c:403 load_dynamic_module: Error loading module 'res_crypto': /usr/lib/asterisk/modules/res_crypto.so: cannot open shared object file: No such file or directory
[Oct 22 17:08:47] WARNING[12782]: loader.c:465 load_dynamic_module: Error loading module 'pbx_dundi.so': /usr/lib/asterisk/modules/pbx_dundi.so: undefined symbol: ast_aes_set_encrypt_key
[Oct 22 17:08:47] WARNING[12782]: loader.c:863 load_resource: Module 'pbx_dundi.so' could not be loaded.
[Oct 22 17:08:47] WARNING[12782]: loader.c:403 load_dynamic_module: Error loading module 'res_crypto': /usr/lib/asterisk/modules/res_crypto.so: cannot open shared object file: No such file or directory
[Oct 22 17:08:47] WARNING[12782]: loader.c:465 load_dynamic_module: Error loading module 'func_aes.so': /usr/lib/asterisk/modules/func_aes.so: undefined symbol: ast_aes_set_encrypt_key
[Oct 22 17:08:47] WARNING[12782]: loader.c:863 load_resource: Module 'func_aes.so' could not be loaded.
[Oct 22 17:08:47] WARNING[12782]: loader.c:403 load_dynamic_module: Error loading module 'res_crypto': /usr/lib/asterisk/modules/res_crypto.so: cannot open shared object file: No such file or directory
[Oct 22 17:08:47] WARNING[12782]: loader.c:465 load_dynamic_module: Error loading module 'chan_iax2.so': /usr/lib/asterisk/modules/chan_iax2.so: undefined symbol: ast_aes_set_encrypt_key
[Oct 22 17:08:47] WARNING[12782]: loader.c:863 load_resource: Module 'chan_iax2.so' could not be loaded.
...........[Oct 22 17:08:48] NOTICE[12782]: chan_skinny.c:7730 config_load: Configuring skinny from skinny.conf
......................................... == Aliased CLI command 'hangup request' to 'channel request hangup'
== Aliased CLI command 'originate' to 'channel originate'
== Aliased CLI command 'help' to 'core show help'
== Aliased CLI command 'pri intense debug span' to 'pri set debug 2 span'
== Aliased CLI command 'reload' to 'module reload'
....................................................................[Oct 22 17:08:48] NOTICE[12782]: pbx_ael.c:164 pbx_load_module: Starting AEL load process.
[Oct 22 17:08:48] NOTICE[12782]: pbx_ael.c:177 pbx_load_module: AEL load process: parsed config file name '/etc/asterisk/extensions.ael'.
[Oct 22 17:08:48] NOTICE[12782]: pbx_ael.c:180 pbx_load_module: AEL load process: checked config file name '/etc/asterisk/extensions.ael'.
[Oct 22 17:08:48] NOTICE[12782]: pbx_ael.c:187 pbx_load_module: AEL load process: compiled config file name '/etc/asterisk/extensions.ael'.
[Oct 22 17:08:48] NOTICE[12782]: pbx_ael.c:192 pbx_load_module: AEL load process: merged config file name '/etc/asterisk/extensions.ael'.
[Oct 22 17:08:48] NOTICE[12782]: pbx_ael.c:195 pbx_load_module: AEL load process: verified config file name '/etc/asterisk/extensions.ael'.
...........................[Oct 22 17:08:48] ERROR[12782]: codec_dahdi.c:625 find_transcoders: Failed to open /dev/dahdi/transcode: No such file or directory
....................... ]
Asterisk Ready.
Und beim Aufruf von console dial 1001:
*CLI> console dial 1001
[Oct 22 17:09:38] WARNING[12782]: chan_oss.c:488 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory
*CLI> [Oct 22 17:09:38] NOTICE[12782]: console_video.c:137 console_video_start: voice only, console video support not present
<< Console call has been answered >>
[Oct 22 17:09:39] WARNING[13274]: chan_oss.c:488 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory
<< Hangup on console >>
[Oct 22 17:09:40] ERROR[13274]: cdr_csv.c:318 csv_log: Unable to re-open master file /var/log/asterisk//cdr-csv//Master.csv : Permission denied
Was ist zu tun, um Asterisk ans laufen zu bekommen?
Beim Start:
asterisk -c
Asterisk 10.9.0, Copyright (C) 1999 - 2012 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.
=========================================================================
[ Booting...
[ Reading Master Configuration ]
[ Initializing Custom Configuration Options ]
Unable to bind socket to /var/run/asterisk/asterisk.ctl: Address already in use
[Oct 22 17:08:47] NOTICE[12782]: cdr.c:1565 do_reload: CDR simple logging enabled.
[Oct 22 17:08:47] NOTICE[12782]: loader.c:1151 load_modules: 185 modules will be loaded.
..[Oct 22 17:08:47] NOTICE[12782]: res_smdi.c:1418 load_module: No SMDI interfaces are available to listen on, not starting SMDI listener.
.....[Oct 22 17:08:47] WARNING[12782]: loader.c:403 load_dynamic_module: Error loading module 'res_crypto': /usr/lib/asterisk/modules/res_crypto.so: cannot open shared object file: No such file or directory
[Oct 22 17:08:47] WARNING[12782]: loader.c:465 load_dynamic_module: Error loading module 'pbx_dundi.so': /usr/lib/asterisk/modules/pbx_dundi.so: undefined symbol: ast_aes_set_encrypt_key
[Oct 22 17:08:47] WARNING[12782]: loader.c:863 load_resource: Module 'pbx_dundi.so' could not be loaded.
[Oct 22 17:08:47] WARNING[12782]: loader.c:403 load_dynamic_module: Error loading module 'res_crypto': /usr/lib/asterisk/modules/res_crypto.so: cannot open shared object file: No such file or directory
[Oct 22 17:08:47] WARNING[12782]: loader.c:465 load_dynamic_module: Error loading module 'func_aes.so': /usr/lib/asterisk/modules/func_aes.so: undefined symbol: ast_aes_set_encrypt_key
[Oct 22 17:08:47] WARNING[12782]: loader.c:863 load_resource: Module 'func_aes.so' could not be loaded.
[Oct 22 17:08:47] WARNING[12782]: loader.c:403 load_dynamic_module: Error loading module 'res_crypto': /usr/lib/asterisk/modules/res_crypto.so: cannot open shared object file: No such file or directory
[Oct 22 17:08:47] WARNING[12782]: loader.c:465 load_dynamic_module: Error loading module 'chan_iax2.so': /usr/lib/asterisk/modules/chan_iax2.so: undefined symbol: ast_aes_set_encrypt_key
[Oct 22 17:08:47] WARNING[12782]: loader.c:863 load_resource: Module 'chan_iax2.so' could not be loaded.
...........[Oct 22 17:08:48] NOTICE[12782]: chan_skinny.c:7730 config_load: Configuring skinny from skinny.conf
......................................... == Aliased CLI command 'hangup request' to 'channel request hangup'
== Aliased CLI command 'originate' to 'channel originate'
== Aliased CLI command 'help' to 'core show help'
== Aliased CLI command 'pri intense debug span' to 'pri set debug 2 span'
== Aliased CLI command 'reload' to 'module reload'
....................................................................[Oct 22 17:08:48] NOTICE[12782]: pbx_ael.c:164 pbx_load_module: Starting AEL load process.
[Oct 22 17:08:48] NOTICE[12782]: pbx_ael.c:177 pbx_load_module: AEL load process: parsed config file name '/etc/asterisk/extensions.ael'.
[Oct 22 17:08:48] NOTICE[12782]: pbx_ael.c:180 pbx_load_module: AEL load process: checked config file name '/etc/asterisk/extensions.ael'.
[Oct 22 17:08:48] NOTICE[12782]: pbx_ael.c:187 pbx_load_module: AEL load process: compiled config file name '/etc/asterisk/extensions.ael'.
[Oct 22 17:08:48] NOTICE[12782]: pbx_ael.c:192 pbx_load_module: AEL load process: merged config file name '/etc/asterisk/extensions.ael'.
[Oct 22 17:08:48] NOTICE[12782]: pbx_ael.c:195 pbx_load_module: AEL load process: verified config file name '/etc/asterisk/extensions.ael'.
...........................[Oct 22 17:08:48] ERROR[12782]: codec_dahdi.c:625 find_transcoders: Failed to open /dev/dahdi/transcode: No such file or directory
....................... ]
Asterisk Ready.
Und beim Aufruf von console dial 1001:
*CLI> console dial 1001
[Oct 22 17:09:38] WARNING[12782]: chan_oss.c:488 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory
*CLI> [Oct 22 17:09:38] NOTICE[12782]: console_video.c:137 console_video_start: voice only, console video support not present
<< Console call has been answered >>
[Oct 22 17:09:39] WARNING[13274]: chan_oss.c:488 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory
<< Hangup on console >>
[Oct 22 17:09:40] ERROR[13274]: cdr_csv.c:318 csv_log: Unable to re-open master file /var/log/asterisk//cdr-csv//Master.csv : Permission denied
Was ist zu tun, um Asterisk ans laufen zu bekommen?