EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: copying archived data from 32-bit to 64-bit machine
From: Pierrick Hanlet <[email protected]>
To: James F Ross <[email protected]>
Cc: Tech Talk <[email protected]>
Date: Sat, 26 Jan 2013 12:15:20 -0600
Hi James,
Thanks for your response.  I'm using the old archiver and what I would like to do
is to use my new machine to serve the copied/archived data, so it does appear
that we have/had a similar problem.  I don't, at the moment, need the archive
engine.  I did successfully build the installation on the 64-bit machine.

If I'm not mistaken, ArchiveExport does not require the data server to be running,
but it does require that the index files be correct. If that is true, then I'm not even
at the point of concern for the server, but would like to rebuild the indices.  I've
tried update_indices.pl, but get errors with the archiveconfig.pm file
(not a HASH reference ...).  Am I correct in deducing that I need to recreate my
index files?  If so, any guidance on doing so would be welcome; I must be missing
something when I read the manual.
Thanks,
Pierrick


On 01/25/2013 06:35 PM, James F Ross wrote:
Is this the old channel archiver or the CSS based RDB archiver? 

I did the same thing with the channel archiver and it took a while to resolve.  The heart of the trouble is that the cgi data server (ArchiveDataServer.cgi for the channel archiver) was unable to run due to a number of issues.  The archive viewer couldn't see the data because ArchiveDataServer.cgi couldn't start.  The final solution for me was to recompile the archiver from scratch on the 64 bit machine and use the xml index files and data from the 32 bit machine.  I had to have a lot of help doing this, so I won't be very helpful on how to do that I'm afraid.  However, my goal was to get the archiver running as well as being able to see the data.  Perhaps as long as you can get the archive data server working you don't need to do this.  I would suggest transferring ArchiveDataServer.cgi from the old machine to the new machine with all of its libraries (the 32 bit ones) as a starting point. 

The channel archiver manual may help.  It has a section on testing this server.  It is woefully out of date and quite terse, but it can at least show you where to place the cgi server and how to test it:  http://www.slac.stanford.edu/grp/lcls/controls/global/sw/epics/extensions/ChannelArchiver/manual.pdf.

If you are using the RDB archiver, I'm afraid I can't help.

Hope that at least gives you a starting place!
James Ross


On Fri, Jan 25, 2013 at 5:19 PM, Pierrick Hanlet <[email protected]> wrote:
Hi,
I copied some archived data from a 32-bit machine to a 64-bit machine.  I'm not able
to read the data.  If I do an ArchiveExport I see only a very small number of entries.
I'm guessing that I need to regenerate the indices, but I've not been successful in doing
so; perhaps I'm not understanding the manual.

Please help.  I've wasted an inordinate amount of time.
Thanks,
Pierrick

--
"Whether you think you can or think you can't, either way, you are correct" -- Henry Ford
_______________________________________________________________
Pierrick Hanlet
IIT/Fermilab
+1-630-840-5555 (FNAL)
+1-312-567-5745 (IIT)
+1-630-697-8758/+44-79-48-860-197 (US/UK mobile)


--
"Whether you think you can or think you can't, either way, you are correct" -- Henry Ford
_______________________________________________________________
Pierrick Hanlet
IIT/Fermilab
+1-630-840-5555 (FNAL)
+1-312-567-5745 (IIT)
+1-630-697-8758/+44-79-48-860-197 (US/UK mobile)

Replies:
Re: copying archived data from 32-bit to 64-bit machine James F Ross
RE: copying archived data from 32-bit to 64-bit machine Kasemir, Kay
References:
copying archived data from 32-bit to 64-bit machine Pierrick Hanlet
Re: copying archived data from 32-bit to 64-bit machine James F Ross

Navigate by Date:
Prev: Re: BOY number representation & display scaling Paul Sichta
Next: Re: copying archived data from 32-bit to 64-bit machine James F Ross
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: copying archived data from 32-bit to 64-bit machine James F Ross
Next: Re: copying archived data from 32-bit to 64-bit machine James F Ross
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·