VPS侦探论坛

 找回密码
 注册
查看: 11466|回复: 14

Server refused to set all environment variables是不是不能安装lnmp

[复制链接]
发表于 2013-2-22 10:59:38 | 显示全部楼层 |阅读模式

昨个儿没事闹了个128M的小鸡,杯具了。
安装不上lnmp.......

用 PuTTY 进去后提示 Server refused to set all environment variables 是不是就不能安装

安装lnmp 测试过2次,都是安装到一半,就无法安装了。
去面板上看了下,VPS变成了 offline .
难道是节点比较杯具,还是??? 这个提示就无法安装???还是内存过小??

晕死。
用256M的VPS没有压力,完全可行。

求教。。。感谢。。。

[ 本帖最后由 aimeko 于 2013-2-22 11:03 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-2-22 11:42:25 | 显示全部楼层


这个应该不会影响

vps offline可能母机有问题
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2013-2-22 11:56:41 | 显示全部楼层

一般是安装到 sql 出问题。

军哥 有没有 去掉  mysql的安装包。
只要nignx 支持php 和 ftp  的 感谢。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-2-22 13:16:45 | 显示全部楼层



没有,自己手动修改脚本,把mysql去掉吧
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2013-2-22 19:36:39 | 显示全部楼层

好的 感谢。
刚做好 tar.gz 一会测试下试验  :)

军哥运维代购:http://shop63846532.taobao.com/

 楼主| 发表于 2013-2-22 21:02:59 | 显示全部楼层

做了一个文件
安装完 运行 PHP 提示 Nginx 502 Bad Gateway  。

PHP编译有问题 不知道删除哪里的原因。
。。。。。。。。。。

请教一下,安装包里 PureFTPd 是不是一定要配合 mysql使用?

如果不是,能不能帮我 把 debian.sh 去除 mysql 帮我做个文件,无限感谢~~~~~~~~~
信箱 4543964@qq.com

[ 本帖最后由 aimeko 于 2013-2-22 21:04 编辑 ]
 楼主| 发表于 2013-2-22 22:47:47 | 显示全部楼层

又重测试了安装了一下。出现一下错误。昏。
到这里就停止了。

日志最后几行如下:
   /usr/local/mysql/sql-bench/Data \
