Hi Vivian,
To narrow down the possibilities, you might set your AUTO_ADDR_LIST to true
and see if that helps. You may also want to specify EPICS_CAS_INTF_ADDR_LIST.
To be honest, I have to reread this
https://epics.anl.gov/base/R3-14/12-docs/CAref.html
Configuring a CA Server every time I set up a gateway.
Good luck,
Pierrick
On 9/1/20 12:24 PM, Vivian O'Dell wrote:
Hi Pierrick,
Thanks. I tried setting EPICS_CA_ADDR_LIST to localhost, but it still didn’t work.
Here’s a list of my variables from the gateway.log file.
ep 01 11:26:35 PV Gateway Version GATEWAY_VERSION.GATEWAY_REVISION.GATEWAY_MODIFICATION [Sep 1 2020 08:40:17]
EPICS 3.15.7 PID=25725 ServerPID=25724
CA Protocol version 4.13
EPICS_CA_ADDR_LIST=localhost
EPICS_CA_AUTO_ADDR_LIST=NO
EPICS_CA_SERVER_PORT=5069
EPICS_CA_MAX_ARRAY_BYTES=Not specified
EPICS_CAS_INTF_ADDR_LIST=Not specified
EPICS_CAS_SERVER_PORT=5069
EPICS_CAS_IGNORE_ADDR_LIST=Not specified
EPICS_CAS_AUTO_BEACON_ADDR_LIST=Not specified
EPICS_CAS_BEACON_ADDR_LIST=Not specified
Running as user odell on host mac-130048
Statistics PV prefix is mac-130048
Failed to set FD limit -1
I think Marty is looking into it.
Vivian
Hi Vivian,
If you have EPICS_CA_AUTO_ADDR_LIST=NO, then the EPICS_CA_ADDR_LIST
should have some values.
I suspect that his is your issue.
Pierrick
On 9/1/20 10:28 AM, Vivian O'Dell via Tech-talk wrote:
Thanks, Marty — tried that, still no joy… sigh. — Viv
I might be way off on the solution here but seems to me that your pvlist file
does not match your access rules.
You should have something in your pvlist file like this I think
Tracker:.* ALLOW DEFAULT 1
This will match your access file rule for ASG DEFAULT otherwise you should have
a rule for the "Tracker" ASG as well as the DEFAULT.
Marty
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
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
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
--
Pierrick Hanlet
Fermi National Accelerator
Accelerator Front End Controls
+1-630-840-5555 -- lab
+1-312-687-4980 -- mobile
"Whether you think you can or think you can't, you're right" -- Henry Ford
--
Pierrick Hanlet
Fermi National Accelerator
Accelerator Front End Controls
+1-630-840-5555 -- lab
+1-312-687-4980 -- mobile
"Whether you think you can or think you can't, you're right" -- Henry Ford
- Replies:
- Re: running gateway on mac Ralph Lange 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
- Re: running gateway on mac Vivian O'Dell via Tech-talk
- Re: running gateway on mac Smith, Martin via Tech-talk
- Re: running gateway on mac Vivian O'Dell via Tech-talk
- Re: running gateway on mac Pierrick M Hanlet via Tech-talk
- Re: running gateway on mac Vivian O'Dell via Tech-talk
- Navigate by Date:
- Prev:
Re: running gateway on mac Vivian O'Dell via Tech-talk
- Next:
Alarm and logging systems Garrahan, Jacqueline 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
2024
- Navigate by Thread:
- Prev:
Re: running gateway on mac Vivian O'Dell via Tech-talk
- Next:
Re: running gateway on mac Ralph Lange 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
2024
|