lnmp0.7-full 挂了,求救!!
我安装在CentOS 5 - 32 bit 系统上安装的LNMP 0.7, 运行了一年,没有问题。今天突然发现网站无法访问,重启了仍然不行。
1. 运行/root/lnmp restart, 错误提示如下:
Usage: /root/lnmp {start|stop|reload|restart|kill|status}
=========================================================================
Stoping LNMP...
/root/lnmp: line 62: kill: (9527) - No such process
Nginx program is stop
PHP-FPM program is not runing!
MySQL program is not runing!
Starting LNMP...
Nginx is runing!
2. 运行/usr/local/nginx/sbin/nginx -s reload 命令, 错误提示如下:
: kill(9527, 1) failed (3: No such process)
如果重新装系统,网站代码倒是可以备份,数据库不知道怎么备份了。
请懂的朋友帮帮忙, 急!!! 1、没错误
2、nginx没运行,/etc/init.d/nginx start启动
关于数据库备份www.vpser.net上有,可以自己搜索https://www.vpser.net/manage/mysql-import-export.html
看了军哥的提示,补充点错误信息。
看了军哥的提示,补充点错误信息。1. 运行/usr/local/nginx/sbin/nginx -t的返回信息
# /usr/local/nginx/sbin/nginx -t
Enter PEM pass phrase:
the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
configuration file /usr/local/nginx/conf/nginx.conf test is successful
2. 执行php -v
# php -v
PHP 5.2.17 (cli) (built: Sep6 2011 12:19:09)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
3. /usr/local/mysql/var/主机名.err 的日志
# vi rsbob.err
110906 12:12:36 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110906 12:12:36 Event Scheduler: Loaded 0 events
110906 12:12:36 /usr/local/mysql/libexec/mysqld: ready for connections.
Version: '5.1.54-log'socket: '/tmp/mysql.sock'port: 3306Source distribution
110906 12:12:37 /usr/local/mysql/libexec/mysqld: Normal shutdown
110906 12:12:37 Event Scheduler: Purging the queue. 0 events
110906 12:12:37 /usr/local/mysql/libexec/mysqld: Shutdown complete
110906 12:12:37 mysqld_safe mysqld from pid file /usr/local/mysql/var/rsbob.pid ended
110906 12:12:38 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110906 12:12:38 Event Scheduler: Loaded 0 events
110906 12:12:38 /usr/local/mysql/libexec/mysqld: ready for connections.
Version: '5.1.54-log'socket: '/tmp/mysql.sock'port: 3306Source distribution
110906 12:12:39 /usr/local/mysql/libexec/mysqld: Normal shutdown
110906 12:12:39 Event Scheduler: Purging the queue. 0 events
110906 12:12:39 /usr/local/mysql/libexec/mysqld: Shutdown complete
"rsbob.err" 605L, 37029C
110906 12:12:36 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110906 12:12:36 Event Scheduler: Loaded 0 events
110906 12:12:36 /usr/local/mysql/libexec/mysqld: ready for connections.
Version: '5.1.54-log'socket: '/tmp/mysql.sock'port: 3306Source distribution
110906 12:12:37 /usr/local/mysql/libexec/mysqld: Normal shutdown
110906 12:12:37 Event Scheduler: Purging the queue. 0 events
110906 12:12:37 /usr/local/mysql/libexec/mysqld: Shutdown complete
110906 12:12:37 mysqld_safe mysqld from pid file /usr/local/mysql/var/rsbob.pid ended
110906 12:12:38 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110906 12:12:38 Event Scheduler: Loaded 0 events
110906 12:12:38 /usr/local/mysql/libexec/mysqld: ready for connections.
Version: '5.1.54-log'socket: '/tmp/mysql.sock'port: 3306Source distribution
110906 12:12:39 /usr/local/mysql/libexec/mysqld: Normal shutdown
110906 12:12:39 Event Scheduler: Purging the queue. 0 events
110906 12:12:39 /usr/local/mysql/libexec/mysqld: Shutdown complete
110906 12:12:39 mysqld_safe mysqld from pid file /usr/local/mysql/var/rsbob.pid ended
110906 12:20:45 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110906 12:20:45 Event Scheduler: Loaded 0 events
110906 12:20:45 /usr/local/mysql/libexec/mysqld: ready for connections.
Version: '5.1.54-log'socket: '/tmp/mysql.sock'port: 3306Source distribution
110906 12:20:59 mysqld_safe A mysqld process already exists
110906 20:39:22 /usr/local/mysql/libexec/mysqld: Normal shutdown
110906 20:39:22 Event Scheduler: Purging the queue. 0 events
110906 20:39:22 /usr/local/mysql/libexec/mysqld: Shutdown complete
110906 20:39:22 mysqld_safe mysqld from pid file /usr/local/mysql/var/rsbob.pid ended
110906 20:39:23 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110906 20:39:23 Event Scheduler: Loaded 0 events
110906 20:39:23 /usr/local/mysql/libexec/mysqld: ready for connections.
Version: '5.1.54-log'socket: '/tmp/mysql.sock'port: 3306Source distribution
1109071:35:00 /usr/local/mysql/libexec/mysqld: Normal shutdown
1109071:35:00 Event Scheduler: Purging the queue. 0 events
1109071:35:00 /usr/local/mysql/libexec/mysqld: Shutdown complete 非常感谢军哥, 运行了你给的那段程序可以了。
顺便问下, “2、上传lnmp.log日志文件,或提供编译安装的错误信息。”
lnmp.log日志文件 在那个地方,找了半天没有找到。 你都运行1年了,和安装日志没关系
Enter PEM pass phrase:
应该是你配置过ssl吧,这个不算错误
在key的目录执行:openssl rsa -in server.key -out server.key.unsecure配置文件里缓存unsecure这个文件名就行了
php -v 没错误
mysql日志没错误 非常感谢! 问题解决啦
页:
[1]