[EX/QFX] How to recover from a commit error while recovering the root password[EX/QFX]如何从提交错误中恢复,同时

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:如果发生这种情况,请遵循以下步骤:

  1. 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}[编辑]
    根#退出
    
    配置已更改,但未提交
    退出未提交的更改?[是,不是](是)是
    
    退出配置模式
  2. Exit from CLI mode: 退出CLI模式。

    {linecard:0}
    root> exit
     
    NOTE: Type 'exit' to restart the system.{linecard: 0}
    根>退出
    
    注意:输入“exit”重新启动系统。
  3. Perform commit: 执行提交:

    # mgd -I
    [1] 4072
    mgd: commit complete# mgd -I
    [1] 4072
    Mgd:提交完成
  4. 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}[编辑]
    根#提交
    提交完成
  5. Exit out of configuration mode and reboot:退出配置模式并重新启动:

    {linecard:0}[edit]
    root# exit
    Exiting configuration mode
     
    {linecard:0}
    root> exit
     
    # reboot
     {linecard: 0}[编辑]
    根#退出
    退出配置模式
    
    {linecard: 0}
    根>退出
    
    #重启
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值