VPS侦探论坛

 找回密码
 注册
查看: 5049|回复: 1

lnmpa0.7memcached 不自动启动问题

[复制链接]
发表于 2011-11-15 17:52:14 | 显示全部楼层 |阅读模式

装的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
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-11-15 17:52:42 | 显示全部楼层


求解。。。谁告诉我哪里出问题了
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-21 17:44 , Processed in 0.024684 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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