[sisyphus] service asterisk status после старта говорит о том, что он мёртв

Andriy Khavryuchenko =?iso-8859-1?q?akhavr_=CE=C1_khavr=2Ecom?=
Пн Мар 3 23:56:34 MSK 2008


Вводная:

asterisk в 64-битном VE поставленный через ve-asterisk

root на pbx / # rpm -qa | grep asterisk
asterisk-base-0.5-alt1
asterisk-sounds-en-1.4.6-alt1
ve-asterisk-0.1-alt1
asterisk1.4-devel-1.4.18-alt1.20080201
asterisk1.4-muted-1.4.18-alt1.20080201
asterisk1.4-1.4.18-alt1.20080201
asterisk1.4-app_voicemail-1.4.18-alt1.20080201
asterisk1.4-cdr_radius-1.4.18-alt1.20080201
asterisk1.4-crypto-1.4.18-alt1.20080201
asterisk1.4-chan_iax2-1.4.18-alt1.20080201
asterisk1.4-chan_misdn-1.4.18-alt1.20080201
asterisk1.4-codec_gsm-1.4.18-alt1.20080201
asterisk1.4-codec_speex-1.4.18-alt1.20080201
asterisk1.4-demo-1.4.18-alt1.20080201
asterisk1.4-httpd-1.4.18-alt1.20080201
asterisk1.4-pgsql-1.4.18-alt1.20080201
asterisk1.4-sms-1.4.18-alt1.20080201
asterisk1.4-chan_h323-1.4.18-alt1.20080201
asterisk1.4-format_mp3-1.4.18-alt1.20080201
asterisk1.4-mysql-1.4.18-alt1.20080201
asterisk1.4-complete-1.4.18-alt1.20080201
asterisk-freemusic-mozart-1.0-alt7
asterisk-initscript-0.3-alt1
asterisk-base-configs-0.1-alt9
asterisk-op_panel-0.28-alt0.svn20071114
asterisk1.4-docs-1.4.18-alt1.20080201
asterisk1.4-fax-1.4.18-alt1.20080201
asterisk1.4-astman-1.4.18-alt1.20080201
asterisk1.4-res_crypto-1.4.18-alt1.20080201
asterisk1.4-chan_sip-1.4.18-alt1.20080201
asterisk1.4-chan_jingle-1.4.18-alt1.20080201
asterisk1.4-chan_zap-1.4.18-alt1.20080201
asterisk1.4-codec_ilbc-1.4.18-alt1.20080201
asterisk1.4-curl-1.4.18-alt1.20080201
asterisk1.4-format_ogg-1.4.18-alt1.20080201
asterisk1.4-odbc-1.4.18-alt1.20080201
asterisk1.4-res_snmp-1.4.18-alt1.20080201
asterisk1.4-utils-1.4.18-alt1.20080201
asterisk1.4-app_conference-1.4.18-alt1.20080201
asterisk1.4-chan_ss7-1.4.18-alt1.20080201
asterisk1.4-sources-1.4.18-alt1.20080201

Стартуем:

root на pbx / # /sbin/service asterisk start
FATAL: Could not load /lib/modules/2.6.18-openvz-amd64/modules.dep: No
such file or directory
Starting asterisk service:

                                              [ DONE ]
