如果没有带 -u root 的话就会报: can't run as root without the -u switch 解决方法: 带-u root就行了. 出现的原因: 1.可能在root用户下启动 2.可能在rc.local下启动,因为rc.local启动时默认是root权限的.而memcached默认不加u参数启动就是当前的用户.…
[root@localhost ~]# /usr/local/memcache/bin/memcached can't run as root without the -u switch [root@localhost ~]# /usr/local/memcache/bin/memcached -uroot…
CentOS这两天服务器出了问题了,提示如下: unexpected inconsistency;RUN fsck MANUALLY An error occurred during the filesystem check Propping you to shell the system will reboot when you leave the shell Give root password for mantennance 从网上找了一些教程,立马就解决了,过程如下: 按照系统提示,输入…
CentOS这两天服务器出了问题了,提示如下: unexpected inconsistency;RUN fsck MANUALLY An error occurred during the filesystem check Propping you to shell the system will reboot when you leave the shell Give root password for mantennance 从网上找了一些教程,立马就解决了,过程如下: 按照系统提示,输入…
memcached -m 1024 -u root -p 11211 -c 1024 -P /var/memcached.pid -d memcached 1.2.2 -p <num> TCP port number to listen on (default: 11211) -U <num> UDP port number to listen on (default: 0, off) -s <file> unix socket path to listen on (d…
Ubuntu运行Chrome出现"Google Chrome can not be run as root"的解决方法 编辑启动文件:/opt/google/chrome/google-chrome 修改最后一行:exec -a "$0" "$HERE/chrome" "$@" to -->exec -a "$0" "$HERE/chrome" "$@" --…