EPICS Home

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  2023  <20242025  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  <20242025 
<== Date ==> <== Thread ==>

Subject: Re: Procserv execute error
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: 백호령 <holyeongbaeg at gmail.com>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 1 Nov 2024 12:26:26 +0000
I suggest putting the complete path to CXIKSS_st.cmd in the procServ command.

Mark

Sent from my iPhone

> On Nov 1, 2024, at 2:00 AM, 백호령 via Tech-talk <tech-talk at aps.anl.gov> wrote:
> 
> 
> Hi, i'd like to take your advice about procserv error.
> I was use very well procserv before, but I don't know why I couldn't use it now. 
> I did install again epics and synapps. Is this the reason why I couldn't use procserv?
> 
> the error message is :
> (3_8) [root@psc02 CXIKSS]# procServ -L CXIKSS.log 20000 CXIKSS_st.cmd
> 
> procServ: spawning daemon process: 4165
> 
> (3_8) [root@psc02 CXIKSS]# telnet localhost 20000
> 
> Trying ::1...
> 
> telnet: connect to address ::1: Connection refused
> 
> Trying 127.0.0.1...
> 
> Connected to localhost.
> 
> Escape character is '^]'.
> 
> @@@ Welcome to procServ (procServ Process Server 2.8.0)
> 
> @@@ Use ^X to kill the child, auto restart mode is ON, use ^T to toggle auto restart
> 
> @@@ procServ server PID: 4165
> 
> @@@ Server startup directory: /usr/local/epics/synApps_6_1/support/motor-R7-1/modules/motorOmsAsyn/iocs/omsAsynIOC/iocBoot/iocOmsAsyn/CXIKSS
> 
> @@@ Child startup directory: /usr/local/epics/synApps_6_1/support/motor-R7-1/modules/motorOmsAsyn/iocs/omsAsynIOC/iocBoot/iocOmsAsyn/CXIKSS
> 
> @@@ Child started as: CXIKSS_st.cmd
> 
> @@@ Child log file: CXIKSS.log
> 
> @@@ Child "CXIKSS_st.cmd" is SHUT DOWN
> 
> @@@ procServ server started at: Fri Nov 1 15:26:44 2024
> 
> @@@ 0 user(s) and 0 logger(s) connected (plus you)
> 
> @@@ ^R or ^X restarts the child, ^Q quits the server
> 
> @@@ Restarting child "CXIKSS_st.cmd"
> 
> @@@ The PID of new child "CXIKSS_st.cmd" is: 4168
> 
> @@@ @@@ @@@ @@@ @@@
> 
> procServ: child could not execute: CXIKSS_st.cmd, No such file or directory
> 
>  
> 
> @@@ @@@ @@@ @@@ @@@
> 
> @@@ Received a sigChild for process 4168. Normal exit status = 255
> 
> @@@ Current time: Fri Nov 1 15:26:59 2024
> 
> @@@ Child process is shutting down, a new one will be restarted shortly
> 
> @@@ ^R or ^X restarts the child, ^Q quits the server
> 
>  
> 
> telnet> quit
> 
> 
> =====================
> But I have a st.cmd file in my directory, and it worked very well when I use st.cmd file like this > ./CXIKSS_st.cmd
> 
> Can you guys please help me about this?
> Sincerely,
> Baeg

Replies:
Re: Procserv execute error Hu, Yong via Tech-talk
References:
Procserv execute error 백호령 via Tech-talk

Navigate by Date:
Prev: RE: Archiver Appliance missing aplliance.properties file Sky Brewer via Tech-talk
Next: Re: asyn port locking while motorIMS controller limit-switch configuration is read Sebastian Eckert 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  2023  <20242025 
Navigate by Thread:
Prev: Re: Procserv execute error Ralph Lange via Tech-talk
Next: Re: Procserv execute error Hu, Yong 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  2023  <20242025