I have a VPS running FreeBSD 10.1 and I'm trying to upgrade to 10.2 (and later on to 10.3 due to 10.1 EOL). The machine is running as a webserver with nginx+php-fpm in a jail (setup with ez-jail) and mysql in another jail and pf on the host. I've tried several times to upgrade the machine but I've been having issues each time.
I tried using the upgrade procedure from the manual with the command
During the kernel upgrade I received this message
I replied with yes, the installation continued (I reinstalled NTP after the upgrade) but when I completed the upgrade mysql wouldn't run properly anymore. It did not open a listening socket or port. I tried upgrading mysql, re-installing it, creating a new jail and install mysql there. I also tried creating a new jail and installing MariaDB on there but it also refused to open a port or socket.
I googled around and found a thread that recommended upgrading the kernel and world separately by editing the Components section /etc/freebsd-update.conf so I tried that and I received different messages while upgrading
I continued with the upgrade but in the end I had the same issue with mysql.
Any help would be appreciated, thanks
p.s.
I had another issue with fail2ban after upgrading and rebooting where it would take a very long time to load and cause the boot process to take much longer than usual so I had to wait 20-30 minutes until I could SSH into the machine. I worked around that issue by changing the rc.d boot order to load SSH before fail2ban so for now I can deal with that but I'd like to get the mysql issue fixed so I can at least use the machine to server webpages.
I tried using the upgrade procedure from the manual with the command
freebsd-update upgrade -r 10.2-RELEASE
and freebsd-update install
, upgrading the basejail, rebooting and then upgrading the non-kernel components for the host and basejailDuring the kernel upgrade I received this message
Code:
Fetching 344 files... done.
/usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory
Attempting to automatically merge changes in files... done.
The following file will be removed, as it no longer exists in
FreeBSD 10.2-RELEASE: /etc/ntp.conf
Does this look reasonable (y/n)?
I replied with yes, the installation continued (I reinstalled NTP after the upgrade) but when I completed the upgrade mysql wouldn't run properly anymore. It did not open a listening socket or port. I tried upgrading mysql, re-installing it, creating a new jail and install mysql there. I also tried creating a new jail and installing MariaDB on there but it also refused to open a port or socket.
I googled around and found a thread that recommended upgrading the kernel and world separately by editing the Components section /etc/freebsd-update.conf so I tried that and I received different messages while upgrading
Code:
/boot/kernel/cyclic.ko
/boot/kernel/cyclic.ko.symbols
/boot/kernel/oce.ko
/boot/kernel/oce.ko.symbols
To install the downloaded upgrades, run "/usr/sbin/freebsd-update install".
Installing updates...install: /usr/jails/newjail//boot/kernel/cyclic.ko: No such file or directory
install: /usr/jails/newjail//boot/kernel/cyclic.ko.symbols: No such file or directory
install: /usr/jails/newjail//boot/kernel/oce.ko: No such file or directory
install: /usr/jails/newjail//boot/kernel/oce.ko.symbols: No such file or directory
I continued with the upgrade but in the end I had the same issue with mysql.
Any help would be appreciated, thanks
p.s.
I had another issue with fail2ban after upgrading and rebooting where it would take a very long time to load and cause the boot process to take much longer than usual so I had to wait 20-30 minutes until I could SSH into the machine. I worked around that issue by changing the rc.d boot order to load SSH before fail2ban so for now I can deal with that but I'd like to get the mysql issue fixed so I can at least use the machine to server webpages.