VPS侦探论坛

 找回密码
 注册
查看: 4884|回复: 3

lnmp安装失败

[复制链接]
发表于 2013-7-17 15:52:45 | 显示全部楼层 |阅读模式

军哥求帮忙。
我安装lnmp报这个错了。在论坛我没找到有解决方案




cp conf/nginx.conf '/usr/local/nginx/conf/nginx.conf.default'
test -d '/usr/local/nginx/logs'                 || mkdir -p '/usr/local/nginx/logs'
test -d '/usr/local/nginx/logs' ||              mkdir -p '/usr/local/nginx/logs'
test -d '/usr/local/nginx/html'                 || cp -R html '/usr/local/nginx'
test -d '/usr/local/nginx/logs' ||              mkdir -p '/usr/local/nginx/logs'
make[1]: Leaving directory `/root/lnmp1.0-full/nginx-1.2.7'
ln: creating symbolic link `/usr/bin/nginx': File exists
Create PHP Info Tool...
Copy PHP Prober...
p.php
============================Install PHPMyAdmin=================================
mv: cannot move `phpMyAdmin-3.4.8-all-languages' to `/home/wwwroot/default/phpmyadmin/phpMyAdmin-3.4.8-all-languages': Directory not empty
mkdir: cannot create directory `/home/wwwroot/default/phpmyadmin/upload/': File exists
mkdir: cannot create directory `/home/wwwroot/default/phpmyadmin/save/': File exists
============================phpMyAdmin install completed=================================
============================add nginx and php-fpm on startup============================
Download new nginx init.d file......
--2013-07-17 15:38:06--  http://soft.vpser.net/lnmp/ext/init.d.nginx
Resolving soft.vpser.net... 96.44.153.111
Connecting to soft.vpser.net|96.44.153.111|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

    The file is already fully retrieved; nothing to do.

===========================add nginx and php-fpm on startup completed====================
Starting LNMP...
Starting MySQL. ERROR! The server quit without updating PID file (/usr/local/mysql/data/linux.kbuy.com.pid).
Starting php_fpm /etc/init.d/php-fpm: line 61: /usr/local/php/bin/php-cgi: No such file or directory
failed
Starting nginx daemon: nginx.
# Generated by iptables-save v1.4.7 on Wed Jul 17 15:38:07 2013
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
COMMIT
# Completed on Wed Jul 17 15:38:07 2013
===================================== Check install ===================================
Checking...
Nginx: OK
Error: /usr/local/php not found!!!PHP install failed.
MySQL: OK
Sorry,Failed to install LNMP!
Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.

[ 本帖最后由 xiaosevenjun 于 2013-7-18 09:44 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-7-17 19:25:32 | 显示全部楼层


没日志就没法知道原因
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2013-7-18 09:45:25 | 显示全部楼层

回复 2# 的帖子


军哥,日志我已经附带上了,请帮我看下,万分感谢啊
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-7-18 10:54:09 | 显示全部楼层



/root/lnmp1.0-full/php-5.2.17/Zend/zend_operators.h: In function 'is_numeric_string':
/root/lnmp1.0-full/php-5.2.17/Zend/zend_operators.h:120: error: 'MAX_LENGTH_OF_LONG' undeclared (first use in this function)
/root/lnmp1.0-full/php-5.2.17/Zend/zend_operators.h:180: error: 'long_min_digits' undeclared (first use in this function)
In file included from /root/lnmp1.0-full/php-5.2.17/ext/standard/php_versioning.h:24,
                 from /root/lnmp1.0-full/php-5.2.17/ext/date/php_date.c:27:
/root/lnmp1.0-full/php-5.2.17/ext/standard/basic_functions.h:151:2: error: #error Need type which holds 32 bits
In file included from /root/lnmp1.0-full/php-5.2.17/ext/standard/php_versioning.h:24,
                 from /root/lnmp1.0-full/php-5.2.17/ext/date/php_date.c:27:
/root/lnmp1.0-full/php-5.2.17/ext/standard/basic_functions.h: At top level:
/root/lnmp1.0-full/php-5.2.17/ext/standard/basic_functions.h:187: error: expected specifier-qualifier-list before 'php_uint32'
make: *** [ext/date/php_date.lo] Error 1

看样子像是php获取系统是32位还是64位时出错
解决方法只能换其他系统
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-16 05:49 , Processed in 0.027679 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表