<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 />&gt; 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 />&gt; 
<br />&gt; 
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 />&gt; 
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 />&gt; 
May 10 11:31:41 localhost /usr/local/sbin/ser[3085]: Maxfwd module- initializing
<br />&gt; 
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 />&gt; 
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 />&gt; 
May 10 11:32:19 localhost ser[3096]: Maxfwd module- initializing
<br />&gt; 
<br />&gt; /usr/local/etc/ser/ser.cfg
<br />&gt; 
<br />&gt; 
#
<br />&gt; 
# $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 />&gt; 
#
<br />&gt; 
# simple quick-start config script
<br />&gt; 
#
<br />&gt; 
<br />&gt; 
# ----------- global configuration parameters ------------------------
<br />&gt; 
<br />&gt; 
#debug=3         # debug level (cmd line: -dddddddddd)
<br />&gt; 
#fork=yes
<br />&gt; 
#log_stderror=no    # (cmd line: -E)
<br />&gt; 
<br />&gt; 
/* Uncomment these lines to enter debugging mode 
<br />&gt; 
fork=no
<br />&gt; 
log_stderror=yes
<br />&gt; 
*/
<br />&gt; 
<br />&gt; 
check_via=no    # (cmd. line: -v)
<br />&gt; 
dns=no           # (cmd. line: -r)
<br />&gt; 
rev_dns=no      # (cmd. line: -R)
<br />&gt; 
#port=5060
<br />&gt; 
#children=4
<br />&gt; 
fifo=&quot;/tmp/ser_fifo&quot;
<br />&gt; 
<br />&gt; 
# ------------------ module loading ----------------------------------
<br />&gt; 
<br />&gt; 
# Uncomment this if you want to use SQL database
<br />&gt; 
#loadmodule &quot;/usr/local/lib/ser/modules/mysql.so&quot;
<br />&gt; 
<br />&gt; 
loadmodule &quot;/usr/local/lib/ser/modules/sl.so&quot;
<br />&gt; 
loadmodule &quot;/usr/local/lib/ser/modules/tm.so&quot;
<br />&gt; 
loadmodule &quot;/usr/local/lib/ser/modules/rr.so&quot;
<br />&gt; 
loadmodule &quot;/usr/local/lib/ser/modules/maxfwd.so&quot;
<br />&gt; 
loadmodule &quot;/usr/local/lib/ser/modules/usrloc.so&quot;
<br />&gt; 
loadmodule &quot;/usr/local/lib/ser/modules/registrar.so&quot;
<br />&gt; 
loadmodule &quot;/usr/local/lib/ser/modules/textops.so&quot;
<br />&gt; 
<br />&gt; 
# Uncomment this if you want digest authentication
<br />&gt; 
# mysql.so must be loaded !
<br />&gt; 
#loadmodule &quot;/usr/local/lib/ser/modules/auth.so&quot;
<br />&gt; 
#loadmodule &quot;/usr/local/lib/ser/modules/auth_db.so&quot;
<br />&gt; 
<br />&gt; 
# ----------------- setting module-specific parameters ---------------
<br />&gt; 
<br />&gt; 
# -- usrloc params --
<br />&gt; 
<br />&gt; 
modparam(&quot;usrloc&quot;, &quot;db_mode&quot;,   0)
<br />&gt; 
<br />&gt; 
# Uncomment this if you want to use SQL database 
<br />&gt; 
# for persistent storage and comment the previous line
<br />&gt; 
#modparam(&quot;usrloc&quot;, &quot;db_mode&quot;, 2)
<br />&gt; 
<br />&gt; 
# -- auth params --
<br />&gt; 
# Uncomment if you are using auth module
<br />&gt; 
#
<br />&gt; 
#modparam(&quot;auth_db&quot;, &quot;calculate_ha1&quot;, yes)
<br />&gt; 
#
<br />&gt; 
# If you set &quot;calculate_ha1&quot; parameter to yes (which true in this config), 
<br />&gt; 
# uncomment also the following parameter)
<br />&gt; 
#
<br />&gt; 
#modparam(&quot;auth_db&quot;, &quot;password_column&quot;, &quot;password&quot;)
<br />&gt; 
<br />&gt; 
# -- rr params --
<br />&gt; 
# add value to ;lr param to make some broken UAs happy
<br />&gt; 
modparam(&quot;rr&quot;, &quot;enable_full_lr&quot;, 1)
<br />&gt; 
<br />&gt; 
# -------------------------  request routing logic -------------------
<br />&gt; 
<br />&gt; 
# main routing logic
<br />&gt; 
<br />&gt; 
route{
<br />&gt; 
<br />&gt; 
    # initial sanity checks -- messages with
<br />&gt; 
    # max_forwards==0, or excessively long requests
<br />&gt; 
    if (!mf_process_maxfwd_header(&quot;10&quot;)) {
<br />&gt; 
        sl_send_reply(&quot;483&quot;,&quot;Too Many Hops&quot;);
<br />&gt; 
        break;
<br />&gt; 
    };
<br />&gt; 
    if (msg:len &gt;=  2048 ) {
<br />&gt; 
        sl_send_reply(&quot;513&quot;, &quot;Message too big&quot;);
<br />&gt; 
        break;
<br />&gt; 
    };
<br />&gt; 
    
<br />&gt; 
<br />&gt; 
    # we record-route all messages -- to make sure that
<br />&gt; 
    # subsequent messages will go through our proxy; that's
<br />&gt; 
    # particularly good if upstream and downstream entities
<br />&gt; 
    # use different transport protocol
<br />&gt; 
    if (!method==&quot;REGISTER&quot;) record_route();    
<br />&gt; 
<br />&gt; 
    # subsequent messages withing a dialog should take the
<br />&gt; 
    # path determined by record-routing
<br />&gt; 
    if (loose_route()) {
<br />&gt; 
        # mark routing logic in request
<br />&gt; 
        append_hf(&quot;P-hint: rr-enforced\r\n&quot;); 
<br />&gt; 
        route(1);
<br />&gt; 
        break;
<br />&gt; 
    };
<br />&gt; 
<br />&gt; 
    if (!uri==myself) {
<br />&gt; 
        # mark routing logic in request
<br />&gt; 
        append_hf(&quot;P-hint: outbound\r\n&quot;); 
<br />&gt; 
        route(1);
<br />&gt; 
        break;
<br />&gt; 
    };
<br />&gt; 
<br />&gt; 
    # if the request is for other domain use UsrLoc
<br />&gt; 
    # (in case, it does not work, use the following command
<br />&gt; 
    # with proper names and addresses in it)
<br />&gt; 
    if (uri==myself) {
<br />&gt; 
<br />&gt; 
        if (method==&quot;REGISTER&quot;) {
<br />&gt; 
<br />&gt; 
# Uncomment this if you want to use digest authentication
<br />&gt; 
#            if (!www_authorize(&quot;<a href="http://iptel.org">iptel.org</a>&quot;, &quot;subscriber&quot;)) {
<br />&gt; 
#                www_challenge(&quot;<a href="http://iptel.org">iptel.org</a>&quot;, &quot;0&quot;);
<br />&gt; 
#                break;
<br />&gt; 
#            };
<br />&gt; 
<br />&gt; 
            save(&quot;location&quot;);
<br />&gt; 
            break;
<br />&gt; 
        };
<br />&gt; 
<br />&gt; 
        lookup(&quot;aliases&quot;);
<br />&gt; 
        if (!uri==myself) {
<br />&gt; 
            append_hf(&quot;P-hint: outbound alias\r\n&quot;); 
<br />&gt; 
            route(1);
<br />&gt; 
            break;
<br />&gt; 
        };
<br />&gt; 
<br />&gt; 
        # native SIP destinations are handled using our USRLOC DB
<br />&gt; 
        if (!lookup(&quot;location&quot;)) {
<br />&gt; 
            sl_send_reply(&quot;404&quot;, &quot;Not Found&quot;);
<br />&gt; 
            break;
<br />&gt; 
        };
<br />&gt; 
    };
<br />&gt; 
    append_hf(&quot;P-hint: usrloc applied\r\n&quot;); 
<br />&gt; 
    route(1);
<br />&gt; 
}
<br />&gt; 
<br />&gt; 
route[1] 
<br />&gt; 
{
<br />&gt; 
    # send it out now; use stateful forwarding as it works reliably
<br />&gt; 
    # even for UDP2TCP
<br />&gt; 
    if (!t_relay()) {
<br />&gt; 
        sl_reply_error();
<br />&gt; 
    };
<br />&gt; 
}
<br />&gt; 
<br />&gt; <span class="gmail_quote">On 5/9/06, <b class="gmail_sendername">sip</b> &lt;<a href="mailto:sip@arcdiv.com">sip@arcdiv.com</a>&gt; 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 />&gt; 

