Advertisement
Guest User

Untitled

a guest
Jan 21st, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.96 KB | None | 0 0
  1. root@rs-zap393202-1:/tmp# sudo dpkg -i mysql-apt-config*
  2. (Reading database ... 41393 files and directories currently installed.)
  3. Preparing to unpack mysql-apt-config_0.8.10-1_all.deb ...
  4. Unpacking mysql-apt-config (0.8.10-1) over (0.8.10-1) ...
  5. Setting up mysql-apt-config (0.8.10-1) ...
  6. Warning: apt-key should not be used in scripts (called from postinst maintainerscript of the package mysql-apt-config)
  7. key 8C718D3B5072E1F5:
  8. 75 signatures not checked due to missing keys
  9. OK
  10. root@rs-zap393202-1:/tmp# sudo apt update
  11. Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
  12. Hit:2 http://repo.mysql.com/apt/debian stretch InRelease
  13. Ign:3 http://ftp.us.debian.org/debian stretch InRelease
  14. Hit:4 http://ftp.us.debian.org/debian stretch-updates InRelease
  15. Hit:5 http://ftp.us.debian.org/debian stretch Release
  16. Reading package lists... Done
  17. Building dependency tree
  18. Reading state information... Done
  19. 8 packages can be upgraded. Run 'apt list --upgradable' to see them.
  20. root@rs-zap393202-1:/tmp# sudo apt install mysql-server
  21. Reading package lists... Done
  22. Building dependency tree
  23. Reading state information... Done
  24. The following packages were automatically installed and are no longer required:
  25. 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
  26. libreadline5 libterm-readkey-perl libtimedate-perl liburi-perl mariadb-common rsync socat
  27. Use 'sudo apt autoremove' to remove them.
  28. The following NEW packages will be installed:
  29. mysql-server
  30. 0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
  31. 1 not fully installed or removed.
  32. Need to get 0 B/80.9 kB of archives.
  33. After this operation, 91.1 kB of additional disk space will be used.
  34. Selecting previously unselected package mysql-server.
  35. (Reading database ... 41393 files and directories currently installed.)
  36. Preparing to unpack .../mysql-server_8.0.14-1debian9_amd64.deb ...
  37. Unpacking mysql-server (8.0.14-1debian9) ...
  38. Setting up mysql-community-server (8.0.14-1debian9) ...
  39. my_print_defaults: [Warning] World-writable config file '/etc/mysql/my.cnf' is ignored.
  40. my_print_defaults: [Warning] World-writable config file '/etc/mysql/my.cnf' is ignored.
  41. my_print_defaults: [Warning] World-writable config file '/etc/mysql/my.cnf' is ignored.
  42. my_print_defaults: [Warning] World-writable config file '/etc/mysql/my.cnf' is ignored.
  43. Failed to preset unit: File mysql.service: Link has been severed
  44. /usr/bin/deb-systemd-helper: error: systemctl preset failed on mysql.service: No such file or directory
  45. Job for mysql.service failed because the control process exited with error code.
  46. See "systemctl status mysql.service" and "journalctl -xe" for details.
  47. invoke-rc.d: initscript mysql, action "start" failed.
  48. ● mysql.service - MySQL Community Server
  49. Loaded: loaded (/lib/systemd/system/mysql.service; bad; vendor preset: enabled)
  50. Active: failed (Result: exit-code) since Mon 2019-01-21 12:09:13 EST; 8ms ago
  51. Docs: man:mysqld(8)
  52. http://dev.mysql.com/doc/refman/en/using-systemd.html
  53. Process: 24108 ExecStart=/usr/sbin/mysqld (code=exited, status=1/FAILURE)
  54. Process: 24069 ExecStartPre=/usr/share/mysql-8.0/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
  55. Main PID: 24108 (code=exited, status=1/FAILURE)
  56. Status: "SERVER_BOOTING"
  57. Error: 2 (No such file or directory)
  58.  
  59. 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
  60. 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
  61. 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.
  62. 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.
  63. 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
  64. 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.
  65. Jan 21 12:09:13 rs-zap393202-1.zap-srv.com systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
  66. Jan 21 12:09:13 rs-zap393202-1.zap-srv.com systemd[1]: Failed to start MySQL Community Server.
  67. Jan 21 12:09:13 rs-zap393202-1.zap-srv.com systemd[1]: mysql.service: Unit entered failed state.
  68. Jan 21 12:09:13 rs-zap393202-1.zap-srv.com systemd[1]: mysql.service: Failed with result 'exit-code'.
  69. dpkg: error processing package mysql-community-server (--configure):
  70. subprocess installed post-installation script returned error exit status 1
  71. dpkg: dependency problems prevent configuration of mysql-server:
  72. mysql-server depends on mysql-community-server (= 8.0.14-1debian9); however:
  73. Package mysql-community-server is not configured yet.
  74.  
  75. dpkg: error processing package mysql-server (--configure):
  76. dependency problems - leaving unconfigured
  77. Errors were encountered while processing:
  78. mysql-community-server
  79. mysql-server
  80. E: Sub-process /usr/bin/dpkg returned an error code (1)
  81. root@rs-zap393202-1:/tmp# logout
  82. There are stopped jobs.
  83. root@rs-zap393202-1:/tmp# sudo service mysql stop
  84. root@rs-zap393202-1:/tmp# sudo service mysql start
  85. Job for mysql.service failed because the control process exited with error code.
  86. See "systemctl status mysql.service" and "journalctl -xe" for details.
  87. root@rs-zap393202-1:/tmp# sudo service mysql start
  88. Job for mysql.service failed because the control process exited with error code.
  89. See "systemctl status mysql.service" and "journalctl -xe" for details.
  90. root@rs-zap393202-1:/tmp# sudo apt install mysql-server
  91. Reading package lists... Done
  92. Building dependency tree
  93. Reading state information... Done
  94. mysql-server is already the newest version (8.0.14-1debian9).
  95. The following packages were automatically installed and are no longer required:
  96. 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
  97. libreadline5 libterm-readkey-perl libtimedate-perl liburi-perl mariadb-common rsync socat
  98. Use 'sudo apt autoremove' to remove them.
  99. 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
  100. 2 not fully installed or removed.
  101. After this operation, 0 B of additional disk space will be used.
  102. Do you want to continue? [Y/n] y
  103. Setting up mysql-community-server (8.0.14-1debian9) ...
  104. my_print_defaults: [Warning] World-writable config file '/etc/mysql/my.cnf' is ignored.
  105. my_print_defaults: [Warning] World-writable config file '/etc/mysql/my.cnf' is ignored.
  106. my_print_defaults: [Warning] World-writable config file '/etc/mysql/my.cnf' is ignored.
  107. my_print_defaults: [Warning] World-writable config file '/etc/mysql/my.cnf' is ignored.
  108. Failed to preset unit: File mysql.service: Link has been severed
  109. /usr/bin/deb-systemd-helper: error: systemctl preset failed on mysql.service: No such file or directory
  110. Job for mysql.service failed because the control process exited with error code.
  111. See "systemctl status mysql.service" and "journalctl -xe" for details.
  112. invoke-rc.d: initscript mysql, action "start" failed.
  113. ● mysql.service - MySQL Community Server
  114. Loaded: loaded (/lib/systemd/system/mysql.service; bad; vendor preset: enabled)
  115. Active: failed (Result: exit-code) since Mon 2019-01-21 12:11:11 EST; 8ms ago
  116. Docs: man:mysqld(8)
  117. http://dev.mysql.com/doc/refman/en/using-systemd.html
  118. Process: 24475 ExecStart=/usr/sbin/mysqld (code=exited, status=1/FAILURE)
  119. Process: 24439 ExecStartPre=/usr/share/mysql-8.0/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
  120. Main PID: 24475 (code=exited, status=1/FAILURE)
  121. Status: "SERVER_BOOTING"
  122. Error: 2 (No such file or directory)
  123.  
  124. 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
  125. 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
  126. 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.
  127. 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.
  128. 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
  129. 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.
  130. Jan 21 12:11:11 rs-zap393202-1.zap-srv.com systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
  131. Jan 21 12:11:11 rs-zap393202-1.zap-srv.com systemd[1]: Failed to start MySQL Community Server.
  132. Jan 21 12:11:11 rs-zap393202-1.zap-srv.com systemd[1]: mysql.service: Unit entered failed state.
  133. Jan 21 12:11:11 rs-zap393202-1.zap-srv.com systemd[1]: mysql.service: Failed with result 'exit-code'.
  134. dpkg: error processing package mysql-community-server (--configure):
  135. subprocess installed post-installation script returned error exit status 1
  136. dpkg: dependency problems prevent configuration of mysql-server:
  137. mysql-server depends on mysql-community-server (= 8.0.14-1debian9); however:
  138. Package mysql-community-server is not configured yet.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement