On Thu, Jul 08, 2010 at 03:33:19AM -0700, Shiki wrote:
> Hi,
>
> I'm a noob when it comes to servers :) I'm trying to start beanstalkd:
>
> /etc/init.d/beanstalkd start
>
> And I'm getting this error:
>
> Starting beanstalkd: /usr/bin/beanstalkd: beanstalkd.c:92 in su:
> getpwnam("beanstalkd"): no such user
>
> This is on a CentOS. Running it as "beanstalkd -d -l 127.0.0.1 -p
> 11400" works though.
>
> Thanks!
This is a bug caused by me if you installed the beanstalkd 1.4.6-1 rpm from the
EPEL repository. https://bugzilla.redhat.com/show_bug.cgi?id=608935
It has been fixed and is in the EPEL testing repo right now.
If anyone has a fedora account and wants to bump the karm and get this
pushed to stable faster please head over to
https://admin.fedoraproject.org/updates/beanstalkd-1.4.6-2.el5 log in and
increase the karma.
The problem I introduced was an incorrect user (beanstalkd) creation.
The fix is to create the beanstalkd user correctly as follows:
useradd -r -m -c "beanstalkd user" -s /bin/false -d /var/lib/beanstalkd -g
beanstalkd beanstalkd
Running the above should create the appropriate beanstalkd user on your CentOS
system and then the init script will work correctly.
I apologize for the inconvenience,
-jeremy
--
========================================================================
Jeremy Hinegardner [email protected]
--
You received this message because you are subscribed to the Google Groups
"beanstalk-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/beanstalk-talk?hl=en.