- 积分
- 4
- 威望
-
- 金钱
-
- 注册时间
- 2011-1-18
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2011-1-20 21:02:25
|
显示全部楼层
麻烦军哥再帮我看下,我重装了系统:Linux Mint debian
下面是系统信息:
LinuxMnt
版本 1 (debian)
内核 Linux 2.6.32-5-686
GNOME 2.30.2
硬件
内存:1009.9MiB
处理器:intel(R)Pentium(R)4 CPU 2.40GHz
系统状态
可用的磁盘空间:7.0GiB
我安装的是下载版lnmp 0.5,下面是安装到最后的信息:
==================== phpMyAdmin install completed ======================
p.php
update-rc.d: using dependency based boot sequencing
update-rc.d: using dependency based boot sequencing
=========================================================================
Manager for LNMP V0.5 , Written by Licess
=========================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to Manage status of lnmp
For more information please visit http://www.lnmp.org
Usage: /root/lnmp {start|stop|reload|restart|kill|status}
=========================================================================
Starting LNMP...
Nginx is runing!
===================================== Check install ===================================
[H[2J/usr/local/nginx [found]
/usr/local/php [found]
/usr/local/mysql [found]
========================== Check install ================================
Install LNMP V0.5 completed! enjoy it.
=========================================================================
LNMP V0.5 for Debian/Ubuntu VPS , Written by Licess
=========================================================================
For more information please visit http://www.lnmp.org/
lnmp status manage: /root/lnmp {start|stop|reload|restart|kill|status}
default mysql root password:123456
phpinfo : http://www.abc.com/phpinfo.php
phpMyAdmin : http://www.abc.com/phpmyadmin/
Prober : http://www.abc.com/p.php
The path of some dirs:
mysql dir: /usr/local/mysql
php dir: /usr/local/php
nginx dir: /usr/local/nginx
web dir : /home/wwwroot
=========================================================================
=========================================================================
Manager for LNMP V0.5 , Written by Licess
=========================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to Manage status of lnmp
For more information please visit http://www.lnmp.org
Usage: /root/lnmp {start|stop|reload|restart|kill|status}
=========================================================================
Nginx is runing!
MySQL running (8281).
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
tcp6 0 0 ::1:631 :::* LISTEN
tcp6 0 0 :::445 :::* LISTEN
tcp6 0 0 :::139 :::* LISTEN
这次Mysql安装貌似成功了:
/usr/local/mysql
/usr/local/php
/usr/local/nginx
/home/wwwroot
以上目录均创建成功了。下面是nginx_error.log的信息:
2011/01/20 15:56:37 [crit] 8289#0: *1 connect() to unix:/tmp/php-cgi.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: www.abc.com, request: "GET /p.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "127.0.0.1", referrer: "http://127.0.0.1/"
2011/01/20 15:56:42 [crit] 8289#0: *1 connect() to unix:/tmp/php-cgi.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: www.abc.com, request: "GET /phpinfo.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "127.0.0.1", referrer: "http://127.0.0.1/"
2011/01/20 17:27:18 [emerg] 16631#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2011/01/20 17:27:18 [emerg] 16631#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2011/01/20 17:27:18 [emerg] 16631#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2011/01/20 17:27:18 [emerg] 16631#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2011/01/20 17:27:18 [emerg] 16631#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2011/01/20 17:27:18 [emerg] 16631#0: still could not bind()
2011/01/20 17:29:45 [crit] 1633#0: *1 connect() to unix:/tmp/php-cgi.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: www.abc.com, request: "GET /p.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "127.0.0.1", referrer: "http://127.0.0.1/"
2011/01/20 17:29:50 [crit] 1633#0: *1 connect() to unix:/tmp/php-cgi.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: www.abc.com, request: "GET /phpmyadmin/ HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "127.0.0.1", referrer: "http://127.0.0.1/"
2011/01/20 17:29:53 [crit] 1633#0: *1 connect() to unix:/tmp/php-cgi.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: www.abc.com, request: "GET /phpinfo.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "127.0.0.1", referrer: "http://127.0.0.1/"
2011/01/20 17:45:06 [crit] 1633#0: *5 connect() to unix:/tmp/php-cgi.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: www.abc.com, request: "GET /p.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "127.0.0.1", referrer: "http://127.0.0.1/"
安装完成后,打开http://127.0.0.1/正常,
但打开 探针 phpinfo phpMyAdmin 仍然提示502 Bad Gateway,我查了一下,/tmp/php-cgi.sock文件不存在
下面是Linux Mint debian的介绍:
Linux Mint 项目组发布了一个新的项目 Linux Mint Debian (201009)。Linux Mint Debian (201009) 是 Linux Mint 基于 Debian 的第一个分支(简称 LMDE),与 Debian 100%兼容。目前发行的版本为32位版本,不久之后会提供64位本。Linux Mint Debian (201009) 采用 Gnome 桌面系统。
官方声称此系统是永远不必重装的系统。基于 Debian 的这个发行版本更加快速,并且减少对上游内核组件的依赖,这个发行版本采用了一个新的安装系统。目前来说这个版本还有很多不足,不过 Linux Mint 有信心不断的改进和提升它。 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
x
|