root на pbx / # [Mar  3 23:52:23] NOTICE[5641] manager.c: Unable to open
management configuration manager.conf.  Call management disabled.
[Mar  3 23:52:23] NOTICE[5641] cdr.c: CDR simple logging enabled.
[Mar  3 23:52:23] NOTICE[5641] loader.c: 174 modules will be loaded.
[Mar  3 23:52:23] WARNING[5641] res_crypto.c: Unable to open key
directory '/var/lib/asterisk/keys'
[Mar  3 23:52:23] WARNING[5641] res_config_pgsql.c: Unable to load
config res_pgsql.conf
[Mar  3 23:52:23] NOTICE[5641] res_smdi.c: Unable to load config
smdi.conf: SMDI disabled
[Mar  3 23:52:23] WARNING[5641] res_smdi.c: No SMDI interfaces are
available to listen on, not starting SMDI listener.
[Mar  3 23:52:23] WARNING[5641] res_snmp.c: Could not load res_snmp.conf
[Mar  3 23:52:23] WARNING[5641] res_odbc.c: Unable to load config file
res_odbc.conf
[Mar  3 23:52:23] WARNING[5641] res_musiconhold.c: No music on hold
classes configured, disabling music on hold.
[Mar  3 23:52:23] WARNING[5641] res_features.c: Could not load features.conf
[Mar  3 23:52:23] WARNING[5641] res_jabber.c: No such configuration file
jabber.conf
[Mar  3 23:52:23] ERROR[5641] res_jabber.c: JABBER: Failed to load config.
[Mar  3 23:52:23] NOTICE[5641] config.c: Registered Config Engine odbc
[Mar  3 23:52:23] ERROR[5641] chan_gtalk.c: Unable to read config file
gtalk.conf. Not loading module.
[Mar  3 23:52:23] WARNING[5641] cdr_pgsql.c: Unable to load config for
PostgreSQL CDR's: cdr_pgsql.conf
[Mar  3 23:52:23] ERROR[5641] app_amd.c: Configuration file amd.conf
missing.
[Mar  3 23:52:23] WARNING[5641] cdr_csv.c: unable to load config: cdr.conf
[Mar  3 23:52:23] NOTICE[5641] chan_agent.c: No agent configuration
found -- agent support disabled
[Mar  3 23:52:23] NOTICE[5641] func_odbc.c: Unable to load config for
func_odbc: func_odbc.conf
[Mar  3 23:52:23] ERROR[5641] chan_misdn.c: Unable to initialize mISDN
[Mar  3 23:52:23] ERROR[5641] chan_zap.c: Unable to load config zapata.conf
[Mar  3 23:52:23] WARNING[5641] chan_sip.c: insecure=very at line 73 is
deprecated; use insecure=port,invite instead
[Mar  3 23:52:23] ERROR[5641] chan_phone.c: Unable to load config phone.conf
[Mar  3 23:52:23] WARNING[5641] chan_iax2.c: Unable to open IAX timing
interface: No such file or directory
[Mar  3 23:52:23] ERROR[5641] chan_iax2.c: Unable to load config iax.conf
[Mar  3 23:52:23] NOTICE[5641] app_conference.c: Loading app_conference
module, revision=unknown
[Mar  3 23:52:23] WARNING[5641] cdr_addon_mysql.c: Unable to load config
for mysql CDR's: cdr_mysql.conf
[Mar  3 23:52:23] NOTICE[5641] chan_oss.c: Unable to load config oss.conf
[Mar  3 23:52:23] NOTICE[5641] app_queue.c: No call queueing config file
(queues.conf), so no call queues
[Mar  3 23:52:23] WARNING[5641] app_followme.c: No follow me config file
(followme.conf), so no follow me
[Mar  3 23:52:23] NOTICE[5641] pbx_ael.c: Starting AEL load process.
[Mar  3 23:52:23] NOTICE[5641] pbx_ael.c: AEL load process: calculated
config file name '/etc/asterisk/extensions.ael'.
[Mar  3 23:52:23] NOTICE[5641] pbx_ael.c: File
/etc/asterisk/extensions.ael not found; AEL declining load
[Mar  3 23:52:23] WARNING[5641] cdr_odbc.c: cdr_odbc: Unable to load
config for ODBC CDR's: cdr_odbc.conf
[Mar  3 23:52:23] WARNING[5641] cdr_custom.c: Failed to load
configuration file. Module not activated.
[Mar  3 23:52:23] WARNING[5641] app_festival.c: No such configuration
file festival.conf
[Mar  3 23:52:23] ERROR[5641] config.c: Unable to load config 'ss7.conf'.
[Mar  3 23:52:23] WARNING[5641] pbx.c: Unable to register extension 'a',
priority 1 in 'from-trunk', already in use
[Mar  3 23:52:23] WARNING[5641] pbx.c: Unable to register extension 'a',
priority 2 in 'from-trunk', already in use
[Mar  3 23:52:23] NOTICE[5641] chan_mgcp.c: Unable to load config
mgcp.conf, MGCP disabled
[Mar  3 23:52:23] ERROR[5641] res_config_mysql.c: MySQL RealTime: Failed
to connect database server  on  (err 2002). Check debug for more info.
[Mar  3 23:52:23] WARNING[5641] res_config_mysql.c: MySQL RealTime:
Couldn't establish connection. Check debug.
[Mar  3 23:52:23] NOTICE[5641] config.c: Registered Config Engine mysql

==> /var/log/asterisk/queue_log <==
1204577543|NONE|NONE|NONE|QUEUESTART|

==> /var/log/asterisk/messages <==
[Mar  3 23:52:23] NOTICE[5652] app_rpt.c: Unable to open radio repeater
configuration rpt.conf.  Radio Repeater disabled.

Ой:

root на pbx / # /sbin/service asterisk status
asterisk is dead, but subsystem is locked

root на pbx / # ps xa | grep asterisk
30316 ?        Ss     0:00 /usr/bin/perl /usr/sbin/op_panel -d --confdir
/etc/asterisk-op_panel/
32028 pts/0    S      0:00 tail -f /var/log/asterisk/messages
/var/log/asterisk/queue_log
 5641 ?        Ssl    0:00 /usr/sbin/asterisk -U _asterisk -G _asterisk -g
 7331 pts/0    S+     0:00 grep asterisk

Что я делаю не так?

Спасибо

-- 
В этом тысячелетии реально интегрировать этот патч? ;)
		-- mithraen in #6288



Подробная информация о списке рассылки Sisyphus