Update from 2.0RC to 2.0.1 RELEASE problems
-
So I tried to update a remote server today via ssh, and everything looked normal until the server rebooted and I ssh'd back in a few minutes later. I was greeted with this error right before the pfsense console menu:
/libexec/ld-elf.so.1: /usr/local/lib/libxml2.so.5: version LIBXML2_2.5.2 required by /usr/local/bin/php not defined
I thought that everything was still functioning ok at first, but to my dismay I found that it was not. I thought maybe a reboot would fix things but I was unable to reboot from the menu. I went into the shell and typed reboot, but the server did not come back up afterwards as I could not connect via ssh or web GUI.
Is there any way to fix this without wiping and doing a fresh install? If I take a cd of the full installation out and try to recover from the config.xml file on the server will that work?
Thanks in advance
-
You can re-apply the firmware update file on top, so it will replace those libraries.
Guessing there was a package installed and then removed that may have clobbered a system library.
If you can, try from the shell, option 13 for console upgrade, 1 for by url, then enter "auto" and see if that works.
-
You can re-apply the firmware update file on top, so it will replace those libraries.
Guessing there was a package installed and then removed that may have clobbered a system library.
If you can, try from the shell, option 13 for console upgrade, 1 for by url, then enter "auto" and see if that works.
That didn't work, the only option I can do from the menu is to go to the shell since any time I try something else it just gives me that error message from above.
-
So I tried to update a remote server today via ssh, and everything looked normal until the server rebooted and I ssh'd back in a few minutes later. I was greeted with this error right before the pfsense console menu:
/libexec/ld-elf.so.1: /usr/local/lib/libxml2.so.5: version LIBXML2_2.5.2 required by /usr/local/bin/php not defined
I thought that everything was still functioning ok at first, but to my dismay I found that it was not. I thought maybe a reboot would fix things but I was unable to reboot from the menu. I went into the shell and typed reboot, but the server did not come back up afterwards as I could not connect via ssh or web GUI.
Is there any way to fix this without wiping and doing a fresh install? If I take a cd of the full installation out and try to recover from the config.xml file on the server will that work?
Thanks in advance
So I have managed to copy the config.xml file over to a usb flash drive after getting physical access to the console. Will I be able to restore from this config, or is it too late since the file was dated after I attempted the upgrade and received the error above.
I'm still very new to pfsense, and I would really like to avoid setting the server back up from scratch as it provides captive portal wifi to one of our offices. Anyone care to elaborate what I should do from here? :(
-
Someone must have some experience with this.
Also, I was reading this article http://doc.pfsense.org/index.php/Automatically_Restore_During_Install and it talks about plugging in a usb flash drive to restore your config, but it is talking about plugging the flash drive into your router? Am I correct in thinking that the "router" is your pfsense box? Sorry if these are all noob questions, but this is all new to me and I'm trying to muddle through.
-
Unfortunately unless you have some experience with unix it will be hard to manually recover from that missing library.
Since you can't do an automated upgrade/firmware application, you'd have to manually transfer the fimware image to the firewall and unpack it manually to restore that library. Alternately, you could reinstall+restore your config, which would be a lot easier.
That doc wiki link is talking about putting the config on a USB stick on the firewall.
-
Unfortunately unless you have some experience with unix it will be hard to manually recover from that missing library.
Since you can't do an automated upgrade/firmware application, you'd have to manually transfer the fimware image to the firewall and unpack it manually to restore that library. Alternately, you could reinstall+restore your config, which would be a lot easier.
That doc wiki link is talking about putting the config on a USB stick on the firewall.
Thanks. I tried that earlier this morning, and after installing from the LiveCD with the USB flash drive containing the old config files plugged in, the pfsense box rebooted and came back up with what look to be the previous settings (at least the IP info on the boot menu screen). It's not hooked up to anything so I won't really know if it was truly successful until I take it back out to the remote office location and hook it back up.