How to fix vyatta protocol daemon is not running

The problem: protocol daemon is not running

While attempting to commit a change on a new vyatta router install I ran into this error:

vyatta@host# commit
ย 
[[interfaces bonding bond0]] failed
[ interfaces ethernet eth1 ]
% Protocol daemon is not running
ย 
[[interfaces ethernet eth1]] failed
[ interfaces ethernet eth0 ]
% Protocol daemon is not running
ย 
[[interfaces ethernet eth0]] failed
[[interfaces ethernet eth0 smp_affinity]] failed
[[interfaces ethernet eth0 bond-group]] failed
[[interfaces ethernet eth1 bond-group]] failed
[[interfaces ethernet eth1 smp_affinity]] failed
[[interfaces bonding bond0 address]] failed
[ protocols static route 0.0.0.0/0 next-hop 10.0.0.1 ]
% Protocol daemon is not running
ย 
[[protocols static]] failed
Commit failed
ย 
[edit]

The solution

It turns out that the system had not fully initialized itself on boot. Lucikly the fix is easy. A simple restart of the vyatta-unicast service resolved the issue.

sudo /etc/init.d/vyatta-unicast restart