Hi All,
I've recently relocated the FreeBSD machine to a new location, new network, etc. I've upgraded the packages shortly after confirming physical connectivity was OK and Nginx instance threw HTTP 500. I started investigating and noticed problems with the MariaDB installation:
I then tried issuing the upgrade command to see whether there's anything different being output:
Starting the server fails. Domain logs show the following:
Unsure how to progress this. Can I rollback the upgrade somehow? How can I troubleshoot this further?
Thanks in advance!
Janusz
I've recently relocated the FreeBSD machine to a new location, new network, etc. I've upgraded the packages shortly after confirming physical connectivity was OK and Nginx instance threw HTTP 500. I started investigating and noticed problems with the MariaDB installation:
Code:
# mysqladmin -u root -p status
Enter password:
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysql/mysql.sock' exists!
I then tried issuing the upgrade command to see whether there's anything different being output:
Code:
/var/db/mysql # mysql_upgrade
Version check failed. Got the following error when calling the 'mysql' command line client
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)
FATAL ERROR: Upgrade failed
Starting the server fails. Domain logs show the following:
Code:
Version: '10.4.13-MariaDB' socket: '/tmp/mysql.sock' port: 3306 FreeBSD Ports
2020-06-12 19:05:12 0 [Note] InnoDB: Buffer pool(s) load completed at 200612 19:05:12
2020-06-12 20:33:02 0 [Note] /usr/local/libexec/mysqld (initiated by: unknown): Normal shutdown
2020-06-12 20:33:02 0 [Note] Event Scheduler: Purging the queue. 0 events
2020-06-12 20:33:02 0 [Note] InnoDB: FTS optimize thread exiting.
2020-06-12 20:33:02 0 [Note] InnoDB: Starting shutdown...
2020-06-12 20:33:02 0 [Note] InnoDB: Dumping buffer pool(s) to /var/db/mysql/ib_buffer_pool
2020-06-12 20:33:02 0 [Note] InnoDB: Instance 0, restricted to 2003 pages due to innodb_buf_pool_dump_pct=25
2020-06-12 20:33:02 0 [Note] InnoDB: Buffer pool(s) dump completed at 200612 20:33:02
2020-06-12 20:33:03 0 [Note] InnoDB: Shutdown completed; log sequence number 3062311769; transaction id 14546297
2020-06-12 20:33:03 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2020-06-12 20:33:03 0 [Note] /usr/local/libexec/mysqld: Shutdown complete
Unsure how to progress this. Can I rollback the upgrade somehow? How can I troubleshoot this further?
Thanks in advance!
Janusz