<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 />&gt; 
<br />&gt; N.

<br />&gt; <b>

<br />&gt; 
<br />&gt; On Tue, 9 May 2006 14:00:49 +0700, Linh Pham wrote</b>
</font>
<br />&gt; <span id="q_10b18d87686d69f4_1" class="e"><font size="2">
<br />&gt; &gt; Hi, I compile SER 0.9.6 from source on a computer running Fedora Core 4.

<br />&gt; &gt; 
I suppose make all, make install all go well as I can't see any warning or error.

<br />&gt; &gt; 
When I start ser, it seems normal but I can't find the pid with ps.

<br clear="all" />

<br />&gt; &gt; 
[root@localhost ~]# serctl start

<br />&gt; &gt; 

<br />&gt; &gt; 
Starting SER : started pid(18726)

<br />&gt; &gt; 
[root@localhost ~]# ser

<br />&gt; &gt; 
Listening on

<br />&gt; &gt; 
             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 />&gt; &gt; 
             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 />&gt; &gt; 
             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 />&gt; &gt; 
             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 />&gt; &gt; 
             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 />&gt; &gt; 
             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 />&gt; &gt; 
Aliases:

<br />&gt; &gt; 
             tcp: localhost:5060

<br />&gt; &gt; 
             tcp: localhost.localdomain:5060

<br />&gt; &gt; 
             udp: localhost:5060

<br />&gt; &gt; 
             udp: localhost.localdomain:5060

<br />&gt; &gt; 

<br />&gt; &gt; 
[root@localhost ~]# serctl stop

<br />&gt; &gt; 
Stopping SER : /usr/local/sbin/serctl: line 813: kill: (18726) - No such processstopped

<br />&gt; &gt; 
[root@localhost ~]#

<br />&gt; &gt; 

<br />&gt; &gt; 
How can I fix this so ser run normally?

<br />&gt; &gt; 
Thank you.

<br />&gt; &gt; -- 

<br />&gt; &gt; Best regards,

<br />&gt; &gt; 

<br />&gt; &gt; Linh Pham

<br />&gt; 
<br />&gt; 
</font></span>
<br />&gt; 

</blockquote>
<br />&gt; 
<br clear="all" />
<br />&gt; -- 
<br />&gt; Best regards,
<br />&gt; 
<br />&gt; Linh Pham
<br />&gt; 
<br />&gt; Research &amp; Development Center
<br />&gt; POSTEF
<br />&gt; 61 Tran Phu, Hanoi, Vietnam

<br />
<br />
<br />
</font>
</BODY>
</HTML>