# Confd basic 7.6 fails to start

**URL:** <https://dmap-community.ductus.global/t/confd-basic-7-6-fails-to-start/3853>\
**Category:** NETCONF\
**Created:** [October 20, 2021, 5:35pm UTC](https://dmap-community.ductus.global/t/confd-basic-7-6-fails-to-start/3853 "2021-10-20T17:35:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![arunmu](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@arunmu](https://dmap-community.ductus.global/u/arunmu)\
**Post date:** [October 20, 2021, 5:35pm UTC](https://dmap-community.ductus.global/t/confd-basic-7-6-fails-to-start/3853/1 "2021-10-20T17:35:38Z")

</div>

Hello folks,  
I installed confd-basic 7.6 and tried to make it run with the config file of 6.4.3. There were some minor config changes done to make the old config file as per the requirement from the new version. But after that, confd server fails to start with below error:

> =INFO REPORT==== 20-Oct-2021::17:28:51.866828 ===  
> disk\_log: repairing “/localdisk/amuralid/UB18-confd-basic/.build/ub18\_debug/install/usr/rift/var/rift/lp1-mgmt-vm-lp-2/persist.riftware/uagent\_notification.1” …
> 
> =INFO REPORT==== 20-Oct-2021::17:28:51.893513 ===  
> disk\_log: repairing “/localdisk/amuralid/UB18-confd-basic/.build/ub18\_debug/install/usr/rift/var/rift/lp1-mgmt-vm-lp-2/persist.riftware/ha\_notification.1” …
> 
> “Cannot bind to NETCONF socket 127.0.0.1:2022 : unknown POSIX error ("No host key available")\n”  
> =ERROR REPORT==== 20-Oct-2021::17:28:52.143573 ===  
> init:boot\_msg: “Cannot bind to NETCONF socket 127.0.0.1:2022 : unknown POSIX error ("No host key available")\n”

Any idea where to start looking ? There is not much clue to begin with. I have provided the correct path for sshServerKeyDir, but still get this error. Appreciate any help on this.

Thanks,

---

<div class="post-metadata">

**Author:** ![arunmu](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@arunmu](https://dmap-community.ductus.global/u/arunmu)\
**Post date:** [October 20, 2021, 5:40pm UTC](https://dmap-community.ductus.global/t/confd-basic-7-6-fails-to-start/3853/2 "2021-10-20T17:40:19Z")

</div>

If I turn off netconf, I get a bit more contextual error for the SSH server:

> 20-Oct-2021::17:40:14.866 amuralid-master confd[1991445]: - Failed to start (“No host key available”) to listen for CLI SSH on 127.0.0.1:2024  
> “Failed to start ("No host key available") to listen for CLI SSH on 127.0.0.1:2024\n”  
> =ERROR REPORT==== 20-Oct-2021::17:40:14.866365 ===  
> cli\_server:920: confdssh\_cli\_server:listen({127,0,0,1}, 2024, {ssh\_opts,#{alive\_params =\> #Fun\<aaa\_server.94.131961177\>,auth2fa\_fun =\> #Fun\<aaa\_server.11.131961177\>,auth\_methods =\> [112,117,98,108,105,99,107,101,121,44,112,97,115,115,119,111,114,100],bannerfun =\> #Fun\<aaa\_server.14.131961177\>,connectfun =\> #Fun\<aaa\_server.10.131961177\>,dh\_gex\_limits =\> #Fun\<aaa\_server.95.131961177\>,disconnectfun =\> #Fun\<aaa\_server.18.131961177\>,failfun =\> #Fun\<aaa\_server.12.131961177\>,max\_auth\_request\_size =\> 4096,max\_auth\_tries =\> #Fun\<aaa\_server.96.131961177\>,max\_channels =\> 32,max\_sessions =\> 1024,preferred\_algorithms =\> [{public\_key,[‘ssh-ed25519’,‘ssh-rsa’]},{kex,[‘curve25519-sha256’,‘ecdh-sha2-nistp256’,‘diffie-hellman-group14-sha256’,‘diffie-hellman-group-exchange-sha256’]},{cipher,[{client2server,[‘aes128-gcm@openssh.com’,‘chacha20-poly1305@openssh.com’,‘aes128-ctr’,‘aes192-ctr’,‘aes256-ctr’]},{server2client,[‘aes128-gcm@openssh.com’,‘chacha20-poly1305@openssh.com’,‘aes128-ctr’,‘aes192-ctr’,‘aes256-ctr’]}]},{mac,[{client2server,[‘hmac-sha2-512’,‘hmac-sha2-256’,‘hmac-sha1’]},{server2client,[‘hmac-sha2-512’,‘hmac-sha2-256’,‘hmac-sha1’]}]},{compression,[{client2server,[none,‘zlib@openssh.com’,zlib]},{server2client,[none,‘zlib@openssh.com’,zlib]}]}],pwdfun =\> #Fun\<aaa\_server.13.131961177\>,system\_dir =\> [46,47,115,115,104],user\_dir\_fun =\> #Fun\<aaa\_server.97.131961177\>},,[83,83,72,32,111,112,116,105,111,110,115,32,102,111,114,32,67,76,73,32,115,101,114,118,101,114],}) → “No host key available”  
> [{cli\_server,‘-start\_ssh\_fold\_fun/3-fun-0-’,0,  
> [{file,“cli\_server.erl”},{line,921}]},  
> {cli\_server,start\_ssh\_fold\_fun,3,[{file,“cli\_server.erl”},{line,921}]},  
> {lists,foldl,3,[{file,“lists.erl”},{line,1263}]},  
> {cli\_server,handle\_call,3,[{file,“cli\_server.erl”},{line,628}]},  
> {gen\_server,try\_handle\_call,4,[{file,“gen\_server.erl”},{line,677}]},  
> {gen\_server,handle\_msg,6,[{file,“gen\_server.erl”},{line,706}]},  
> {proc\_lib,init\_p\_do\_apply,3,[{file,“proc\_lib.erl”},{line,249}]}]

---

<div class="post-metadata">

**Author:** ![nabil](https://avatars.discourse-cdn.com/v4/letter/n/e79b87/32.png) [@nabil](https://dmap-community.ductus.global/u/nabil)\
**Post date:** [October 25, 2021, 7:02pm UTC](https://dmap-community.ductus.global/t/confd-basic-7-6-fails-to-start/3853/3 "2021-10-25T19:02:55Z")

</div>

There might be issues related to confd configuration backward compatibility between a 7.6 and a 6.4.3.  
Can you run a ConfD 7.6 example succesfully?  
I don’t recommend mixing confd configuration from 6.4.3 with 7.6. This should really be following the confd.conf examples in 7.6 as nodes may be different after such a long gap.

It would be good to show your confd.conf file used too. I recommend reaching out to Support if you don’t want to share the content of confd.conf in this public forum.

---

<div class="post-metadata">

**Author:** ![arunmu](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@arunmu](https://dmap-community.ductus.global/u/arunmu)\
**Post date:** [October 26, 2021, 6:43am UTC](https://dmap-community.ductus.global/t/confd-basic-7-6-fails-to-start/3853/4 "2021-10-26T06:43:43Z")

</div>

Thanks Nabil. I have got this resolved. I was missing few install files that were new to this release coming from 6.4.3. It worked after I copied the required files to the target.

---

<div class="post-metadata">

**Author:** ![harminder](https://avatars.discourse-cdn.com/v4/letter/h/8e7dd6/32.png) [@harminder](https://dmap-community.ductus.global/u/harminder)\
**Post date:** [June 27, 2022, 1:03pm UTC](https://dmap-community.ductus.global/t/confd-basic-7-6-fails-to-start/3853/5 "2022-06-27T13:03:34Z")

</div>

which install files were missing , can you list? i am facing same error
