<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
I am totally confused, Installed ser rpm on FC5, with all the modules, <br>
If I start ser with out mediaproxy.so and domain.so modules every thing
works great. <br>
But When I add these two mosules I start getting in problem and it does
not start. <br>
Here is the error, <br>
<br>
1(0) DEBUG: init_mod_child (-1): tm<br>
&nbsp;1(0) DEBUG: callid: '<a class="moz-txt-link-abbreviated" href="mailto:74fe3fe7-0@xxx.xxx.xxx.xxx">74fe3fe7-0@xxx.xxx.xxx.xxx</a>'<br>
&nbsp;1(0) DEBUG: init_mod_child (-1): usrloc<br>
&nbsp;1(0) get_connection(): Connection not found in the pool<br>
&nbsp;2(0) INFO: fifo process starting: 11768<br>
&nbsp;2(0) DEBUG: init_mod_child (-2): tm<br>
&nbsp;2(0) DEBUG: callid: '<a class="moz-txt-link-abbreviated" href="mailto:74fe3fe7-0@xxx.xxx.xxx.xxx">74fe3fe7-0@xxx.xxx.xxx.xxx</a>'<br>
&nbsp;2(0) DEBUG: init_mod_child (-2): usrloc<br>
&nbsp;2(0) get_connection(): Connection not found in the pool<br>
&nbsp;0(11766) DEBUG: init_mod_child (1): tm<br>
&nbsp;0(11766) DEBUG: callid: '<a class="moz-txt-link-abbreviated" href="mailto:74fe3fe7-11766@xxx.xxx.xxx.xxx">74fe3fe7-11766@xxx.xxx.xxx.xxx</a>'<br>
&nbsp;0(11766) DEBUG: init_mod_child (1): usrloc<br>
&nbsp;0(11766) get_connection(): Connection not found in the pool<br>
&nbsp;1(11767) DEBUG: init_mod_child (-1): auth_db<br>
&nbsp;0(11766) DEBUG: init_mod_child (1): auth_db<br>
&nbsp;1(11767) get_connection(): Connection found in the pool<br>
&nbsp;0(11766) get_connection(): Connection found in the pool<br>
&nbsp;1(11767) DEBUG: init_mod_child (-1): uri_db<br>
&nbsp;0(11766) DEBUG: init_mod_child (1): uri_db<br>
&nbsp;1(11767) get_connection(): Connection found in the pool<br>
&nbsp;0(11766) get_connection(): Connection found in the pool<br>
&nbsp;1(11767) DEBUG: init_mod_child (-1): domain<br>
&nbsp;0(11766)&nbsp; 1(11767) DEBUG: init_mod_child (1): domain<br>
DEBUG: init_mod_child (-1): nathelper<br>
&nbsp;0(11766) get_connection(): Connection not found in the pool<br>
&nbsp;1(11767) DEBUG: init_mod_child (-1): avpops<br>
&nbsp;1(11767) get_connection(): Connection found in the pool<br>
&nbsp;1(11767) DEBUG: init_mod_child (-1): permissions<br>
&nbsp;2(11768) DEBUG: init_mod_child (-2): auth_db<br>
&nbsp;2(11768) get_connection(): Connection found in the pool<br>
&nbsp;2(11768) DEBUG: init_mod_child (-2): uri_db<br>
&nbsp;2(11768) get_connection(): Connection found in the pool<br>
&nbsp;2(11768) DEBUG: init_mod_child (-2): domain<br>
&nbsp;2(11768) DEBUG: init_mod_child (-2): nathelper<br>
&nbsp;2(11768) DEBUG: init_mod_child (-2): avpops<br>
&nbsp;2(11768) get_connection(): Connection found in the pool<br>
&nbsp;2(11768) DEBUG: init_mod_child (-2): permissions<br>
&nbsp;2(11768) get_connection(): Connection found in the pool<br>
<b><br>
&nbsp;0(11766) new_connection(): Access denied for user 'serro'@'localhost'
(using password: YES)<br>
<br>
I have not idea why it is using serror@localhost to connect to db. I
will post my config files (ser.cfg and serctl) below. <br>
<br>
<br>
</b>&nbsp;0(11766) db_init(): Could not create a connection<br>
<b>&nbsp;0(11766) ERROR:domain_db_init: cannot initialize database connection<br>
&nbsp;0(11766) ERROR: domain:child_init(): Unable to connect to the database<br>
&nbsp;0(11766) init_mod_child(): Error while initializing module domain<br>
&nbsp;0(11766) main_dontfork: init_child failed<br>
&nbsp;2(11768) INFO: signal 15 received<br>
&nbsp;2(11768) Memory status (pkg):</b><br>
&nbsp;2(11768)&nbsp; 1(11767) INFO: signal 15 received<br>
&nbsp;1(11767) Memory status (pkg):<br>
&nbsp;1(11767) fm_status (0x811c800):<br>
&nbsp;1(11767)&nbsp; heap size= 1048576<br>
<br>
Top part of ser.cfg file <br>
<br>
[root@ ser]# more ser.cfg<br>
#<br>
# $Id: ser.cfg,v 1.25.2.1 2005/02/18 14:30:44 andrei Exp $<br>
#<br>
# simple quick-start config script<br>
#<br>
<br>
# ----------- global configuration parameters ------------------------<br>
<br>
debug=5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # debug level (cmd line: -dddddddddd)<br>
#fork=yes<br>
#log_stderror=no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # (cmd line: -E)<br>
<br>
/* Uncomment these lines to enter debugging mode<br>
fork=no<br>
log_stderror=yes<br>
*/<br>
<br>
#listen=192.168.2.201<br>
listen=209.XXX.XXX.XXX<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>
a<br>
<br>
fifo_db_url="mysql://username:password@host/ser_db"<br>
<br>
# ------------------ module loading ----------------------------------<br>
<br>
# Uncomment this if you want to use SQL database<br>
<br>
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/auth.so"<br>
loadmodule "/usr/lib/ser/modules/auth_db.so"<br>
loadmodule "/usr/lib/ser/modules/uri_db.so"<br>
loadmodule "/usr/lib/ser/modules/uri.so"<br>
loadmodule "/usr/lib/ser/modules/domain.so"<br>
loadmodule "/usr/lib/ser/modules/mediaproxy.so"<br>
loadmodule "/usr/lib/ser/modules/nathelper.so"<br>
loadmodule "/usr/lib/ser/modules/textops.so"<br>
loadmodule "/usr/lib/ser/modules/avpops.so"<br>
loadmodule "/usr/lib/ser/modules/permissions.so"<br>
#loadmodule "/usr/lib/ser/modules/domain.so"<br>
<br>
<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>
modparam("auth_db|permissions|uri_db|usrloc", "db_url",
"mysql://username:password@host/ser_db")<br>
<br>
modparam("auth_db", "calculate_ha1", 0)<br>
modparam("auth_db", "password_column", "password")<br>
modparam("nathelper", "rtpproxy_disable", 1)<br>
modparam("nathelper", "natping_interval", 0)<br>
modparam("mediaproxy","natping_interval", 30)<br>
modparam("mediaproxy","mediaproxy_socket", "/var/run/mediaproxy.sock")<br>
modparam("mediaproxy","sip_asymmetrics","/etc/ser/sip-clients")<br>
modparam("mediaproxy","rtp_asymmetrics","/etc/ser/rtp-clients")<br>
<br>
modparam("usrloc", "db_mode", 2)<br>
<br>
modparam("registrar", "nat_flag", 6)<br>
<br>
modparam("rr", "enable_full_lr", 1)<br>
<br>
modparam("tm", "fr_inv_timer", 27)<br>
modparam("tm", "fr_inv_timer_avp", "inv_timeout")<br>
<br>
modparam("permissions", "db_mode", 1)<br>
modparam("permissions", "trusted_table", "trusted")<br>
<br>
modparam("avpops", "avp_url", "mysql://username:password@host/ser_db")<br>
modparam("avpops", "avp_table", "usr_preferences")<br>
<br>
# main routing logic<br>
<br>
route {<br>
<br>
SERCTL file<br>
<br>
# configuration for starting/stopping ser<br>
PID_FILE=/var/run/ser.pid<br>
SYSLOG=1 # 0=output to console, 1=output to syslog<br>
STARTOPTIONS= # for example -dddd<br>
DIR=`dirname $0`<br>
SERBIN=$DIR/ser<br>
AWK=awk<br>
<br>
# ser's FIFO server<br>
if [ -z "$SER_FIFO" ]; then<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SER_FIFO=/tmp/ser_fifo<br>
fi<br>
# period in which stats are reprinted<br>
if [ -z "$WATCH_PERIOD" ] ; then<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WATCH_PERIOD=2<br>
fi<br>
<br>
# SQL config<br>
if [ -z "$SQL_DB" ] ; then<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SQL_DB=ser_DB<br>
fi<br>
if [ -z "$SQL_HOST" ] ; then<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SQL_HOST=SER_HOST //not localhost<br>
fi<br>
if [ -z "$SQL_USER" ] ; then<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SQL_USER=username<br>
fi<br>
<br>
# the read-only user for whom password may be stored here<br>
if [ -z "$RO_USER" ] ; then<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RO_USER=usename<br>
fi<br>
if [ -z "$RO_PW" ] ; then<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RO_PW=password<br>
fi<br>
<br>
# binaries<br>
GENHA1='gen_ha1'<br>
MYSQL='mysql'<br>
SER='sr'<br>
LAST_LINE='tail -1'<br>
<br>
# ACL name verification<br>
VERIFY_ACL=1<br>
ACL_GROUPS="local ld int voicemail free-pstn prepaid"<br>
<br>
VERSION='$Revision: 1.83.2.2 $'<br>
<br>
<br>
NOTE: If I dont add mediaproxy.so and domain.so then everything works
lgreate<br>
<br>
Ser verision<br>
[root@ ser]# rpm -qa | grep ser-<br>
ser-serweb-0.9.6-6.fc5&nbsp;&nbsp; ///This also did not work, problem with
classkit and runkit extension. If any one could make it work on FC5
with PHP 5.1, Please share. <br>
<br>
ser-mysql-0.9.6-6.fc5<br>
ser-0.9.6-6.fc5<br>
<br>
I am tired like dead, Any idea will be help. <br>
<br>
Thank you,<br>
-JK<br>
<br>
<br>
<br>
<br>
</body>
</html>