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

    HELPPPP

    Scheduled Pinned Locked Moved General pfSense Questions
    15 Posts 5 Posters 3.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.
    • L
      luke240778
      last edited by

      Need help! pfsense box not starting up properly, at the terminal screen anything i press (5 to reboot for example)  i just get the following error:

      /libexex/ld-elf.so.1 /usr/local/lib/libxml2.so.5: version LIBXML2_2.5.5 required by /usr/local/bin/php not defined

      No idea how to continue.. anyone able to tell me how to get past this?

      1 Reply Last reply Reply Quote 0
      • T
        tlum
        last edited by

        How did it get like this? I suspect there is more to the story than you've told so far? On the surface it sounds like missing or wrong files and that doesn't usually happen by its self.

        1 Reply Last reply Reply Quote 0
        • C
          cmb
          last edited by

          Probably messing around with packages. Installing the update file for the version you're already on will fix.

          1 Reply Last reply Reply Quote 0
          • L
            luke240778
            last edited by

            I am not able to login to the GUI.. nothing

            So cant update or change anything as far as i know, unless there is a way to do it via shell

            No not playing around, the squid swap.state file got huge so i deleted it, and rebooted.. that was it. (this always happens and i do the same thing each time)

            1 Reply Last reply Reply Quote 0
            • L
              luke240778
              last edited by

              @cmb:

              Probably messing around with packages. Installing the update file for the version you're already on will fix.

              Can you possibly tell me first how i can using vi edit the config.xml so i cna change the WAN and LAN ips on the box before i do the upgrade via shell?

              I built another pfsense vm and that is currently running (had to keep clients happy while i try and fix the problem..)

              Dont want it to update with the same IP cause if it works i will have 2 running and will get booted off my VPN

              1 Reply Last reply Reply Quote 0
              • W
                wallabybob
                last edited by

                @luke240778:

                Can you possibly tell me first how i can using vi edit the config.xml so i cna change the WAN and LAN ips on the box before i do the upgrade via shell?

                You don't know how to use vi (try ee) or you don't know what to change in config.xml?

                1 Reply Last reply Reply Quote 0
                • L
                  luke240778
                  last edited by

                  The latter.. but i also just worked out what to change, but it doesnt matter anyways.. the box is unable to ping anything, so an update via the shell isnt going to work as i cant get the package from the www…  Just says no route to host whenever i try and ping something... Looks like its well and truly fubar'd

                  1 Reply Last reply Reply Quote 0
                  • C
                    cmb
                    last edited by

                    You can scp the full update file and manually extract it.

                    cd /
                    tar zcvf updatefilename.tgz

                    and it'll work at that point, that replaces the files you're missing.

                    1 Reply Last reply Reply Quote 0
                    • L
                      luke240778
                      last edited by

                      @cmb:

                      You can scp the full update file and manually extract it.

                      cd /
                      tar zcvf updatefilename.tgz

                      and it'll work at that point, that replaces the files you're missing.

                      Thanks cmb, this sounds like the way to go, but how do i scp a file to the machine seeing it can't even ping or communicate with anything?

                      1 Reply Last reply Reply Quote 0
                      • W
                        wallabybob
                        last edited by

                        @luke240778:

                        how do i scp a file to the machine seeing it can't even ping or communicate with anything?

                        I don't know how you could scp but maybe you could transfer the file on a USB stick.

                        If changing IP addresses would help why don't you use the console menu (item 2) to change IP addresses then reboot (if required)?

                        1 Reply Last reply Reply Quote 0
                        • L
                          luke240778
                          last edited by

                          @wallabybob:

                          @luke240778:

                          how do i scp a file to the machine seeing it can't even ping or communicate with anything?

                          I don't know how you could scp but maybe you could transfer the file on a USB stick.

                          If changing IP addresses would help why don't you use the console menu (item 2) to change IP addresses then reboot (if required)?

                          Thanks for your reply, but as i mentioned before, pressing any of the menu items, like 2 to change IP's, i just get the error, and i cannot do anything.. apart from enter the shell (number 8). I have chaned the IP address manually in the config but it still has no network connectivity.

                          1 Reply Last reply Reply Quote 0
                          • W
                            wallabybob
                            last edited by

                            @luke240778:

                            Thanks for your reply, but as i mentioned before, pressing any of the menu items, like 2 to change IP's, i just get the error, and i cannot do anything.. apart from enter the shell (number 8). I have chaned the IP address manually in the config but it still has no network connectivity.

                            Sorry, I didn't go far enough back in the history.

                            Can you copy an update file from a USB stick then follow CMB's suggestion?

                            1 Reply Last reply Reply Quote 0
                            • L
                              luke240778
                              last edited by

                              @wallabybob:

                              @luke240778:

                              Thanks for your reply, but as i mentioned before, pressing any of the menu items, like 2 to change IP's, i just get the error, and i cannot do anything.. apart from enter the shell (number 8). I have chaned the IP address manually in the config but it still has no network connectivity.

                              Sorry, I didn't go far enough back in the history.

                              Can you copy an update file from a USB stick then follow CMB's suggestion?

                              I'll have to try that when i am in the office next. It is running on a ESXi server so i think i can get it to see USB.. not sure, will have to be there to physically plug it in

                              1 Reply Last reply Reply Quote 0
                              • marcellocM
                                marcelloc
                                last edited by

                                @luke240778:

                                Can you possibly tell me first how i can using vi edit the config.xml so i cna change the WAN and LAN ips on the box before i do the upgrade via shell?

                                use viconfig to edit config.xml on console/ssh.

                                Just in case, create a backup file before edit: cp /conf/config.xml /root/backup_before_upgrade.xml

                                Treinamentos de Elite: http://sys-squad.com

                                Help a community developer! ;D

                                1 Reply Last reply Reply Quote 0
                                • L
                                  luke240778
                                  last edited by

                                  @marcelloc:

                                  @luke240778:

                                  Can you possibly tell me first how i can using vi edit the config.xml so i cna change the WAN and LAN ips on the box before i do the upgrade via shell?

                                  use viconfig to edit config.xml on console/ssh.

                                  Just in case, create a backup file before edit: cp /conf/config.xml /root/backup_before_upgrade.xml

                                  Thanks for your reply, but that part i have already done, but it still has no network connectivity at all, can't ping anything.. so i am still stuck at how to get hte upgrade image onto it to try the upgrade

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