<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.5346.5" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Tahoma color=#0000ff size=2>I don't have a log file, how to make
one?</FONT></DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2>I only have the "TRACE" of the
program.</FONT></DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2>the config file is in the back of
this mail</FONT></DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2>can you help me?</FONT></DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2></FONT> </DIV>
<DIV><FONT color=#0000ff><FONT face=Tahoma color=#0000ff
size=2></FONT></FONT> </DIV>
<DIV><FONT color=#0000ff><FONT color=#000000>./openser -f jabber2.cfg -E
-dddddddddddddd<BR> 0(18400) read 1416823972 from
/dev/urandom<BR> 0(18400) seeding PRNG with 2570866263<BR> 0(18400)
test random number 144688908<BR> 0(18400) WARNING: fix_socket_list: could
not rev. resolve 192.168.0.4<BR> 0(18400) WARNING: fix_socket_list: could
not rev. resolve 192.168.0.4<BR>Listening
on<BR>
udp: 127.0.0.1
[127.0.0.1]:5060<BR>
udp: 192.168.0.4
[192.168.0.4]:5060<BR>
tcp: 127.0.0.1
[127.0.0.1]:5060<BR>
tcp: 192.168.0.4
[192.168.0.4]:5060<BR>Aliases:<BR>
tcp:
localhost:5060<BR>
udp:
localhost:5060<BR>
*: 192.168.0.4:*<BR><BR></FONT><FONT color=#000000>textops -
initializing<BR> 0(0) Maxfwd module- initializing<BR>stateless -
initializing<BR><BR></FONT><A
href="">root@Histerica:~/Javier/openser-1.0.1-tls</A><FONT
color=#000000>#<BR></FONT><A
href="">root@Histerica:~/Javier/openser-1.0.1-tls</A><FONT
color=#000000>#<BR></FONT><A
href="">root@Histerica:~/Javier/openser-1.0.1-tls</A><FONT color=#000000># ps
-e<BR> PID TTY TIME
CMD<BR> 1 ? 00:00:04
init<BR> 2 ?
00:00:00 keventd<BR> 3
? 00:00:00
ksoftirqd_CPU0<BR> 4
? 00:00:00
kswapd<BR> 5 ?
00:00:00 bdflush<BR> 6
? 00:00:00 kupdated<BR> 10
? 00:00:00 mdrecoveryd<BR>
11 ? 00:00:00
kreiserfsd<BR> 35 ?
00:00:00 kapmd<BR> 62 ?
00:00:00 syslogd<BR> 65 ?
00:00:00 klogd<BR> 175 ?
00:00:00 udevd<BR> 395 ?
00:00:00 khubd<BR> 3365 ?
00:00:00 atd<BR> 3368 ? 00:00:00
apmd<BR> 3378 ? 00:00:00
gpm<BR> 3402 ? 00:00:00
mysqld_safe<BR> 3435 ? 00:00:00
mysqld<BR> 3436 ? 00:00:00
mysqld<BR> 3437 ? 00:00:00
mysqld<BR> 3438 ? 00:00:00
mysqld<BR> 3439 ? 00:00:00
mysqld<BR> 3440 ? 00:00:00
mysqld<BR> 3442 ? 00:00:00
mysqld<BR> 3443 ? 00:00:00
mysqld<BR> 3444 ? 00:00:00
mysqld<BR> 3445 ? 00:00:00
mysqld<BR> 3460 tty1 00:00:00 startx<BR> 3472
tty1 00:00:00 xinit<BR> 3473
? 00:38:18 X<BR> 3476
tty1 00:00:00 sh<BR> 3477
tty1 00:00:00 startkde<BR> 3505
? 00:00:00 kdeinit<BR> 3508
? 00:00:03 kdeinit<BR> 3510
? 00:00:00 kdeinit<BR> 3512
? 00:00:06 kdeinit<BR> 7522
pts/3 00:00:00 bash<BR>18413 pts/4 00:00:00
ps</FONT></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=samu60@gmail.com href="mailto:samu60@gmail.com">samuel</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=jvr_78@yahoo.com.ar
href="mailto:jvr_78@yahoo.com.ar">Javier Ramirez</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=daniel@voice-system.ro
href="mailto:daniel@voice-system.ro">daniel@voice-system.ro</A> ; <A
title=users@openser.org href="mailto:users@openser.org">users</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, July 26, 2006 4:55
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Users] jabber</DIV>
<DIV><BR></DIV>This is not an error, it looks like everything is OK. Do not
care about the WARNING:... :rev. resolve. Are you sure openser is not
running??? If not, please post the RELEVANT part of the log and the respective
config part. <BR><BR>Samuel.<BR>
<DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #cccccc 1px solid">
<DIV>
<DIV><SPAN class=e id=q_10ca73d33a562cff_3><FONT face=Tahoma color=#0000ff
size=2></FONT><BR>> *this is my configuration file:*<BR>><BR>>
#<BR>> # configuration for Jabber module testing<BR>> # (sample config
file using the module with presence support) <BR>> #<BR>> # $ID:
daniel $<BR>> #<BR>><BR>>
debug=2 # debug level
(cmd line: -dddddddddd)<BR>>
fork=yes # (cmd. line:
-D)<BR>> log_stderror=yes # (cmd line: -E)<BR>><BR>>
children=2<BR>> check_via=no # (cmd. line:
-v)<BR>>
dns=off # (cmd.
line: -r)<BR>> rev_dns=off # (cmd.
line: -R)<BR>> port=5060<BR>> alias="<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://192.168.0.4" target=_blank> 192.168.0.4</A>"<BR>><BR>> #
------------------ module loading
----------------------------------<BR>><BR>> #modules<BR>>
loadmodule "modules/print/print.so"<BR>> loadmodule
"modules/textops/textops.so" <BR>> loadmodule "modules/tm/tm.so"<BR>>
loadmodule "modules/maxfwd/maxfwd.so"<BR>> loadmodule
"modules/sl/sl.so"<BR>> loadmodule "modules/mysql/mysql.so"<BR>>
loadmodule "modules/jabber/jabber.so" <BR>> loadmodule
"modules/registrar/registrar.so"<BR>> loadmodule
"modules/usrloc/usrloc.so"<BR>> loadmodule
"modules/pa/pa.so"<BR>><BR>> # ----------------- setting
module-specific parameters --------------- <BR>><BR>> # -- registrar
params --<BR>><BR>> modparam("registrar", "default_expires",
120)<BR>> #modparam("registrar", "use_domain", 1)<BR>><BR>> # --
usrloc params -- <BR>> #modparam("usrloc", "use_domain", 1)<BR>>
modparam("usrloc", "db_mode", 0)<BR>><BR>> # -- jabber params
--<BR>><BR>> modparam("jabber","db_url","
mysql://root@127.0.0.1/sip_jab")<BR>> modparam("jabber","jaddress","<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://jabber.server.com" target=_blank>jabber.server.com
</A>")<BR>> modparam("jabber","jport",5222)<BR>>
modparam("jabber","workers",2)<BR>>
modparam("jabber","max_jobs",10)<BR>> modparam("jabber","cache_time",200)
<BR>> modparam("jabber","delay_time",60)<BR>>
modparam("jabber","jdomain","jabber.server.com=*")<BR>>
modparam("jabber","aliases","4;aim.jabber.server.com;icq.jabber.server.com;msn.jabber.server.com=%;yahoo.jabber.server.com;")
<BR>><BR>><BR>> route{<BR>><BR>> #if (
!mf_process_maxfwd_header("10") )<BR>> #{<BR>> #
sl_send_reply("483","To Many Hops");<BR>> # drop();<BR>>
#};<BR>> <BR>> if
(uri=~"[@:]sip\.server\.com([;:].*)*")<BR>> {<BR>> # for testing
purposes, simply okay all REGISTERs<BR>> if (method=="REGISTER")<BR>>
{<BR>> if (t_newtran())<BR>> { <BR>> save("location");<BR>>
log("REGISTER received -> reply okay\n");<BR>> };<BR>>
if(search("egistration"))<BR>> {<BR>> log("XJAB: Going ONline in
Jabber network!!!\n"); <BR>> if(jab_go_online())<BR>> {<BR>>
sl_send_reply("200", "Accepted");<BR>> }<BR>> else<BR>> {<BR>>
sl_send_reply("404","Not found");<BR>> };<BR>> } <BR>> else<BR>>
{<BR>> log("XJAB: Going OFFline in Jabber network!!!\n");<BR>>
if(jab_go_offline())<BR>> {<BR>> sl_send_reply("200",
"Accepted");<BR>> }<BR>> else <BR>> {<BR>>
sl_send_reply("404","Not found");<BR>> };<BR>> };<BR>>
break;<BR>> };<BR>> if (method=="SUBSCRIBE")<BR>> {<BR>> if
(t_newtran())<BR>> {<BR>> handle_subscription("registrar"); <BR>>
};<BR>> break;<BR>> };<BR>> if(!lookup("location"))<BR>>
{<BR>> sl_send_reply("404","Not found");<BR>> break;<BR>>
};<BR>> };<BR>> <BR>> if ((search("
To:.*@icq\.jabber\.server\.com"))<BR>>
||
(search("To:.*@jabber\.server\.com"))<BR>>
||
(search("To:.*@msn\.jabber\.server\.com"))<BR>>
|| (search("
To:.*@yahoo\.jabber\.server\.com")))<BR>>
{<BR>> if (!
t_newtran())<BR>> {<BR>>
sl_reply_error();<BR>> break;<BR>> };<BR>>
if (method=="MESSAGE")<BR>> {<BR>>
log("MESSAGE received -> manage it with
XJAB\n");<BR>> if(search("\n:on"))<BR>>
{<BR>> if (jab_go_online())<BR>> {<BR>>
sl_send_reply("200","Accepted"); <BR>>
}else{<BR>> sl_send_reply("404","Not
found");<BR>> };<BR>> break;<BR>>
};<BR>> if(search("\n:off"))<BR>> {<BR>> if
(jab_go_offline())<BR>> {<BR>>
sl_send_reply("200","Accepted");<BR>>
}else{<BR>> sl_send_reply("404","Not
found");<BR>> };<BR>> break;<BR>>
};<BR>><BR>> if(search("\n:join")) <BR>>
{<BR>> if (jab_join_jconf())<BR>> {<BR>>
sl_send_reply("200","Accepted");<BR>>
}else{<BR>> sl_send_reply("404","Not
Found");<BR>> }; <BR>> break;<BR>>
};<BR>> <BR>> if(search("\n:exit"))<BR>>
{<BR>> if (jab_exit_jconf())<BR>> {<BR>>
sl_send_reply("200","Accepted");<BR>> }else{
<BR>> sl_send_reply("404","Not Found");<BR>>
};<BR>> break;<BR>> };<BR>><BR>> if
(jab_send_message())<BR>> {<BR>>
sl_send_reply("200","Accepted"); <BR>>
}else{<BR>> sl_send_reply("503","Service
Unavailable");<BR>> };<BR>> break;<BR>>
};<BR>> if (method=="SUBSCRIBE") {<BR>> handle_subscription("jabber");
<BR>> break;<BR>> };<BR>> log("NON_Message
request received for JABBER
gateway->dropt!\n");<BR>>
sl_send_reply("202","Accepted");<BR>>
break;<BR>> }; <BR>> if (!t_relay())<BR>>
{<BR>> sl_reply_error();<BR>>
};<BR>><BR>>
#forward(uri:host,uri:port);<BR>> }<BR>>
</SPAN></DIV></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE></BODY></HTML>