Hi Marty,
Thank you very much for your advice! The problem turned out to be the
-cport option. It should have been 5064, because I did not specify the
port to use on my frontend (IOC). And I misunderstood the ALIASes, then
ASL etc. Now the path is through.
However I still have 2 issues:
1. multi-element PVs timeout -- I tried longer timeouts, no help;
Read operation timed out: some PV data was not read.
bpm36.MINT
Data type: DBR_FLOAT (native: DBF_FLOAT)
Element count: 4096
Value: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
......
CA.Client.Exception...............................................
Warning: "Virtual circuit disconnect"
Context: "op=0, channel=bpm36.MINT, type=DBR_FLOAT, count=4096, ctx="atflap2.fnal.gov:6064""
Source File: ../getCopy.cpp line 82
Current Time: Tue Mar 11 2008 13:54:58.77628354
..................................................................
2. still get
CA.Client.Exception...............................................
Warning: "Identical process variable names on multiple servers"
Context: "Channel: "gateway_vctotal", Connecting to: atflap2.fnal.gov:6064, Ignored: 0.0.0.1:5"
Source File: ../cac.cpp line 1224
Current Time: Tue Mar 11 2008 11:31:44.913328026
on the client end. On the gateway side, still get
CAC: Unable to connect because "Invalid argument"
Mar 11 11:33:54 !!! Errlog message received (message is above)
Mar 11 11:33:54 Warning: Virtual circuit disconnect 0.0.0.1:5
Mar 11 11:33:54 Warning: Virtual circuit disconnect 0.0.0.2:5
And there is a strange udp connection (on the gateway node):
udp 0 0 atflap2.fnal.gov:32889 255.255.255.255:5065 ESTABLISHED
It seems somehow I am creating a loopback -- but I am not specifying 5065 anywhere.
Please give me more advices.
Thanks and best regards,
Dehong
----- Original Message -----
From: "Martin L. Smith" <[email protected]>
Date: Tuesday, March 11, 2008 7:41 am
Subject: Re: Problem with gateway
To: Dehong Zhang <[email protected]>
Cc: [email protected]
> Hi Dehong,
>
> On the client side try setting the environment variable:
> EPICS_CA_SERVER_PORT 6064
>
> before starting the client or trying, for example:
> caget gateway.connected
>
> Hope this helps,
> Marty
>
>
> Dehong Zhang wrote:
> > Hi,
> >
> > I am trying to set up a gateway (v2_0_2_1 with epics 3_14_8), am having
> > trouble. It complains about:
> > CAC: Unable to connect because "Invalid argument"
> >
> > Mar 10 11:39:19 !!! Errlog message received (message is above)
> >
> > My pv list is called "gateway.pvlist". It contains:
> > ------------------------------------------------------------------------------------
> > EVALUATION ORDER ALLOW, DENY
> >
> > Crate1.* ALLOW
> > bpm36.* ALLOW
> >
> > # 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
> > ------------------------------------------------------------------------------------
> >
> > The access list is called "gateway.access". It has:
> > ------------------------------------------------------------------------------------
> > ASG(DEFAULT) {
> > RULE(1,READ)
> > }
> > ------------------------------------------------------------------------------------
> >
> > The command I use is:
> > ./gateway -sport 6064 -cport 5065 -pvlist ./gateway.pvlist -prefix
> "gateway" -access ./gateway.access
> >
> > I cannot even access the internal PVs like:
> > gateway:pvtotal
> > gateway:active
> >
> > Please enlighten me.
> >
> > Thanks and best regards,
> > Dehong
> >
> >
> >
> >
>
- References:
- Problem with gateway Dehong Zhang
- Re: Problem with gateway Martin L. Smith
- Navigate by Date:
- Prev:
Re: EPICS support for 2-D detectors/cameras Kate Feng
- Next:
RE: [APS Beamline_controls] EPICS support for 2-D detectors/cameras l.lurio
- 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: Problem with gateway Martin L. Smith
- Next:
PLC Ethernet Driver for the IDEC MicroLogix 1100 Luchini, Kristi
- 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
|