06-15-2017 07:20 AM - edited 03-01-2019 03:52 AM
Hi,
Because of a different issue, it was suggested to be I should be using the newer version of the XR CLI NED. I finally found it: ncs-4.1.4.1-cisco-iosxr-6.0.tar.
I unpacked it in my nso-4.4 packages/neds directory and did a 'make' on it. Then copied it into my nso-run directory. Now, when I try to run netsim, it won't start and keep getting this error:
yan@nso4:~/nso-run$ ncs-netsim start
DEVICE IOS-0 OK STARTED
DEVICE IOS-1 OK STARTED
Bad configuration: confd.conf:0: ./ietf-netconf-acm.fxs: Must be recompiled!
Daemon died status=21
DEVICE XR-0 FAIL
Bad configuration: confd.conf:0: ./ietf-netconf-acm.fxs: Must be recompiled!
Daemon died status=21
DEVICE XR-1 FAIL
Bad configuration: confd.conf:0: ./ietf-netconf-acm.fxs: Must be recompiled!
Daemon died status=21
DEVICE XR-2 FAIL
I've already reinstalled nso-4.4, completely cleaned my nso-run directory and it won't run.
Can anyone provide a suggestion in how to fix this and move forward?
Thanks in advance!
c.
yan@nso4:~/nso-run$
Solved! Go to Solution.
06-15-2017 07:44 AM
And you did complete rebuild of the XR NED before creating the NETSIMs?
make clean all -C packages/cisco-iosxr/src
The error indicates that the YANG modules are compiled with a different NCSC than what you're running.
Local or system install shouldn't have anything to do with the error.
06-15-2017 07:23 AM
Hi!
You have to re-create the NETSIMs with the newer NED (or at least that's the easiest fix).
//Fredrik
06-15-2017 07:28 AM
I think that's what I'm doing, but maybe I'm doing something wrong:
yan@nso4:~/nso-run$ ls
netsim packages
yan@nso4:~/nso-run$ ncs-netsim delete-network
DEVICE IOS-0 already STOPPED
DEVICE IOS-1 already STOPPED
DEVICE XR-0 already STOPPED
DEVICE XR-1 already STOPPED
DEVICE XR-2 already STOPPED
yan@nso4:~/nso-run$ ls
packages
yan@nso4:~/nso-run$ ncs-netsim create-network packages/cisco-ios 2 IOS-
DEVICE IOS-0 CREATED
DEVICE IOS-1 CREATED
yan@nso4:~/nso-run$ ncs-netsim add-to-network packages/cisco-iosxr 3 XR-
DEVICE XR-0 CREATED
DEVICE XR-1 CREATED
DEVICE XR-2 CREATED
yan@nso4:~/nso-run$ ncs-netsim start
DEVICE IOS-0 OK STARTED
DEVICE IOS-1 OK STARTED
Bad configuration: confd.conf:0: ./ietf-netconf-acm.fxs: Must be recompiled!
Daemon died status=21
DEVICE XR-0 FAIL
Bad configuration: confd.conf:0: ./ietf-netconf-acm.fxs: Must be recompiled!
Daemon died status=21
DEVICE XR-1 FAIL
Bad configuration: confd.conf:0: ./ietf-netconf-acm.fxs: Must be recompiled!
Daemon died status=21
DEVICE XR-2 FAIL
yan@nso4:~/nso-run$
I'm using a local-install (as opposed to system-install), could that be it?
Thanks!
c.
06-15-2017 07:44 AM
And you did complete rebuild of the XR NED before creating the NETSIMs?
make clean all -C packages/cisco-iosxr/src
The error indicates that the YANG modules are compiled with a different NCSC than what you're running.
Local or system install shouldn't have anything to do with the error.
06-15-2017 07:49 AM
That was it, Fredrik. Thanks for taking the time!
06-15-2017 07:51 AM
You're welcome!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide