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: starting IOC with systemd
From: "David A. Slimmer via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Cc: "David A. Slimmer" <slimmer at fnal.gov>
Date: Tue, 20 Jun 2023 13:56:53 +0000

I’m trying to setup a pi node so that it starts my IOC at boot time using systemd. I can start the IOC with the script I call in my .service file, but when the script is called from within the .service file I get a epicsMutex::invalidMutex error.

 

A picture containing graphical user interface

Description automatically generated

 

The .service file:

 

A screenshot of a computer

Description automatically generated with medium confidence

 

(I have to start the IOC with root because I’m using the GPIO library that accesses /dev/mem.)

 

Is there something I can configure differently that will allow me to use systemd, or is there just something incompatible in systemd with the way IOCs are built to run?

 

 

Thanks,

Dave

 

 


Replies:
Re: starting IOC with systemd Ralph Lange via Tech-talk

Navigate by Date:
Prev: Re: autosave Command xxx not found. Mark Rivers via Tech-talk
Next: Re: time delayed using express3 Matt Newville 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: time delayed using express3 Matt Newville via Tech-talk
Next: Re: starting IOC with systemd Ralph Lange 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, 20 Jun 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·