<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.12.1">
</HEAD>
<BODY>
On Thu, 2007-02-08 at 01:16 +0100, Yoshinori Okuji wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">On Wednesday 07 February 2007 18:34, Sadegh Ismael Nattaj wrote:</FONT>
<FONT COLOR="#000000">> The problem solved! as YO said I was faced to problem because of</FONT>
<FONT COLOR="#000000">> TimeService bad configuration which I made.</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> It seems that "timerserver" works by getting IP address of hostname. In</FONT>
<FONT COLOR="#000000">> my special case my Zope instance is running (LISTEN) on another</FONT>
<FONT COLOR="#000000">> interface that its IP is different from hostname IP.</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> So, simply I changed "site-packages/timerserver/TimerServer.py" :</FONT>
<FONT COLOR="#000000">> #ip = socket.gethostbyname(socket.gethostname())</FONT>
<FONT COLOR="#000000">> ip = '172.27.5.202'</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> I know that it's not the final solution, but anyway ERP5 is working</FONT>
<FONT COLOR="#000000">> nice!</FONT>
<FONT COLOR="#000000">I would like to say that this is a bug in TimerService. TimerService should </FONT>
<FONT COLOR="#000000">obtain an IP address from the config, and when not set, fall back to </FONT>
<FONT COLOR="#000000">127.0.0.1. Can anybody make a patch for this?</FONT>
<FONT COLOR="#000000">YO</FONT>
</PRE>
</BLOCKQUOTE>
Hi,<BR>
<BR>
This is first time involving in Python coding, so maybe it will not be the correct patch.<BR>
<BR>
Hope to help<BR>
--sin
</BODY>
</HTML>