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

    /etc/passwd displayed in top of the GUI

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    9 Posts 5 Posters 1.6k 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 Offline
      sinqinc
      last edited by

      Hi,

      I did the upgrade to 2.3.3-1 and the gui show up the /etc/passwd file.

      I also had to remove the package ftpproxy_client manually because some services didn't came up.

      ![Capture d’écran 2017-04-20 à 22.41.19.png](/public/imported_attachments/1/Capture d’écran 2017-04-20 à 22.41.19.png)
      ![Capture d’écran 2017-04-20 à 22.41.19.png_thumb](/public/imported_attachments/1/Capture d’écran 2017-04-20 à 22.41.19.png_thumb)
      ![Capture d’écran 2017-04-20 à 22.41.04.png](/public/imported_attachments/1/Capture d’écran 2017-04-20 à 22.41.04.png)
      ![Capture d’écran 2017-04-20 à 22.41.04.png_thumb](/public/imported_attachments/1/Capture d’écran 2017-04-20 à 22.41.04.png_thumb)

      1 Reply Last reply Reply Quote 0
      • S Offline
        sinqinc
        last edited by

        I can't install package and check for upgrade too  :-\

        1 Reply Last reply Reply Quote 0
        • H Offline
          heper
          last edited by

          backup your config & reinstall & restore backup.

          will be quickest way

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

            Based on the information available my first guess is the storage in that device is failing or has failed in fairly spectacular fashion.

            You might check the system log for anything to that effect.

            Also available might be the upgrade log at /cf/conf/upgrade_log.txt

            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 Offline
              sinqinc
              last edited by

              I can't restore the config. The XML contain the same account information and the XML doesn't seems to be incomplete.

              There is anyway to the backup from the command line ?

              1 Reply Last reply Reply Quote 0
              • jimpJ Offline
                jimp Rebel Alliance Developer Netgate
                last edited by

                The filesystem appears to have been mangled in such a way that one of the PHP header/include files has had its contents swapped with all or part of the passwd file.

                If you can connect to the device with scp (use the root account, with the admin password), grab /conf/config.xml directly, do not use the GUI to make a backup.

                I wouldn't trust the filesystem at this point. A wipe and reload is required at a minimum, but if the disk is dying that should be replaced as well.

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sinqinc
                  last edited by

                  I restored the config.xml but FreeBSD did a kernel panic at boot.

                  I had to modify the config.xml and remove haproxy from the package list and the config. I think the package in 2.2.x did not pass the upgrade.

                  I installed haproxy from 2.3.3.1 and restored only the configuration of haproxy directly in the new config.xml.

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    doktornotor Banned
                    last edited by

                    Noone told you to restore config.xml on the broken box. You were told to backup config.xml directly via SCP/SSH and do a full re-install at minimum. Only after that is finished, you should be restoring any config.

                    Also, check your HW.

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      sinqinc
                      last edited by

                      I did a restore of the config.xml on the new VM not on the old. I backuped the config.xml via scp and did a full install and restored. It's the new VM that failed. It was the config.xml itself that was problematic. Something got wrong at the upgrade.

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