VPS侦探论坛

 找回密码
 注册
查看: 2974|回复: 2

lnmp 1.5 裸机新装出错,附日志

[复制链接]
发表于 2018-3-16 22:21:31 | 显示全部楼层 |阅读模式

新装的裸机,mysql启动不了
附上日志。谢谢。
如显示ERROR! MySQL server PID file could not be found!
必须提供 /usr/local/mysql/var/主机名.err 的日志(如果修改过数据库目录位置,那就在你修改之后的数据库目录下面)。

  1. 2018-03-16 19:08:38 11492 [Note] Plugin 'FEDERATED' is disabled.
  2. /usr/local/mysql/bin/mysqld: Table 'mysql.plugin' doesn't exist
  3. 2018-03-16 19:08:38 11492 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
  4. 2018-03-16 19:08:38 11492 [Note] InnoDB: Using atomics to ref count buffer pool pages
  5. 2018-03-16 19:08:38 11492 [Note] InnoDB: The InnoDB memory heap is disabled
  6. 2018-03-16 19:08:38 11492 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
  7. 2018-03-16 19:08:38 11492 [Note] InnoDB: Memory barrier is not used
  8. 2018-03-16 19:08:38 11492 [Note] InnoDB: Compressed tables use zlib 1.2.3
  9. 2018-03-16 19:08:38 11492 [Note] InnoDB: Using CPU crc32 instructions
  10. 2018-03-16 19:08:38 11492 [Note] InnoDB: Initializing buffer pool, size = 256.0M
  11. 2018-03-16 19:08:38 11492 [Note] InnoDB: Completed initialization of buffer pool
  12. 2018-03-16 19:08:38 11492 [Note] InnoDB: The first specified data file /usr/local/mysql/var/ibdata1 did not exist: a new database to be created!
  13. 2018-03-16 19:08:38 11492 [Note] InnoDB: Setting file /usr/local/mysql/var/ibdata1 size to 10 MB
  14. 2018-03-16 19:08:38 11492 [Note] InnoDB: Database physically writes the file full: wait...
  15. 2018-03-16 19:08:38 11492 [Note] InnoDB: Setting log file /usr/local/mysql/var/ib_logfile101 size to 64 MB
  16. 2018-03-16 19:08:39 11492 [Note] InnoDB: Setting log file /usr/local/mysql/var/ib_logfile1 size to 64 MB
  17. 2018-03-16 19:08:39 11492 [Note] InnoDB: Renaming log file /usr/local/mysql/var/ib_logfile101 to /usr/local/mysql/var/ib_logfile0
  18. 2018-03-16 19:08:39 11492 [Warning] InnoDB: New log files created, LSN=45781
  19. 2018-03-16 19:08:39 11492 [Note] InnoDB: Doublewrite buffer not found: creating new
  20. 2018-03-16 19:08:39 11492 [Note] InnoDB: Doublewrite buffer created
  21. 2018-03-16 19:08:39 11492 [Note] InnoDB: 128 rollback segment(s) are active.
  22. 2018-03-16 19:08:39 11492 [Warning] InnoDB: Creating foreign key constraint system tables.
  23. 2018-03-16 19:08:39 11492 [Note] InnoDB: Foreign key constraint system tables created
  24. 2018-03-16 19:08:39 11492 [Note] InnoDB: Creating tablespace and datafile system tables.
  25. 2018-03-16 19:08:39 11492 [Note] InnoDB: Tablespace and datafile system tables created.
  26. 2018-03-16 19:08:39 11492 [Note] InnoDB: Waiting for purge to start
  27. 2018-03-16 19:08:39 11492 [Note] InnoDB: 5.6.36 started; log sequence number 0
  28. 2018-03-16 19:08:39 11492 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 6162f7af-290a-11e8-a924-fa163ed70054.
  29. 2018-03-16 19:08:39 11492 [Note] Server hostname (bind-address): '*'; port: 3306
  30. 2018-03-16 19:08:39 11492 [Note] IPv6 is available.
  31. 2018-03-16 19:08:39 11492 [Note]   - '::' resolves to '::';
  32. 2018-03-16 19:08:39 11492 [Note] Server socket created on IP: '::'.
  33. 2018-03-16 19:08:39 11492 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
  34. 2018-03-16 19:08:40 12070 [Note] Plugin 'FEDERATED' is disabled.
  35. /usr/local/mysql/bin/mysqld: Table 'mysql.plugin' doesn't exist
  36. 2018-03-16 19:08:40 12070 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
  37. 2018-03-16 19:08:40 12070 [Note] InnoDB: Using atomics to ref count buffer pool pages
  38. 2018-03-16 19:08:40 12070 [Note] InnoDB: The InnoDB memory heap is disabled
  39. 2018-03-16 19:08:40 12070 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
  40. 2018-03-16 19:08:40 12070 [Note] InnoDB: Memory barrier is not used
  41. 2018-03-16 19:08:40 12070 [Note] InnoDB: Compressed tables use zlib 1.2.3
  42. 2018-03-16 19:08:40 12070 [Note] InnoDB: Using CPU crc32 instructions
  43. 2018-03-16 19:08:40 12070 [Note] InnoDB: Initializing buffer pool, size = 256.0M
  44. 2018-03-16 19:08:40 12070 [Note] InnoDB: Completed initialization of buffer pool
  45. 2018-03-16 19:08:40 12070 [Note] InnoDB: Highest supported file format is Barracuda.
  46. 2018-03-16 19:08:40 12070 [Note] InnoDB: Log scan progressed past the checkpoint lsn 49463
  47. 2018-03-16 19:08:40 12070 [Note] InnoDB: Database was not shutdown normally!
  48. 2018-03-16 19:08:40 12070 [Note] InnoDB: Starting crash recovery.
  49. 2018-03-16 19:08:40 12070 [Note] InnoDB: Reading tablespace information from the .ibd files...
  50. 2018-03-16 19:08:40 12070 [Note] InnoDB: Restoring possible half-written data pages
  51. 2018-03-16 19:08:40 12070 [Note] InnoDB: from the doublewrite buffer...
  52. InnoDB: Doing recovery: scanned up to log sequence number 1600614
  53. 2018-03-16 19:08:40 12070 [Note] InnoDB: Starting an apply batch of log records to the database...
  54. InnoDB: Progress in percent: 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
  55. InnoDB: Apply batch completed
  56. 2018-03-16 19:08:41 12070 [Note] InnoDB: 128 rollback segment(s) are active.
  57. 2018-03-16 19:08:41 12070 [Note] InnoDB: Waiting for purge to start
  58. 2018-03-16 19:08:41 12070 [Note] InnoDB: 5.6.36 started; log sequence number 1600614
  59. 2018-03-16 19:08:41 12070 [Note] Recovering after a crash using mysql-bin
  60. 2018-03-16 19:08:41 12070 [Note] Starting crash recovery...
  61. 2018-03-16 19:08:41 12070 [Note] Crash recovery finished.
  62. 2018-03-16 19:08:41 12070 [Note] Server hostname (bind-address): '*'; port: 3306
  63. 2018-03-16 19:08:41 12070 [Note] IPv6 is available.
  64. 2018-03-16 19:08:41 12070 [Note]   - '::' resolves to '::';
  65. 2018-03-16 19:08:41 12070 [Note] Server socket created on IP: '::'.
  66. 2018-03-16 19:08:41 12070 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
  67. 2018-03-16 19:08:42 12649 [Note] Plugin 'FEDERATED' is disabled.
  68. /usr/local/mysql/bin/mysqld: Table 'mysql.plugin' doesn't exist
  69. 2018-03-16 19:08:42 12649 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
  70. 2018-03-16 19:08:42 12649 [Note] InnoDB: Using atomics to ref count buffer pool pages
  71. 2018-03-16 19:08:42 12649 [Note] InnoDB: The InnoDB memory heap is disabled
  72. 2018-03-16 19:08:42 12649 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
  73. 2018-03-16 19:08:42 12649 [Note] InnoDB: Memory barrier is not used
  74. 2018-03-16 19:08:42 12649 [Note] InnoDB: Compressed tables use zlib 1.2.3
  75. 2018-03-16 19:08:42 12649 [Note] InnoDB: Using CPU crc32 instructions
  76. 2018-03-16 19:08:42 12649 [Note] InnoDB: Initializing buffer pool, size = 256.0M
  77. 2018-03-16 19:08:42 12649 [Note] InnoDB: Completed initialization of buffer pool
  78. 2018-03-16 19:08:43 12649 [Note] InnoDB: Highest supported file format is Barracuda.
  79. 2018-03-16 19:08:43 12649 [Note] InnoDB: Log scan progressed past the checkpoint lsn 49463
  80. 2018-03-16 19:08:43 12649 [Note] InnoDB: Database was not shutdown normally!
  81. 2018-03-16 19:08:43 12649 [Note] InnoDB: Starting crash recovery.

  82. 2018-03-16 19:24:13 29711 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
  83. 2018-03-16 22:08:48 25264 [Note] Plugin 'FEDERATED' is disabled.
  84. /usr/local/mysql/bin/mysqld: Table 'mysql.plugin' doesn't exist
  85. 2018-03-16 22:08:48 25264 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
  86. 2018-03-16 22:08:48 25264 [Note] InnoDB: Using atomics to ref count buffer pool pages
  87. 2018-03-16 22:08:48 25264 [Note] InnoDB: The InnoDB memory heap is disabled
  88. 2018-03-16 22:08:48 25264 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
  89. 2018-03-16 22:08:48 25264 [Note] InnoDB: Memory barrier is not used
  90. 2018-03-16 22:08:48 25264 [Note] InnoDB: Compressed tables use zlib 1.2.3
  91. 2018-03-16 22:08:48 25264 [Note] InnoDB: Using CPU crc32 instructions
  92. 2018-03-16 22:08:48 25264 [Note] InnoDB: Initializing buffer pool, size = 256.0M
  93. 2018-03-16 22:08:48 25264 [Note] InnoDB: Completed initialization of buffer pool
  94. 2018-03-16 22:08:48 25264 [Note] InnoDB: Highest supported file format is Barracuda.
  95. 2018-03-16 22:08:48 25264 [Note] InnoDB: Log scan progressed past the checkpoint lsn 49463
  96. 2018-03-16 22:08:48 25264 [Note] InnoDB: Database was not shutdown normally!
  97. 2018-03-16 22:08:48 25264 [Note] InnoDB: Starting crash recovery.
  98. 2018-03-16 22:08:48 25264 [Note] InnoDB: Reading tablespace information from the .ibd files...
  99. 2018-03-16 22:08:48 25264 [Note] InnoDB: Restoring possible half-written data pages
  100. 2018-03-16 22:08:48 25264 [Note] InnoDB: from the doublewrite buffer...
  101. InnoDB: Doing recovery: scanned up to log sequence number 1600614
  102. 2018-03-16 22:08:48 25264 [Note] InnoDB: Starting an apply batch of log records to the database...
  103. InnoDB: Progress in percent: 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
  104. InnoDB: Apply batch completed
  105. 2018-03-16 22:08:48 25264 [Note] InnoDB: 128 rollback segment(s) are active.
  106. 2018-03-16 22:08:48 25264 [Note] InnoDB: Waiting for purge to start
  107. 2018-03-16 22:08:49 25264 [Note] InnoDB: 5.6.36 started; log sequence number 1600614
  108. 2018-03-16 22:08:49 25264 [Note] Recovering after a crash using mysql-bin
  109. 2018-03-16 22:08:49 25264 [Note] Starting crash recovery...
  110. 2018-03-16 22:08:49 25264 [Note] Crash recovery finished.
  111. 2018-03-16 22:08:49 25264 [Note] Server hostname (bind-address): '*'; port: 3306
  112. 2018-03-16 22:08:49 25264 [Note] IPv6 is available.
  113. 2018-03-16 22:08:49 25264 [Note]   - '::' resolves to '::';
  114. 2018-03-16 22:08:49 25264 [Note] Server socket created on IP: '::'.
  115. 2018-03-16 22:08:49 25264 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
复制代码
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2018-3-17 11:30:48 | 显示全部楼层


传安装日志看一下,估计安装数据表中就报错了
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2018-3-17 15:26:32 | 显示全部楼层

重装系统了。10086云平台真渣
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-24 11:29 , Processed in 0.026057 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表