[Serusers] problems with the pstn.cfg example
Jamie Baddeley
jamie.baddeley at fx.net.nz
Fri Sep 10 03:50:14 CEST 2004
thanks to Zeus and all those who were kind enough to reply to my
question, it now starts. Now onto making SER actually route how I
want!!!
thanks again
:-)
jamie
On Fri, 2004-09-10 at 00:50, Zeus Ng wrote:
> See inline.
>
> > 3(31405) 1(31403) DEBUG: init_mod_child (1): group
> > 1(31403) connect_db(): Can't connect to local MySQL server
> > through socket '/var/run/mysqld/mysqld.sock' (2)
> > 1(31403) db_init(): Error while trying to connect database
> > 1(31403) group:init_child(): Unable to connect database
> ^
> \------ See here.
>
> Your problem is with the group module. You need
>
> modparam("group", "db_url", "mysql://ser:heslo@localhost/ser")
>
>
> > So it seems that although I've done
> > modparam("usrloc", "db_url",
> > "mysql://ser:heslo@192.168.191.16:3306/ser")
> >
>
> Indeed, you need a modparam for every module that use mysql. I know
> "usrloc", "group", "auth_db", "acc", "uri_db", "domain", "pa", "msilo" need
> that. There may be more but I don't use them right now.
>
>
> > Why is this? Am I doing something stupid? Or have I uncovered a bug?
>
> No bug here, just mis-configuration.
>
>
> >
> > jamie
> >
> >
> >
> > --
> >
> >
--
More information about the sr-users
mailing list