v15 Screwed up MYSQL permissions, looking to recover database
#1
So I'm running a MYSQL server on Freenas and very stupidly accidentally changed all permissions for all jails (where I meant to just change permissions for the files themselves) - and now none of my plugins and jails will start. Most of them are a minor inconvenience, but losing my Kodi database is disastrous.

Is there a simple way of copying my database information so that I can rebuild the jail and plug the database files back in? Alternatively, is there a simple way to restore the permissions to a working state?

Here's the jail log from my most recent attempt to turn it back on:

Aug 3 15:43:27 KODI syslogd: exiting on signal 15
Aug 3 15:43:41 KODI syslogd: kernel boot file is /boot/kernel/kernel
Aug 3 15:43:41 KODI su: in openpam_check_desc_owner_perms(): /etc/pam.d/su: insecure ownership or permissions
Aug 3 15:43:41 KODI su: pam_start: system error
Aug 3 15:43:41 KODI root: /etc/rc: WARNING: failed to start mysql
Aug 3 15:43:41 KODI /usr/sbin/cron[10798]: _secure_path: /etc/login.conf is world writable
Aug 3 15:43:41 KODI /usr/sbin/cron[10798]: login_getclass: unknown class 'daemon'
Aug 3 15:43:41 KODI /usr/sbin/cron[10798]: _secure_path: /etc/login.conf is world writable
Aug 3 15:43:41 KODI /usr/sbin/cron[10798]: login_getcla[/code]ss: unknown class 'daemon'
Aug 3 15:43:41 KODI /usr/sbin/cron[10798]: _secure_path: /etc/login.conf is world writable
Aug 3 15:43:41 KODI /usr/sbin/cron[10798]: login_getclass: unknown class 'daemon'
Aug 3 15:43:41 KODI /usr/sbin/cron[10798]: _secure_path: /etc/login.conf is world writable
Aug 3 15:43:41 KODI /usr/sbin/cron[10798]: login_getclass: unknown class 'daemon'
Aug 3 15:43:41 KODI /usr/sbin/cron[10798]: _secure_path: /etc/login.conf is world writable
Aug 3 15:43:41 KODI /usr/sbin/cron[10798]: login_getclass: unknown class 'daemon'
Aug 3 15:43:41 KODI /usr/sbin/cron[10798]: _secure_path: /etc/login.conf is world writable
Aug 3 15:43:41 KODI /usr/sbin/cron[10798]: login_getclass: unknown class 'daemon'
Reply

Logout Mark Read Team Forum Stats Members Help
Screwed up MYSQL permissions, looking to recover database0