This article describes how to resolve a commit error received while 'COMMIT' performed during recovering root password on Juniper devices running Junos OS with Upgraded FreeBSD.
The following error occurred while performing root password recovery on Juniper devices running Junos OS with upgraded FreeBSD using the process documented in Recovering the Root Password of the User Access and Authentication Feature Guide.
{linecard:0}[edit] root# commit error: Failed to open /var/run/db/daemon_notification_map.data error: commit failed: daemon file propagation failed
If this happens, follow these steps:
Exit out of configuration mode with uncommitted changes:
{linecard:0}[edit] root# exit The configuration has been changed but not committed Exit with uncommitted changes? [yes,no] (yes) yes Exiting configuration mode
Exit from CLI mode:
{linecard:0} root> exit NOTE: Type 'exit' to restart the system.
Perform commit:
# mgd -I [1] 4072 mgd: commit complete
Set root password and commit:
# cli {linecard:0} root> edit Entering configuration mode {linecard:0}[edit] root# set system root-authentication plain-text-password New password: Retype new password: {linecard:0}[edit] root# commit commit complete
Exit out of configuration mode and reboot:
{linecard:0}[edit] root# exit Exiting configuration mode {linecard:0} root> exit # reboot