<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="Open WebMail 2.20 20031014" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<font size="2">Ser wants to know the name of 192.168.1.17 and you don't have it in your /etc/hosts file
<br />
<br />Add a line to /etc/hosts
<br />
<br />192.168.1.17 my.hostname.here
<br />
<br />
<br />
<br />N.
<br /></font><font size="2"><b>
<br />
<br />On Wed, 10 May 2006 11:38:16 +0700, Linh Pham wrote</b>
<br />> Here's the tail /var/log/messages and my ser.cfg. Can you see anything
wrong? My computer have only one NIC and is assigned static IP
<a href="http://192.168.1.17">192.168.1.17</a>.
<br />>
<br />>
May 10 11:31:41 localhost ser: WARNING: fix_socket_list: could not rev. resolve <a href="http://192.168.1.17">192.168.1.17</a>
<br />>
May 10 11:31:41 localhost ser: WARNING: fix_socket_list: could not rev. resolve <a href="http://192.168.1.17">192.168.1.17</a>
<br />>
May 10 11:31:41 localhost /usr/local/sbin/ser[3085]: Maxfwd module- initializing
<br />>
May 10 11:32:19 localhost ser: WARNING: fix_socket_list: could not rev. resolve <a href="http://192.168.1.17">192.168.1.17</a>
<br />>
May 10 11:32:19 localhost ser: WARNING: fix_socket_list: could not rev. resolve <a href="http://192.168.1.17">192.168.1.17</a>
<br />>
May 10 11:32:19 localhost ser[3096]: Maxfwd module- initializing
<br />>
<br />> /usr/local/etc/ser/ser.cfg
<br />>
<br />>
#
<br />>
# $Id: ser.cfg,v <a href="http://1.25.2.1">1.25.2.1</a> 2005/02/18 14:30:44 andrei Exp $
<br />>
#
<br />>
# simple quick-start config script
<br />>
#
<br />>
<br />>
# ----------- global configuration parameters ------------------------
<br />>
<br />>
#debug=3 # debug level (cmd line: -dddddddddd)
<br />>
#fork=yes
<br />>
#log_stderror=no # (cmd line: -E)
<br />>
<br />>
/* Uncomment these lines to enter debugging mode
<br />>
fork=no
<br />>
log_stderror=yes
<br />>
*/
<br />>
<br />>
check_via=no # (cmd. line: -v)
<br />>
dns=no # (cmd. line: -r)
<br />>
rev_dns=no # (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/local/lib/ser/modules/mysql.so"
<br />>
<br />>
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"
<br />>
loadmodule "/usr/local/lib/ser/modules/textops.so"
<br />>
<br />>
# 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"
<br />>
<br />>
# ----------------- setting module-specific parameters ---------------
<br />>
<br />>
# -- usrloc params --
<br />>
<br />>
modparam("usrloc", "db_mode", 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 />>
# ------------------------- request routing logic -------------------
<br />>
<br />>
# main routing logic
<br />>
<br />>
route{
<br />>
<br />>
# initial sanity checks -- messages with
<br />>
# max_forwards==0, or excessively long requests
<br />>
if (!mf_process_maxfwd_header("10")) {
<br />>
sl_send_reply("483","Too Many Hops");
<br />>
break;
<br />>
};
<br />>
if (msg:len >= 2048 ) {
<br />>
sl_send_reply("513", "Message too big");
<br />>
break;
<br />>
};
<br />>
<br />>
<br />>
# we record-route all messages -- to make sure that
<br />>
# subsequent messages will go through our proxy; that's
<br />>
# particularly good if upstream and downstream entities
<br />>
# use different transport protocol
<br />>
if (!method=="REGISTER") record_route();
<br />>
<br />>
# subsequent messages withing a dialog should take the
<br />>
# path determined by record-routing
<br />>
if (loose_route()) {
<br />>
# mark routing logic in request
<br />>
append_hf("P-hint: rr-enforced\r\n");
<br />>
route(1);
<br />>
break;
<br />>
};
<br />>
<br />>
if (!uri==myself) {
<br />>
# mark routing logic in request
<br />>
append_hf("P-hint: outbound\r\n");
<br />>
route(1);
<br />>
break;
<br />>
};
<br />>
<br />>
# if the request is for other domain use UsrLoc
<br />>
# (in case, it does not work, use the following command
<br />>
# with proper names and addresses in it)
<br />>
if (uri==myself) {
<br />>
<br />>
if (method=="REGISTER") {
<br />>
<br />>
# Uncomment this if you want to use digest authentication
<br />>
# if (!www_authorize("<a href="http://iptel.org">iptel.org</a>", "subscriber")) {
<br />>
# www_challenge("<a href="http://iptel.org">iptel.org</a>", "0");
<br />>
# break;
<br />>
# };
<br />>
<br />>
save("location");
<br />>
break;
<br />>
};
<br />>
<br />>
lookup("aliases");
<br />>
if (!uri==myself) {
<br />>
append_hf("P-hint: outbound alias\r\n");
<br />>
route(1);
<br />>
break;
<br />>
};
<br />>
<br />>
# native SIP destinations are handled using our USRLOC DB
<br />>
if (!lookup("location")) {
<br />>
sl_send_reply("404", "Not Found");
<br />>
break;
<br />>
};
<br />>
};
<br />>
append_hf("P-hint: usrloc applied\r\n");
<br />>
route(1);
<br />>
}
<br />>
<br />>
route[1]
<br />>
{
<br />>
# send it out now; use stateful forwarding as it works reliably
<br />>
# even for UDP2TCP
<br />>
if (!t_relay()) {
<br />>
sl_reply_error();
<br />>
};
<br />>
}
<br />>
<br />> <span class="gmail_quote">On 5/9/06, <b class="gmail_sendername">sip</b> <<a href="mailto:sip@arcdiv.com">sip@arcdiv.com</a>> wrote:</span><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
<br />>
<font size="2">This is usually an indication that there was an error in
the ser.cfg file. If you look in the system messages log
(/var/log/messages), it should give you more specific information about
which error occurred.
<br />>
<br />> N.
<br />> <b>
<br />>
<br />> On Tue, 9 May 2006 14:00:49 +0700, Linh Pham wrote</b>
</font>
<br />> <span id="q_10b18d87686d69f4_1" class="e"><font size="2">
<br />> > Hi, I compile SER 0.9.6 from source on a computer running Fedora Core 4.
<br />> >
I suppose make all, make install all go well as I can't see any warning or error.
<br />> >
When I start ser, it seems normal but I can't find the pid with ps.
<br clear="all" />
<br />> >
[root@localhost ~]# serctl start
<br />> >
<br />> >
Starting SER : started pid(18726)
<br />> >
[root@localhost ~]# ser
<br />> >
Listening on
<br />> >
udp: <a onclick="return top.js.OpenExtLink(window,event,this)" target="_blank" href="http://127.0.0.1">127.0.0.1</a> [<a onclick="return top.js.OpenExtLink(window,event,this)" target="_blank" href="http://127.0.0.1">
127.0.0.1</a>]:5060
<br />> >
udp: <a onclick="return top.js.OpenExtLink(window,event,this)" target="_blank" href="http://192.168.1.4">192.168.1.4</a> [<a onclick="return top.js.OpenExtLink(window,event,this)" target="_blank" href="http://192.168.1.4">
192.168.1.4</a>]:5060
<br />> >
udp: <a onclick="return top.js.OpenExtLink(window,event,this)" target="_blank" href="http://192.168.1.17">192.168.1.17</a> [<a onclick="return top.js.OpenExtLink(window,event,this)" target="_blank" href="http://192.168.1.17">
192.168.1.17</a>]:5060
<br />> >
tcp: <a onclick="return top.js.OpenExtLink(window,event,this)" target="_blank" href="http://127.0.0.1">127.0.0.1</a> [<a onclick="return top.js.OpenExtLink(window,event,this)" target="_blank" href="http://127.0.0.1">
127.0.0.1</a>]:5060
<br />> >
tcp: <a onclick="return top.js.OpenExtLink(window,event,this)" target="_blank" href="http://192.168.1.4">192.168.1.4</a> [<a onclick="return top.js.OpenExtLink(window,event,this)" target="_blank" href="http://192.168.1.4">
192.168.1.4</a>]:5060
<br />> >
tcp: <a onclick="return top.js.OpenExtLink(window,event,this)" target="_blank" href="http://192.168.1.17">192.168.1.17</a> [<a onclick="return top.js.OpenExtLink(window,event,this)" target="_blank" href="http://192.168.1.17">
192.168.1.17</a>]:5060
<br />> >
Aliases:
<br />> >
tcp: localhost:5060
<br />> >
tcp: localhost.localdomain:5060
<br />> >
udp: localhost:5060
<br />> >
udp: localhost.localdomain:5060
<br />> >
<br />> >
[root@localhost ~]# serctl stop
<br />> >
Stopping SER : /usr/local/sbin/serctl: line 813: kill: (18726) - No such processstopped
<br />> >
[root@localhost ~]#
<br />> >
<br />> >
How can I fix this so ser run normally?
<br />> >
Thank you.
<br />> > --
<br />> > Best regards,
<br />> >
<br />> > Linh Pham
<br />>
<br />>
</font></span>
<br />>
</blockquote>
<br />>
<br clear="all" />
<br />> --
<br />> Best regards,
<br />>
<br />> Linh Pham
<br />>
<br />> Research & Development Center
<br />> POSTEF
<br />> 61 Tran Phu, Hanoi, Vietnam
<br />
<br />
<br />
</font>
</BODY>
</HTML>