Hi Jamie,
On my Mac OS with EPICS 3.14.12.3, the following command works,
$ EPICS_CAS_INTF_ADDR_LIST="localhost" python dummy.py
Best
Xiaoqiang
On Jun 28, 2013, at 7:26 PM, Jameson Graef Rollins <[email protected]> wrote:
> Hi, folks. I have a question about the caServer as provided by the
> pcaspy python package. I hope this is an appropriate place to ask.
>
> I'm wondering how to specify the network that the caServer binds to. If
> I run the example/dummy.py server script that comes with the source, it
> works fine if I have an active outward-facing network interface.
> However, if I'm offline I get the following error:
>
> servo:~/src/pcaspy/git 0$ python ./example/dummy.py
> filename="../../../../src/cas/io/bsdSocket/casDGIntfIO.cc" line number=121
> server isnt attached to a network - unable to continue
> filename="../../../../src/cas/io/bsdSocket/caServerIO.cc" line number=131
> Attempt to set server's IP address/port failed unable to attach any interface
> filename="../../../../src/cas/generic/caServerI.cc" line number=62
> server isnt attached to a network - CA server internals init unable to continue
> terminate called after throwing an instance of 'int'
> Aborted
> servo:~/src/pcaspy/git 0$
>
> Presumably it's trying to bind to an interface that doesn't exist or is
> not configured. I would like to specify that the server just bind to
> the loopback interface. Does anyone know accomplish this?
>
> Any advice would be great appreciated. Thanks!
>
> jamie.
- Replies:
- Re: specifying network interface with pcaspy caServer Jameson Graef Rollins
- References:
- specifying network interface with pcaspy caServer Jameson Graef Rollins
- Navigate by Date:
- Prev:
registerRecordDevice... crashes IOC during startup Benjamin Franksen
- Next:
Re: specifying network interface with pcaspy caServer Jameson Graef Rollins
- 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:
specifying network interface with pcaspy caServer Jameson Graef Rollins
- Next:
Re: specifying network interface with pcaspy caServer Jameson Graef Rollins
- 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
|