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  <20112012  2013  2014  2015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: CA beacon routing error S_errno_ECONNREFUSED
From: "J. Lewis Muir" <jlmuir@anl.gov>
To: EPICS Tech Talk <tech-talk@aps.anl.gov>
Date: Thu, 19 May 2011 16:27:32 -0500
I'm getting CA beacon routing error messages on the consoles of
two IOCs and I'm hoping someone can help me figure out why.

The two IOCs are ioc1 (IP address: 192.168.0.133) and ioc2 (IP
address: 192.168.0.134).  They're on the same subnet and connect
to PVs provided by each other.

I'm getting messages like the following on ioc1:

===
../online_notify.c: CA beacon routing (connect to
"192.168.0.134:5065") error was "S_errno_ECONNREFUSED"
===

And I'm getting similar messages on ioc2:

===
../online_notify.c: CA beacon routing (connect to
"192.168.0.133:5065") error was "S_errno_ECONNREFUSED"
===

For a sample 24 hour period, ioc1 had 16 of these messages while
ioc2 had 2.  Attached are the console logs for this 24 hour
period for these two IOCs w/ hourly "marker" lines.

Ioc1 has the following environment configuration:

===
putenv "EPICS_CA_AUTO_ADDR_LIST=NO"
putenv "EPICS_CA_ADDR_LIST=192.168.0.2 192.168.0.134
192.168.0.135"
===

And ioc2 has the following environment configuration:

===
putenv "EPICS_CA_AUTO_ADDR_LIST=NO"
putenv "EPICS_CA_ADDR_LIST=192.168.0.2 192.168.0.133
192.168.0.135 192.168.0.135:55064"
===

I am able to successfully use a calc record on each IOC to
connect to a PV on the other and read its value.  The IOCs seem
to be working fine.

Here's the dbcar output for ioc1:

===
ioc1> dbcar(0,1)
CA links in all records

Total 707 CA links; 707 connected, 0 not connected.
    0 can't read, 10 can't write.  (40 disconnects, 0 writes
prohibited)

value = 0 = 0x0
===

And here's the dbcar output for ioc2:

===
ioc2> dbcar(0,1)
CA links in all records

Total 1251 CA links; 1251 connected, 0 not connected.
    0 can't read, 10 can't write.  (47 disconnects, 8 writes
prohibited)

value = 0 = 0x0
===

