pfSense has detected a crash report or programming bug
-
After upgrading to 23.09, I received this message in the GUI.
[09-Nov-2023 16:21:12 America/New_York] PHP Fatal error: Uncaught Error: Failed opening required '/usr/local/share/pear/Net/IPv6.php' (include_path='.:/etc/inc:/usr/local/pfSense/include:/usr/local/pfSense/include/www:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg:/usr/local/www/classes:/usr/local/www/classes/Form:/usr/local/share/pear:/usr/local/share/openssl_x509_crl/') in /etc/inc/util.inc:28
Stack trace:
#0 /usr/local/www/guiconfig.inc(32): include_once()
#1 /usr/local/www/firewall_schedule_edit.php(49): require_once('/usr/local/www/...')
#2 {main}
thrown in /etc/inc/util.inc on line 28 -
What were you upgrading from?
-
I have an SG-5100 that was running 23.05.1 earlier.
I normally don't upgrade so soon after a release, but I needed to restore a local config.xml file, which triggered the need to upgrade (because the default packages stopped working).
-
Hmm, it seems like maybe it didn't fully upgrade given your other thread showing a library mismatch.
Try running
pkg-static upgrade
and see if it offers you any upgrades. -
@stephenw10
When I tried
pkg-static upgrade
I got "No active remote repositories configured."I've never done it before and I don't know anything about pkg-static, so I decided to type
pkg help
I got the same error as when I try to run easyrule
ld-elf.so.1: /usr/local/sbin/pkg: Undefined symbol "__libc_start1@FBSD_1.7"
Is there a way for me to do a clean reinstall?
-
Yes, open a ticket to get the recovery image: https://www.netgate.com/tac-support-request
If you go to System > Updates in the gui does it show a repo branch selected? You can try resaving 23.09 there and see if it then allows pkg upgrade to run.
Steve
-
@stephenw10
This is what it shows. -
Ok so first try just resaving that on the settings tab and recheck.
If that does nothing try running at the comm and line:
pfSense-repoc -D
That will include data in the output you may not want posted here.pfSense-repo-setup
pkg-static -d update
Or just reinstall clean.
-
Trying to reinstall clean, but I think something broke somewhere.
I powered on with the bootable usb plugged in, but I don’t see anything on my putty terminal.
Where do I go from here?
-
After about 30 minutes looking at a black putty screen, I decided to unplug it and try booting without the USB. The same black putty screen. The only difference is that it says (inactive) now, which is probably when I disconnected power.
Do I have a brick at hand now?
-
After some time, disconnecting and connecting the wires and putty again, I see this message.
boot: No /boot/kernel/kernel
This is when I am trying to load from the regular device, not the bootable usb.
My random guess is that I interrupted the installation process in a bad spot.
What should I try next?
-
So I tried booting from the USB again. I had by now lost the fear of just unplugging the device and restarting with the bootable usb plugged in.
It showed me output this time. I think I was missing hitting space. I was hitting enter but that was not enough.
Anyway, as it started to install it wasn't able to find my config from the existing file system. Luckily I found the instructions that said you can put config.xml onto the USB itself (same folder that has the readme). It seems to have worked.
The household has internet again, i.e. less yelling at me.