cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1435
Views
0
Helpful
2
Replies

Couldn't able to create devices.xml file using ncs_load -l -m devices.xml Error at ncs_load: 618: maapi_load_config

kiran kotari
Cisco Employee
Cisco Employee

[nsoadmin@etc-emix-nso ncs]$ ncs_load -l -m devices.xml
ncs_load: 618: maapi_load_config(sock, tid, flags, abspath(argv[0])) failed: system call failed (24): couldn't open file /var/opt/ncs/devices.xml: no such file or directory

 

I created the file manually using `touch devices.xml` then I got the following error: 

 

[nsoadmin@etc-emix-nso ncs]$ ncs_load -l -m devices.xml

ncs_load: 618: maapi_load_config(sock, tid, flags, abspath(argv[0])) failed: external error (19): Error on line 1: End-of-file reached in XML stream

1 Accepted Solution

Accepted Solutions

yfherzog
Cisco Employee
Cisco Employee

Are you trying to load netsim devices into NSO or something like that?

If so, before you try to use the file, it needs to be generated with: ncs-netsim ncs-xml-init > devices.xml

 

Refer to the procedure on the user guide under "Using Netsim".

View solution in original post

2 Replies 2

yfherzog
Cisco Employee
Cisco Employee

Are you trying to load netsim devices into NSO or something like that?

If so, before you try to use the file, it needs to be generated with: ncs-netsim ncs-xml-init > devices.xml

 

Refer to the procedure on the user guide under "Using Netsim".

Oops, I forgot that. 

Thanks