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: EPICS startup script st.cmd on vxWorks warning message |
From: | Andrew Johnson via Tech-talk <tech-talk at aps.anl.gov> |
To: | whitetiger1123 <holyeongbaeg at gmail.com>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Wed, 23 Nov 2022 11:28:45 -0600 |
Hi, On 11/23/22 2:40 AM, whitetiger1123 via
Tech-talk wrote:
Snipped ...
The IOC appears to have started normally so it should work. The only issue will be that it wasn't able to set its time-of-day clock, so the timestamps that accompany any data over Channel Access will be dated from January 1990. Unless you explicitly configure it the VxWorks clock code in EPICS will try to synchronize the OS clock time with an NTP server running on the boot host. If your boot host doesn't run an NTP server such as ntpd or chrony (or the server isn't configured to make the time available over the network) you can give the IOC the IP address for another NTP server like this, replacing xx with the appropriate number for that server: That line should be added near the top of your st.cmd script, preferably before the line that loads the oms.munch file. Alternatively you could install an NTP server on your boot host and make sure that it can be access through any firewall that is running there, then you won't need the line above.putenv "EPICS_TS_NTP_INET=10.4.49.xx" There are a few commands that you can run to look at the state of the EPICS time synchronization system: generalTimeReport(1) will list the time providers that have been registered with it and what their current state is. NTPTime_Report(1) will give more information about the NTP time synchronization task, and ClockTime_Report(1) tells you about the task that synchronizes the OS clock — both of those should also appear in the generalTimeReport output but with different information. You can omit the (1) parameters to those commands which will then show less detail. HTH, - Andrew -- Complexity comes for free, Simplicity you have to work for. |