- 积分
- 4
- 威望
-
- 金钱
-
- 注册时间
- 2015-11-2
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
主要报2个错误,一个是说mysql is not running ,but pid file exeited还有一个是说the server quit without updating PID file。
对于第一个错误,我强制指定了一个不可删除的pid文件
chattr +i /usr/local/mysql/var/vultr.guest.pid
自己往里面随便写了个进程id,然并卵,还是起不起来。
然后我又把pid文件删了。
service mysql status显示信息如下:- ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists
复制代码 rm -rf /var/lock/subsys/mysql
再启动mysql,依旧然并卵:- Starting MySQL... ERROR! The server quit without updating PID file (/usr/local/mysql/var/vultr.guest.pid).
复制代码 实在搞不定了,只能请军哥出马。。。。
错误日志如下:- 151103 18:03:33 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
- 2015-11-03 18:03:34 11391 [Note] Plugin 'FEDERATED' is disabled.
- 2015-11-03
- 18:03:34 7fcef2ac7740 InnoDB: Warning: Using
- innodb_additional_mem_pool_size is DEPRECATED. This option may be
- removed in future releases, together with the option
- innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
- 2015-11-03 18:03:34 11391 [Note] InnoDB: Using atomics to ref count buffer pool pages
- 2015-11-03 18:03:34 11391 [Note] InnoDB: The InnoDB memory heap is disabled
- 2015-11-03 18:03:34 11391 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
- 2015-11-03 18:03:34 11391 [Note] InnoDB: Memory barrier is not used
- 2015-11-03 18:03:34 11391 [Note] InnoDB: Compressed tables use zlib 1.2.3
- 2015-11-03 18:03:34 11391 [Note] InnoDB: Using CPU crc32 instructions
- 2015-11-03 18:03:34 11391 [Note] InnoDB: Initializing buffer pool, size = 16.0M
- 2015-11-03 18:03:34 11391 [Note] InnoDB: Completed initialization of buffer pool
- 2015-11-03 18:03:34 11391 [Note] InnoDB: Highest supported file format is Barracuda.
- 2015-11-03 18:03:34 11391 [Note] InnoDB: 128 rollback segment(s) are active.
- 2015-11-03 18:03:34 11391 [Note] InnoDB: Waiting for purge to start
- 2015-11-03 18:03:34 11391 [Note] InnoDB: 5.6.23 started; log sequence number 1626180
- 2015-11-03
- 18:03:34 11391 [ERROR] /usr/local/mysql/bin/mysqld: unknown variable
- 'log-slow-queries=/usr/local/mysql/log/slowquery.log'
- 2015-11-03 18:03:34 11391 [ERROR] Aborting
- 2015-11-03 18:03:34 11391 [Note] Binlog end
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'partition'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'ARCHIVE'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'BLACKHOLE'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'INNODB_FT_DELETED'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'INNODB_METRICS'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'INNODB_CMPMEM'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'INNODB_CMP_RESET'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'INNODB_CMP'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'INNODB_LOCKS'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'INNODB_TRX'
- 2015-11-03 18:03:34 11391 [Note] Shutting down plugin 'InnoDB'
- 2015-11-03 18:03:34 11391 [Note] InnoDB: FTS optimize thread exiting.
- 2015-11-03 18:03:34 11391 [Note] InnoDB: Starting shutdown...
- 2015-11-03 18:03:35 11391 [Note] InnoDB: Shutdown completed; log sequence number 1626190
- 2015-11-03 18:03:35 11391 [Note] Shutting down plugin 'MRG_MYISAM'
- 2015-11-03 18:03:35 11391 [Note] Shutting down plugin 'MyISAM'
- 2015-11-03 18:03:35 11391 [Note] Shutting down plugin 'CSV'
- 2015-11-03 18:03:35 11391 [Note] Shutting down plugin 'MEMORY'
- 2015-11-03 18:03:35 11391 [Note] Shutting down plugin 'sha256_password'
- 2015-11-03 18:03:35 11391 [Note] Shutting down plugin 'mysql_old_password'
- 2015-11-03 18:03:35 11391 [Note] Shutting down plugin 'mysql_native_password'
- 2015-11-03 18:03:35 11391 [Note] Shutting down plugin 'binlog'
- 2015-11-03 18:03:35 11391 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete
- 151103 18:03:35 mysqld_safe mysqld from pid file /usr/local/mysql/var/vultr.guest.pid ended
复制代码 my.cnf的配置文件如下:磁盘空间肯定是够的:
[ 本帖最后由 work4seo 于 2015-11-3 19:04 编辑 ] |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
x
|