i'm running beanstalkd v1.3 on Solaris. Allthough i can establish a connection with beanstalkd with both python and java library i can not get any of the beanstalkd operations(listing tubes, adding messages etc.) to work.
Only change i made to beanstalkd source code is on binlogc --> i defined PATH_MAX 4095, because make was giving an error complaining PATH_MAX was not defined, everything else is same with v1.3(i also tried latest version with solaris's warning messages corrected). i also get linking error about libsocket.o.2 so i use "LDFLAGS="-lnsl - lsocket -lresolv" ./configure" for compiling. The details of my problem can be found here: http://stackoverflow.com/questions/1044473/beanstalkd-on-solaris-doesnt-return-anything-when-called-from-the-python-library which i also copy+pasting here: i am using Solaris 10 OS(x86). i installed beanstalkd and it starts fine by using command "beanstalkd -d -l hostip -p 11300". i have pyhton 2.4.4 on my system i installed YAML and beanstalkc python libraries to connect beanstalkd with python my problem is when i try to write some code: import beanstalkc beanstalk = beanstalkc.Connection(host='hostip', port=11300) no error so far but when i try to do someting on beanstalk like say listing queues. nothing happens. beanstalk.tubes() it just hangs and nothing returns. if i cancel the operation(using ctr +c on python env.) or stop the server i immediately see an output: Traceback (most recent call last): File "", line 1, in ? File "/usr/ lib/python2.4/site-packages/beanstalkc-0.1.1-py2.4.egg/beanstalkc.py", line 134, in tubes return self._interact_yaml('list-tubes\r\n', ['OK']) File "/usr/lib/python2.4/site-packages/beanstalkc-0.1.1- py2.4.egg/beanstalkc.py", line 83, in _interact_yaml size, = self._interact(command, expected_ok, expected_err) File "/usr/lib/ python2.4/site-packages/beanstalkc-0.1.1-py2.4.egg/beanstalkc.py", line 57, in _interact status, results = self._read_response() File "/ usr/lib/python2.4/site-packages/beanstalkc-0.1.1-py2.4.egg/ beanstalkc.py", line 66, in _read_response response = self.socket_file.readline().split() File "/usr/lib/python2.4/ socket.py", line 332, in readline data = self._sock.recv (self._rbufsize) any idea whats going? i am an Unix newbie so i have no idea what i did setup wrong to cause this. edit: seems like the problem lies within BeanStalkd itself, anyone have used this on Solaris 10? if so which version did you use? The v1.3 labeled one doesnt compile on Solaris while the latest from git code repository compiles it causes the above problem(or perhaps there is some configuration to do on Solaris?). edit2: i installed and compiled same components with beanstalkd, PyYAML, pythonbeanstalc and libevent to an UBUNTU machine and it works fine. problems seems to be about compilation of beanstalkd on solaris, i have yet to produce or read any solution. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
