- 积分
- 6
- 威望
-
- 金钱
-
- 注册时间
- 2015-6-27
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
重启的时候报错
lnmp restart
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| http://lnmp.org |
+-------------------------------------------+
Stoping LNMP...
Stoping nginx... done
Shutting down MySQL.. SUCCESS!
Gracefully shutting down php-fpm . done
Starting LNMP...
Starting nginx... done
Starting MySQL. ERROR! The server quit without updating PID file (/usr/local/mysql/var/VM_100_217_centos.pid).
Starting php-fpm done
因为我本机没有用Mysql,我可以不要Mysql吗?
然后只需要启动其他的,怎么启动呢?
/usr/local/nginx/sbin/nginx -s reload
/etc/init.d/php-fpm restart
=========================================================
错误信息/usr/local/mysql/var/主机名.err 的日志:
160323 21:56:44 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
160323 21:56:44 InnoDB: The InnoDB memory heap is disabled
160323 21:56:44 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160323 21:56:44 InnoDB: Compressed tables use zlib 1.2.3
160323 21:56:44 InnoDB: Initializing buffer pool, size = 16.0M
160323 21:56:44 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file /usr/local/mysql/var/ibdata1 did not exist:
InnoDB: a new database to be created!
160323 21:56:44 InnoDB: Setting file /usr/local/mysql/var/ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
160323 21:56:44 InnoDB: Log file /usr/local/mysql/var/ib_logfile0 did not exist: new to be created
InnoDB: Setting log file /usr/local/mysql/var/ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
160323 21:56:44 InnoDB: Log file /usr/local/mysql/var/ib_logfile1 did not exist: new to be created
InnoDB: Setting log file /usr/local/mysql/var/ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: 127 rollback segment(s) active.
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
160323 21:56:44 InnoDB: Waiting for the background threads to start
160323 21:56:45 InnoDB: 5.5.42 started; log sequence number 0
160323 21:56:45 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
160323 21:56:45 [Note] - '0.0.0.0' resolves to '0.0.0.0';
160323 21:56:45 [Note] Server socket created on IP: '0.0.0.0'.
160323 21:56:45 [Note] Event Scheduler: Loaded 0 events
160323 21:56:45 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.5.42-log' socket: '/tmp/mysql.sock' port: 3306 Source distribution
160323 21:56:45 [Note] /usr/local/mysql/bin/mysqld: Normal shutdown
160323 21:56:45 [Note] Event Scheduler: Purging the queue. 0 events
160323 21:56:45 InnoDB: Starting shutdown...
160323 21:56:47 InnoDB: Shutdown completed; log sequence number 1595675
160323 21:56:47 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete
160323 21:56:47 mysqld_safe mysqld from pid file /usr/local/mysql/var/VM_100_217_centos.pid ended
160323 21:56:48 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
160323 21:56:48 InnoDB: The InnoDB memory heap is disabled
160323 21:56:48 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160323 21:56:48 InnoDB: Compressed tables use zlib 1.2.3
160323 21:56:48 InnoDB: Initializing buffer pool, size = 16.0M
160323 21:56:48 InnoDB: Completed initialization of buffer pool
160323 21:56:48 InnoDB: highest supported file format is Barracuda.
160323 21:56:48 InnoDB: Waiting for the background threads to start
160323 21:56:49 InnoDB: 5.5.42 started; log sequence number 1595675
160323 21:56:49 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
160323 21:56:49 [Note] - '0.0.0.0' resolves to '0.0.0.0';
160323 21:56:49 [Note] Server socket created on IP: '0.0.0.0'.
160323 21:56:49 [Note] Event Scheduler: Loaded 0 events
160323 21:56:49 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.5.42-log' socket: '/tmp/mysql.sock' port: 3306 Source distribution
160323 21:56:49 [Note] /usr/local/mysql/bin/mysqld: Normal shutdown
160323 21:56:49 [Note] Event Scheduler: Purging the queue. 0 events
160323 21:56:50 InnoDB: Starting shutdown...
"VM_100_217_centos.err" 348L, 22536C
[ 本帖最后由 gyrate360 于 2016-3-26 07:07 编辑 ] |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
x
|