rvassar
Guru
- Joined
- May 2, 2018
- Messages
- 972
Having been somewhat disappointed with Bhyve VM's, I thought I'd take a closer look at Jails, and see if I could make use of them for some of my infrastructure needs by deploying MySQL in a standard jail. I hit an error that I can't seem to move past:
FreeNAS 11.1-U6... (Build #3 in my sig)
Steps:
1. Set up jail with static IP
2. Add user
3. Enable sshd / login, etc...
4. pkg update / upgrade
5. pkg install mysql57-server mysql-client
6. sysrc mysql_enable="YES"
7. service mysql-server start
-> Hit "failed precmd routine for mysql" error
8. Patched up my.cnf, fixed ownership, etc...
9 Eventually get to: "/usr/local/libexec/mysqld -initialize"
And I hit this error: "/usr/local/libexec/mysqld: Undefined symbol "fdatasync"
I've been away from BSD for too long, but that looks like a dynamic linker error to me.
Has anyone got a cheat sheet? I'm following various FreeBSD quick setup guides, but I've been using Ubuntu for MySQL for years, and it just works.
FreeNAS 11.1-U6... (Build #3 in my sig)
Steps:
1. Set up jail with static IP
2. Add user
3. Enable sshd / login, etc...
4. pkg update / upgrade
5. pkg install mysql57-server mysql-client
6. sysrc mysql_enable="YES"
7. service mysql-server start
-> Hit "failed precmd routine for mysql" error
8. Patched up my.cnf, fixed ownership, etc...
9 Eventually get to: "/usr/local/libexec/mysqld -initialize"
And I hit this error: "/usr/local/libexec/mysqld: Undefined symbol "fdatasync"
I've been away from BSD for too long, but that looks like a dynamic linker error to me.
Has anyone got a cheat sheet? I'm following various FreeBSD quick setup guides, but I've been using Ubuntu for MySQL for years, and it just works.