SRX

 View Only
last person joined: 10 days ago 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  SRX 240. Failed to do "request system autorecovery state save".

    Posted 7 days ago

    Dear all,

    I have several devices SRX 240 with JUNOS Software Release [12.1X44-D40.2]. Only 2 from them have an issue. When I tried to enter command request system autorecovery state save every time I got error. 

    > request system autorecovery state clear
    Clearing config recovery information
    Clearing license recovery information
    Clearing bsdlabel recovery information

    > request system autorecovery state save
    Saving config recovery information
    Saving license recovery information
    Saving BSD label recovery information
    error: Failed to create /recovery/state/bsdlabel/s3.bsdlabel

    > request system autorecovery state recover
    Configuration:
      File             Recovery Information    Integrity Check    Action / Status
      rescue.conf.gz   Saved                   Passed             None
    BSD Labels:
      Slice            Recovery Information    Integrity Check    Action / Status
      s1               Saved                   Passed             None
      s2               Saved                   Passed             None
      s3               Invalid                 Not checked        Requires save
      s4               Not Saved               Not checked        Requires save

    I tried to find useful information on the Internet, but could not find anything on this problem.
    I would be glad for any help or any recommendations.
    Thank you very much in advance.



    ------------------------------
    Aleksandr Maksimov
    ------------------------------


  • 2.  RE: SRX 240. Failed to do "request system autorecovery state save".

    Posted 2 days ago

    How do you think if I will try to reinstall firmware - could it help and fix the problem ? 

    For example I can upload a tgz firmware file on USB and via loader install it by command 

    loader> install file://junos-****.tgz

    Could it fix the problem or it will be useless ? 



    ------------------------------
    Aleksandr Maksimov
    ------------------------------



  • 3.  RE: SRX 240. Failed to do "request system autorecovery state save".

    Posted 2 days ago

    I've not seen these particular error messages before but they may be related to  disk errors on the device.

    If so, you might be able to get a clean reformat using the following process.

    • Insert a blank FAT formated USB and make a snapshot to the USB which will give a bootable full configuration
    • Take the USB and add to this a copy of the installer for the desired Junos
    • Reboot the SRX with the USB inserted so it boots from USB
    • Do a format install to the internal drive while running from the USB to reformat the drive and get a fresh install.
    • Copy the configuration file from the USB to the internal drive replacing the default configuration
    • Shutdown the SRX and remove the USB then reboot to the newly formatted drive


    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
    http://puluka.com/home
    ------------------------------



  • 4.  RE: SRX 240. Failed to do "request system autorecovery state save".

    Posted yesterday

    Thank you so much for help! 

    Do I understand correctly that I can exclude creating a snapshot and booting from USB and could get the same result ? 

    1. I write to a usb flash drive 2 files <Junos package name> + <currentJunos.conf>. I insert the flash drive into Juniper.
    2. I boot into bootload. I use the command loader> install --format file:///<Junos package name>
    3. I transfer the configuration  file using an algorithm

    root@SRX210-DST% mkdir bbbb
    root@SRX210-DST% mount_msdosfs /dev/da1s1 bbbb
    root@SRX210-DST% ls -l b
    total 290656
    -rwxr-xr-x 1 root wheel 43629 Nov 18 09:26 conf.txt
    root@SRX210-DST%

    - Run CLI, enter configuration mode

    root@SRX210-DST%cli
    root@SRX210-DST> edit
    Entering configuration mode

    [edit]

    - Load the configuration with overriding

    root@SRX210-DST# load override bbbb/<currentJunos.conf>
    load complete

    [edit]

    -Commit and quit
     
    root@SRX210-DST# commit and-quit
    commit complete
    Exiting configuration mode

    root@SRX210-SOURCE>

    - Exit from CLI, dismount USB and exit

    root@SRX210-SOURCE> exit

    root@SRX210-DST% umount b
    root@SRX210-DST% exit

    after reboot  add 3 commands

    request system autorecovery state save

    request system storage cleanup

    request system snapshot slice alternate



    ------------------------------
    Aleksandr Maksimov
    ------------------------------



  • 5.  RE: SRX 240. Failed to do "request system autorecovery state save".

    Posted 17 hours ago

    I did everything, but router didn't work properly. 

    After boot I have this messages.

    Jan 11 09:28:15   autod[1128]: AUTOD_BIND_FAILURE: Unable to bind address to socket: Address already in use
    Jan 11 09:28:15   kmd[1121]: /var/etc/vpn_tunnel.id file not available
    Jan 11 09:28:29   last message repeated 14 times
    Jan 11 09:28:29   authd[1140]: LICENSE_SOCKET_FAILURE: 'evConnect' failed for socket 19:
    Jan 11 09:28:30   kmd[1121]: /var/etc/vpn_tunnel.id file not available
    Jan 11 09:28:46   last message repeated 16 times
    Jan 11 09:28:47   autod[1128]: AUTOD_BIND_FAILURE: Unable to bind address to socket: Address already in use
    Jan 11 09:28:47   kmd[1121]: /var/etc/vpn_tunnel.id file not available
    Jan 11 09:28:59   last message repeated 12 times
    Jan 11 09:29:18   last message repeated 19 times
    Jan 11 09:29:19   autod[1128]: AUTOD_BIND_FAILURE: Unable to bind address to socket: Address already in use
    Jan 11 09:29:19   kmd[1121]: /var/etc/vpn_tunnel.id file not available
    Jan 11 09:29:29   last message repeated 10 times
    Jan 11 09:29:29   authd[1140]: LICENSE_SOCKET_FAILURE: 'evConnect' failed for socket 19:
    Jan 11 09:29:30   kmd[1121]: /var/etc/vpn_tunnel.id file not available



    ------------------------------
    Aleksandr Maksimov
    ------------------------------



  • 6.  RE: SRX 240. Failed to do "request system autorecovery state save".

    Posted 17 hours ago

    If I tried to change config I got messages 

    root# commit
    error: /config/juniper.conf+: write failed: Broken pipe
    error: /config/juniper.conf+: was not properly closed: Broken pipe
    error: commit failed: commit to file failed during export to /config/juniper.conf+



    ------------------------------
    Aleksandr Maksimov
    ------------------------------



  • 7.  RE: SRX 240. Failed to do "request system autorecovery state save".

    Posted an hour ago

    I guess the only option is to reset using factory default or zeroize then try to reapply the saved configuration.

    https://supportportal.juniper.net/s/article/SRX-Difference-between-load-factory-default-and-request-system-zeroize-media



    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
    http://puluka.com/home
    ------------------------------