EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Weird CAS hangup on IOC
From: Ralph Lange via Core-talk <core-talk at aps.anl.gov>
To: EPICS Core Talk <core-talk at aps.anl.gov>
Date: Thu, 6 Feb 2020 13:44:24 +0100
Hej Torsten,

On Thu, 6 Feb 2020 at 13:35, Torsten Bögershausen <torsten.bogershausen at ess.eu> wrote:
     if ( listen ( IOC_sock, 20 ) < 0 ) {
         char sockErrBuf[64];
         epicsSocketConvertErrnoToString (
             sockErrBuf, sizeof ( sockErrBuf ) );
         errlogPrintf ( "CAS: Listen error: %s\n",
             sockErrBuf );
         epicsSocketDestroy (IOC_sock);
         epicsThreadSuspendSelf ();
     }

We should be able to print out errno,
to see what is going on and why listen fails.
(could be EAGAIN ??) We need to find out...

Well, we have the error string, right? "Address already in use" is not EAGAIN.

Also, the hanging IOC reports (casr 4) to be running on the 5064 port, which matches the missing "dynamically assigned TCP port" warning - sorry, I should have mentioned that in my original mail.

Cheers,
~Ralph


Replies:
Re: Weird CAS hangup on IOC Torsten Bögershausen via Core-talk
References:
Weird CAS hangup on IOC Ralph Lange via Core-talk
Re: Weird CAS hangup on IOC Torsten Bögershausen via Core-talk

Navigate by Date:
Prev: Re: Weird CAS hangup on IOC Torsten Bögershausen via Core-talk
Next: Re: My Jenkins builds fail checking out. Why? Andrew Johnson via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Weird CAS hangup on IOC Torsten Bögershausen via Core-talk
Next: Re: Weird CAS hangup on IOC Torsten Bögershausen via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 06 Feb 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·