ConfD User Community

Problem with xmllint executable. Is it in PATH?


#1

Hi:
i am trying confd/examples.confd/ha/dummy example,
version is confd-basic-6.4.linux.x86_64.
i run “make test”,an error appeared as follows:could you tell me anything wrong?

root@chaoas-VirtualBox:/home/chaoas/confd/examples.confd/ha/dummy# make test

Start with fresh confd.conf and databases

make clean stop all >/dev/null 2>&1

Start the confd daemon with our example specific confd-conf

make start
make[1]: Entering directory ‘/home/chaoas/confd/examples.confd/ha/dummy’

Stop the confd daemons

Stopping node0
connection refused (stop)
Stopping node1
connection refused (stop)
Stopping node2
connection refused (stop)

Start 3 confd daemons with our example specific confd-conf

Starting node0
Starting node1
Starting node2
make[1]: Leaving directory ‘/home/chaoas/confd/examples.confd/ha/dummy’

Instruct the first node to be master, the rest slaves

./ctrl master node0
i=1; while [ $i -lt 3 ]; do
env CONFD_IPC_PORT=$((4565+10*$i))
./ctrl slave node$i node0 127.0.0.1 ;
i=$(($i + 1)) ;
done

Now add a to the master

/home/chaoas/confd//bin/netconf-console-tcp cmd-set-server.xml
Problem with xmllint executable. Is it in PATH?
Makefile:72: recipe for target ‘test’ failed
make: *** [test] Error 1
root@chaoas-VirtualBox:/home/chaoas/confd/examples.confd/ha/dummy# confd --version
6.4


#2

Before you start example, can you try xmllint --version if xmllint is present. If not, it needs to be installed (e.g. apt-get install libxml2-utils for Ubuntu, Debian)


#3

ok, it works! thank you very much!