Memcached启动提示:cann't run as root without the -u switch时间:2023-03-10 06:48:16 如果没有带 -u root 的话就会报: can't run as root without the -u switch 解决方法: 带-u root就行了。 出现的原因: 1、可能在root用户下启动 2、可能在rc.local下启动,因为rc.local启动时默认是root权限的。而memcached默认不加u参数启动就是当前的用户。