# broctl install failed: host key verification failed

**URL:** <https://community.zeek.org/t/broctl-install-failed-host-key-verification-failed/3688>\
**Category:** Zeek\
**Created:** [July 5, 2015, 7:09am UTC](https://community.zeek.org/t/broctl-install-failed-host-key-verification-failed/3688 "2015-07-05T07:09:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas](https://avatars.discourse-cdn.com/v4/letter/t/e36b37/32.png) [@Thomas](https://community.zeek.org/u/Thomas)\
**Post date:** [July 5, 2015, 7:09am UTC](https://community.zeek.org/t/broctl-install-failed-host-key-verification-failed/3688/1 "2015-07-05T07:09:31Z")

</div>

Hi,

I tried to install Bro on a fresh installed Debian 8 amd64 system, using the current sources from github. All prerequisites from the manual are installed and compiling did run without any problem. Next step is broctl =\> install. This command fails with the following error messages:

Host key verification failed.  
Error: cannot create (some of the) directories /usr/local/bro,/usr/local/bro/logs,/usr/local/bro/spool,/usr/local/bro/spool/tmp on node bro

Same error does appear by using „deploy“.

I changed node.cfg, network.cfg and broctl.cfg as mentioned into the Quickstart Guide. Interface does exist and there is enough free space. Permission seems to be correct, but this error happens as root, too.

I could reproduce the same error on a second fresh test installation into a virtual machine.

How can I fix this problem? Thanks!

Thomas

---

<div class="post-metadata">

**Author:** ![Daniel\_Thayer](https://avatars.discourse-cdn.com/v4/letter/d/8dc957/32.png) [@Daniel\_Thayer](https://community.zeek.org/u/Daniel_Thayer)\
**Post date:** [July 5, 2015, 10:52pm UTC](https://community.zeek.org/t/broctl-install-failed-host-key-verification-failed/3688/2 "2015-07-05T22:52:49Z")

</div>

Try to manually ssh from the manager box to each of the  
other machines in your cluster. In each case, it should  
log you in without prompting for a password (or anything else).

---

<div class="post-metadata">

**Author:** ![Thomas](https://avatars.discourse-cdn.com/v4/letter/t/e36b37/32.png) [@Thomas](https://community.zeek.org/u/Thomas)\
**Post date:** [July 6, 2015, 3:45pm UTC](https://community.zeek.org/t/broctl-install-failed-host-key-verification-failed/3688/3 "2015-07-06T15:45:14Z")

</div>

unfortunately it doesn’t work.

It’s a single host machine, no cluster. ssh does work correctly, and broctl → install fails again when launched into an SSH Session from a remote machine to my single host bro node. Neither a make clean && ./configure && make && make install solves the problem, nor a broctl → deploy.

Same error appears each time:

Host key verification failed.  
Error: cannot create (some of the) directories /usr/local/bro,/usr/local/bro/logs,/usr/local/bro/spool,/usr/local/bro/spool/tmp on node bro

Of course the above mentioned directories does exist and have the correct permissions even for root.

I could install Bro on two other servers without any problems, but cannot see any difference for the basic installation process, which was of course absolut identical on all servers, except this error message on 2 of 4 machines. ;-(

Any idea is welcome.  
Thomas

---

<div class="post-metadata">

**Author:** ![Daniel\_Thayer](https://avatars.discourse-cdn.com/v4/letter/d/8dc957/32.png) [@Daniel\_Thayer](https://community.zeek.org/u/Daniel_Thayer)\
**Post date:** [July 6, 2015, 5:20pm UTC](https://community.zeek.org/t/broctl-install-failed-host-key-verification-failed/3688/4 "2015-07-06T17:20:56Z")

</div>

The error message indicates that broctl is trying to ssh to some  
machine, which can only happen when it thinks one of the hosts in  
etc/node.cfg is not the local machine. This should not happen  
in your case, because you're using just one machine.

Check your etc/node.cfg and make sure the interface and  
host are correct. For example, I would expect it should look  
something like this:

[bro]  
type=standalone  
host=localhost  
interface=eth0

---

<div class="post-metadata">

**Author:** ![Thomas](https://avatars.discourse-cdn.com/v4/letter/t/e36b37/32.png) [@Thomas](https://community.zeek.org/u/Thomas)\
**Post date:** [July 6, 2015, 8:00pm UTC](https://community.zeek.org/t/broctl-install-failed-host-key-verification-failed/3688/5 "2015-07-06T20:00:46Z")

</div>

node.cfg is set to standalone and localhost. It still doesn’t work. I removed /usr/local/bro and run configure && make once again after a make clean, configured network and node once again, but the same error appears again. Real confusing.

I’ll try to explore this issue tomorrow, too late here for today.

Thanks.  
Thomas

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)\
**Post date:** [May 6, 2022, 3:42pm UTC](https://community.zeek.org/t/broctl-install-failed-host-key-verification-failed/3688/6 "2022-05-06T15:42:49Z")

</div>


