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  2016  2017  2018  2019  <20202021  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: running gateway on mac
From: Vivian O'Dell via Tech-talk <tech-talk at aps.anl.gov>
To: "Smith, Martin" <mls at anl.gov>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 1 Sep 2020 14:58:21 +0000
Hi Marty,

I have the following files (that I modified from the examples)

TRACKER.pvlist

EVALUATION ORDER ALLOW, DENY

[0-9].*          ALLOW
[a-z].*          ALLOW
[A-Z].*          ALLOW

Tracker:.*       ALLOW Tracker 1
gateway:.*Flag   ALLOW GatewayAdmin

# Convert old Gateway internal process variable names
gateway\.\(.*\)            ALIAS     gateway:\1
gateway\.\(.*\)Flag        ALIAS     gateway:\1Flag          GatewayAdmin
gateway\.alive             ALIAS     gateway:connected
gateway\.postEventRate     ALIAS     gateway:clientPostRate



TRACKER.access
mac-130048:example odell$ cat TRACKER.access
ASG(DEFAULT) {
   RULE(1,READ)
   RULE(1,WRITE)
}


And I’m now running gateway by:

../bin/darwin-x86/gateway -sport 5069 -pvlist TRACKER.pvlist -access TRACKER.access -server

I still get:

mac-130048:example odell$ caget Tracker:LV1:Status
Channel connect timed out: 'Tracker:LV1:Status' not found.


thanks!
Vivian


On Sep 1, 2020, at 9:22 AM, Smith, Martin <mls at anl.gov> wrote:

Hi Vivian,

Do you have your access security files set up like the pvlist and access files?
If you don't set these up then you won't even get read access to PVs.

Hope this helps
Marty


From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Vivian O'Dell via Tech-talk <tech-talk at aps.anl.gov>
Sent: Tuesday, September 1, 2020 9:07 AM
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: running gateway on mac
 
Hi,

I’m trying to run gateway on my mac. I have PVs defined in EPICs, and
if I use caget locally, it works fine, but when I try to use gateway I get the
following message:

mac-130048:darwin-x86 odell$ caget Tracker:LV1:Status
CAC: Unable to connect because "Connection refused"
Channel connect timed out: 'Tracker:LV1:Status' not found.
CAC TCP socket linger set error was Invalid argument
CAC TCP socket shutdown error was Socket is not connected


I am using the following command to start the gateway:

 ./gateway -sport 5069 -server

I also have the following environment variables set:

EPICS_BASE=/Users/odell//base-3.15.7
EPICS_CA_AUTO_ADDR_LIST=NO
EPICS_HOST_ARCH=darwin-x86
EPICS_CA_ADDR_LIST=
EPICS_CA_NAME_SERVERS=localhost:5069


The result I get is:

mac-130048:darwin-x86 odell$ caget Tracker:LV1:Status
CAC: Unable to connect because "Connection refused"
Channel connect timed out: 'Tracker:LV1:Status' not found.
CAC TCP socket linger set error was Invalid argument
CAC TCP socket shutdown error was Socket is not connected


I am using gateway 2.1.2. I get the same result with older versions
of gateway.

Any ideas of where to look for the problem?

thanks,
Vivian


Replies:
Re: running gateway on mac Smith, Martin via Tech-talk
References:
AreaDetector: PVs from driver created parameters not updating David Vine via Tech-talk
Re: AreaDetector: PVs from driver created parameters not updating Mark Rivers via Tech-talk
Re: AreaDetector: PVs from driver created parameters not updating Mark Rivers via Tech-talk
running gateway on mac Vivian O'Dell via Tech-talk
Re: running gateway on mac Smith, Martin via Tech-talk

Navigate by Date:
Prev: Re: running gateway on mac Smith, Martin via Tech-talk
Next: Re: running gateway on mac Smith, Martin 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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: running gateway on mac Smith, Martin via Tech-talk
Next: Re: running gateway on mac Smith, Martin 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  <20202021  2022  2023  2024 
ANJ, 01 Sep 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·