[Asterisk-Users] How do you disable realtime?
Pedro
traci.asterisk at gmail.com
Mon Nov 21 12:48:45 MST 2005
Olle,
Yep - was actually replying to this as I got your message - I was searching
for modules that had realtime in the name (did not see the
res_config_mysql.so file). Setting the noload => res_config_mysql.so in
modules.conf took care of the issue I was having.
Thanks for your prompt response!
-Pedro
On 11/21/05, Olle E Johansson <oej at edvina.net> wrote:
>
> Pedro wrote:
>
> > Yeah - tried that. Here are 2 lines I have in my modules.conf file:
> >
> > noload => pbx_realtime.so
> > noload => app_realtime.so
> >
> > For some reason, I still get the following in my logs even after a
> > restart of Asterisk.
> >
> > Nov 21 13:17:08 ERROR[31192] res_config_mysql.c: MySQL RealTime:
> > Failed to connect database server on . Check debug for more info.
> > Nov 21 13:17:08 WARNING[31192] res_config_mysql.c: MySQL RealTime:
> > Couldn't establish connection. Check debug.
> >
> > Any thoughts?
> >
> > - Pedro
> >
> > On 11/21/05, *Alexander Lopez* <alex.lopez at opsys.com
> > <mailto:alex.lopez at opsys.com>> wrote:
> >
> > It is a better practice to use a noload option in modules.conf.
> > That way if and when you upgrade you wont need to remove them
> > again they will just continue to not load....
> >
> > Alex
> >
> >
> > ------------------------------------------------------------------------
> > *From:* asterisk-users-bounces at lists.digium.com
> > <mailto:asterisk-users-bounces at lists.digium.com>
> > [mailto:asterisk-users-bounces at lists.digium.com
> > <mailto:asterisk-users-bounces at lists.digium.com>] *On Behalf
> > Of *Pedro
> > *Sent:* Monday, November 21, 2005 12:11 PM
> > *To:* Asterisk Users Mailing List - Non-Commercial Discussion
> > *Subject:* [Asterisk-Users] How do you disable realtime?
> >
> > Am I correct in assuming that if I am not running Realtime on
> > my asterisk 1.2 server, the proper way to disable it is to
> > remove the following 2 files:
> >
> > /usr/lib/asterisk/modules/pbx_realtime.so
> > /usr/lib/asterisk/modules/app_realtime.so
> >
> > I am just testing out the default installation and am getting
> > these errors on the console:
> >
> > Nov 21 12:05:29 ERROR[30656] res_config_mysql.c: MySQL
> > RealTime: Failed to connect database server on . Check debug
> > for more info.
> > Nov 21 12:05:29 WARNING[30656] res_config_mysql.c: MySQL
> > RealTime: Couldn't establish connection. Check debug.
> >
> > Any help will be appreciated.
> >
> Realtime is implemented in several places. PBX_realtime is the realtime
> switch, app_realtime is an application.
> res_config_mysql.c/so is the realtime driver for Mysql databases. So no,
> you are not correct. You have not removed all the
> modules that involve realtime.
>
> On the other hand, the easiest way to disable realtime is not to enable
> it in the configuration file, extconfig.conf
> Yes, it's a strange name, but there are historical reasons for it :-)
>
> /O
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com <http://Easynews.com>--
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051121/ca9da348/attachment.htm
More information about the asterisk-users
mailing list