[Serusers] Error in Ser.cfg - Auth.db
René Mayorga
rmayorga at saltel.com
Mon Dec 13 19:08:36 CET 2004
Hi
Did you have this line:
modparam("auth_db", "db_url", "sql://ser:somepassword@localhost/ser")
Best Regards
Rene Mayorga
On Mon, 2004-12-13 at 15:49 -0300, Felipe Martins wrote:
> Hi All,
>
> I keep on receiving the same error when I try to run ser with auth_db.so module configured at ser.cfg, the error is the following:
>
> Jun 3 18:45:53 sipproxy ser: WARNING: could not rev. resolv 192.168.4.10
> Jun 3 18:45:53 sipproxy ser[3265]: connect_db(): Can't connect to local MySQL server through sockiet '/var/lig/mysql/mysql.sock' (2)
> Jun 3 18:45:53 sipproxy ser[3265]: db_init(): Erro rwhile trying to connect database
> Jun 3 18:45:53 sipproxy ser[3265]: auth_db:init_child(): Unable to connect database
> Jun 3 18:45:53 sipproxy ser[3265]: sinit_mod_child(): Error while initializing module auth_db
> Jun 3 18:45:53 sipproxy ser[3265]: init_child failed
>
> What's that ? What am I doing wrong ?
>
> Thanks in advance
>
>
>
> On Mon, 13 Dec 2004 10:51:53 -0300
> Felipe Martins <fmartins at mundivox.com> wrote:
>
> > Hi everybody,
> >
> > When I uncomment the above two lines and try to run my ser server, it doesn't run.
> >
> > loadmodule "/usr/local/lib/ser/modules/auth.so"
> > loadmodule "/usr/local/lib/ser/modules/auth_db.so"
> >
> > I've looked for this .so(s) and i've found them at the /usr/local/lib/ser/modules/ directory, the same as my ser.cfg configuration shows me. The same happens when I try to comment the line:
> > modparam("usrloc", "db_mode", 0)
> >
> > and uncomment the line:
> >
> > modparam("usrloc", "db_mode", 2)
> >
> > The same happens, ser server doesn't run. What am I doing wrong ? The files that ser asks for exists exactly at the path of the configuration file (ser.cfg).
> >
> >
> > --
> > Felipe Martins
> > Linux System Administrator
> > Tep Solution Provider
> > Mundivox Communications
> > Rua Lauro Muller, 116/Sala 505
> > RJ - Brasil - 22290-906
> > Tel.: 55 21 3820-8839
> > Fax.: 55 21 3820-8844
> >
> > _______________________________________________
> > Serusers mailing list
> > serusers at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
> >
>
>
--
René Mayorga
Internet & Data
El Salvador Telecom S.A. de S.V.
Tel:(503) 274-7246
(503) 274-7156
Cel:(503) 950-3922
More information about the sr-users
mailing list