全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 6193|回复: 9

[lighttpd] -bash: ./install.sh: cannot execute binary file

[复制链接]
发表于 2009-12-23 17:22:27 | 显示全部楼层 |阅读模式
PhotonVPS的VPS OpenVZ,系统CentOS,安装论坛的LNMP一键安装包.都是照着论坛上面教程做,在安装的时候输入./install.sh
出现[root@vps lnmp]# -bash: ./install.sh: cannot execute binary file

急急!

其中
-rwxr-xr-x 1 root root  709 Dec 11 23:14 apc.sh
drwxr-xr-x 2 root root 4096 Dec 11 17:42 conf
-rwxr-xr-x 1 root root 1669 Dec 11 23:14 eaccelerator.sh
-rwxr-xr-x 1 root root 9260 Dec 12 00:18 install.sh

[ 本帖最后由 wian1314 于 2009-12-23 18:48 编辑 ]
发表于 2009-12-23 17:36:35 | 显示全部楼层
那个VPS的?
竟然会提示没有权限?
chmod +x install.sh apc.sh eaccelerator.sh
运行了吗?
 楼主| 发表于 2009-12-23 18:23:18 | 显示全部楼层

回复 2# 的帖子

照着http://www.hostloc.com/thread-2011-1-1.html教程写的.
chmod +x install.sh apc.sh eaccelerator.sh
运行了
发表于 2009-12-23 18:30:54 | 显示全部楼层
直接输入 ./install.sh
或者 /bin/bash install.sh
 楼主| 发表于 2009-12-23 18:38:01 | 显示全部楼层

回复 4# 的帖子

PhotonVPS的VPS OpenVZ

好像没有用


[root@vps lnmp]# ls -l
total 24
-rwxr-xr-x 1 root root  709 Dec 11 23:14 apc.sh
drwxr-xr-x 2 root root 4096 Dec 11 17:42 conf
-rwxr-xr-x 1 root root 1669 Dec 11 23:14 eaccelerator.sh
-rwxr-xr-x 1 root root 9260 Dec 12 00:18 install.sh
[root@vps lnmp]# chmod +x install.sh apc.sh eaccelerator.sh
[root@vps lnmp]# ./install.sh
-bash: ./install.sh: cannot execute binary file
[root@vps lnmp]# /bin/bash install.sh
install.sh: install.sh: cannot execute binary file
[root@vps lnmp]#

[ 本帖最后由 wian1314 于 2009-12-23 18:47 编辑 ]
发表于 2009-12-23 18:50:29 | 显示全部楼层
cannot execute binary file
文件编码问题?!   
系统版本问题?!

很有意思啊
你啊 还是 自己手动编译吧 呵呵
 楼主| 发表于 2009-12-23 18:55:39 | 显示全部楼层

回复 6# 的帖子

,,都是CentOS,为什么会有什么编码问题,
迷茫中..编码又应该怎么改
发表于 2009-12-23 18:57:26 | 显示全部楼层
我感觉是文件编码问题
你先用licess的吧..

但是我的VPS没问题..奇怪啊..

等下再测试
 楼主| 发表于 2009-12-23 19:14:05 | 显示全部楼层
把两个install.sh都下载看了.
置顶lnmp包教程的那个链接下来的编码是utf8不能安装
licess的编码是ANSI能安装,
现在正在安装licess.
谢谢大家,
有问题再请教
发表于 2009-12-23 21:48:48 | 显示全部楼层

回复 9# 的帖子

学习了,还真是编码问题。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-5-4 04:28 , Processed in 0.065976 second(s), 8 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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