← Back to team overview

maria-developers team mailing list archive

Problems installing mariadb published debian packages when using tmpfs for /tmp

 

Hiya,

I followed the instructions here:

  https://downloads.mariadb.org/mariadb/repositories/#mirror=aarnet_pty_ltd&distro=Debian&distro_release=wheezy&version=10.0

cluminating with:

  apt-get install mariadb-server mariadb-client -t wheezy

and eventually after almost everything appears to have worked, I get a fail starting mysqld. (Log follows after)

To summarise the log below, my interpetation of the errors is:

* mysql doesnt like tmpfs
* I am using tmpfs for /tmp. But the ibdata files getcreated in /var/lib/mysql which is not on tmpfs. So I dont understand what is happening here...
* I am running zfs.  Could be part of the problem?

So I set innodb_data_home_dir = /path/to/something/on/ext4, then chown mysql:mysql /path/to/something/on/ext4

And fail with "Cannot create ./ib_logfile101"

So I reverted my change to the location and instead tried using innodb_flush_method	= O_DSYNC (which seems to default to O_DIRECT)

This time things moved a little further, failing instead at 'Setting log file ./ib_logfile1 size to 48 MB
2014-02-16 21:51:39 7f03b252b780  InnoDB: Operating system error number 22 in a file operation.'


Now I have managed to build mariadb from source and run without these problems.

So there seems to be something tricky needed mariadb 10 to run in Debian?








This on a wheezy 7.2 amd64 system.

---- Long trace follows ----


So I noted that mysql-common remained in the system, so I apt-get purged it (not just removed) and tried again. Purging this took out mariadb which obviously seems to have mysql-common as a dependency, so they all got a reinstalling.  Which drags back in mysql-common, but this time as a 10.0, the one that got purged was 5.5.x

This time I had the same errors, plus the following as well:

140216 21:22:08 [ERROR] InnoDB: Failed to set O_DIRECT on file ./ibdata1: OPEN: Invalid argument, continuing anyway
140216 21:22:08 [ERROR] InnoDB: O_DIRECT is known to result in 'Invalid argument' on Linux on tmpfs, see MySQL Bug#26662

I noticed then that /var/log/mysql.err was empty, oddly.

So if I then manually run mysqld-safe --syslog:


Feb 16 21:31:05 atlantis4 mysqld_safe: Starting mysqld daemon with databases from /var/lib/mysql
Feb 16 21:31:05 atlantis4 mysqld: 140216 21:31:05 [Note] InnoDB: The InnoDB memory heap is disabled
Feb 16 21:31:05 atlantis4 mysqld: 140216 21:31:05 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
Feb 16 21:31:05 atlantis4 mysqld: 140216 21:31:05 [Not
e] InnoDB: Compressed tables use zlib 1.2.7
Feb 16 21:31:05 atlantis4 mysqld: 140216 21:31:05 [Note] InnoDB: Using Linux native AIO
Feb 16 21:31:05 atlantis4 mysqld: 140216 21:31:05 [Note] InnoDB: Not using CPU crc32 instructions
Feb 16 21:31:05 atlantis4 mysqld: 140216 21:31:05 [Note] InnoDB: Initializing buffer pool, size = 256.0M
Feb 16 21:31:05 atlantis4 mysqld: 140216 21:31:05 [Note] InnoDB: Completed initialization of buffer pool
Feb 16 21:31:05 atlantis4 mysqld: 140216 21:31:05 [ERROR] InnoDB: Failed to set O_DIRECT on file ./ibdata1: OPEN: Invalid argument, continuing anyway
Feb 16 21:31:05 atlantis4 mysqld: 140216 21:31:05 [ERROR] InnoDB: O_DIRECT is known to result in 'Invalid argument' on Linux on tmpfs, see MySQL Bug#26662
Feb 16 21:31:05 atlantis4 mysqld: 140216 21:31:05 [ERROR] InnoDB: auto-extending data file ./ibdata1 is of a different size 640 pages (rounded down to MB) than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero) pages!
Feb 16 21:31:05 atlantis4 mysqld: 140216 21:31:05 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
Feb 16 21:31:05 atlantis4 mysqld: 140216 21:31:05 [ERROR] Plugin 'InnoDB' init function returned error.
Feb 16 21:31:05 atlantis4 mysqld: 140216 21:31:05 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
Feb 16 21:31:05 atlantis4 mysqld: 140216 21:31:05 [Note] Plugin 'FEEDBACK' is disabled.
Feb 16 21:31:05 atlantis4 mysqld: 140216 21:31:05 [ERROR] Unknown/unsupported storage engine: InnoDB
Feb 16 21:31:05 atlantis4 mysqld: 140216 21:31:05 [ERROR] Aborting
Feb 16 21:31:05 atlantis4 mysqld: 
Feb 16 21:31:05 atlantis4 mysqld: 140216 21:31:05 [Note] /usr/sbin/mysqld: Shutdown complete
Feb 16 21:31:05 atlantis4 mysqld: 
Feb 16 21:31:05 atlantis4 mysqld_safe: mysqld from pid file /var/run/mysqld/mysqld.pid ended
(END)

