cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
301
Views
0
Helpful
2
Replies
Highlighted
Cisco Employee

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

[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
Highlighted
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
Highlighted
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

Highlighted

Oops, I forgot that. 

Thanks