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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Instructions on using manage-procs procServ and Conserver |
From: | "Smith, William via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Fri, 11 Jun 2021 17:38:54 +0000 |
Hi! I have been using procServ for a while to run my IOC’s in the background. There are now too many and I want to learn how to use manage-procs, part of procServUtils to create and start processes and configure the conserver.cf file to view
those processes from conserver. Here’s what I’ve done: -Installed procServ, and included the procServUtils in the build -Installed conserver -Set up an IOC that I have tested can start from the command line, or with procServer If I go to the directory containing the st.cmd file and type: manage-procs add -P 7010 -A -f sampleIOC1 ./st.cmd I expect the IOC to start and be accessible on telnet port 7010. Instead I get the following message which I don’t understand: Created symlink /home/emil/.config/systemd/user/multi-user.target.wants/procserv-sampleIOC1.service → /home/emil/.config/procServ.d/procserv-sampleIOC1.service. Created symlink /home/emil/.config/systemd/user/procserv-sampleIOC1.service → /home/emil/.config/procServ.d/procserv-sampleIOC1.service. Failed to start procserv-sampleIOC1.service: Unit procserv-sampleIOC1.service has a bad unit file setting. See user logs and 'systemctl --user status procserv-sampleIOC1.service' for details. If I look in that file, I get the following: cat /home/emil/.config/procServ.d/procserv-sampleIOC1.service [Unit] Description=procServ for sampleIOC1 After=network.target remote-fs.target ConditionPathIsDirectory=/home/emil/Apps/epics/R7.0.4.1/work/ioc/TEST/sampleIOC/iocBoot/iocsampleIOC [Service] Type=simple ExecStart=None --user sampleIOC1 RuntimeDirectory=procserv-sampleIOC1 StandardOutput=syslog StandardError=inherit SyslogIdentifier=procserv-sampleIOC1 [Install] WantedBy=multi-user.target If I look at the systemd process that failed to start I get: Jun 11 16:40:46 sissy-serv-02 systemd[29562]: /home/emil/.config/procServ.d/procserv-sampleIOC1.service:9: Executable "None" not found in path "/usr/local/sbin:/usr/local/bin:/usr/sbin:/us….. Any idea what I am doing wrong? Thanks, Will Helmholtz-Zentrum Berlin für Materialien und Energie GmbH Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V. Aufsichtsrat: Vorsitzender Dr. Volkmar Dietz, stv. Vorsitzende Dr. Jutta Koch-Unterseher Geschäftsführung: Prof. Dr. Jan Lüning (Sprecher), Prof. Dr. Bernd Rech, Thomas Frederking Sitz Berlin, AG Charlottenburg, 89 HRB 5583 Postadresse: Hahn-Meitner-Platz 1 14109 Berlin Deutschland |