VPS侦探论坛

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

安装出现这种情况打开ip/memcached.php显示404是什么问题?

[复制链接]
发表于 2013-7-22 20:44:08 | 显示全部楼层 |阅读模式

make  all-am
make[3]: Entering directory `/root/lnmp1.0-full/memcached-1.4.15/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/lnmp1.0-full/memcached-1.4.15/doc'
make[2]: Leaving directory `/root/lnmp1.0-full/memcached-1.4.15/doc'
make[2]: Entering directory `/root/lnmp1.0-full/memcached-1.4.15'
make[2]: Leaving directory `/root/lnmp1.0-full/memcached-1.4.15'
make[1]: Leaving directory `/root/lnmp1.0-full/memcached-1.4.15'
make  install-recursive
make[1]: Entering directory `/root/lnmp1.0-full/memcached-1.4.15'
Making install in doc
make[2]: Entering directory `/root/lnmp1.0-full/memcached-1.4.15/doc'
make  install-am
make[3]: Entering directory `/root/lnmp1.0-full/memcached-1.4.15/doc'
make[4]: Entering directory `/root/lnmp1.0-full/memcached-1.4.15/doc'
make[4]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/memcached/share/man/man1" || /bin/mkdir -p "/usr/local/memcached/share/man/man1"
/usr/bin/install -c -m 644 memcached.1 '/usr/local/memcached/share/man/man1'
make[4]: Leaving directory `/root/lnmp1.0-full/memcached-1.4.15/doc'
make[3]: Leaving directory `/root/lnmp1.0-full/memcached-1.4.15/doc'
make[2]: Leaving directory `/root/lnmp1.0-full/memcached-1.4.15/doc'
make[2]: Entering directory `/root/lnmp1.0-full/memcached-1.4.15'
make[3]: Entering directory `/root/lnmp1.0-full/memcached-1.4.15'
test -z "/usr/local/memcached/bin" || /bin/mkdir -p "/usr/local/memcached/bin"
  /usr/bin/install -c memcached '/usr/local/memcached/bin'
test -z "/usr/local/memcached/include/memcached" || /bin/mkdir -p "/usr/local/memcached/include/memcached"
/usr/bin/install -c -m 644 protocol_binary.h '/usr/local/memcached/include/memcached'
make[3]: Leaving directory `/root/lnmp1.0-full/memcached-1.4.15'
make[2]: Leaving directory `/root/lnmp1.0-full/memcached-1.4.15'
make[1]: Leaving directory `/root/lnmp1.0-full/memcached-1.4.15'
ln: creating hard link `/usr/bin/memcached': File exists
cp: not writing through dangling symlink `/etc/init.d/memcached'
chmod: cannot operate on dangling symlink `/etc/init.d/memcached'
useradd: user 'root' already exists
error reading information on service memcached: No such file or directory
Copy Memcached PHP Test file...
Starting Memcached...
./memcached.sh: line 97: /etc/init.d/memcached: No such file or directory
===================== install Memcached completed =====================
Install Memcached completed,enjoy it!
You Can visit Memcached PHP Test file: http://ip/memcached.php
=======================================================================
Install Memcached for LNMP V1.0  ,  Written by Licess
=======================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to install Memcached for lnmp

For more information please visit http://www.lnmp.org
=======================================================================
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-7-23 12:03:32 | 显示全部楼层


/etc/init.d/memcached 文件可能之前有通过其他方式用ln -s 创建过软连接,rm -f /etc/init.d/memcached 删除后把安装包里的改文件cp过去就行

404可能是memcached.php没cp过去
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2013-7-23 12:50:56 | 显示全部楼层

回复 2# 的帖子


那这个是什么原因导致的呢,怎么解决呢?试了很多方法都不行。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-7-23 20:41:56 | 显示全部楼层



原来的脚本中memcached.php的目录有错误需要自己cp过去
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-25 02:36 , Processed in 0.025632 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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