# Start ConfD failed!

**URL:** <https://dmap-community.ductus.global/t/start-confd-failed/794>\
**Category:** YANG\
**Created:** [October 24, 2016, 10:33am UTC](https://dmap-community.ductus.global/t/start-confd-failed/794 "2016-10-24T10:33:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harry\_Huang](https://avatars.discourse-cdn.com/v4/letter/h/a88e57/32.png) [@Harry\_Huang](https://dmap-community.ductus.global/u/Harry_Huang)\
**Post date:** [October 24, 2016, 10:33am UTC](https://dmap-community.ductus.global/t/start-confd-failed/794/1 "2016-10-24T10:33:08Z")

</div>

Hi,

I wrote a devation for ietf-interface like below

deviation “/if:interfaces/if:interface” {  
deviate add {  
must “if:type != ‘ianaift:ipForward’ or ifxipos:l3-interface” {  
error-message “Cannot create RFC 7223 interface for L3”  
+ “without creating child l3-interface”;  
description “Cannot create RFC 7223 interface for L3”  
+ “without creating child l3-interface”;  
}  
}  
}

L3-interface model piece like below:

augment “/if:interfaces/if:interface” {  
description  
“ericsson-interface”;  
/\*  
l3-interface  
\*/  
container l3-interface {  
when "…/if:type = ‘ianaift:ipForward’ or …/if:type = "  
+ “‘ianaift:softwareLoopback’” {  
description  
“”;  
}  
presence “”;  
description  
“Configure a logical interface”;  
uses if-grp;  
}  
}

Both models pass confdc compile, but when confd load this model, below error happens.  
If I remove “or ifxipos:l3-interface” in deviation file, confd can start as normal.

root@sim\_1d01-ssr1[RPSW1]:/opt/confd/bin\> ./confd --foreground -v  
 22-Oct-2016::01:47:52.676 sim\_1d01-ssr1 confd[18786]: - Daemon logging started  
 22-Oct-2016::01:47:52.686 sim\_1d01-ssr1 confd[18786]: confd embedded apps in early\_phase0: []  
 22-Oct-2016::01:47:52.689 sim\_1d01-ssr1 confd[18786]: - Internal error: Startup failed; probably due to incorrect installation  
“Internal error: Startup failed; probably due to incorrect installation\n”

---

<div class="post-metadata">

**Author:** ![waitai](https://yyz2.discourse-cdn.com/flex010/user_avatar/dmap-community.ductus.global/waitai/32/436_2.png) [@waitai](https://dmap-community.ductus.global/u/waitai)\
**Post date:** [October 26, 2016, 9:24pm UTC](https://dmap-community.ductus.global/t/start-confd-failed/794/2 "2016-10-26T21:24:43Z")

</div>

Based on the information that you have provided, it isn’t clear what may have caused the runtime error. The best way to get this issue addressed is to file a support ticket.
