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

netconf-console: Problem with xmllint executable

 

Hello NSO team,

 

 

I could not run netconf-console, and I get following:

 

$ netconf-console -u admin -p admin --host 172.16.13.30 --get -x '/nacm/groups'

Problem with xmllint executable. Is it in PATH?

 

 

Any ideas how to make netconf-console run?

 

 

I looked for xmllint and tried to add to the PATH, but no success.

 

$ sudo find / -name xmllint*

/usr/share/vim/vim74/compiler/xmllint.vim

/usr/share/bash-completion/completions/xmllint

$ echo $PATH

/opt/ncs/current/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

$ export PATH=$PATH:/usr/share/bash-completion/completions

$ echo $PATH

/opt/ncs/current/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/share/bash-completion/completions

$ netconf-console -u admin -p admin --host 172.16.13.30 --get -x '/nacm/groups'

Problem with xmllint executable. Is it in PATH?

$

 

 

Note: This is a ubuntu linux 64-bit with NSO 4.1 --system-install.

 

 

Regards,

-Fatih

 

Everyone's tags (5)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: netconf-console: Problem with xmllint executable

 

Thanks to Vinoth's suggestion that it works now after:

sudo apt-get install libxml2-utils

 

 

Regards,

-Fatih

 

View solution in original post

2 REPLIES 2
Cisco Employee

Re: netconf-console: Problem with xmllint executable

 

Thanks to Vinoth's suggestion that it works now after:

sudo apt-get install libxml2-utils

 

 

Regards,

-Fatih

 

View solution in original post

Cisco Employee

Re: netconf-console: Problem with xmllint executable

 

Fatih,

 

Thanks to Vinoth's suggestion that it works now after:

 

sudo apt-get install libxml2-utils

 

 

Right, to get full functionality, you need xmllint installed.

 

If you don't have it and can't or don't want to install, you can turn off the need using the   netconf-console -s raw   switch. This menas the output won't be nicely formatted, but at least it gives you the output.

 

 

Best Regards,

/jan

 

Content for Community-Ad
August's Community Spotlight Awards
This widget could not be displayed.