g+
g+ Communities
Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014 
<== Date ==> <== Thread ==>

Subject: R4.14.8 timestamp assert. Re: ArchiveViewer
From: Kay-Uwe Kasemir <kasemirk@ornl.gov>
To: tech talk <tech-talk@aps.anl.gov>
Date: Fri, 28 Apr 2006 09:44:57 -0400
On Apr 28, 2006, at 09:25 , mattei wrote:
>  telnet mywebserverhost 80
>  GET /archive/cgi/ArchiveDataServer.cgi HTTP/1.0<RETURN>
>  <RETURN>

HTTP/1.1 405 Method Not Allowed
...
<p>XML-RPC Fault #-500: Expected HTTP method POST</p>

OK, this is good: Your web server is running, it's launching the CGI program for the archive data server, which is then providing an error message because the simple telnet test doesn't follow proper XML-RPC conventions.

/tmp/archserver.log:
04/28/2006 15:15:47 ---- ArchiveServer Started ----
04/28/2006 15:15:47 archiver.get_values
04/28/2006 15:15:47 how=3, count=787
04/28/2006 15:15:47 get_channel_data

Looks good so far. Is that in response to a request from the java viewer?
Does it stop there?


-> Then you're probably using an older java viewer and older data server
with 3.14.8.
As indicated in tech-talk messages
  http://www.aps.anl.gov/epics/tech-talk/2006/msg00317.php
and
  http://www.aps.anl.gov/epics/tech-talk/2006/msg00353.php
the older java viewer tends to send garbage time stamps
(with non-normalized nanoseconds).
The data sever then runs into an 'assert' in R3.14.8 and quits.
Unfortunately you don't see that 'assert' message,
except maybe in some apache CGI debug mode.

If you download the latest archiver code from the web page,
the log file should look like this:

04/21/2006 08:44:39 ---- ArchiveServer 2.8.1 Started ----
04/21/2006 08:44:39 archiver.get_values
04/21/2006 08:44:39 how=3, count=1243
04/21/2006 08:44:39 Received excessive nano-seconds 2147483647, forcing to 0
...


-> The nanoseconds are forced to 0 and we no longer crash.

If you use the patched java viewer from the web page,
it'll even send non-garbage time stamps.

Thanks,
-Kay


References:
ArchiveViewer mattei
Re: ArchiveViewer Kay-Uwe Kasemir
Re: ArchiveViewer mattei

Navigate by Date:
Prev: Re: ArchiveViewer mattei
Next: SNS Beam onTarget Gurd, David P.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014 
Navigate by Thread:
Prev: Re: ArchiveViewer mattei
Next: SNS Beam onTarget Gurd, David P.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·