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  <20162017  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  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Question about softioc "Connection refused" problem
From: "Hu, Yong" <[email protected]>
To: lzfneu <[email protected]>, "[email protected]" <[email protected]>
Date: Wed, 16 Mar 2016 14:48:24 +0000
Hi Zhefu,

You may try two things:

1. As you already did, disable the firewall by "# systemctl disable firewalld.service". But DO NOT reboot your computer. Just restart your example ioc;

2. If you still see "../online_notify.c: CA beacon ...", try to change "EPICS_CA_ADDR_LIST" from "localhost" to "broadcast-IP" of your computer (ifconfig should tell what it is), i.e. export EPICS_CA_ADDR_LIST=broadcast-IP. After restart your ioc, type "epicsParamShow" to verify the EPICS settings, especially EPICS_CA_ADDR_LIST.

I can reproduce your problem and see the message "../online_notify.c: CA beacon (send to "127.0.0.1:...". And I am able to get rid of the message by changing "EPICS_CA_ADDR_LIST" from "localhost" to "broadcast-IP".

Yong

From: <[email protected]> on behalf of lzfneu <[email protected]>
Date: Wednesday, March 16, 2016 at 1:17 AM
To: "[email protected]" <[email protected]>
Subject: FW: Question about softioc "Connection refused" problem

Dear Mark and all,

My system is fedora20-64bit. 

I have disabled the firewall by using the commands and reboot.
# systemctl disable firewalld.service

Two conditions were happen:
1) Sometimes the error message is not shown, and the Probe program can receive the data continueously, but the web browser cannot connect the internet.

2) and sometimes the "Connection refused" error message is shown again after reboot, the web browser can connect the internet again. in this condition, I use the following commands to check the ports:

# netstat -anp | grep 5064 
# netstat -anp | grep 5065 

# fuser -v -n tcp 5065
# fuser -v -n udp 5065

# fuser -v -n udp 5064
# fuser -v -n udp 5064

but not any program block the ports 5064 and 5065 for both UDP and TCP were found !  
Please give me some suggestions, Thanks in advance!

best regards

Zhefu Lee


> From: [email protected]
> To: [email protected]; [email protected]
> Subject: RE: Question about softioc "Connection refused" problem
> Date: Wed, 16 Mar 2016 03:50:10 +0000
>
> Is there are firewall running on the system? You need to have ports 5064 and 5065 for both UDP and TCP unblocked. The firewall affects the localhost as well.
>
> Mark
>
>
> ________________________________
> From: [email protected] [[email protected]] on behalf of lzfneu [[email protected]]
> Sent: Tuesday, March 15, 2016 10:42 PM
> To: [email protected]
> Subject: Question about softioc "Connection refused" problem
>
> dear all,
>
> I created an example application according to the Developer's guide, and adding the following lines in .bashrc file and source it:
>
> export EPICS_CA_AUTO_ADDR_LIST=NO
> export EPICS_CA_ADDR_LIST=localhost
>
> and typing the command ./st.cmd to start the softioc, but the following error message is shown:
>
> ../online_notify.c: CA beacon (send to "127.0.0.1:5065") error was "Connection refused"
>
> Could you please help me to deal with the problem, thanks in advance !
>
> best regards
>
> Zhefu Lee
>

References:
Question about softioc "Connection refused" problem lzfneu
RE: Question about softioc "Connection refused" problem Mark Rivers
FW: Question about softioc "Connection refused" problem lzfneu

Navigate by Date:
Prev: RE: Question about softioc "Connection refused" problem Mazanec Tomáš
Next: RE: A Problem While Installing areaDetector Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Question about softioc "Connection refused" problem Mazanec Tomáš
Next: RE: Tech-talk Digest, Vol 10, Issue 123 Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·