HELPPPP



  • 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?



  • 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.



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



  • 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)



  • @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



  • @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?



  • 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



  • 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.



  • @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?



  • @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)?



  • @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.



  • @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?



  • @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



  • @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



  • @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


Log in to reply