[Serusers] Error in Ser.cfg - Auth.db
Daniel-Constantin Mierla
Daniel-Constantin.Mierla at fokus.fraunhofer.de
Tue Dec 14 12:14:05 CET 2004
Maybe this helps:
http://lists.iptel.org/pipermail/serusers/2003-March/000627.html
As I see in debug messages there is something "strange" with the path to
the socket file, never heard '/var/lig/...' -- is OS in other language
than english or you have a custom installation?!?
Daniel
On 12/13/04 19:49, 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
>>
>>
>>
>
>
>
>
More information about the sr-users
mailing list