星叔 发表于 2018-3-16 22:21:31

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

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

2018-03-16 19:08:38 11492 Plugin 'FEDERATED' is disabled.
/usr/local/mysql/bin/mysqld: Table 'mysql.plugin' doesn't exist
2018-03-16 19:08:38 11492 Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2018-03-16 19:08:38 11492 InnoDB: Using atomics to ref count buffer pool pages
2018-03-16 19:08:38 11492 InnoDB: The InnoDB memory heap is disabled
2018-03-16 19:08:38 11492 InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-03-16 19:08:38 11492 InnoDB: Memory barrier is not used
2018-03-16 19:08:38 11492 InnoDB: Compressed tables use zlib 1.2.3
2018-03-16 19:08:38 11492 InnoDB: Using CPU crc32 instructions
2018-03-16 19:08:38 11492 InnoDB: Initializing buffer pool, size = 256.0M
2018-03-16 19:08:38 11492 InnoDB: Completed initialization of buffer pool
2018-03-16 19:08:38 11492 InnoDB: The first specified data file /usr/local/mysql/var/ibdata1 did not exist: a new database to be created!
2018-03-16 19:08:38 11492 InnoDB: Setting file /usr/local/mysql/var/ibdata1 size to 10 MB
2018-03-16 19:08:38 11492 InnoDB: Database physically writes the file full: wait...
2018-03-16 19:08:38 11492 InnoDB: Setting log file /usr/local/mysql/var/ib_logfile101 size to 64 MB
2018-03-16 19:08:39 11492 InnoDB: Setting log file /usr/local/mysql/var/ib_logfile1 size to 64 MB
2018-03-16 19:08:39 11492 InnoDB: Renaming log file /usr/local/mysql/var/ib_logfile101 to /usr/local/mysql/var/ib_logfile0
2018-03-16 19:08:39 11492 InnoDB: New log files created, LSN=45781
2018-03-16 19:08:39 11492 InnoDB: Doublewrite buffer not found: creating new
2018-03-16 19:08:39 11492 InnoDB: Doublewrite buffer created
2018-03-16 19:08:39 11492 InnoDB: 128 rollback segment(s) are active.
2018-03-16 19:08:39 11492 InnoDB: Creating foreign key constraint system tables.
2018-03-16 19:08:39 11492 InnoDB: Foreign key constraint system tables created
2018-03-16 19:08:39 11492 InnoDB: Creating tablespace and datafile system tables.
2018-03-16 19:08:39 11492 InnoDB: Tablespace and datafile system tables created.
2018-03-16 19:08:39 11492 InnoDB: Waiting for purge to start
2018-03-16 19:08:39 11492 InnoDB: 5.6.36 started; log sequence number 0
2018-03-16 19:08:39 11492 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.
2018-03-16 19:08:39 11492 Server hostname (bind-address): '*'; port: 3306
2018-03-16 19:08:39 11492 IPv6 is available.
2018-03-16 19:08:39 11492    - '::' resolves to '::';
2018-03-16 19:08:39 11492 Server socket created on IP: '::'.
2018-03-16 19:08:39 11492 Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
2018-03-16 19:08:40 12070 Plugin 'FEDERATED' is disabled.
/usr/local/mysql/bin/mysqld: Table 'mysql.plugin' doesn't exist
2018-03-16 19:08:40 12070 Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2018-03-16 19:08:40 12070 InnoDB: Using atomics to ref count buffer pool pages
2018-03-16 19:08:40 12070 InnoDB: The InnoDB memory heap is disabled
2018-03-16 19:08:40 12070 InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-03-16 19:08:40 12070 InnoDB: Memory barrier is not used
2018-03-16 19:08:40 12070 InnoDB: Compressed tables use zlib 1.2.3
2018-03-16 19:08:40 12070 InnoDB: Using CPU crc32 instructions
2018-03-16 19:08:40 12070 InnoDB: Initializing buffer pool, size = 256.0M
2018-03-16 19:08:40 12070 InnoDB: Completed initialization of buffer pool
2018-03-16 19:08:40 12070 InnoDB: Highest supported file format is Barracuda.
2018-03-16 19:08:40 12070 InnoDB: Log scan progressed past the checkpoint lsn 49463
2018-03-16 19:08:40 12070 InnoDB: Database was not shutdown normally!
2018-03-16 19:08:40 12070 InnoDB: Starting crash recovery.
2018-03-16 19:08:40 12070 InnoDB: Reading tablespace information from the .ibd files...
2018-03-16 19:08:40 12070 InnoDB: Restoring possible half-written data pages
2018-03-16 19:08:40 12070 InnoDB: from the doublewrite buffer...
InnoDB: Doing recovery: scanned up to log sequence number 1600614
2018-03-16 19:08:40 12070 InnoDB: Starting an apply batch of log records to the database...
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
InnoDB: Apply batch completed
2018-03-16 19:08:41 12070 InnoDB: 128 rollback segment(s) are active.
2018-03-16 19:08:41 12070 InnoDB: Waiting for purge to start
2018-03-16 19:08:41 12070 InnoDB: 5.6.36 started; log sequence number 1600614
2018-03-16 19:08:41 12070 Recovering after a crash using mysql-bin
2018-03-16 19:08:41 12070 Starting crash recovery...
2018-03-16 19:08:41 12070 Crash recovery finished.
2018-03-16 19:08:41 12070 Server hostname (bind-address): '*'; port: 3306
2018-03-16 19:08:41 12070 IPv6 is available.
2018-03-16 19:08:41 12070    - '::' resolves to '::';
2018-03-16 19:08:41 12070 Server socket created on IP: '::'.
2018-03-16 19:08:41 12070 Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
2018-03-16 19:08:42 12649 Plugin 'FEDERATED' is disabled.
/usr/local/mysql/bin/mysqld: Table 'mysql.plugin' doesn't exist
2018-03-16 19:08:42 12649 Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2018-03-16 19:08:42 12649 InnoDB: Using atomics to ref count buffer pool pages
2018-03-16 19:08:42 12649 InnoDB: The InnoDB memory heap is disabled
2018-03-16 19:08:42 12649 InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-03-16 19:08:42 12649 InnoDB: Memory barrier is not used
2018-03-16 19:08:42 12649 InnoDB: Compressed tables use zlib 1.2.3
2018-03-16 19:08:42 12649 InnoDB: Using CPU crc32 instructions
2018-03-16 19:08:42 12649 InnoDB: Initializing buffer pool, size = 256.0M
2018-03-16 19:08:42 12649 InnoDB: Completed initialization of buffer pool
2018-03-16 19:08:43 12649 InnoDB: Highest supported file format is Barracuda.
2018-03-16 19:08:43 12649 InnoDB: Log scan progressed past the checkpoint lsn 49463
2018-03-16 19:08:43 12649 InnoDB: Database was not shutdown normally!
2018-03-16 19:08:43 12649 InnoDB: Starting crash recovery.

