<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#99ffff">
Hello all,<br>
Both of my mysql and ser servers are running !.<br>
<br>
I have uncommented some lines on "ser.cfg" file. <br>
<br>
But I have problem when I want to add users with&nbsp; "serctl" and&nbsp; get&nbsp;
the&nbsp; following error messages.<br>
<br>
<br>
----------------------------------------------------------------------------------------------------------
<br>
serctl add mura password murat@iptel@org<br>
MySql password:<br>
ERROR 1045: Access denied for user: 'ser@localhost' (Using password:
YES)<br>
introducing a new user to the database failed<br>
<br>
<br>
Do you have any suggestions ?. My syetem is Fedora 1, and ser version
is:0.8.12.<br>
Thank you for your help.<br>
<br>
****************************************************************<br>
Last situation of ser.cfg file<br>
************************************************************<br>
#<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>
#<br>
<br>
# ----------- global configuration parameters ------------------------<br>
<br>
#debug=3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # debug level (cmd line: -dddddddddd)<br>
#fork=yes<br>
#log_stderror=no&nbsp;&nbsp;&nbsp; # (cmd line: -E)<br>
<br>
/* Uncomment these lines to enter debugging mode<br>
debug=7<br>
fork=no<br>
log_stderror=yes<br>
*/<br>
<br>
check_via=no&nbsp;&nbsp;&nbsp; # (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"<br>
<br>
# ------------------ module loading ----------------------------------<br>
<br>
# Uncomment this if you want to use SQL database<br>
loadmodule "/usr/lib/ser/modules/mysql.so"<br>
<br>
loadmodule "/usr/lib/ser/modules/sl.so"<br>
loadmodule "/usr/lib/ser/modules/tm.so"<br>
loadmodule "/usr/lib/ser/modules/rr.so"<br>
loadmodule "/usr/lib/ser/modules/maxfwd.so"<br>
loadmodule "/usr/lib/ser/modules/usrloc.so"<br>
loadmodule "/usr/lib/ser/modules/registrar.so"<br>
<br>
# Uncomment this if you want digest authentication<br>
# mysql.so must be loaded !<br>
loadmodule "/usr/lib/ser/modules/auth.so"<br>
loadmodule "/usr/lib/ser/modules/auth_db.so"<br>
<br>
# ----------------- setting module-specific parameters ---------------<br>
<br>
# -- usrloc params --<br>
<br>
modparam("usrloc", "db_mode",&nbsp;&nbsp; 0)<br>
<br>
# Uncomment this if you want to use SQL database<br>
# for persistent storage and comment the previous line<br>
modparam("usrloc", "db_mode", 2)<br>
<br>
# -- auth params --<br>
# Uncomment if you are using auth module<br>
#<br>
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")<br>
<br>
# -- rr params --<br>
# add value to ;lr param to make some broken UAs happy<br>
modparam("rr", "enable_full_lr", 1)<br>
<br>
# -------------------------&nbsp; request routing logic -------------------<br>
<br>
# main routing logic<br>
<br>
route{<br>
<br>
&nbsp;&nbsp;&nbsp; # initial sanity checks -- messages with<br>
&nbsp;&nbsp;&nbsp; # max_forwards==0, or excessively long requests<br>
&nbsp;&nbsp;&nbsp; if (!mf_process_maxfwd_header("10")) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sl_send_reply("483","Too Many Hops");<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; break;<br>
&nbsp;&nbsp;&nbsp; };<br>
&nbsp;&nbsp;&nbsp; if ( msg:len &gt; max_len ) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sl_send_reply("513", "Message too big");<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; break;<br>
&nbsp;&nbsp;&nbsp; };<br>
<br>
&nbsp;&nbsp;&nbsp; # we record-route all messages -- to make sure that<br>
&nbsp;&nbsp;&nbsp; # subsequent messages will go through our proxy; that's<br>
&nbsp;&nbsp;&nbsp; # particularly good if upstream and downstream entities<br>
&nbsp;&nbsp;&nbsp; # use different transport protocol<br>
&nbsp;&nbsp;&nbsp; record_route();&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; # loose-route processing<br>
&nbsp;&nbsp;&nbsp; if (loose_route()) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; t_relay();<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; break;<br>
&nbsp;&nbsp;&nbsp; };<br>
<br>
&nbsp;&nbsp;&nbsp; # if the request is for other domain use UsrLoc<br>
&nbsp;&nbsp;&nbsp; # (in case, it does not work, use the following command<br>
&nbsp;&nbsp;&nbsp; # with proper names and addresses in it)<br>
&nbsp;&nbsp;&nbsp; if (uri==myself) {<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (method=="REGISTER") {<br>
<br>
# Uncomment this if you want to use digest authentication<br>
#&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (!www_authorize("iptel.org", "subscriber")) {<br>
#&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; www_challenge("iptel.org", "0");<br>
#&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; break;<br>
#&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; };<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; save("location");<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; break;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; };<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; # native SIP destinations are handled using our USRLOC DB<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (!lookup("location")) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sl_send_reply("404", "Not Found");<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; break;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; };<br>
&nbsp;&nbsp;&nbsp; };<br>
&nbsp;&nbsp;&nbsp; # forward to current uri now; use stateful forwarding; that<br>
&nbsp;&nbsp;&nbsp; # works reliably even if we forward from TCP to UDP<br>
&nbsp;&nbsp;&nbsp; if (!t_relay()) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sl_reply_error();<br>
&nbsp;&nbsp;&nbsp; };<br>
<br>
}<br>
<br>
<br>
&nbsp;&nbsp;&nbsp; <br>
</body>
</html>