So I deleted /var/log/mysql and reran mysql_installdb.

# mysql_install_db 
Installing MariaDB/MySQL system tables in '/var/lib/mysql' ...
140216 21:33:12 [Note] InnoDB: The InnoDB memory heap is disabled
140216 21:33:12 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
140216 21:33:12 [Note] InnoDB: Compressed tables use zlib 1.2.7
140216 21:33:12 [Note] InnoDB: Using Linux native AIO
140216 21:33:12 [Note] InnoDB: Not using CPU crc32 instructions
140216 21:33:12 [Note] InnoDB: Initializing buffer pool, size = 256.0M
140216 21:33:12 [Note] InnoDB: Completed initialization of buffer pool
140216 21:33:12 [ERROR] InnoDB: Failed to set O_DIRECT on file ./ibdata1: CREATE: Invalid argument, continuing anyway
140216 21:33:12 [ERROR] InnoDB: O_DIRECT is known to result in 'Invalid argument' on Linux on tmpfs, see MySQL Bug#26662
140216 21:33:12 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
140216 21:33:12 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
140216 21:33:12 [Note] InnoDB: Database physically writes the file full: wait...
140216 21:33:12 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
140216 21:33:12 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
140216 21:33:12 [ERROR] InnoDB: Failed to set O_DIRECT on file ./ibdata1: OPEN: Invalid argument, continuing anyway
140216 21:33:12 [ERROR] InnoDB: O_DIRECT is known to result in 'Invalid argument' on Linux on tmpfs, see MySQL Bug#26662
2014-02-16 21:33:12 7f66ea899780  InnoDB: Operating system error number 22 in a file operation.
InnoDB: Error number 22 means 'Invalid argument'.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/refman/5.6/en/operating-system-error-codes.html
140216 21:33:12 [ERROR] InnoDB: File ./ib_logfile101: 'aio write' returned OS error 122. Cannot continue operation

Installation of system tables failed!  Examine the logs in
/var/lib/mysql for more information.
<snipped>

Errors after setting 

innodb_data_home_dir = /scratch/mysql

