Hey Jai could you send me some instructions on compiling ser manually<br>I dont seem to be having any success doing this manually I am not that experienced and compiling using the make commands <br><br><div><span class="gmail_quote">
On 6/6/07, <b class="gmail_sendername">Jai Rangi</b> <<a href="mailto:jprangi@gmail.com">jprangi@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Can you do <br>ls -l /usr/lib/ser/modules/mysql.so<br><br>Just to make sure is the module is build properly. <br>Also while compiling ser did you include modules<br> make all include_modules="mysql auth_radius etc.... "
<br><br>Hope this will help..<br>-Jai Rangi<br><br><br><div><div><span class="e" id="q_11302d1c7365e982_1"><span class="gmail_quote">On 6/6/07, <b class="gmail_sendername">Kirk McCalla</b> <<a href="mailto:kirk.mccalla@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
kirk.mccalla@gmail.com</a>> wrote:
</span></span></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><span class="e" id="q_11302d1c7365e982_3"><div>Hello I am new to ser. I just loaded my ser and mysql and they are up and running.
</div>
<div>I am using CENTOS for my operating system. </div>
<div> </div>
<div> </div>
<div>I am trying to configure the ser.cfg file and I keep getting this error. </div>
<div> </div>
<div> ERROR: load_module: could not open module </usr/lib/ser/modules/mysql.so>: /usr/lib/libmysqlclient.so.14: cannot restore segment prot after reloc: Permission denied<br> </div>
<div> </div>
<div>Now I have libmysqlclient.so.14 loaded and mysql.so is also loaded</div>
<div> </div>
<div>[root@localhost lib]# find libmysqlclient.so.14<br>libmysqlclient.so.14<br>[root@localhost lib]#</div>
<div> </div>
<div>I cant seee where I could be going wrong here. </div>
<div>I load just fine when I dont have the loadmodule "/usr/lib/ser/modules/mysql.so" uncomented. </div>
<div> </div>
<div>This is my config file </div>
<div> </div>
<div> </div>
<div>
<p># $Id: auth-mysql.cfg 46 2006-01-25 04:21:30Z /CN=Paul <a href="mailto:Hazlett/emailAddress=paul@onsip.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Hazlett/emailAddress=paul@onsip.org</a>
$<br>debug=3<br>fork=no<br>log_stderror=yes</p>
<p>sten=<a href="http://192.168.0.102" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.0.102</a> # put your server IP address here<br>port=5060<br>children=4</p>
<p>dns=no<br>rev_dns=no<br>fifo="/tmp/ser_fifo"<br>fifo_db_url="mysql://ser:heslo@localhost/ser"</p>
<p>loadmodule "/usr/lib/ser/modules/mysql.so"<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>loadmodule "/usr/lib/ser/modules/uri_db.so"<br>loadmodule "/usr/lib/ser/modules/auth.so"
<br>loadmodule "/usr/lib/ser/modules/auth_db.so"</p>
<p>modparam("auth_db|uri_db|usrloc", "db_url", "mysql://ser:heslo@localhost/ser")<br>modparam("auth_db", "calculate_ha1", 1)<br>modparam("auth_db", "password_column", "password")
<br>modparam("usrloc", "db_mode", 2)<br>modparam("rr", "enable_full_lr", 1)</p>
<p>route {</p>
<p> # -----------------------------------------------------------------<br> # Sanity Check Section<br> # -----------------------------------------------------------------<br> if (!mf_process_maxfwd_header("10")) {
<br> sl_send_reply("483", "Too Many Hops");<br> break;<br> };</p>
<p> if (msg:len > max_len) {<br> sl_send_reply("513", "Message Overflow");<br> break;<br> };</p>
<p> # -----------------------------------------------------------------<br> # Record Route Section<br> # -----------------------------------------------------------------<br> if (method!="REGISTER") {
<br> record_route();<br> };</p>
<p> # -----------------------------------------------------------------<br> # Loose Route Section<br> # -----------------------------------------------------------------<br> if (loose_route()) {
<br> route(1);<br> break;<br> };</p>
<p> # -----------------------------------------------------------------<br> # Call Type Processing Section<br> # -----------------------------------------------------------------<br> if (uri!=myself) {
<br> route(1);<br> break;<br> };</p>
<p> if (method=="ACK") {<br> route(1);<br> break;<br> } else if (method=="INVITE") {<br> route(3);<br> break;<br> } else if (method=="REGISTER") {
<br> route(2);<br> break;<br> };</p>
<p> lookup("aliases");<br> if (uri!=myself) {<br> route(1);<br> break;<br> };</p>
<p> if (!lookup("location")) {<br> sl_send_reply("404", "User Not Found");<br> break;<br> };</p>
<p> route(1);<br>}</p>
<p>route[1] {</p>
<p> # -----------------------------------------------------------------<br> # Default Message Handler<br> # -----------------------------------------------------------------<br> if (!t_relay()) {
<br> sl_reply_error();<br> };<br>}</p>
<p>route[2] {</p>
<p> # -----------------------------------------------------------------<br> # REGISTER Message Handler<br> # ----------------------------------------------------------------<br> sl_send_reply("100", "Trying");
</p>
<p> if (!www_authorize("","subscriber")) {<br> www_challenge("","0");<br> break;<br> };</p>
<p> if (!check_to()) {<br> sl_send_reply("401", "Unauthorized");<br> break;<br> };</p>
<p> consume_credentials();</p>
<p> if (!save("location")) {<br> sl_reply_error();<br> };<br>}</p>
<p>route[3] {<br> # -----------------------------------------------------------------<br> # INVITE Message Handler<br> # -----------------------------------------------------------------<br> if (!proxy_authorize("","subscriber")) {
<br> proxy_challenge("","0");<br> break;<br> } else if (!check_from()) {<br> sl_send_reply("403", "Use From=ID");<br> break;
<br> };</p>
<p> consume_credentials();</p>
<p> lookup("aliases");<br> if (uri!=myself) {<br> route(1);<br> break;<br> };</p>
<p> if (!lookup("location")) {<br> sl_send_reply("404", "User Not Found");<br> break;<br> };</p>
<p> route(1);<br>}</p>
<p> </p><br> </div></span></div>
<br>_______________________________________________<br>Serusers mailing list<br><a href="mailto:Serusers@lists.iptel.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Serusers@lists.iptel.org</a>
<br><a href="http://lists.iptel.org/mailman/listinfo/serusers" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.iptel.org/mailman/listinfo/serusers</a><br><br></blockquote></div><br>
</blockquote></div><br>