cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

742
Views
0
Helpful
3
Replies
ppratikdutta
Cisco Employee

Uploading operational data from xml file

Hi all I was trying to upload operational data from XML using Confd_load -C ./pathofXML/  of the netsim device in NSO  but getting stuck at some connection Error.

 

confd_load: 613: cdb_connect(sock, CDB_DATA_SOCKET, addr, addrlen) failed: Bad protocol usage or unexpected retval (21): Library MAXDEPTH/MAXKEYLEN 20/9 for confd_hkeypath_t are too small, ConfD needs 47/4.

how can I resolve this?

3 REPLIES 3
vleijon
Cisco Employee

It is enough if you post each question a single time.

Did you source env.sh in the netsim directory first? That is a common cause of this problem.

@vleijon I did that too but still getting the same error.

It really looks like you are connecting to an nso instance. What is $CONFD_IPC_PORT set to when you run the command?