VersionAddendum
there the installer inserted >> ===, witch will fail on sshd load. Remove these “update inserts” and it will probably work. Under the update/install, you should get a message to manually edit the file under the update. Maybe you didn’t save?You were right. I deleted ">>>>>=====current version" in sshd_config and everything worked on server supermicro .Between 13 and 14, the /etc/ssh/sshd_config changed. Small change between 14.1 and 14.2 on the rowVersionAddendum
there the installer inserted >> ===, witch will fail on sshd load. Remove these “update inserts” and it will probably work. Under the update/install, you should get a message to manually edit the file under the update. Maybe you didn’t save?
there are no markers thereYou might want to check /etc/login.conf for those same left over merge markers.
freebsd-version -urk
outputs. Those "Function not implemented" errors might be an indication of an old kernel running on new userland. Does this machine perhaps have a custom kernel?
freebsd-update upgrade -r 14.2-RELEASE
freebsd-update install
shutdown -r now
freebsd-update install
shutdown -r now
pkg bootstrap -f
pkg update
pkg upgrade
pkg ver | grep "?"
freebsd-update install
shutdown -r now
цYou didn't completed the upgrade.
After installing new kernel you need to do another
freebsd-upgrade install
To install the new userland then you need to reboot and reinstall/upgrade ALL pkgs/ports and reboot 3-th time.
How can I reinstall if the network stops working?You canceled the automatic conflict merge that's why you didn't install the new userland.
Here's the summary steps:
Fetch the 14.2 upgrade
freebsd-update upgrade -r 14.2-RELEASE
Install new 14.2 kernel and reboot using the new kernel.
freebsd-update install
shutdown -r now
Install new 14.2 userland
freebsd-update install
shutdown -r now
Reinstall all pkg/ports so they use new 14.2 libs then restart again
pkg bootstrap -f
pkg update
pkg upgrade
or if you use ports use your portupgrade/portmaster to force rebuild and install of all ports
then reboot. Also you will need to upgrade some old obsolete pkgs which doesn't exist anymore between 12.2 -> 14.2
pkg ver | grep "?"
freebsd-update install
shutdown -r now
Thanks, using point 6, I booted from the second kernel. Ifconfig works thereWhen the server is booting (the menu), can you start the server on the old kernel and everything working? Option 6 (if you have more kernels).
Second kernel 14.1-Release-p6.And the first kernel is also 14.1-p6, but broken by the upgrade kneeIs that server a 12.2-Release? Or that is the old kernel.
That’s old!
About this “unwritable”, can’t give you any hint there.
Maybe time to make a clean fresh install?