安装出现这种情况打开ip/memcached.php显示404是什么问题?
makeall-ammake: Entering directory `/root/lnmp1.0-full/memcached-1.4.15/doc'
make: Nothing to be done for `all-am'.
make: Leaving directory `/root/lnmp1.0-full/memcached-1.4.15/doc'
make: Leaving directory `/root/lnmp1.0-full/memcached-1.4.15/doc'
make: Entering directory `/root/lnmp1.0-full/memcached-1.4.15'
make: Leaving directory `/root/lnmp1.0-full/memcached-1.4.15'
make: Leaving directory `/root/lnmp1.0-full/memcached-1.4.15'
makeinstall-recursive
make: Entering directory `/root/lnmp1.0-full/memcached-1.4.15'
Making install in doc
make: Entering directory `/root/lnmp1.0-full/memcached-1.4.15/doc'
makeinstall-am
make: Entering directory `/root/lnmp1.0-full/memcached-1.4.15/doc'
make: Entering directory `/root/lnmp1.0-full/memcached-1.4.15/doc'
make: 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: Leaving directory `/root/lnmp1.0-full/memcached-1.4.15/doc'
make: Leaving directory `/root/lnmp1.0-full/memcached-1.4.15/doc'
make: Leaving directory `/root/lnmp1.0-full/memcached-1.4.15/doc'
make: Entering directory `/root/lnmp1.0-full/memcached-1.4.15'
make: 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: Leaving directory `/root/lnmp1.0-full/memcached-1.4.15'
make: Leaving directory `/root/lnmp1.0-full/memcached-1.4.15'
make: 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
======================================================================= /etc/init.d/memcached 文件可能之前有通过其他方式用ln -s 创建过软连接,rm -f /etc/init.d/memcached 删除后把安装包里的改文件cp过去就行
404可能是memcached.php没cp过去
回复 2# 的帖子
那这个是什么原因导致的呢,怎么解决呢?试了很多方法都不行。 原来的脚本中memcached.php的目录有错误需要自己cp过去
页:
[1]