# chown -R mysql:mysql /scratch/mysql/
root@atlantis4:/scratch# mysql_install_db 
Installing MariaDB/MySQL system tables in '/var/lib/mysql' ...
140216 21:47:44 [Note] InnoDB: The InnoDB memory heap is disabled
140216 21:47:44 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
140216 21:47:44 [Note] InnoDB: Compressed tables use zlib 1.2.7
140216 21:47:44 [Note] InnoDB: Using Linux native AIO
140216 21:47:44 [Note] InnoDB: Not using CPU crc32 instructions
140216 21:47:44 [Note] InnoDB: Initializing buffer pool, size = 256.0M
140216 21:47:44 [Note] InnoDB: Completed initialization of buffer pool
140216 21:47:44 [Note] InnoDB: The first specified data file /scratch/mysql/ibdata1 did not exist: a new database to be created!
140216 21:47:44 [Note] InnoDB: Setting file /scratch/mysql/ibdata1 size to 12 MB
140216 21:47:44 [Note] InnoDB: Database physically writes the file full: wait...
140216 21:47:44 [ERROR] InnoDB: Cannot create ./ib_logfile101
140216 21:47:44 [ERROR] Plugin 'InnoDB' init function returned error.
140216 21:47:44 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
140216 21:47:44 [ERROR] Unknown/unsupported storage engine: InnoDB
140216 21:47:44 [ERROR] Aborting



--- Log trace of first failed install follows ---




Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libmariadbclient18 libmysqlclient18 mariadb-client-10.0 mariadb-client-core-10.0 mariadb-common mariadb-server-10.0
  mariadb-server-core-10.0
Suggested packages:
  tinyca mariadb-test
The following packages will be REMOVED:
  mysql-client-5.5 mysql-server-core-5.5Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libmariadbclient18 libmysqlclient18 mariadb-client-10.0 mariadb-client-core-10.0 mariadb-common mariadb-server-10.0
  mariadb-server-core-10.0
Suggested packages:
  tinyca mariadb-test
The following packages will be REMOVED:
  mysql-client-5.5 mysql-server-core-5.5
The following NEW packages will be installed:
  libmariadbclient18 mariadb-client mariadb-client-10.0 mariadb-client-core-10.0 mariadb-common mariadb-server mariadb-server-10.0
  mariadb-server-core-10.0
The following packages will be upgraded:
  libmysqlclient18
