1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 <2020> 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 <2020> 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Archiver Appliance PVs never connect to be archived, always "Initial Sampling" |
From: | "Manoussakis, Adamandios via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "Wang, Lin" <wanglin at ihep.ac.cn> |
Cc: | tech-talk <tech-talk at aps.anl.gov> |
Date: | Thu, 29 Oct 2020 01:00:49 +0000 |
IT WORKS! Just need to track down which change made it work now haha. But it has something to do with either changing the AUTO_ADDR back to NO or adding the env variables to the archappl.conf file. Will update once I figure out which one it is. But thank
you both for helping me debug it was extremely helpful!
From: Manoussakis, Adamandios <manoussakis1 at llnl.gov>
Sent: Wednesday, October 28, 2020 5:53 PM To: Wang, Lin <wanglin at ihep.ac.cn> Cc: tech-talk <tech-talk at aps.anl.gov> Subject: Re: Archiver Appliance PVs never connect to be archived, always "Initial Sampling"
Hi Lin,
currently I have in my ~/.profile
export EPICS_CA_AUTO_ADDR_LIST=YES
export EPICS_CA_ADDR_LIST=localhost
do I need to have these located in the archappl.conf instead of being exported through profile, seems like the scripts do the same thing at the end of the day just export the env variables?
Thanks
From: Wang, Lin <wanglin at ihep.ac.cn>
Sent: Wednesday, October 28, 2020 5:41 PM To: Manoussakis, Adamandios <manoussakis1 at llnl.gov> Cc: tech-talk <tech-talk at aps.anl.gov> Subject: Re: Archiver Appliance PVs never connect to be archived, always "Initial Sampling" Hello, You may also want to make sure the EPICS-related environment variable (EPICS_CA_AUTO_ADDR_LIST and EPICS_CA_ADDR_LIST) loaded by Archiver Appliance is correct, probably in your case "localhost" should be in the EPICS_CA_ADDR_LIST address list.
For example, in the Archiver Appliance single machine installation sample, the following line locates in sampleStartup.sh file, and setEPICSEnv.sh file sets the two environment variables above. In your case this line can be in the conf file, source /opt/local/setEPICSEnv.sh
Regards, Lin -----Original Messages----- |