daily pastebin goal
2%
SHARE
TWEET

Untitled

a guest Aug 8th, 2017 96 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. eirikz@zoneminder:~$ sudo apt-get --reinstall install mariadb-server
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. The following additional packages will be installed:
  6.   libdbd-mysql-perl libmysqlclient20 mariadb-client-10.1 mariadb-client-core-10.1 mariadb-common mariadb-server-10.1 mariadb-server-core-10.1 mysql-common
  7. Suggested packages:
  8.   mailx mariadb-test tinyca
  9. The following NEW packages will be installed:
  10.   libdbd-mysql-perl libmysqlclient20 mariadb-client-10.1 mariadb-client-core-10.1 mariadb-common mariadb-server mariadb-server-10.1 mariadb-server-core-10.1 mysql-common
  11. 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
  12. Need to get 0 B/13.5 MB of archives.
  13. After this operation, 144 MB of additional disk space will be used.
  14. Do you want to continue? [Y/n] y
  15. Preconfiguring packages ...
  16. Selecting previously unselected package mysql-common.
  17. (Reading database ... 98055 files and directories currently installed.)
  18. Preparing to unpack .../mysql-common_5.8+1.0.2ubuntu1_all.deb ...
  19. Unpacking mysql-common (5.8+1.0.2ubuntu1) ...
  20. Selecting previously unselected package mariadb-common.
  21. Preparing to unpack .../mariadb-common_10.1.25-0ubuntu0.17.04.1_all.deb ...
  22. Unpacking mariadb-common (10.1.25-0ubuntu0.17.04.1) ...
  23. Selecting previously unselected package mariadb-client-core-10.1.
  24. Preparing to unpack .../mariadb-client-core-10.1_10.1.25-0ubuntu0.17.04.1_amd64.deb ...
  25. Unpacking mariadb-client-core-10.1 (10.1.25-0ubuntu0.17.04.1) ...
  26. Selecting previously unselected package mariadb-client-10.1.
  27. Preparing to unpack .../mariadb-client-10.1_10.1.25-0ubuntu0.17.04.1_amd64.deb ...
  28. Unpacking mariadb-client-10.1 (10.1.25-0ubuntu0.17.04.1) ...
  29. Selecting previously unselected package mariadb-server-core-10.1.
  30. Preparing to unpack .../mariadb-server-core-10.1_10.1.25-0ubuntu0.17.04.1_amd64.deb ...
  31. Unpacking mariadb-server-core-10.1 (10.1.25-0ubuntu0.17.04.1) ...
  32. Setting up mysql-common (5.8+1.0.2ubuntu1) ...
  33. update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
  34. Setting up mariadb-common (10.1.25-0ubuntu0.17.04.1) ...
  35. update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
  36. Selecting previously unselected package mariadb-server-10.1.
  37. (Reading database ... 98203 files and directories currently installed.)
  38. Preparing to unpack .../mariadb-server-10.1_10.1.25-0ubuntu0.17.04.1_amd64.deb ...
  39. Unpacking mariadb-server-10.1 (10.1.25-0ubuntu0.17.04.1) ...
  40. Selecting previously unselected package libmysqlclient20:amd64.
  41. Preparing to unpack .../libmysqlclient20_5.7.19-0ubuntu0.17.04.1_amd64.deb ...
  42. Unpacking libmysqlclient20:amd64 (5.7.19-0ubuntu0.17.04.1) ...
  43. Selecting previously unselected package libdbd-mysql-perl.
  44. Preparing to unpack .../libdbd-mysql-perl_4.041-1_amd64.deb ...
  45. Unpacking libdbd-mysql-perl (4.041-1) ...
  46. Selecting previously unselected package mariadb-server.
  47. Preparing to unpack .../mariadb-server_10.1.25-0ubuntu0.17.04.1_all.deb ...
  48. Unpacking mariadb-server (10.1.25-0ubuntu0.17.04.1) ...
  49. Setting up mariadb-server-core-10.1 (10.1.25-0ubuntu0.17.04.1) ...
  50. Processing triggers for ureadahead (0.100.0-19) ...
  51. Setting up mariadb-client-core-10.1 (10.1.25-0ubuntu0.17.04.1) ...
  52. Processing triggers for libc-bin (2.24-9ubuntu2.2) ...
  53. Processing triggers for systemd (232-21ubuntu5) ...
  54. Processing triggers for man-db (2.7.6.1-2) ...
  55. Setting up libmysqlclient20:amd64 (5.7.19-0ubuntu0.17.04.1) ...
  56. Setting up libdbd-mysql-perl (4.041-1) ...
  57. Setting up mariadb-client-10.1 (10.1.25-0ubuntu0.17.04.1) ...
  58. Setting up mariadb-server-10.1 (10.1.25-0ubuntu0.17.04.1) ...
  59. Created symlink /etc/systemd/system/mysql.service â /lib/systemd/system/mariadb.service.
  60. Created symlink /etc/systemd/system/mysqld.service â /lib/systemd/system/mariadb.service.
  61. Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service â /lib/systemd/system/mariadb.service.
  62. ^[[6~Job for mariadb.service failed because a timeout was exceeded.
  63. See "systemctl status mariadb.service" and "journalctl -xe" for details.
  64. invoke-rc.d: initscript mysql, action "start" failed.
  65. â mariadb.service - MariaDB database server
  66.    Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
  67.    Active: failed (Result: timeout) since Tue 2017-08-08 15:07:26 CEST; 8ms ago
  68.   Process: 8189 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, status=0/SUCCESS)
  69.   Process: 8098 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= ||   VAR=`/usr/bin/galera_recovery`; [ $? -eq 0 ]   && systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1 (code=exited, s                      tatus=0/SUCCESS)
  70.   Process: 8087 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
  71.   Process: 8076 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
  72.  Main PID: 8189 (code=exited, status=0/SUCCESS)
  73.       CPU: 373ms
  74.  
  75. Aug 08 15:05:53 zoneminder systemd[1]: Starting MariaDB database server...
  76. Aug 08 15:05:54 zoneminder mysqld[8189]: 2017-08-08 15:05:54 140704307221056 [Note] /usr/sbin/mysqld (mysqld 10.1.25-MariaDB-) starting as process 8189 ...
  77. Aug 08 15:07:23 zoneminder systemd[1]: mariadb.service: Start operation timed out. Terminating.
  78. Aug 08 15:07:26 zoneminder systemd[1]: Failed to start MariaDB database server.
  79. Aug 08 15:07:26 zoneminder systemd[1]: mariadb.service: Unit entered failed state.
  80. Aug 08 15:07:26 zoneminder systemd[1]: mariadb.service: Failed with result 'timeout'.
  81. dpkg: error processing package mariadb-server-10.1 (--configure):
  82.  subprocess installed post-installation script returned error exit status 1
  83. dpkg: dependency problems prevent configuration of mariadb-server:
  84.  mariadb-server depends on mariadb-server-10.1 (>= 10.1.25-0ubuntu0.17.04.1); however:
  85.   Package mariadb-server-10.1 is not configured yet.
  86.  
  87. dpkg: error processing package mariadb-server (--configure):
  88.  dependency problems - leaving unconfigured
  89. Processing triggers for libc-bin (2.24-9ubuntu2.2) ...
  90. No apport report written because the error message indicates its a followup error from a previous failure.
  91.                                                                                                           Processing triggers for systemd (232-21ubuntu5) ...
  92. Processing triggers for ureadahead (0.100.0-19) ...
  93. Errors were encountered while processing:
  94.  mariadb-server-10.1
  95.  mariadb-server
  96. E: Sub-process /usr/bin/dpkg returned an error code (1)
  97. eirikz@zoneminder:~$
RAW Paste Data
Top