[Asterisk-Users] Failed to query database. Check debug for more info

Matthew Boehm mboehm at cytelcom.com
Mon Feb 7 08:08:04 MST 2005


Well, did you follow the directions in the error message? What is in the
debug log?

-Matthew

----- Original Message ----- 
From: "Kamran Ahmad" <p_kami at yahoo.com>
To: <asterisk-users at lists.digium.com>
Sent: Monday, February 07, 2005 3:08 AM
Subject: [Asterisk-Users] Failed to query database. Check debug for more
info


> can any one tell me what is the problem with my
> asterisk configuration it is not connnecting with
> mysql. it is giving the follwing error message.
>
> ------------------------------------------------------
> Asterisk Dynamic Loader Starting:
>  [cdr_addon_mysql.so] => (MySQL CDR Backend)
>  [chan_modem.so] => (Generic Voice Modem Driver)
>  => (A/Open (Rockwell Chipset) ITU-2 VoiceModem
> Driver)
>  [res_musiconhold.so] => (Music On Hold Resource)
>  [skipping res_config_odbc.so]
>  [res_crypto.so] => (Cryptographic Digital Signatures)
>  [skipping res_odbc.so]
>  [res_config_mysql.so] => (MySQL RealTime
> Configuration Driver)
> Feb  7 13:54:49 NOTICE[3669]: config.c:832
> ast_config_engine_register: Registered Config Engine
> mysql
> MySQL RealTime driver loaded.
>  [res_adsi.so] => (ADSI Resource)
>  [res_monitor.so] => (Call Monitoring Resource)
>  [res_agi.so] => (Asterisk Gateway Interface (AGI))
>  [res_indications.so] => (Indications Configuration)
>  [res_features.so] => (Call Parking Resource)
>  [chan_agent.so] => (Agent Proxy Channel)
>  [chan_sip.so] => (Session Initiation Protocol (SIP))
> Feb  7 13:54:49 WARNING[3669]: res_config_mysql.c:371
> config_mysql: MySQL RealTime: Failed to query
> database. Check debug for more info.
> Feb  7 13:54:49 NOTICE[3669]: chan_sip.c:9070
> reload_config: Unable to load config sip.conf, SIP
> disabled
>  [chan_phone.so] => (Linux Telephony API Support)
>  [chan_modem_bestdata.so] => (BestData (Conexant V.90
> Chipset) VoiceModem Driver)
>  [chan_modem_i4l.so] => (ISDN4Linux Emulated Modem
> Driver)
>  [chan_skinny.so] => (Skinny Client Control Protocol
> (Skinny))
> Feb  7 13:54:49 WARNING[3669]: chan_skinny.c:2692
> reload_config: Unable to get our IP address, Skinny
> disabled
>  [chan_local.so] => (Local Proxy Channel)
>  [chan_mgcp.so] => (Media Gateway Control Protocol
> (MGCP))
>  [skipping chan_oss.so]
>  [skipping chan_alsa.so]
> -------------------------------------------------------
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - 250MB free storage. Do more. Manage less.
> http://info.mail.yahoo.com/mail_250
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list