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

    Cant reboot - ends with exec failure

    Scheduled Pinned Locked Moved General pfSense Questions
    9 Posts 2 Posters 1.8k 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
      sunghost
      last edited by

      Hello,
      today i wanted to reboot my pfs 2.1.5 (amd64) with installed snort, vnstat2  and active traffic shaper. But the system halts with mesage: trying to mount root from /dev/ad0s1a, waring: / was not properly dismounted, bad dir ino 23590 at offset 0: mangled entry and init: cant exec /bin/sh for /etc/rc: exec fromat error.

      i rebooted the system from gui, but it always ends there. any idea?

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

        Sounds like you've got a hard drive problem.  You might need to boot from alternate media, force an fsck, and cross your fingers.  If you can get a copy of your /conf/config.xml file first that'd probably be a good move.

        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
        • S
          sunghost
          last edited by

          Hello,
          its a virtual machine. Is there a possibility to do it like that: 1. backup config with install packages 2. new install  3. restore config with packages ?? I am not firm with freebsd so what is the best way to check the filesystem else?

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

            Boot the VM from an ISO I guess.  If you run it as a live CD you should be able to drop to the shell and get at the disk to fsck it, copy the config, etc.

            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
            • S
              sunghost
              last edited by

              Its an KVM virtualisation with qcow2 as disk format. so its an installation. i could choose some option in boot menu perhaps.

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

                Sorry.  No idea.  Maybe someone else has worked with it.

                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
                • S
                  sunghost
                  last edited by

                  Ok no problem an thanks for trying to help. Tried to ask on the virtualisation platform too.

                  1 Reply Last reply Reply Quote 0
                  • S
                    sunghost
                    last edited by

                    Perhaps it is not clear but i could start from  a snapshot and pfs runs. i can connect to the console and could start the shell. any commands to check filesystem?
                    edit: start shell and run fschk. Failure are found but not corrected ?!

                    1 Reply Last reply Reply Quote 0
                    • S
                      sunghost
                      last edited by

                      Hi,
                      i checked the virtual conainer and its ok. so i think it must a corruption in the filesystem of freebsd / pfsense. i boot into shell and run fsck, it found some error but could repair. i think while its the root. so i tried with option -f -y but no success. i also found a command to make it writeable, but it didnt work. my problem is i dont know freebsd. i think i have to boot from an cd and run fsck. the question is there a iso to download which works well for freebsd / pfsense? i also ask myself where the failure cames from. i simple update the pfsense and install snort, nothing more on the system or custom things. thx

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