Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Unable to reset Netgate 6100 after configuration restore

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    4 Posts 3 Posters 1.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      swk
      last edited by

      Hi everyone,

      I think I managed to brick our 2nd 6100 by a backup of configuration with the problem described here -> https://forum.netgate.com/topic/171966/not-posible-to-restore-backups

      Now I tried several times booting it up and go back to a former configuration or to reset it back to factory settings via console but this is just unresponsive / does not have any effect - It shows the XML Error but doesn't react to the input.

      So I tried this guide -> https://docs.netgate.com/pfsense/en/latest/solutions/netgate-6100/factory-reset.html but this also doesn't work for me either, It just goes through the booting process and doesn't seem to recognize the reset being triggered.

      FreeBSD/amd64 (Amnesiac) (ttyu0)
      
      
      Fatal error: Uncaught Exception: XML error: SSHKEYFILE at line 2165 cannot occur more than once
       in /etc/inc/xmlparse.inc:89
      Stack trace:
      #0 [internal function]: startElement(Resource id #24, 'SSHKEYFILE', Array)
      #1 /etc/inc/xmlparse.inc(188): xml_parse(Resource id #24, 'uYXQqtoKu16MY2j...', true)
      #2 /etc/inc/xmlparse.inc(149): parse_xml_config_raw('/conf/config.xm...', Array, 'false')
      #3 /etc/inc/config.lib.inc(134): parse_xml_config('/conf/config.xm...', Array)
      #4 /etc/inc/config.gui.inc(56): parse_config()
      #5 /etc/inc/auth.inc(33): require_once('/etc/inc/config...')
      #6 /etc/inc/ipsec.inc(26): require_once('/etc/inc/auth.i...')
      #7 /etc/inc/gwlb.inc(27): require_once('/etc/inc/ipsec....')
      #8 /etc/inc/functions.inc(35): require_once('/etc/inc/gwlb.i...')
      #9 /etc/inc/notices.inc(26): require_once('/etc/inc/functi...')
      #10 /etc/inc/config.inc(51): require_once('/etc/inc/notice...')
      #11 /etc/rc.banner(27): require_once('/etc/inc/config...')
      #12 {main}
        thrown in /etc/inc/xmlparse.inc on line 89
      PHP ERROR: Type: 1, File: /etc/inc/xmlparse.inc, Line: 89, Message: Uncaught Exception: XML error: SSHKEYFILE at line 2165 cannot occur more than once
       in /etc/inc/xmlparse.inc:89
      Stack trace:
      #0 [internal function]: startElement(Resource id #24, 'SSHKEYFILE', Array)
      #1 /etc/inc/xmlparse.inc(188): xml_parse(Resource id #24, 'uYXQqtoKu16MY2j...', true)
      #2 /etc/inc/xmlparse.inc(149): parse_xml_config_raw('/conf/config.xm...', Array, 'false')
      #3 /etc/inc/config.lib.inc(134): parse_xml_config('/conf/config.xm...', Array)
      #4 /etc/inc/config.gui.inc(56): parse_config()
      #5 /etc/inc/auth.inc(33): require_once('/etc/inc/config...')
      #6 /etc/inc/ipsec.inc(26): require_once('/etc/inc/auth.i...')
      #7 /etc/inc/gwlb.inc(27): require_once('/etc/inc/ipsec....')
      #8 /etc/inc/functions.inc(35): require_once('/etc/inc/gwlb.i...')
      #9 /etc/inc/notices.inc(26): require_once('/etc/inc/functi...')
      #10 /etc/inc/config.inc(51): require_once('/etc/inc/notice...')
      #11 /etc/rc.banner(27): require_once('/etc/inc/config...')
      #12 {main}
        thrown
       0) Logout (SSH only)                  9) pfTop
       1) Assign Interfaces                 10) Filter Logs
       2) Set interface(s) IP address       11) Restart webConfigurator
       3) Reset webConfigurator password    12) PHP shell + Netgate pfSense Plus tools
       4) Reset to factory defaults         13) Update from console
       5) Reboot system                     14) Enable Secure Shell (sshd)
       6) Halt system                       15) Restore recent configuration
       7) Ping host                         16) Restart PHP-FPM
       8) Shell
      
      

      GUI isn't loading, so resetting there is not even an option :(
      from the reset documentation ->

      Note
      
      This is the top (recessed) button and may require a pen, paperclip, or similar tool to press.
      
      

      top left from the usb ports (tried both with the described prozedure)?
      Any idea what I might do wrong?

      1 Reply Last reply Reply Quote 0
      • RicoR
        Rico LAYER 8 Rebel Alliance
        last edited by Rico

        Request the latest 6100 Image here: https://www.netgate.com/tac-support-request
        And reflash: https://docs.netgate.com/pfsense/en/latest/solutions/netgate-6100/reinstall-pfsense.html

        -Rico

        1 Reply Last reply Reply Quote 1
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Reinstalling is likely to be quickest and safest there. Otherwise you could probably manually edit the config to remove the duplicate sshkey entries.

          Steve

          S 1 Reply Last reply Reply Quote 1
          • S
            swk @stephenw10
            last edited by

            @rico said in Unable to reset Netgate 6100 after configuration restore:

            Request the latest 6100 Image here: https://www.netgate.com/tac-support-request
            And reflash: https://docs.netgate.com/pfsense/en/latest/solutions/netgate-6100/reinstall-pfsense.html

            -Rico

            @stephenw10 said in Unable to reset Netgate 6100 after configuration restore:

            Reinstalling is likely to be quickest and safest there. Otherwise you could probably manually edit the config to remove the duplicate sshkey entries.

            Steve

            creating the TAC support request did immidiatly result in getting the image needed - reinstalling was the quickest way - thank you Rico & Steve

            1 Reply Last reply Reply Quote 3
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.