2018-03-16 19:24:13 29711 Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
2018-03-16 22:08:48 25264 Plugin 'FEDERATED' is disabled.
/usr/local/mysql/bin/mysqld: Table 'mysql.plugin' doesn't exist
2018-03-16 22:08:48 25264 Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2018-03-16 22:08:48 25264 InnoDB: Using atomics to ref count buffer pool pages
2018-03-16 22:08:48 25264 InnoDB: The InnoDB memory heap is disabled
2018-03-16 22:08:48 25264 InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-03-16 22:08:48 25264 InnoDB: Memory barrier is not used
2018-03-16 22:08:48 25264 InnoDB: Compressed tables use zlib 1.2.3
2018-03-16 22:08:48 25264 InnoDB: Using CPU crc32 instructions
2018-03-16 22:08:48 25264 InnoDB: Initializing buffer pool, size = 256.0M
2018-03-16 22:08:48 25264 InnoDB: Completed initialization of buffer pool
2018-03-16 22:08:48 25264 InnoDB: Highest supported file format is Barracuda.
2018-03-16 22:08:48 25264 InnoDB: Log scan progressed past the checkpoint lsn 49463
2018-03-16 22:08:48 25264 InnoDB: Database was not shutdown normally!
2018-03-16 22:08:48 25264 InnoDB: Starting crash recovery.
2018-03-16 22:08:48 25264 InnoDB: Reading tablespace information from the .ibd files...
2018-03-16 22:08:48 25264 InnoDB: Restoring possible half-written data pages
2018-03-16 22:08:48 25264 InnoDB: from the doublewrite buffer...
InnoDB: Doing recovery: scanned up to log sequence number 1600614
2018-03-16 22:08:48 25264 InnoDB: Starting an apply batch of log records to the database...
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
InnoDB: Apply batch completed
2018-03-16 22:08:48 25264 InnoDB: 128 rollback segment(s) are active.
2018-03-16 22:08:48 25264 InnoDB: Waiting for purge to start
2018-03-16 22:08:49 25264 InnoDB: 5.6.36 started; log sequence number 1600614
2018-03-16 22:08:49 25264 Recovering after a crash using mysql-bin
2018-03-16 22:08:49 25264 Starting crash recovery...
2018-03-16 22:08:49 25264 Crash recovery finished.
2018-03-16 22:08:49 25264 Server hostname (bind-address): '*'; port: 3306
2018-03-16 22:08:49 25264 IPv6 is available.
2018-03-16 22:08:49 25264    - '::' resolves to '::';
2018-03-16 22:08:49 25264 Server socket created on IP: '::'.
2018-03-16 22:08:49 25264 Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist

licess 发表于 2018-3-17 11:30:48

传安装日志看一下,估计安装数据表中就报错了

星叔 发表于 2018-3-17 15:26:32

重装系统了。10086云平台真渣
页: [1]
查看完整版本: lnmp 1.5 裸机新装出错,附日志