No that seems right. Looks like beanstalkd is having a problem. Try
reinstalling, running as root, or a different ip or something.

--chad

On Feb 25, 2011, at 5:40 PM, dlittle <[email protected]> wrote:

> So I start beanstalkd with:
> ./beanstalkd -d -l 127.0.0.5 -p 11300
>
> and it looks like it's running when I do:
> netstat -an | grep 11300
> tcp        0      0 127.0.0.5:11300         0.0.0.0:*
> LISTEN
>
> When I telnet, I get:
> Trying 127.0.0.5...
> Connected to 127.0.0.5.
> Escape character is '^]'.
>
> list-tubes
> Connection closed by foreign host.
>
> Am I missing something?
>
>
> On Feb 25, 5:19 pm, Chad Kouse <[email protected]> wrote:
>> Derek,
>>
>> Are you able to telnet to the beanstalkd server?  from your terminal you
>> should be able to:
>> telnet ip-address 11300
>>
>> where ip-address is the ip address you are using to connect in your script.
>>  Probably localhost, or 127.0.0.1 or something
>>
>> if it connects, then you can type:
>> list-tubes
>>
>> If you get an appropriate response, this will at least tell us that
>> beanstalkd is running (and listening on the ip-address and port that you
>> think it is)
>>
>> --chad
>>
>>
>>
>>
>>
>>
>>
>> On Fri, Feb 25, 2011 at 4:09 PM, dlittle <[email protected]> wrote:
>>> Hi,
>>>   I'm hoping someone can help me out with this as I'm pretty stuck
>>> right now. I'm fairly new to python but I'm trying to get beanstalkc
>>> set up and following this tutorial:
>>
>>> http://www.saltycrane.com/blog/2010/04/notes-python-beanstalkd-ubuntu...
>>
>>> I can setup the connection but when I try to .put() anything into
>>> queue I get this error:
>>
>>> Traceback (most recent call last):
>>>  File "<stdin>", line 1, in <module>
>>>  File "/usr/local/lib/python2.6/dist-packages/beanstalkc.py", line
>>> 120, in put
>>>    ['INSERTED', 'BURIED'])
>>>  File "/usr/local/lib/python2.6/dist-packages/beanstalkc.py", line
>>> 95, in _interact_value
>>>    return self._interact(command, expected_ok, expected_err)[0]
>>>  File "/usr/local/lib/python2.6/dist-packages/beanstalkc.py", line
>>> 72, in _interact
>>>    status, results = self._read_response()
>>>  File "/usr/local/lib/python2.6/dist-packages/beanstalkc.py", line
>>> 83, in _read_response
>>>    raise SocketError()
>>> beanstalkc.SocketError
>>
>>> I'm running Ubuntu 9.10 Karmic on an Amazon S3 instance and have these
>>> versions of software installed:
>>> python 2.6
>>> beanstalkd 1.4.6
>>
>>> Thanks in advance for any help,
>>> Derek
>>
>>> --
>>> 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.
>
> --
> 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.
>

-- 
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.

Reply via email to