Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@rs-zap393202-1:/tmp# sudo dpkg -i mysql-apt-config*
- (Reading database ... 41393 files and directories currently installed.)
- Preparing to unpack mysql-apt-config_0.8.10-1_all.deb ...
- Unpacking mysql-apt-config (0.8.10-1) over (0.8.10-1) ...
- Setting up mysql-apt-config (0.8.10-1) ...
- Warning: apt-key should not be used in scripts (called from postinst maintainerscript of the package mysql-apt-config)
- key 8C718D3B5072E1F5:
- 75 signatures not checked due to missing keys
- OK
- root@rs-zap393202-1:/tmp# sudo apt update
- Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
- Hit:2 http://repo.mysql.com/apt/debian stretch InRelease
- Ign:3 http://ftp.us.debian.org/debian stretch InRelease
- Hit:4 http://ftp.us.debian.org/debian stretch-updates InRelease
- Hit:5 http://ftp.us.debian.org/debian stretch Release
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- 8 packages can be upgraded. Run 'apt list --upgradable' to see them.
- root@rs-zap393202-1:/tmp# sudo apt install mysql-server
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following packages were automatically installed and are no longer required:
- galera-3 libcgi-fast-perl libcgi-pm-perl libconfig-inifiles-perl libdbd-mysql-perl libdbi-perl libencode-locale-perl libfcgi-perl libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl libhttp-date-perl libhttp-message-perl libio-html-perl libjemalloc1 liblwp-mediatypes-perl libmariadbclient18
- libreadline5 libterm-readkey-perl libtimedate-perl liburi-perl mariadb-common rsync socat
- Use 'sudo apt autoremove' to remove them.
- The following NEW packages will be installed:
- mysql-server
- 0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
- 1 not fully installed or removed.
- Need to get 0 B/80.9 kB of archives.
- After this operation, 91.1 kB of additional disk space will be used.
- Selecting previously unselected package mysql-server.
- (Reading database ... 41393 files and directories currently installed.)
- Preparing to unpack .../mysql-server_8.0.14-1debian9_amd64.deb ...
- Unpacking mysql-server (8.0.14-1debian9) ...
- Setting up mysql-community-server (8.0.14-1debian9) ...
- my_print_defaults: [Warning] World-writable config file '/etc/mysql/my.cnf' is ignored.
- my_print_defaults: [Warning] World-writable config file '/etc/mysql/my.cnf' is ignored.
- my_print_defaults: [Warning] World-writable config file '/etc/mysql/my.cnf' is ignored.
- my_print_defaults: [Warning] World-writable config file '/etc/mysql/my.cnf' is ignored.
- Failed to preset unit: File mysql.service: Link has been severed
- /usr/bin/deb-systemd-helper: error: systemctl preset failed on mysql.service: No such file or directory
- Job for mysql.service failed because the control process exited with error code.
- See "systemctl status mysql.service" and "journalctl -xe" for details.
- invoke-rc.d: initscript mysql, action "start" failed.
- ● mysql.service - MySQL Community Server
- Loaded: loaded (/lib/systemd/system/mysql.service; bad; vendor preset: enabled)
- Active: failed (Result: exit-code) since Mon 2019-01-21 12:09:13 EST; 8ms ago
- Docs: man:mysqld(8)
- http://dev.mysql.com/doc/refman/en/using-systemd.html
- Process: 24108 ExecStart=/usr/sbin/mysqld (code=exited, status=1/FAILURE)
- Process: 24069 ExecStartPre=/usr/share/mysql-8.0/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
- Main PID: 24108 (code=exited, status=1/FAILURE)
- Status: "SERVER_BOOTING"
- Error: 2 (No such file or directory)
- Jan 21 12:09:13 rs-zap393202-1.zap-srv.com mysqld[24108]: 2019-01-21T17:09:06.300160Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.14) starting as process 24108
- Jan 21 12:09:13 rs-zap393202-1.zap-srv.com mysqld[24108]: 2019-01-21T17:09:08.761453Z 1 [ERROR] [MY-013168] [InnoDB] Cannot upgrade server earlier than 5.7 to 8.0
- Jan 21 12:09:13 rs-zap393202-1.zap-srv.com mysqld[24108]: 2019-01-21T17:09:13.884450Z 1 [ERROR] [MY-011013] [Server] Failed to initialize DD Storage Engine.
- Jan 21 12:09:13 rs-zap393202-1.zap-srv.com mysqld[24108]: 2019-01-21T17:09:13.884957Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
- Jan 21 12:09:13 rs-zap393202-1.zap-srv.com mysqld[24108]: 2019-01-21T17:09:13.885215Z 0 [ERROR] [MY-010119] [Server] Aborting
- Jan 21 12:09:13 rs-zap393202-1.zap-srv.com mysqld[24108]: 2019-01-21T17:09:13.885706Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.14) MySQL Community Server - GPL.
- Jan 21 12:09:13 rs-zap393202-1.zap-srv.com systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
- Jan 21 12:09:13 rs-zap393202-1.zap-srv.com systemd[1]: Failed to start MySQL Community Server.
- Jan 21 12:09:13 rs-zap393202-1.zap-srv.com systemd[1]: mysql.service: Unit entered failed state.
- Jan 21 12:09:13 rs-zap393202-1.zap-srv.com systemd[1]: mysql.service: Failed with result 'exit-code'.
- dpkg: error processing package mysql-community-server (--configure):
- subprocess installed post-installation script returned error exit status 1
- dpkg: dependency problems prevent configuration of mysql-server:
- mysql-server depends on mysql-community-server (= 8.0.14-1debian9); however:
- Package mysql-community-server is not configured yet.
- dpkg: error processing package mysql-server (--configure):
- dependency problems - leaving unconfigured
- Errors were encountered while processing:
- mysql-community-server
- mysql-server
- E: Sub-process /usr/bin/dpkg returned an error code (1)
- root@rs-zap393202-1:/tmp# logout
- There are stopped jobs.
- root@rs-zap393202-1:/tmp# sudo service mysql stop
- root@rs-zap393202-1:/tmp# sudo service mysql start
- Job for mysql.service failed because the control process exited with error code.
- See "systemctl status mysql.service" and "journalctl -xe" for details.
- root@rs-zap393202-1:/tmp# sudo service mysql start
- Job for mysql.service failed because the control process exited with error code.
- See "systemctl status mysql.service" and "journalctl -xe" for details.
- root@rs-zap393202-1:/tmp# sudo apt install mysql-server
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- mysql-server is already the newest version (8.0.14-1debian9).
- The following packages were automatically installed and are no longer required:
- galera-3 libcgi-fast-perl libcgi-pm-perl libconfig-inifiles-perl libdbd-mysql-perl libdbi-perl libencode-locale-perl libfcgi-perl libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl libhttp-date-perl libhttp-message-perl libio-html-perl libjemalloc1 liblwp-mediatypes-perl libmariadbclient18
- libreadline5 libterm-readkey-perl libtimedate-perl liburi-perl mariadb-common rsync socat
- Use 'sudo apt autoremove' to remove them.
- 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
- 2 not fully installed or removed.
- After this operation, 0 B of additional disk space will be used.
- Do you want to continue? [Y/n] y
- Setting up mysql-community-server (8.0.14-1debian9) ...
- my_print_defaults: [Warning] World-writable config file '/etc/mysql/my.cnf' is ignored.
- my_print_defaults: [Warning] World-writable config file '/etc/mysql/my.cnf' is ignored.
- my_print_defaults: [Warning] World-writable config file '/etc/mysql/my.cnf' is ignored.
- my_print_defaults: [Warning] World-writable config file '/etc/mysql/my.cnf' is ignored.
- Failed to preset unit: File mysql.service: Link has been severed
- /usr/bin/deb-systemd-helper: error: systemctl preset failed on mysql.service: No such file or directory
- Job for mysql.service failed because the control process exited with error code.
- See "systemctl status mysql.service" and "journalctl -xe" for details.
- invoke-rc.d: initscript mysql, action "start" failed.
- ● mysql.service - MySQL Community Server
- Loaded: loaded (/lib/systemd/system/mysql.service; bad; vendor preset: enabled)
- Active: failed (Result: exit-code) since Mon 2019-01-21 12:11:11 EST; 8ms ago
- Docs: man:mysqld(8)
- http://dev.mysql.com/doc/refman/en/using-systemd.html
- Process: 24475 ExecStart=/usr/sbin/mysqld (code=exited, status=1/FAILURE)
- Process: 24439 ExecStartPre=/usr/share/mysql-8.0/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
- Main PID: 24475 (code=exited, status=1/FAILURE)
- Status: "SERVER_BOOTING"
- Error: 2 (No such file or directory)
- Jan 21 12:11:10 rs-zap393202-1.zap-srv.com mysqld[24475]: 2019-01-21T17:11:03.668581Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.14) starting as process 24475
- Jan 21 12:11:10 rs-zap393202-1.zap-srv.com mysqld[24475]: 2019-01-21T17:11:05.851433Z 1 [ERROR] [MY-013168] [InnoDB] Cannot upgrade server earlier than 5.7 to 8.0
- Jan 21 12:11:10 rs-zap393202-1.zap-srv.com mysqld[24475]: 2019-01-21T17:11:10.963345Z 1 [ERROR] [MY-011013] [Server] Failed to initialize DD Storage Engine.
- Jan 21 12:11:10 rs-zap393202-1.zap-srv.com mysqld[24475]: 2019-01-21T17:11:10.963593Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
- Jan 21 12:11:10 rs-zap393202-1.zap-srv.com mysqld[24475]: 2019-01-21T17:11:10.963840Z 0 [ERROR] [MY-010119] [Server] Aborting
- Jan 21 12:11:10 rs-zap393202-1.zap-srv.com mysqld[24475]: 2019-01-21T17:11:10.964514Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.14) MySQL Community Server - GPL.
- Jan 21 12:11:11 rs-zap393202-1.zap-srv.com systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
- Jan 21 12:11:11 rs-zap393202-1.zap-srv.com systemd[1]: Failed to start MySQL Community Server.
- Jan 21 12:11:11 rs-zap393202-1.zap-srv.com systemd[1]: mysql.service: Unit entered failed state.
- Jan 21 12:11:11 rs-zap393202-1.zap-srv.com systemd[1]: mysql.service: Failed with result 'exit-code'.
- dpkg: error processing package mysql-community-server (--configure):
- subprocess installed post-installation script returned error exit status 1
- dpkg: dependency problems prevent configuration of mysql-server:
- mysql-server depends on mysql-community-server (= 8.0.14-1debian9); however:
- Package mysql-community-server is not configured yet.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement