From owner-freebsd-questions@FreeBSD.ORG Fri Aug 24 06:30:10 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B793B16A418 for ; Fri, 24 Aug 2007 06:30:10 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 99C6613C461 for ; Fri, 24 Aug 2007 06:30:10 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IOSgM-0001b2-1i for freebsd-questions@freebsd.org; Thu, 23 Aug 2007 23:30:10 -0700 Message-ID: <12307237.post@talk.nabble.com> Date: Thu, 23 Aug 2007 23:30:10 -0700 (PDT) From: Peter Pluta To: freebsd-questions@freebsd.org In-Reply-To: <12306830.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: peter@placidpublishing.net References: <12306830.post@talk.nabble.com> Subject: Re: Memcached Daemon Startup Issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2007 06:30:10 -0000 Peter Pluta wrote: > > I installed memcached and since it doesn't have a config file I entered > the flags into rc.conf, but when I start it with the rc.d scripts, it > always runs as nobody, instead of the user I specified with -u . The > man page says "only when run as root". This confuses me somewhat because > i'm executing the rc.d script as root, yet it still starts as nobody. I > can manually start memcached with "memcached -u memcached -l 127.0.0.1 -p > 11211 -m 32 -P /var/run/memcached/memcached.pid". > > /etc/rc.conf bit: > memcached_enable="YES" > memcached_flags='-u memcached -d -l 127.0.0.1 -m 32 -P > /var/run/memcached.pid -p 1121' > > Any ideas? > Nvm, I had to take a look at the rc script to see that there was another directive (memcached_user="") -- View this message in context: http://www.nabble.com/Memcached-Daemon-Startup-Issues-tf4321717.html#a12307237 Sent from the freebsd-questions mailing list archive at Nabble.com.