<!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">&gt; The problem solved! as YO said I was faced to problem because of</FONT>
<FONT COLOR="#000000">&gt; TimeService bad configuration which I made.</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt; It seems that &quot;timerserver&quot; works by getting IP address of hostname. In</FONT>
<FONT COLOR="#000000">&gt; my special case my Zope instance is running (LISTEN) on another</FONT>
<FONT COLOR="#000000">&gt; interface that its IP is different from hostname IP.</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt; So, simply I changed &quot;site-packages/timerserver/TimerServer.py&quot; :</FONT>
<FONT COLOR="#000000">&gt;         #ip = socket.gethostbyname(socket.gethostname())</FONT>
<FONT COLOR="#000000">&gt;         ip = '172.27.5.202'</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt; I know that it's not the final solution, but anyway ERP5 is working</FONT>
<FONT COLOR="#000000">&gt; 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>