/usr/local/mysql/sql-bench/Data/ATIS \
/usr/local/mysql/sql-bench/Data/Wisconsin \
/usr/local/mysql/sql-bench/limits \
/usr/local/mysql/sql-bench/Comments
/usr/bin/install -c -m 644 ./README /usr/local/mysql/sql-bench
for i in ./Data/ATIS/*.* ; do /usr/bin/install -c -m 644 $i /usr/local/mysql/sql-bench/Data/ATIS ; done
for i in ./Data/Wisconsin/*.* ; do /usr/bin/install -c -m 644 $i /usr/local/mysql/sql-bench/Data/Wisconsin ; done
for i in ./limits/*.* ; do /usr/bin/install -c -m 644 $i /usr/local/mysql/sql-bench/limits; done
for i in ./Comments/*.* ; do /usr/bin/install -c -m 644 $i /usr/local/mysql/sql-bench/Comments; done
make[2]: Leaving directory `/root/lnmp0.9/mysql-5.1.60/sql-bench'
make[1]: Leaving directory `/root/lnmp0.9/mysql-5.1.60/sql-bench'
Making install in server-tools
make[1]: Entering directory `/root/lnmp0.9/mysql-5.1.60/server-tools'
Making install in .
make[2]: Entering directory `/root/lnmp0.9/mysql-5.1.60/server-tools'
make[3]: Entering directory `/root/lnmp0.9/mysql-5.1.60/server-tools'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/lnmp0.9/mysql-5.1.60/server-tools'
make[2]: Leaving directory `/root/lnmp0.9/mysql-5.1.60/server-tools'
Making install in instance-manager
make[2]: Entering directory `/root/lnmp0.9/mysql-5.1.60/server-tools/instance-manager'
make[3]: Entering directory `/root/lnmp0.9/mysql-5.1.60/server-tools/instance-manager'
test -z "/usr/local/mysql/libexec" || /bin/mkdir -p "/usr/local/mysql/libexec"
/bin/sh ../../libtool --preserve-dup-deps --mode=install /usr/bin/install -c 'mysqlmanager' '/usr/local/mysql/libexec/mysqlmanager'
libtool: install: /usr/bin/install -c mysqlmanager /usr/local/mysql/libexec/mysqlmanager
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/lnmp0.9/mysql-5.1.60/server-tools/instance-manager'
make[2]: Leaving directory `/root/lnmp0.9/mysql-5.1.60/server-tools/instance-manager'
make[1]: Leaving directory `/root/lnmp0.9/mysql-5.1.60/server-tools'
Making install in win
make[1]: Entering directory `/root/lnmp0.9/mysql-5.1.60/win'
make[2]: Entering directory `/root/lnmp0.9/mysql-5.1.60/win'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/lnmp0.9/mysql-5.1.60/win'
make[1]: Leaving directory `/root/lnmp0.9/mysql-5.1.60/win'
chown: cannot access `/usr/local/mysql/var': No such file or directory
Installing MySQL system tables...

然后屏幕不动了,然后然后小鸡 offline ~~~~~~~~~~~~
日志 114K 传不上来 做个链接 http://ny.dns.je/lnmp.7z
大侠们帮忙看下,谢谢。


[ 本帖最后由 aimeko 于 2013-2-22 23:09 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2013-2-22 23:11:57 | 显示全部楼层

屏幕上 卡到这里 :


libtool: install: /usr/bin/install -c mysql_client_test_embedded /usr/local/mysql/bin/mysql_client_test_embedded
make[5]: Nothing to be done for `install-data-am'.
make[5]: Leaving directory `/root/lnmp0.9/mysql-5.1.60/libmysqld/examples'
make[4]: Leaving directory `/root/lnmp0.9/mysql-5.1.60/libmysqld/examples'
make[3]: Leaving directory `/root/lnmp0.9/mysql-5.1.60/libmysqld/examples'
make[2]: Leaving directory `/root/lnmp0.9/mysql-5.1.60/libmysqld'
make[1]: Leaving directory `/root/lnmp0.9/mysql-5.1.60/libmysqld'
Making install in mysql-test
make[1]: Entering directory `/root/lnmp0.9/mysql-5.1.60/mysql-test'
Making install in lib/My/SafeProcess
make[2]: Entering directory `/root/lnmp0.9/mysql-5.1.60/mysql-test/lib/My/SafeProcess'
make[3]: Entering directory `/root/lnmp0.9/mysql-5.1.60/mysql-test/lib/My/SafeProcess'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/mysql/mysql-test/lib/My/SafeProcess" || /bin/mkdir -p "/usr/local/mysql/mysql-test/lib/My/SafeProcess"
  /bin/sh ../../../../libtool --preserve-dup-deps   --mode=install /usr/bin/install -c 'my_safe_process' '/usr/local/mysql/mysql-test/lib/My/SafeProcess/my_safe_process'
libtool: install: /usr/bin/install -c my_safe_process /usr/local/mysql/mysql-test/lib/My/SafeProcess/my_safe_process
make[3]: Leaving directory `/root/lnmp0.9/mysql-5.1.60/mysql-test/lib/My/SafeProcess'
make[2]: Leaving directory `/root/lnmp0.9/mysql-5.1.60/mysql-test/lib/My/SafeProcess'
make[2]: Entering directory `/root/lnmp0.9/mysql-5.1.60/mysql-test'
make[3]: Entering directory `/root/lnmp0.9/mysql-5.1.60/mysql-test'
make[3]: Nothing to be done for `install-exec-am'.
make    INSTALL_TO_DIR="/usr/local/mysql/mysql-test" install_test_files
make[4]: Entering directory `/root/lnmp0.9/mysql-5.1.60/mysql-test'
make[4]: Leaving directory `/root/lnmp0.9/mysql-5.1.60/mysql-test'
test -z "/usr/local/mysql/mysql-test" || /bin/mkdir -p "/usr/local/mysql/mysql-test"
/bin/sh /root/lnmp0.9/mysql-5.1.60/install-sh -c -m 644 'valgrind.supp' '/usr/local/mysql/mysql-test/valgrind.supp'

屏幕上 卡到这里  如上所示
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2013-2-23 08:26:38 | 显示全部楼层


日志不完整,按里面的信息除了locale有问题,其他都没报错

locale不会影响安装
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-2-23 09:29:54 | 显示全部楼层



mysql 的安装脚本还没去除干净。。   

PureFTPd 必需要mysql 以记录数据。


呵,过下有空我也试试。
 楼主| 发表于 2013-2-23 09:53:08 | 显示全部楼层

军哥。日志114K 超过100K不让传啊
我打包这里了。http://ny.dns.je/lnmp.7z
 楼主| 发表于 2013-2-23 09:54:58 | 显示全部楼层

也许是 母鸡 的问题吧。
谢谢拉

军哥。日志114K 超过100K不让传啊
我打包这里了。http://ny.dns.je/lnmp.7z

[ 本帖最后由 aimeko 于 2013-2-23 09:56 编辑 ]
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2013-2-23 10:11:31 | 显示全部楼层

回复 12# 的帖子

就是说的这个http://ny.dns.je/lnmp.7z
这个不完整
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-2-23 11:03:06 | 显示全部楼层
没搞明白。  这个贴子的日期。。  回复时间竟然都变后了。   

但我那个回复就没变   2013-2-23 09:29   

以上的回复应该都在我之前的,原来的这个页我一直没关。

手调的。  

[ 本帖最后由 id886 于 2013-2-23 11:04 编辑 ]

军哥运维代购:http://shop63846532.taobao.com/

 楼主| 发表于 2013-2-23 13:19:23 | 显示全部楼层
上服务器上又看了下。
日志就这么多~~~
估计后面 offline 就没法记录了


谢谢军哥了,就这样吧。
估计服务器的原因。
反正也不打算做站点用。
没事就走个VPN服务器吧。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-24 09:20 , Processed in 0.030496 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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