SHARE
TWEET
Untitled
a guest
Aug 8th, 2017
96
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- eirikz@zoneminder:~$ sudo apt-get --reinstall install mariadb-server
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following additional packages will be installed:
- 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
- Suggested packages:
- mailx mariadb-test tinyca
- The following NEW packages will be installed:
- 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
- 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
- Need to get 0 B/13.5 MB of archives.
- After this operation, 144 MB of additional disk space will be used.
- Do you want to continue? [Y/n] y
- Preconfiguring packages ...
- Selecting previously unselected package mysql-common.
- (Reading database ... 98055 files and directories currently installed.)
- Preparing to unpack .../mysql-common_5.8+1.0.2ubuntu1_all.deb ...
- Unpacking mysql-common (5.8+1.0.2ubuntu1) ...
- Selecting previously unselected package mariadb-common.
- Preparing to unpack .../mariadb-common_10.1.25-0ubuntu0.17.04.1_all.deb ...
- Unpacking mariadb-common (10.1.25-0ubuntu0.17.04.1) ...
- Selecting previously unselected package mariadb-client-core-10.1.
- Preparing to unpack .../mariadb-client-core-10.1_10.1.25-0ubuntu0.17.04.1_amd64.deb ...
- Unpacking mariadb-client-core-10.1 (10.1.25-0ubuntu0.17.04.1) ...
- Selecting previously unselected package mariadb-client-10.1.
- Preparing to unpack .../mariadb-client-10.1_10.1.25-0ubuntu0.17.04.1_amd64.deb ...
- Unpacking mariadb-client-10.1 (10.1.25-0ubuntu0.17.04.1) ...
- Selecting previously unselected package mariadb-server-core-10.1.
- Preparing to unpack .../mariadb-server-core-10.1_10.1.25-0ubuntu0.17.04.1_amd64.deb ...
- Unpacking mariadb-server-core-10.1 (10.1.25-0ubuntu0.17.04.1) ...
- Setting up mysql-common (5.8+1.0.2ubuntu1) ...
- update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
- Setting up mariadb-common (10.1.25-0ubuntu0.17.04.1) ...
- update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
- Selecting previously unselected package mariadb-server-10.1.
- (Reading database ... 98203 files and directories currently installed.)
- Preparing to unpack .../mariadb-server-10.1_10.1.25-0ubuntu0.17.04.1_amd64.deb ...
- Unpacking mariadb-server-10.1 (10.1.25-0ubuntu0.17.04.1) ...
- Selecting previously unselected package libmysqlclient20:amd64.
- Preparing to unpack .../libmysqlclient20_5.7.19-0ubuntu0.17.04.1_amd64.deb ...
- Unpacking libmysqlclient20:amd64 (5.7.19-0ubuntu0.17.04.1) ...
- Selecting previously unselected package libdbd-mysql-perl.
- Preparing to unpack .../libdbd-mysql-perl_4.041-1_amd64.deb ...
- Unpacking libdbd-mysql-perl (4.041-1) ...
- Selecting previously unselected package mariadb-server.
- Preparing to unpack .../mariadb-server_10.1.25-0ubuntu0.17.04.1_all.deb ...
- Unpacking mariadb-server (10.1.25-0ubuntu0.17.04.1) ...
- Setting up mariadb-server-core-10.1 (10.1.25-0ubuntu0.17.04.1) ...
- Processing triggers for ureadahead (0.100.0-19) ...
- Setting up mariadb-client-core-10.1 (10.1.25-0ubuntu0.17.04.1) ...
- Processing triggers for libc-bin (2.24-9ubuntu2.2) ...
- Processing triggers for systemd (232-21ubuntu5) ...
- Processing triggers for man-db (2.7.6.1-2) ...
- Setting up libmysqlclient20:amd64 (5.7.19-0ubuntu0.17.04.1) ...
- Setting up libdbd-mysql-perl (4.041-1) ...
- Setting up mariadb-client-10.1 (10.1.25-0ubuntu0.17.04.1) ...
- Setting up mariadb-server-10.1 (10.1.25-0ubuntu0.17.04.1) ...
- Created symlink /etc/systemd/system/mysql.service â /lib/systemd/system/mariadb.service.
- Created symlink /etc/systemd/system/mysqld.service â /lib/systemd/system/mariadb.service.
- Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service â /lib/systemd/system/mariadb.service.
- ^[[6~Job for mariadb.service failed because a timeout was exceeded.
- See "systemctl status mariadb.service" and "journalctl -xe" for details.
- invoke-rc.d: initscript mysql, action "start" failed.
- â mariadb.service - MariaDB database server
- Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
- Active: failed (Result: timeout) since Tue 2017-08-08 15:07:26 CEST; 8ms ago
- Process: 8189 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, status=0/SUCCESS)
- 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)
- Process: 8087 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
- Process: 8076 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
- Main PID: 8189 (code=exited, status=0/SUCCESS)
- CPU: 373ms
- Aug 08 15:05:53 zoneminder systemd[1]: Starting MariaDB database server...
- 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 ...
- Aug 08 15:07:23 zoneminder systemd[1]: mariadb.service: Start operation timed out. Terminating.
- Aug 08 15:07:26 zoneminder systemd[1]: Failed to start MariaDB database server.
- Aug 08 15:07:26 zoneminder systemd[1]: mariadb.service: Unit entered failed state.
- Aug 08 15:07:26 zoneminder systemd[1]: mariadb.service: Failed with result 'timeout'.
- dpkg: error processing package mariadb-server-10.1 (--configure):
- subprocess installed post-installation script returned error exit status 1
- dpkg: dependency problems prevent configuration of mariadb-server:
- mariadb-server depends on mariadb-server-10.1 (>= 10.1.25-0ubuntu0.17.04.1); however:
- Package mariadb-server-10.1 is not configured yet.
- dpkg: error processing package mariadb-server (--configure):
- dependency problems - leaving unconfigured
- Processing triggers for libc-bin (2.24-9ubuntu2.2) ...
- No apport report written because the error message indicates its a followup error from a previous failure.
- Processing triggers for systemd (232-21ubuntu5) ...
- Processing triggers for ureadahead (0.100.0-19) ...
- Errors were encountered while processing:
- mariadb-server-10.1
- mariadb-server
- E: Sub-process /usr/bin/dpkg returned an error code (1)
- eirikz@zoneminder:~$
RAW Paste Data
