|
the openser die here, do not show
more.
it's possible that a jabber
configuration is wrong?
openser -f jabber2.cfg -E
-dddddddddddddddd 0(4710) read 193612823 from /dev/urandom
0(4710) seeding PRNG with 1347370384 0(4710) test random number
149130666 0(4710) WARNING: fix_socket_list: could not rev. resolve
192.168.0.4 0(4710) WARNING: fix_socket_list: could not rev. resolve
192.168.0.4 Listening
on
udp: 127.0.0.1
[127.0.0.1]:5060
udp: 192.168.0.4
[192.168.0.4]:5060
tcp: 127.0.0.1
[127.0.0.1]:5060
tcp: 192.168.0.4
[192.168.0.4]:5060 Aliases:
tcp:
localhost:5060
udp:
localhost:5060
*: 192.168.0.4:*
print - initializing textops -
initializing stateless - initializing
----- Original Message -----
Sent: Monday, July 24, 2006 4:59 PM
Subject: Re: [Users] jabber
Hello,
please try to get a core dump and send me the
backtrace.
In the terminal you start openser just set "ulimit -c
unlimited" - you should get a core file afterwards. Use then gdb to get
the backtrace.
Cheers, Daniel
On 07/24/06 22:18, Javier
Ramirez wrote: > *why die the openser ?* > *what is wrong
? > * > *I add this:* > in /etc/host > 127.0.0.1
aim.jabber.server.com > 127.0.0.1 msn.jabber.server.com >
127.0.0.1 icq.jabber.server.com > 127.0.0.1
yahoo.jabber.server.com > 127.0.0.1 jabber.server.com > 127.0.0.1
server.com > *and run:* > openser -f jabber2.cfg -E
-dddddddddddddddd > > 0(4710) read 193612823 from
/dev/urandom > 0(4710) seeding PRNG with 1347370384 >
0(4710) test random number 149130666 > 0(4710) WARNING:
fix_socket_list: could not rev. resolve 192.168.0.4 > 0(4710)
WARNING: fix_socket_list: could not rev. resolve 192.168.0.4 > Listening
on >
udp: 127.0.0.1
[127.0.0.1]:5060 >
udp: 192.168.0.4
[192.168.0.4]:5060 >
tcp: 127.0.0.1
[127.0.0.1]:5060 >
tcp: 192.168.0.4 [192.168.0.4]:5060 >
Aliases: >
tcp:
localhost:5060 >
udp:
localhost:5060 >
*: 192.168.0.4:* > > print - initializing > textops -
initializing > stateless - initializing > > *and openser
die.....* > > *this is my configuration file:* > >
# > # configuration for Jabber module testing > # (sample config
file using the module with presence support) > # > # $ID: daniel
$ > # > >
debug=2 # debug level
(cmd line: -dddddddddd) >
fork=yes # (cmd. line:
-D) > log_stderror=yes # (cmd line: -E) > >
children=2 > check_via=no # (cmd. line:
-v) >
dns=off # (cmd.
line: -r) > rev_dns=off # (cmd.
line: -R) > port=5060 > alias="192.168.0.4" > > #
------------------ module loading
---------------------------------- > > #modules > loadmodule
"modules/print/print.so" > loadmodule
"modules/textops/textops.so" > loadmodule "modules/tm/tm.so" >
loadmodule "modules/maxfwd/maxfwd.so" > loadmodule
"modules/sl/sl.so" > loadmodule "modules/mysql/mysql.so" >
loadmodule "modules/jabber/jabber.so" > loadmodule
"modules/registrar/registrar.so" > loadmodule
"modules/usrloc/usrloc.so" > loadmodule
"modules/pa/pa.so" > > # ----------------- setting module-specific
parameters --------------- > > # -- registrar params
-- > > modparam("registrar", "default_expires", 120) >
#modparam("registrar", "use_domain", 1) > > # -- usrloc params
-- > #modparam("usrloc", "use_domain", 1) > modparam("usrloc",
"db_mode", 0) > > # -- jabber params -- > >
modparam("jabber","db_url","mysql://[EMAIL PROTECTED]/sip_jab") >
modparam("jabber","jaddress","jabber.server.com") >
modparam("jabber","jport",5222) > modparam("jabber","workers",2) >
modparam("jabber","max_jobs",10) >
modparam("jabber","cache_time",200) >
modparam("jabber","delay_time",60) >
modparam("jabber","jdomain","jabber.server.com=*") >
modparam("jabber","aliases","4;aim.jabber.server.com;icq.jabber.server.com;msn.jabber.server.com=%;yahoo.jabber.server.com;") > > >
route{ > > #if ( !mf_process_maxfwd_header("10") ) >
#{ > # sl_send_reply("483","To Many Hops"); > # drop(); >
#}; > > if
(uri=~"[@:]sip\.server\.com([;:].*)*") > { > # for testing
purposes, simply okay all REGISTERs > if (method=="REGISTER") >
{ > if (t_newtran()) > { > save("location"); >
log("REGISTER received -> reply okay\n"); > }; >
if(search("egistration")) > { > log("XJAB: Going ONline in Jabber
network!!!\n"); > if(jab_go_online()) > { >
sl_send_reply("200", "Accepted"); > } > else > { >
sl_send_reply("404","Not found"); > }; > } > else >
{ > log("XJAB: Going OFFline in Jabber network!!!\n"); >
if(jab_go_offline()) > { > sl_send_reply("200",
"Accepted"); > } > else > { > sl_send_reply("404","Not
found"); > }; > }; > break; > }; > if
(method=="SUBSCRIBE") > { > if (t_newtran()) > { >
handle_subscription("registrar"); > }; > break; > }; >
if(!lookup("location")) > { > sl_send_reply("404","Not
found"); > break; > }; > }; >
> if
((search("To:[EMAIL PROTECTED]")) >
||
(search("To:[EMAIL PROTECTED]")) >
||
(search("To:[EMAIL PROTECTED]")) >
||
(search("To:[EMAIL PROTECTED]"))) >
{ > if (!
t_newtran()) > { >
sl_reply_error(); > break; > }; > if
(method=="MESSAGE") > { > log("MESSAGE
received -> manage it with XJAB\n"); >
if(search("\n:on")) > { > if
(jab_go_online()) > { >
sl_send_reply("200","Accepted"); >
}else{ > sl_send_reply("404","Not
found"); > }; > break; >
}; > if(search("\n:off")) > { > if
(jab_go_offline()) > { >
sl_send_reply("200","Accepted"); >
}else{ > sl_send_reply("404","Not
found"); > }; > break; >
}; > > if(search("\n:join")) >
{ > if (jab_join_jconf()) > { >
sl_send_reply("200","Accepted"); >
}else{ > sl_send_reply("404","Not
Found"); > }; > break; >
}; > > if(search("\n:exit")) > { >
if (jab_exit_jconf()) > { >
sl_send_reply("200","Accepted"); >
}else{ > sl_send_reply("404","Not
Found"); > }; > break; >
}; > > if (jab_send_message()) >
{ > sl_send_reply("200","Accepted"); >
}else{ > sl_send_reply("503","Service
Unavailable"); > }; > break; >
}; > if (method=="SUBSCRIBE") { >
handle_subscription("jabber"); > break; >
}; > log("NON_Message request received for
JABBER gateway->dropt!\n"); >
sl_send_reply("202","Accepted"); >
break; > }; > if (!t_relay()) >
{ > sl_reply_error(); > }; > >
#forward(uri:host,uri:port); > } >
------------------------------------------------------------------------ > >
_______________________________________________ > Users mailing
list > [email protected] >
http://openser.org/cgi-bin/mailman/listinfo/users >
__________ NOD32 1.1675 (20060723) Information __________
This
message was checked by NOD32 antivirus system. http://www.eset.com
|