Description 描述
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.本文描述了如何解决在运行Junos OS和升级FreeBSD的Juniper设备上恢复root密码时执行“commit”时收到的提交错误。
Symptoms 症状
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.在安装了FreeBSD升级版的Junos操作系统的Juniper设备上,按照《用户访问与认证特性指南》中的“恢复root密码”进行root密码恢复时,出现以下错误。
{linecard:0}[edit] root# commit error: Failed to open /var/run/db/daemon_notification_map.data error: commit failed: daemon file propagation failed{linecard: 0}[编辑] 根#提交 错误:Failed to open /var/run/db/daemon_notification_map.data Error: commit failed: daemon文件传播失败
Solution 解决方案
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{linecard: 0}[编辑] 根#退出 配置已更改,但未提交 退出未提交的更改?[是,不是](是)是 退出配置模式
-
Exit from CLI mode: 退出CLI模式。
{linecard:0} root> exit NOTE: Type 'exit' to restart the system.{linecard: 0} 根>退出 注意:输入“exit”重新启动系统。
-
Perform commit: 执行提交:
# mgd -I [1] 4072 mgd: commit complete# mgd -I [1] 4072 Mgd:提交完成
-
Set root password and commit:设置root密码并提交:
# 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 # cli {linecard: 0} 根>编辑 进入配置模式 {linecard: 0}[编辑] 设置系统Root -authentication明文密码 新密码: 重新输入新密码: {linecard: 0}[编辑] 根#提交 提交完成
-
Exit out of configuration mode and reboot:退出配置模式并重新启动:
{linecard:0}[edit] root# exit Exiting configuration mode {linecard:0} root> exit # reboot {linecard: 0}[编辑] 根#退出 退出配置模式 {linecard: 0} 根>退出 #重启