[Serusers] problems with the pstn.cfg example

Zeus Ng zeus.ng at isquare.com.au
Thu Sep 9 14:50:44 CEST 2004


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