Hi Pierrick,
Before iocInit can you add
epicsPrtEnvParams
Perhaps some environment variable is set incorrectly.
Mark
Sent from my iPhone
> On Dec 11, 2024, at 4:18 PM, Pierrick M Hanlet via Tech-talk <tech-talk at aps.anl.gov> wrote:
>
> Greetings all,
> For several days now, I've been attempting to debug a runtime error:
>
> iocInit()
> Starting iocInit
> ############################################################################
> ## EPICS R7.0.7
> ## Rev. R7.0.7-dirty
> ## Rev. Date Git: 2022-09-07 13:50:35 -0500
> ############################################################################
> iocRun: All initialization complete
> c++ error: No (specified) network interface(s) available.
> On line 206 of ../../src/server/serverContext.cpp
> /home/hanlet/epicsDEV/base/lib/linux-x86_64/libpvAccess.so.7.1.6(_ZN5epics6pvData6detail14ExceptionMixedINS0_13BaseExceptionEEC2IPKcEET_S7_i+0xbb)
> [0x7f5839c9bb4b]
> /home/hanlet/epicsDEV/base/lib/linux-x86_64/libpvAccess.so.7.1.6(+0x8b3b6)
> [0x7f5839c5d3b6]
> /home/hanlet/epicsDEV/base/lib/linux-x86_64/libpvAccess.so.7.1.6(_ZN5epics8pvAccess13ServerContext6createERKNS1_6ConfigE+0x274)
> [0x7f5839cf5c24]
> /home/hanlet/epicsDEV/base/lib/linux-x86_64/libpvAccessIOC.so.7.1.6(+0x57ba)
> [0x7f5839d807ba]
> /home/hanlet/epicsDEV/base/lib/linux-x86_64/libpvAccessIOC.so.7.1.6(+0x5f10)
> [0x7f5839d80f10]
> /home/hanlet/epicsDEV/base/lib/linux-x86_64/libCom.so.3.22.0(initHookAnnounce+0x79)
> [0x7f583975e119]
> /home/hanlet/epicsDEV/base/lib/linux-x86_64/libdbCore.so.3.22.0(iocRun+0x70)
> [0x7f5839865e00]
> /home/hanlet/epicsDEV/base/lib/linux-x86_64/libdbCore.so.3.22.0(iocInit+0x25)
> [0x7f5839865ea5]
> /home/hanlet/epicsDEV/base/lib/linux-x86_64/libdbCore.so.3.22.0(+0x5f349)
> [0x7f5839866349]
> /home/hanlet/epicsDEV/base/lib/linux-x86_64/libCom.so.3.22.0(+0x341c5)
> [0x7f583975d1c5]
> ../../bin/linux-x86_64/myTestMove(main+0x12) [0x406dd2]
> /lib64/libc.so.6(+0x295d0) [0x7f58390295d0]
> /lib64/libc.so.6(__libc_start_main+0x80) [0x7f5839029680]
> ../../bin/linux-x86_64/myTestMove(_start+0x25) [0x406e25]
>
> We're on Alma Linux 9, base 7.0.7 (as shown above), using C++20. This is
> a stripped down IOC which doesn't even load a database.
> It stems from serverContext.cpp in the "introspect network interfaces"
> section of the code.
>
> Any help would be greatly appreciated,
> Pierrick
>
> --
> 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: runtime error Pierrick M Hanlet via Tech-talk
- References:
- runtime error Pierrick M Hanlet via Tech-talk
- Navigate by Date:
- Prev:
runtime error Pierrick M Hanlet via Tech-talk
- Next:
Re: runtime error Pierrick M Hanlet 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>
2025
- Navigate by Thread:
- Prev:
runtime error Pierrick M Hanlet via Tech-talk
- Next:
Re: runtime error Pierrick M Hanlet 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>
2025
|