lnmpa0.7memcached 不自动启动问题
装的lnmpa0.7也设置了memcached自动启动但是每次重启都不启动什么原因呢。rc.local配置
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
# Miscellaneous fixes for Xen VPS.
pkill -f nash
depmod
modprobe blktap
modprobe tun
modprobe fuse
mkdir -p /dev/net
mknod /dev/net/tun c 10 200
mknod /dev/net/tap c 90 128
rm -rf /lib/tls; rm -rf /usr/lib/tls
echo hwcap 0 nosegneg > /etc/ld.so.conf.d/kernelcap-`uname -r`.conf
ldconfig
# Add any additional startup items below this line.
/usr/local/memcached/bin/memcached -d -m 256 -u root -l 127.0.0.1 -p 11211 -c 128 -P /tmp/memcached.pid 求解。。。谁告诉我哪里出问题了
页:
[1]