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

    Accidentally Deleted Sbin from usr/local

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    4 Posts 2 Posters 605 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.
    • D
      dotslashniks
      last edited by

      Hi guys!

      I accidentally deleted all the sbin files from /usr/local.
      Now, when I go to package manager, it says that there are no packages installed and unable retrieve package information. So far, this is the only thing I can see as an effect from the deleted sbin. What else are going to be affected with the deletion of this?

      Can I retrieve this whole folder?

      Thank you.

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        Back up the config, reinstall, restore the config.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        D 1 Reply Last reply Reply Quote 0
        • D
          dotslashniks @Derelict
          last edited by

          @derelict Thankyou! And question again. I changed the port of the webgui and then now I cannot go into webgui. Does it because of the deleted sbin? How do I perform backup using ssh? Thank you in advance.

          1 Reply Last reply Reply Quote 0
          • DerelictD
            Derelict LAYER 8 Netgate
            last edited by

            Honestly, I don't know how to do anything with a blown up sbin. Some things might work, some not. The best answer is "don't do that." The file you want is /cf/conf/config.xml.

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

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