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  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: Alarms.services in Phoebus Alarms
From: 刘晓敏 via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 16 Nov 2023 15:23:03 +0800 (GMT+08:00)

Hi,

I'm having a problem with alarm-servers. I've attached the error. Phoebus shows normal when I execute the ./alarm-server.sh directly in the terminal, but it shows ‘No Alarm Server Connection’ when I use the alarms.service file for autostart. At the same time, I find it strange that the alarm config file can be imported successfully. It seems that the alarm-server can connect to Phoebus, but PV cannot. The PV data is incorrect, and what is the reason for this?

The alarms.server file is as follows:

[Unit]  

After=network.target kafka.target

Requires=zookeeper.service

Requires=kafka.service

[Service]

User=sysadmin

Type=simple

ExecStart=/opt/alarm/phoebus/services/alarm-server/alarm-service.sh -settings /opt/alarm/phoebus/services/alarm-server/settings.ini

WorkingDirectory=/opt/alarm/phoebus/services/alarm-server/

RemainAfterExit=true

[Install]

WantedBy=multi-user.target 


Thanks,

xiaomin

Attachment: 2.png
Description: PNG image


Replies:
RE: Alarms.services in Phoebus Alarms SAINTIN Katy via Tech-talk

Navigate by Date:
Prev: RE: EPICS Archiver Appliance and Channel Filters Quemuel, Jonathan Kelii Kenji via Tech-talk
Next: Re: StreamDevice (streamCore::readCallback called unexpectedly) Zimoch Dirk via Tech-talk
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  <20232024 
Navigate by Thread:
Prev: RE: RE: EPICS Archiver Appliance and Channel Filters Quemuel, Jonathan Kelii Kenji via Tech-talk
Next: RE: Alarms.services in Phoebus Alarms SAINTIN Katy via Tech-talk
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  <20232024 
ANJ, 30 Nov 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·