打印

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

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

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

TOP

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

LNMP付费问题排查/LNMP技术支持/Paypal信用卡代付/代购VPS,域名,软件等 QQ 503228080 旺旺 lzhenbao
军哥淘宝店铺
QQ/旺旺仅提供代购及付费代维/问题解决等服务,其他不回复!LNMP相关问题请在本论坛发帖,提问前先搜索,按https://bbs.vpser.net/thread-2555-1-1.html 要求反馈问题!

TOP

重装系统了。10086云平台真渣

TOP