1 upgraded, 8 newly installed, 2 to remove and 147 not upgraded.
Need to get 36.2 MB of archives.
After this operation, 65.4 MB of additional disk space will be used.
Do you want to continue [Y/n]? 
Get:1 http://mirror.aarnet.edu.au/pub/MariaDB/repo/10.0/debian/ wheezy/main mariadb-common all 10.0.8+maria-1~wheezy [3,310 B]
Get:2 http://mirror.aarnet.edu.au/pub/MariaDB/repo/10.0/debian/ wheezy/main libmysqlclient18 amd64 10.0.8+maria-1~wheezy [2,966 B]
Get:3 http://mirror.aarnet.edu.au/pub/MariaDB/repo/10.0/debian/ wheezy/main libmariadbclient18 amd64 10.0.8+maria-1~wheezy [941 kB]
Get:4 http://mirror.aarnet.edu.au/pub/MariaDB/repo/10.0/debian/ wheezy/main mariadb-client-core-10.0 amd64 10.0.8+maria-1~wheezy [1,993 kB]
Get:5 http://mirror.aarnet.edu.au/pub/MariaDB/repo/10.0/debian/ wheezy/main mariadb-client-10.0 amd64 10.0.8+maria-1~wheezy [5,593 kB]
Get:6 http://mirror.aarnet.edu.au/pub/MariaDB/repo/10.0/debian/ wheezy/main mariadb-server-core-10.0 amd64 10.0.8+maria-1~wheezy [6,096 kB]
Get:7 http://mirror.aarnet.edu.au/pub/MariaDB/repo/10.0/debian/ wheezy/main mariadb-server-10.0 amd64 10.0.8+maria-1~wheezy [21.6 MB]
Get:8 http://mirror.aarnet.edu.au/pub/MariaDB/repo/10.0/debian/ wheezy/main mariadb-client all 10.0.8+maria-1~wheezy [2,874 B]      
Get:9 http://mirror.aarnet.edu.au/pub/MariaDB/repo/10.0/debian/ wheezy/main mariadb-server all 10.0.8+maria-1~wheezy [3,004 B]      
Fetched 36.2 MB in 2min 8s (281 kB/s)                                                                                               
Preconfiguring packages ...
(Reading database ... 358195 files and directories currently installed.)
Removing mysql-client-5.5 ...
Removing mysql-server-core-5.5 ...
Processing triggers for man-db ...
Selecting previously unselected package mariadb-common.
(Reading database ... 358053 files and directories currently installed.)
Unpacking mariadb-common (from .../mariadb-common_10.0.8+maria-1~wheezy_all.deb) ...
Preparing to replace libmysqlclient18:amd64 5.5.31+dfsg-0+wheezy1 (using .../libmysqlclient18_10.0.8+maria-1~wheezy_amd64.deb) ...
Unpacking replacement libmysqlclient18 ...
Selecting previously unselected package libmariadbclient18.
Unpacking libmariadbclient18 (from .../libmariadbclient18_10.0.8+maria-1~wheezy_amd64.deb) ...
Selecting previously unselected package mariadb-client-core-10.0.
Unpacking mariadb-client-core-10.0 (from .../mariadb-client-core-10.0_10.0.8+maria-1~wheezy_amd64.deb) ...
Selecting previously unselected package mariadb-client-10.0.
Unpacking mariadb-client-10.0 (from .../mariadb-client-10.0_10.0.8+maria-1~wheezy_amd64.deb) ...
Selecting previously unselected package mariadb-server-core-10.0.
Unpacking mariadb-server-core-10.0 (from .../mariadb-server-core-10.0_10.0.8+maria-1~wheezy_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for menu ...
Setting up mariadb-common (10.0.8+maria-1~wheezy) ...
Selecting previously unselected package mariadb-server-10.0.
(Reading database ... 358190 files and directories currently installed.)
Unpacking mariadb-server-10.0 (from .../mariadb-server-10.0_10.0.8+maria-1~wheezy_amd64.deb) ...
Selecting previously unselected package mariadb-client.
Unpacking mariadb-client (from .../mariadb-client_10.0.8+maria-1~wheezy_all.deb) ...
Selecting previously unselected package mariadb-server.
Unpacking mariadb-server (from .../mariadb-server_10.0.8+maria-1~wheezy_all.deb) ...
Processing triggers for man-db ...
Setting up libmysqlclient18 (10.0.8+maria-1~wheezy) ...
Setting up libmariadbclient18 (10.0.8+maria-1~wheezy) ...
Setting up mariadb-client-core-10.0 (10.0.8+maria-1~wheezy) ...
Setting up mariadb-client-10.0 (10.0.8+maria-1~wheezy) ...
Setting up mariadb-server-core-10.0 (10.0.8+maria-1~wheezy) ...
Setting up mariadb-server-10.0 (10.0.8+maria-1~wheezy) ...
[ ok ] Stopping MariaDB database server: mysqld.
140216 21:14:37 [Note] InnoDB: The InnoDB memory heap is disabled
140216 21:14:37 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
140216 21:14:37 [Note] InnoDB: Compressed tables use zlib 1.2.7
140216 21:14:37 [Note] InnoDB: Using Linux native AIO
140216 21:14:37 [Note] InnoDB: Not using CPU crc32 instructions
140216 21:14:37 [Note] InnoDB: Initializing buffer pool, size = 128.0M
140216 21:14:37 [Note] InnoDB: Completed initialization of buffer pool
140216 21:14:37 [ERROR] InnoDB: auto-extending data file ./ibdata1 is of a different size 640 pages (rounded down to MB) than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero) pages!
140216 21:14:37 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
140216 21:14:37 [ERROR] Plugin 'InnoDB' init function returned error.
140216 21:14:37 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
140216 21:14:37 [Note] Plugin 'FEEDBACK' is disabled.
140216 21:14:37 [ERROR] Missing system table mysql.roles_mapping; please run mysql_upgrade to create it
[FAIL] Starting MariaDB database server: mysqld . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . failed!
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mariadb-server-10.0 (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up mariadb-client (10.0.8+maria-1~wheezy) ...
dpkg: dependency problems prevent configuration of mariadb-server:
 mariadb-server depends on mariadb-server-10.0 (= 10.0.8+maria-1~wheezy); however:
  Package mariadb-server-10.0 is not configured yet.

dpkg: error processing mariadb-server (--configure):
 dependency problems - leaving unconfigured
Processing triggers for menu ...
Errors were encountered while processing:
 mariadb-server-10.0
 mariadb-server
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
localepurge: Disk space freed in /usr/share/omf: 0 KiB
localepurge: Disk space freed in /usr/share/doc/kde/HTML: 0 KiB

Total disk space freed by localepurge: 0 KiB

E: Sub-process /usr/bin/dpkg returned an error code (1)

The following NEW packages will be installed:
  libmariadbclient18 mariadb-client mariadb-client-10.0 mariadb-client-core-10.0 mariadb-common mariadb-server mariadb-server-10.0
  mariadb-server-core-10.0
The following packages will be upgraded:
  libmysqlclient18
1 upgraded, 8 newly installed, 2 to remove and 147 not upgraded.
Need to get 36.2 MB of archives.
After this operation, 65.4 MB of additional disk space will be used.
Do you want to continue [Y/n]? 
Get:1 http://mirror.aarnet.edu.au/pub/MariaDB/repo/10.0/debian/ wheezy/main mariadb-common all 10.0.8+maria-1~wheezy [3,310 B]
Get:2 http://mirror.aarnet.edu.au/pub/MariaDB/repo/10.0/debian/ wheezy/main libmysqlclient18 amd64 10.0.8+maria-1~wheezy [2,966 B]
Get:3 http://mirror.aarnet.edu.au/pub/MariaDB/repo/10.0/debian/ wheezy/main libmariadbclient18 amd64 10.0.8+maria-1~wheezy [941 kB]
Get:4 http://mirror.aarnet.edu.au/pub/MariaDB/repo/10.0/debian/ wheezy/main mariadb-client-core-10.0 amd64 10.0.8+maria-1~wheezy [1,993 kB]
Get:5 http://mirror.aarnet.edu.au/pub/MariaDB/repo/10.0/debian/ wheezy/main mariadb-client-10.0 amd64 10.0.8+maria-1~wheezy [5,593 kB]
Get:6 http://mirror.aarnet.edu.au/pub/MariaDB/repo/10.0/debian/ wheezy/main mariadb-server-core-10.0 amd64 10.0.8+maria-1~wheezy [6,096 kB]
Get:7 http://mirror.aarnet.edu.au/pub/MariaDB/repo/10.0/debian/ wheezy/main mariadb-server-10.0 amd64 10.0.8+maria-1~wheezy [21.6 MB]
Get:8 http://mirror.aarnet.edu.au/pub/MariaDB/repo/10.0/debian/ wheezy/main mariadb-client all 10.0.8+maria-1~wheezy [2,874 B]      
Get:9 http://mirror.aarnet.edu.au/pub/MariaDB/repo/10.0/debian/ wheezy/main mariadb-server all 10.0.8+maria-1~wheezy [3,004 B]      
Fetched 36.2 MB in 2min 8s (281 kB/s)                                                                                               
Preconfiguring packages ...
(Reading database ... 358195 files and directories currently installed.)
Removing mysql-client-5.5 ...
Removing mysql-server-core-5.5 ...
Processing triggers for man-db ...
Selecting previously unselected package mariadb-common.
(Reading database ... 358053 files and directories currently installed.)
Unpacking mariadb-common (from .../mariadb-common_10.0.8+maria-1~wheezy_all.deb) ...
Preparing to replace libmysqlclient18:amd64 5.5.31+dfsg-0+wheezy1 (using .../libmysqlclient18_10.0.8+maria-1~wheezy_amd64.deb) ...
Unpacking replacement libmysqlclient18 ...
Selecting previously unselected package libmariadbclient18.
Unpacking libmariadbclient18 (from .../libmariadbclient18_10.0.8+maria-1~wheezy_amd64.deb) ...
Selecting previously unselected package mariadb-client-core-10.0.
Unpacking mariadb-client-core-10.0 (from .../mariadb-client-core-10.0_10.0.8+maria-1~wheezy_amd64.deb) ...
Selecting previously unselected package mariadb-client-10.0.
Unpacking mariadb-client-10.0 (from .../mariadb-client-10.0_10.0.8+maria-1~wheezy_amd64.deb) ...
Selecting previously unselected package mariadb-server-core-10.0.
Unpacking mariadb-server-core-10.0 (from .../mariadb-server-core-10.0_10.0.8+maria-1~wheezy_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for menu ...
Setting up mariadb-common (10.0.8+maria-1~wheezy) ...
Selecting previously unselected package mariadb-server-10.0.
(Reading database ... 358190 files and directories currently installed.)
Unpacking mariadb-server-10.0 (from .../mariadb-server-10.0_10.0.8+maria-1~wheezy_amd64.deb) ...
Selecting previously unselected package mariadb-client.
Unpacking mariadb-client (from .../mariadb-client_10.0.8+maria-1~wheezy_all.deb) ...
Selecting previously unselected package mariadb-server.
Unpacking mariadb-server (from .../mariadb-server_10.0.8+maria-1~wheezy_all.deb) ...
Processing triggers for man-db ...
Setting up libmysqlclient18 (10.0.8+maria-1~wheezy) ...
Setting up libmariadbclient18 (10.0.8+maria-1~wheezy) ...
Setting up mariadb-client-core-10.0 (10.0.8+maria-1~wheezy) ...
Setting up mariadb-client-10.0 (10.0.8+maria-1~wheezy) ...
Setting up mariadb-server-core-10.0 (10.0.8+maria-1~wheezy) ...
Setting up mariadb-server-10.0 (10.0.8+maria-1~wheezy) ...
[ ok ] Stopping MariaDB database server: mysqld.
140216 21:14:37 [Note] InnoDB: The InnoDB memory heap is disabled
140216 21:14:37 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
140216 21:14:37 [Note] InnoDB: Compressed tables use zlib 1.2.7
140216 21:14:37 [Note] InnoDB: Using Linux native AIO
140216 21:14:37 [Note] InnoDB: Not using CPU crc32 instructions
140216 21:14:37 [Note] InnoDB: Initializing buffer pool, size = 128.0M
140216 21:14:37 [Note] InnoDB: Completed initialization of buffer pool
140216 21:14:37 [ERROR] InnoDB: auto-extending data file ./ibdata1 is of a different size 640 pages (rounded down to MB) than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero) pages!
140216 21:14:37 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
140216 21:14:37 [ERROR] Plugin 'InnoDB' init function returned error.
140216 21:14:37 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
140216 21:14:37 [Note] Plugin 'FEEDBACK' is disabled.
140216 21:14:37 [ERROR] Missing system table mysql.roles_mapping; please run mysql_upgrade to create it
insserv: warning: script 'K01fcron' missing LSB tags and overrides
insserv: warning: script 'fcron' missing LSB tags and overrides
[FAIL] Starting MariaDB database server: mysqld . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . failed!
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mariadb-server-10.0 (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up mariadb-client (10.0.8+maria-1~wheezy) ...
dpkg: dependency problems prevent configuration of mariadb-server:
 mariadb-server depends on mariadb-server-10.0 (= 10.0.8+maria-1~wheezy); however:
  Package mariadb-server-10.0 is not configured yet.

dpkg: error processing mariadb-server (--configure):
 dependency problems - leaving unconfigured
Processing triggers for menu ...
Errors were encountered while processing:
 mariadb-server-10.0
 mariadb-server
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
localepurge: Disk space freed in /usr/share/omf: 0 KiB
localepurge: Disk space freed in /usr/share/doc/kde/HTML: 0 KiB

Total disk space freed by localepurge: 0 KiB

E: Sub-process /usr/bin/dpkg returned an error code (1)




Follow ups