Recover root password problem (si​ngle mode)



  • Hello,

    i have execute a bad command and i would like to recover my password. when i boot in single-mode i do “boot -s” and after recovery when i arrive on the CLI mode, i 've a problem :

    Performing checkout of management services ….
    NOTE: Once in the CLI, you will need to enter configuration mode using.
    NOTE: the ‘configure’ command to make any required changes. For example,.
    NOTE: to reset the root password, type:.
    NOTE:    configure.
    NOTE:    set system root-authentication plain-text-password.
    NOTE:    (enter the new password when asked).
    NOTE:    commit.
    NOTE:    exit.
    NOTE:    exit.
    NOTE: When you exit the CLI, you will be asked if you want to reboot.
    NOTE: the system.
    .
    Starting CLI …
    root> panic: Hardware watchdog timeout NMI.
    cpuid = 0.
    KDB: stack backtrace:.

    SP 0x0: not in kernel.
    0x0+0x0 (0,0,0,0) ra 0 sz 0.
    pid 22.
    Uptime: 3m6s.
    Cannot dump. No dump device defined…
    Automatic reboot in 15 seconds - press a key on the console to abort.

    i’ve that after 2s and i can’t use the cli single mode to recover the root password
    i use srx 100 with 10.0R2.10 and i tested with 10.1R1.8
    thanks for your help

    here all the sign mode configuration

    Hit [Enter] to boot immediately, or space bar for command prompt.
    Booting [/kernel] in 1 second…

    Type ‘?’ for a list of commands, ‘help’ for more detailed help.
    loader> boot -s
    Kernel entry at 0x801000d8 …
    getbootinfo: magic 0x0 md 0x80bee000 memsize 0x0
    WARNING: System coming up from legacy bootloader.
    Please upgrade U-Boot to version 1.5 or above and
    Loader to version 1.5 or above.

    getbootinfo: boothowto 0x1002 kernend 0x80c00000 memsize 1024MB i2cid 0x531 kernelname /ke                                                                                                                                                                  rnel

    Platform Starting
    init regular console
    Initializing octeon watchdog
    GDB: debug ports: uart
    GDB: current port: uart
    KDB: debugger backends: ddb gdb
    KDB: current backend: ddb
    getmemsize: msgbufp = 0x8000cfe4
    Copyright © 1996-2009, Juniper Networks, Inc.
    All rights reserved.
    Copyright © 1992-2006 The FreeBSD Project.
    Copyright © 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
            The Regents of the University of California. All rights reserved.
    JUNOS 10.0R2.10 #0: 2009-12-12 16:02:21 UTC
        builder@ormonth.juniper.net:/volume/build/junos/10.0/release/10.0R2.10/obj-octeon/bsd/                                                                                                                                                                  sys/compile/JSRXNLE
    JUNOS 10.0R2.10 #0: 2009-12-12 16:02:21 UTC
        builder@ormonth.juniper.net:/volume/build/junos/10.0/release/10.0R2.10/obj-octeon/bsd/                                                                                                                                                                  sys/compile/JSRXNLE
    real memory  = 1073741824 (1024MB)
    avail memory = 535977984 (511MB)
    cpuid: 0, btlb_cpumap:0xffffffff
    FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
    Initializing watchdog interupt

    Loading RT Fifo module…
    Loaded RT Fifo module
    pmap_helper loaded (interface version 6, syscall 210)
    cpu0 on motherboard
    : CAVIUM’s Octeon CPU Rev. 0.1 with no FPU implemented
            L1 Cache: I size 32kb(128 line), D size 8kb(128 line), sixty four way.
            L2 Cache: Size 128kb, ? way
    obio0 on motherboard
    uart0: <octeon-16550 0="" channel="">on obio0
    uart0: console (9600,n,8,1)
    twsi0 on obio0
    dwc0: <synopsis dwc="" otg="" controller="" driver="">on obio0
    usb0: DWC OTG Controller
    Using DMA mode
    Init: Port Power? op_state=1
    Init: Power Port (0)
    usb0: <usb bus="" for="" dwc="" otg="" controller="">on dwc0
    usb0: USB revision 2.0
    uhub0: vendor 0x0000 DWC OTG root hub, class 9/0, rev 2.00/1.00, addr 1
    uhub0: 1 port with 1 removable, self powered
    uhub1: vendor 0x0409 product 0x005a, class 9/0, rev 2.00/1.00, addr 2
    uhub1: single transaction translator
    uhub1: 2 ports with 1 removable, self powered
    umass0: STMicroelectronics ST72682  High Speed Mode, rev 2.00/2.10, addr 3
    pcib0: <cavium on-chip="" pci="" bridge="">on obio0
    Disabling Octeon big bar support
    PCI Status: PCI 32-bit: 0xc041b
    pcib0: Initialized controller
    pci0: <pci bus="">on pcib0
    pci0: <serial bus,="" usb="">at device 2.0 (no driver attached)
    pci0: <serial bus,="" usb="">at device 2.1 (no driver attached)
    pci0: <serial bus,="" usb="">at device 2.2 (no driver attached)
    cpld0 on obio0
    gblmem0 on obio0
    octpkt0: <octeon rgmii="">on obio0
    cfi0: <amd fujitsu="" -="" 4mb="">on obio0
    platform_cookie_read not implemented
    Timecounter “mips” frequency 500000000 Hz quality 0
    Timecounters tick every 1.000 msec
    Loading the NETPFE ethernet module
    Loading E1/T1/J1 driver
    Loading the DS1/E1 Media Layer; Attaching to media services layer
    Loading common multilink module.
    Loading the NETPFE PPPoE module
    Loading the netpfe services driver
    Loading the XDSL Media Layer; Attaching to media services layer
    Loading the IPSec driver
    Loading the PTM driver

    Loading the DIALER driver
    Loading Link Services PICs module.
    IPsec: Initialized Security Association Processing.
    SMP: AP CPU #1 Launched!
    da0 at umass-sim0 bus 0 target 0 lun 0
    da0: <st st72682="" 2.10="">Removable Direct Access SCSI-2 device
    da0: 40.000MB/s transfers
    da0: 1000MB (2048000 512 byte sectors: 64H 32S/T 1000C)
    if_pfe_open: listener socket opened, listening on …
    Trying to create bootdev, rootpartition da0s1a
    Trying to mount root from ufs:/dev/da0s1a
    WARNING: / was not properly dismounted
    Attaching /cf/packages/junos via /dev/mdctl…
    Mounted junos package on /dev/md0…
    Booting single-user
    ** /dev/da0s1a
    ** Last Mounted on /
    ** Root file system
    ** Phase 1 - Check Blocks and Sizes
    ** Phase 2 - Check Pathnames
    ** Phase 3 - Check Connectivity
    ** Phase 4 - Check Reference Counts
    ** Phase 5 - Check Cyl groups
    125 files, 91407 used, 58627 free (43 frags, 7323 blocks, 0.0% fragmentation)

    ***** FILE SYSTEM MARKED CLEAN *****
    System watchdog timer disabled
    Enter full pathname of shell or ‘recovery’ for root password recovery or RETURN for /bin/s                                                                                                                                                                  h: recovery

    Performing system setup …
    ** /dev/bo0s3e
    ** Last Mounted on /config
    ** Phase 1 - Check Blocks and Sizes
    ** Phase 2 - Check Pathnames
    ** Phase 3 - Check Connectivity
    ** Phase 4 - Check Reference Counts
    ** Phase 5 - Check Cyl groups
    15 files, 14 used, 12488 free (24 frags, 1558 blocks, 0.2% fragmentation)

    ***** FILE SYSTEM MARKED CLEAN *****
    ** /dev/bo0s3f
    ** Last Mounted on /cf/var
    ** Phase 1 - Check Blocks and Sizes
    ** Phase 2 - Check Pathnames
    ** Phase 3 - Check Connectivity
    ** Phase 4 - Check Reference Counts
    ** Phase 5 - Check Cyl groups
    210 files, 2143 used, 173171 free (123 frags, 21631 blocks, 0.1% fragmentation)

    ***** FILE SYSTEM MARKED CLEAN *****
    Loading configuration …
    mgd: commit complete
    Setting initial options:  debugger_on_panic=NO debugger_on_break=NO.
    Starting optional daemons:  usbd.
    Doing initial network setup:
    .
    Initial interface configuration:
    TNPv3: adding neighbor 0x00000001 to interface lo0.
    additional daemons: eventd.
    savecore: /dev/bo0s1b: No such file or directory
    savecore: Reboot reason(s): 0x1: power cycle/failure
    savecore: no dumps found
    Additional routing options:kern.module_path: /boot//kernel;/boot/modules -> /boot//kernel;                                                                                                                                                                  /boot/modules;/modules
    grat_arp_delay=${grat_arp_delay}: net.link.ether.inet.grat_arp_delay: 0 -> 0
    .
    Doing additional network setup:.
    Starting final network daemons:.
    setting ldconfig path: /usr/lib /opt/lib
    starting standard daemons: cron.
    Initial rc.mips initialization:.
    Local package initialization:.
    starting local daemons:.
    debug.kdb.stop_cpus: 1 -> 2
    Creating UTM MFS partition…
    UTM MFS partition created
    Creating JAIL MFS partition…
    JAIL MFS partition created
    machdep.nextbootdev: usb -> nand-flash
    Boot media /dev/da0 has dual root support
    hw.re.dualroot.enabled: 0 -> 1
    hw.re.dualroot.active_root:  -> /dev/da0s1a
    hw.re.dualroot.current_root:  -> /dev/da0s1a
    hw.re.dualroot.alt_root:  -> /dev/da0s2a
    hw.re.dualroot.booted_from:  -> active
    ** /dev/da0s2a
    FILE SYSTEM CLEAN; SKIPPING CHECKS
    clean, 58741 free (13 frags, 7341 blocks, 0.0% fragmentation)
    Tue Mar 30 20:36:56 UTC 2010
    Running recovery script …
    machdep.bootsuccess: 1 -> 1

    Performing initialization of management services …

    Performing checkout of management services …

    NOTE: Once in the CLI, you will need to enter configuration mode using
    NOTE: the ‘configure’ command to make any required changes. For example,
    NOTE: to reset the root password, type:
    NOTE:    configure
    NOTE:    set system root-authentication plain-text-password
    NOTE:    (enter the new password when asked)
    NOTE:    commit
    NOTE:    exit
    NOTE:    exit
    NOTE: When you exit the CLI, you will be asked if you want to reboot
    NOTE: the system

    Starting CLI …
    root> panic: Hardware watchdog timeout NMI
    cpuid = 0
    KDB: stack backtrace:
    SP 0x0: not in kernel
    0x0+0x0 (0,0,0,0) ra 0 sz 0
    pid 22
    Uptime: 3m15s
    Cannot dump. No dump device defined.
    Automatic reboot in 15 seconds - press a key on the console to abort</st></amd></octeon></serial></serial></serial></pci></cavium></usb></synopsis></octeon-16550>



  • Did you ever solve what the problem was with this?  My SRX100’s are doing more or less the exact same thing (but not trying to boot single user)


 

44
Online

38.4k
Users

12.7k
Topics

44.5k
Posts