I'm a little surprised to see the number of disconnects for
each.  However, that might be normal (or not).  Ioc2 has some
records which connect to soft IOCs which may get started and
stopped a number of times which might cause the disconnect count
to increase.  (I'd have to test that to confirm.)  On the other
hand, ioc1 doesn't connect to other soft IOCs, so why is its
disconnect count so high?  Both connect to PVs provided by the
APS PV gateway for my sector.  (When I ran dbcar, both IOCs had
been up for much longer than the 24 hour time window of the
attached console logs.)

Hardware and software for ioc1:

* VME processor module: Motorola MVME-5100 (vxWorks-ppc604_long)
  - CPU: MPC 750
  - Memory: 512 MB
* OS: VxWorks 5.4.2
* Kernel: WIND 2.5
* BSP: mv5100-asd9 (by Andrew Johnson)
* Build toolchain: Tornado 2.0.2
* EPICS 3.14.11 (+ Known Problems patches)
* SynApps 5.5 (+ asyn 4-15, mca 6-12-2, motor 6-5-1, tpmac 3-7)

Hardware and software for ioc2:

* VME processor module: Motorola MVME-5100 (vxWorks-ppc604_long)
  - CPU: MPC 750
  - Memory: 512 MB
* OS: VxWorks 5.4.2
* Kernel: WIND 2.5
* BSP: mv5100-asd9 (by Andrew Johnson)
* Build toolchain: Tornado 2.0.2
* EPICS 3.14.11 (+ Known Problems patches)
* SynApps 5.5 (+ asyn 4-15, mca 6-12-2, motor 6-5-1, tpmac 3-7)

Thanks,

Lewis

-- 
J. Lewis Muir
Software Engineer
IMCA-CAT
[-- MARK -- Wed May 18 09:00:00 2011]
../online_notify.c: CA beacon routing (connect to "192.168.0.134:5065") error was "S_errno_ECONNREFUSED"
[-- MARK -- Wed May 18 10:00:00 2011]
[-- MARK -- Wed May 18 11:00:00 2011]
[-- MARK -- Wed May 18 12:00:00 2011]
../online_notify.c: CA beacon routing (connect to "192.168.0.134:5065") error was "S_errno_ECONNREFUSED"
[-- MARK -- Wed May 18 13:00:00 2011]
[-- MARK -- Wed May 18 14:00:00 2011]
[-- MARK -- Wed May 18 15:00:00 2011]
[-- MARK -- Wed May 18 16:00:00 2011]
[-- MARK -- Wed May 18 17:00:00 2011]
../online_notify.c: CA beacon routing (connect to "192.168.0.134:5065") error was "S_errno_ECONNREFUSED"
../online_notify.c: CA beacon routing (connect to "192.168.0.134:5065") error was "S_errno_ECONNREFUSED"
[-- MARK -- Wed May 18 18:00:00 2011]
../online_notify.c: CA beacon routing (connect to "192.168.0.134:5065") error was "S_errno_ECONNREFUSED"
[-- MARK -- Wed May 18 19:00:00 2011]
[-- MARK -- Wed May 18 20:00:00 2011]
[-- MARK -- Wed May 18 21:00:00 2011]
[-- MARK -- Wed May 18 22:00:00 2011]
../online_notify.c: CA beacon routing (connect to "192.168.0.134:5065") error was "S_errno_ECONNREFUSED"
../online_notify.c: CA beacon routing (connect to "192.168.0.134:5065") error was "S_errno_ECONNREFUSED"
[-- MARK -- Wed May 18 23:00:00 2011]
../online_notify.c: CA beacon routing (connect to "192.168.0.134:5065") error was "S_errno_ECONNREFUSED"
../online_notify.c: CA beacon routing (connect to "192.168.0.134:5065") error was "S_errno_ECONNREFUSED"
[-- MARK -- Thu May 19 00:00:00 2011]
../online_notify.c: CA beacon routing (connect to "192.168.0.134:5065") error was "S_errno_ECONNREFUSED"
../online_notify.c: CA beacon routing (connect to "192.168.0.134:5065") error was "S_errno_ECONNREFUSED"
[-- MARK -- Thu May 19 01:00:00 2011]
[-- MARK -- Thu May 19 02:00:00 2011]
../online_notify.c: CA beacon routing (connect to "192.168.0.134:5065") error was "S_errno_ECONNREFUSED"
[-- MARK -- Thu May 19 03:00:00 2011]
../online_notify.c: CA beacon routing (connect to "192.168.0.134:5065") error was "S_errno_ECONNREFUSED"
[-- MARK -- Thu May 19 04:00:00 2011]
[-- MARK -- Thu May 19 05:00:00 2011]
[-- MARK -- Thu May 19 06:00:00 2011]
[-- MARK -- Thu May 19 07:00:00 2011]
[-- MARK -- Thu May 19 08:00:00 2011]
../online_notify.c: CA beacon routing (connect to "192.168.0.134:5065") error was "S_errno_ECONNREFUSED"
../online_notify.c: CA beacon routing (connect to "192.168.0.134:5065") error was "S_errno_ECONNREFUSED"
../online_notify.c: CA beacon routing (connect to "192.168.0.134:5065") error was "S_errno_ECONNREFUSED"
[-- MARK -- Thu May 19 09:00:00 2011]
[-- MARK -- Wed May 18 09:00:00 2011]
[-- MARK -- Wed May 18 10:00:00 2011]
[-- MARK -- Wed May 18 11:00:00 2011]
[-- MARK -- Wed May 18 12:00:00 2011]
[-- MARK -- Wed May 18 13:00:00 2011]
[-- MARK -- Wed May 18 14:00:00 2011]
[-- MARK -- Wed May 18 15:00:00 2011]
[-- MARK -- Wed May 18 16:00:00 2011]
[-- MARK -- Wed May 18 17:00:00 2011]
../online_notify.c: CA beacon routing (connect to "192.168.0.133:5065") error was "S_errno_ECONNREFUSED"
[-- MARK -- Wed May 18 18:00:00 2011]
[-- MARK -- Wed May 18 19:00:00 2011]
[-- MARK -- Wed May 18 20:00:00 2011]
[-- MARK -- Wed May 18 21:00:00 2011]
[-- MARK -- Wed May 18 22:00:00 2011]
../online_notify.c: CA beacon routing (connect to "192.168.0.133:5065") error was "S_errno_ECONNREFUSED"
[-- MARK -- Wed May 18 23:00:00 2011]
[-- MARK -- Thu May 19 00:00:00 2011]
[-- MARK -- Thu May 19 01:00:00 2011]
[-- MARK -- Thu May 19 02:00:00 2011]
[-- MARK -- Thu May 19 03:00:00 2011]
[-- MARK -- Thu May 19 04:00:00 2011]
[-- MARK -- Thu May 19 05:00:00 2011]
[-- MARK -- Thu May 19 06:00:00 2011]
[-- MARK -- Thu May 19 07:00:00 2011]
[-- MARK -- Thu May 19 08:00:00 2011]
[-- MARK -- Thu May 19 09:00:00 2011]

Replies:
RE: CA beacon routing error S_errno_ECONNREFUSED Jeff Hill

Navigate by Date:
Prev: Re: caGateway crashes / use of *MustSucceed functions Dirk Zimoch
Next: trouble with 64-bit Window7 Matt Newville
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: RE: problem with gateway and softIoc running on same server Kevin Tsubota
Next: RE: CA beacon routing error S_errno_ECONNREFUSED Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·