- 积分
 - 4
 
- 威望
 -  
 
- 金钱
 -  
 
- 注册时间
 - 2011-1-18
 
- 在线时间
 -  小时
 
- 最后登录
 - 1970-1-1
 
 
 
 
 
 
 | 
 
 
 楼主 |
发表于 2011-1-24 15:23:11
|
显示全部楼层
 
 
 
原帖由 licess 于 2011-1-24 11:43 发表   
还有啥错误提示发上来。   
 
我执行 uninstall.sh卸载lnmp0.5,删除home目录下的wwwlogs和wwwroot目录,然后重启电脑再次安装lnmp0.5,这次我先把suhosin-patch-5.2.14-0.9.7.patch.gz文件放入root/lnmp0.5/下后安装,结果还是一样的: 
 
konloned:~# /root/lnmp restart 
========================================================================= 
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} 
========================================================================= 
Reload LNMP... 
Reload Nginx configure... 
the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok 
configuration file /usr/local/nginx/conf/nginx.conf test is successful 
Nginx program is reloding! 
Shutting down MySQL.. 
Starting MySQL.. 
/root/lnmp: line 70: /usr/local/php/sbin/php-fpm: 没有那个文件或目录 
konloned:~#  
意思就是PHP一直没有安装成功?PHP目录下仍然是只有etc文件夹和文件夹下的php.ini和php-fpm.conf文件,sbin目录仍然没有创建成功。 
 
wwwlogs目录下的nginx_error.log内容如下: 
 
2011/01/24 14:45:12 [emerg] 22489#0: bind() to 0.0.0.0:80 failed (98: Address already in use) 
2011/01/24 14:45:12 [emerg] 22489#0: bind() to 0.0.0.0:80 failed (98: Address already in use) 
2011/01/24 14:45:12 [emerg] 22489#0: bind() to 0.0.0.0:80 failed (98: Address already in use) 
2011/01/24 14:45:12 [emerg] 22489#0: bind() to 0.0.0.0:80 failed (98: Address already in use) 
2011/01/24 14:45:12 [emerg] 22489#0: bind() to 0.0.0.0:80 failed (98: Address already in use) 
2011/01/24 14:45:12 [emerg] 22489#0: still could not bind() 
2011/01/24 14:50:17 [crit] 2506#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/24 14:50:23 [crit] 2506#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/24 14:50:26 [crit] 2506#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/24 15:14:17 [crit] 3179#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/" 
2011/01/24 15:14:21 [crit] 3179#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 /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/24 15:14:24 [crit] 3179#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 /phpmyadmin/ HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "127.0.0.1", referrer: "http://127.0.0.1/" 
 
我查了下,tmp/php-cgi.sock确实没有,应该是php确实没有安装好,lnmp0.5是这样,lnmp0.5-full安装也是这样, 
 
系统信息如下: 
Debian 
版本 5.0.7 (lenny) 
内核 Linux 2.6.26-2-686 
GNOME 2.22.3 
硬件 
内存:1011.5MB 
处理器:intel(R) Pentium(R) CPU 2.40GHz 
系统状态 
可用磁盘空间:7.8GB 
应该不会是空间不够的问题吧? 
 
系统是全新安装的,没有安装其它东东,比如apache2都没有安装过,应该不会存在冲突的问题。 
 
[ 本帖最后由 konloned 于 2011-1-24 15:38 编辑 ] |   
 
 
 
 |