在调试memcached的时候出现无法启动服务器,下面给出指定日志记录方法:
/usr/bin/memcached -d -m 128 -u memcached -l 192.168.0.8 -p 11211 -c 64 -P /tmp/memcached.pid -vv >> /tmp/memcached.log 2>&1
就可以看到详细的日志记录了:
bind(): Cannot assign requested address
failed to listen on TCP port 11211: Cannot assign requested address
发表回复