<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2>I am running SER and MYSQL on Solaris 8 and have 
the latest package of both running.&nbsp; Ser will run fine as standalone 
without any connection to MYSQL, but as soona s I try to connect it with MYSQL I 
get an error.&nbsp; I have it pasted here and after is my config 
file:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>bash-2.03# ser<BR>&nbsp;0(9289) loading module 
/usr/local/lib/ser/modules/mysql.so<BR>&nbsp;0(9289) loading module 
/usr/local/lib/ser/modules/sl.so<BR>&nbsp;0(9289) loading module 
/usr/local/lib/ser/modules/tm.so<BR>&nbsp;0(9289) loading module 
/usr/local/lib/ser/modules/rr.so<BR>&nbsp;0(9289) loading module 
/usr/local/lib/ser/modules/maxfwd.so<BR>&nbsp;0(9289) loading module 
/usr/local/lib/ser/modules/usrloc.so<BR>&nbsp;0(9289) loading module 
/usr/local/lib/ser/modules/registrar.so<BR>&nbsp;0(9289) loading module 
/usr/local/lib/ser/modules/auth.so<BR>&nbsp;0(9289) loading module 
/usr/local/lib/ser/modules/auth_db.so<BR>&nbsp;0(9289) set_mod_param_regex: 
usrloc matches module usrloc<BR>&nbsp;0(9289) set_mod_param_regex: found 
&lt;db_mode&gt; in module usrloc 
[/usr/local/lib/ser/modules/usrloc.so]<BR>&nbsp;0(9289) set_mod_param_regex: 
auth_db matches module auth_db<BR>&nbsp;0(9289) set_mod_param_regex: found 
&lt;password_column&gt; in module auth_db 
[/usr/local/lib/ser/modules/auth_db.so]<BR>&nbsp;0(9289) set_mod_param_regex: rr 
matches module rr<BR>&nbsp;0(9289) set_mod_param_regex: found 
&lt;enable_full_lr&gt; in module rr 
[/usr/local/lib/ser/modules/rr.so]<BR>&nbsp;0(9289) find_export: found 
&lt;mf_process_maxfwd_header&gt; in module maxfwd_module 
[/usr/local/lib/ser/modules/maxfwd.so]<BR>&nbsp;0(9289) find_export: found 
&lt;sl_send_reply&gt; in module sl_module 
[/usr/local/lib/ser/modules/sl.so]<BR>&nbsp;0(9289) parse error (79,16-23): 
syntax error<BR>&nbsp;0(9289) parse error (79,16-23): equal/!= operator 
expected<BR>&nbsp;0(9289) find_export: found &lt;sl_send_reply&gt; in module 
sl_module [/usr/local/lib/ser/modules/sl.so]<BR>&nbsp;0(9289) find_export: found 
&lt;record_route&gt; in module rr 
[/usr/local/lib/ser/modules/rr.so]<BR>&nbsp;0(9289) find_export: found 
&lt;loose_route&gt; in module rr 
[/usr/local/lib/ser/modules/rr.so]<BR>&nbsp;0(9289) find_export: found 
&lt;t_relay&gt; in module tm [/usr/local/lib/ser/modules/tm.so]<BR>&nbsp;0(9289) 
find_export: found &lt;save&gt; in module registrar 
[/usr/local/lib/ser/modules/registrar.so]<BR>&nbsp;0(9289) find_export: found 
&lt;lookup&gt; in module registrar 
[/usr/local/lib/ser/modules/registrar.so]<BR>&nbsp;0(9289) find_export: found 
&lt;sl_send_reply&gt; in module sl_module 
[/usr/local/lib/ser/modules/sl.so]<BR>&nbsp;0(9289) find_export: found 
&lt;t_relay&gt; in module tm [/usr/local/lib/ser/modules/tm.so]<BR>&nbsp;0(9289) 
find_export: found &lt;sl_reply_error&gt; in module sl_module 
[/usr/local/lib/ser/modules/sl.so]<BR>ERROR: bad config file (2 
errors)<BR>&nbsp;0(9289) DEBUG: tm_shutdown : start<BR>&nbsp;0(9289) DEBUG: 
tm_shutdown : empting hash table<BR>&nbsp;0(9289) DEBUG: tm_shutdown: releasing 
timers<BR>&nbsp;0(9289) DEBUG: tm_shutdown : removing 
semaphores<BR>&nbsp;0(9289) DEBUG: tm_shutdown : done<BR>&nbsp;0(9289) 
shm_mem_destroy<BR>&nbsp;0(9289) destroying the shared memory lock</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>---------------&nbsp; CONFIG FILE 
----------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>#<BR># $Id: ser.cfg,v 1.21.4.1 2003/11/10 15:35:15 
andrei Exp $<BR>#<BR># simple quick-start config script<BR>#</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># ----------- global configuration parameters 
------------------------</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>debug=33&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # debug level 
(cmd line: -dddddddddd)<BR>#fork=yes<BR>log_stderror=yes # (cmd line: 
-E)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>/* Uncomment these lines to enter debugging 
mode<BR>debug=7<BR>fork=no<BR>log_stderror=yes<BR>*/</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>check_via=no # (cmd. line: 
-v)<BR>dns=no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 
(cmd. line: -r)<BR>rev_dns=no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # (cmd. line: 
-R)<BR>#port=5060<BR>#children=4<BR>fifo="/tmp/ser_fifo"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># ------------------ module loading 
----------------------------------</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># Uncomment this if you want to use SQL 
database<BR>loadmodule "/usr/local/lib/ser/modules/mysql.so"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>loadmodule 
"/usr/local/lib/ser/modules/sl.so"<BR>loadmodule 
"/usr/local/lib/ser/modules/tm.so"<BR>loadmodule 
"/usr/local/lib/ser/modules/rr.so"<BR>loadmodule 
"/usr/local/lib/ser/modules/maxfwd.so"<BR>loadmodule 
"/usr/local/lib/ser/modules/usrloc.so"<BR>loadmodule 
"/usr/local/lib/ser/modules/registrar.so"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># Uncomment this if you want digest 
authentication<BR># mysql.so must be loaded !<BR>loadmodule 
"/usr/local/lib/ser/modules/auth.so"<BR>loadmodule 
"/usr/local/lib/ser/modules/auth_db.so"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># ----------------- setting module-specific 
parameters ---------------</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># -- usrloc params --</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>#modparam("usrloc", "db_mode",&nbsp;&nbsp; 
0)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># Uncomment this if you want to use SQL 
database<BR># for persistent storage and comment the previous 
line<BR>modparam("usrloc", "db_mode", 2)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># -- auth params --<BR># Uncomment if you are using 
auth module</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>#modparam("auth_db", "calculate_ha1", 
yes)<BR>#<BR># If you set "calculate_ha1" parameter to yes (which true in this 
config),<BR># uncomment also the following 
parameter)<BR>#<BR>modparam("auth_db", "password_column", 
"password")</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># -- rr params --<BR># add value to ;lr param to 
make some broken UAs happy<BR>modparam("rr", "enable_full_lr", 1)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># -------------------------&nbsp; request routing 
logic -------------------</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># main routing logic</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>route{</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;# initial sanity checks -- messages 
with<BR>&nbsp;# max_forwards==0, or excessively long requests<BR>&nbsp;if 
(!mf_process_maxfwd_header("10")) {<BR>&nbsp;sl_send_reply("483","Too Many 
Hops");<BR>&nbsp;break;<BR>&nbsp;};<BR>&nbsp;if ( msg:len&nbsp; max_len ) 
{<BR>&nbsp;sl_send_reply("513", "Message too 
big");<BR>&nbsp;break;<BR>&nbsp;};</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;# we record-route all messages -- to make 
sure that<BR>&nbsp;# subsequent messages will go through our proxy; 
that's<BR>&nbsp;# particularly good if upstream and downstream 
entities<BR>&nbsp;# use different transport 
protocol<BR>&nbsp;record_route();<BR>&nbsp;# loose-route processing<BR>&nbsp;if 
(loose_route()) {<BR>&nbsp;t_relay();<BR>&nbsp;break;<BR>&nbsp;};</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;# if the request is for other domain use 
UsrLoc<BR>&nbsp;# (in case, it does not work, use the following 
command<BR>&nbsp;# with proper names and addresses in it)<BR>&nbsp;if 
(uri==myself) {</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;if (method=="REGISTER") {</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># Uncomment this if you want to use digest 
authentication<BR># if (!www_authorize("iptel.org", "subscriber")) {<BR># 
www_challenge("iptel.org", "0");<BR># break;<BR># };</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>&nbsp;save("location");<BR>&nbsp;break;<BR>&nbsp;};</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;# native SIP destinations are handled using 
our USRLOC DB<BR>&nbsp;if (!lookup("location")) {<BR>&nbsp;sl_send_reply("404", 
"Not Found");<BR>&nbsp;break;<BR>&nbsp;};<BR>&nbsp;};<BR>&nbsp;# forward to 
current uri now; use stateful forwarding; that<BR>&nbsp;# works reliably even if 
we forward from TCP to UDP<BR>&nbsp;if (!t_relay()) 
{<BR>&nbsp;sl_reply_error();<BR>&nbsp;};</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Best regards,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Axel</FONT></DIV></BODY></HTML>