Hi On Tue, Oct 18, 2011 at 12:44 PM, mohan palaniswami < [email protected]> wrote:
> Hi , > > I checked rabbitmq is running and celeryd service is also running . I am > getting the error message as what I posted in previous mail. > > > /etc/init.d/rabbitmq-server status > Status of all running nodes... > Node 'rabbit@mydomain' with Pid 31202: running > done. > > In /var/log/rabbitmq-server/rabbit\@mydomain.log I find the error as below > > amqp_error,access_refused,"login refused for user 'baruwa'", > 'connection.start_ok' > Then I would start by looking at the credentialt for rabbitmq ... since you get denied for accessing the queue. > > > Thanks , > > Regards, > P.Mohan > > > On Tue, Oct 18, 2011 at 3:19 PM, Jason Ede > <[email protected]>wrote: > >> That looks like either the celeryd service isn’t running or rabbitmq >> isn’t running. Check both are running and that rabbitmq is configured >> correctly.**** >> >> ** ** >> >> *From:* [email protected] [mailto: >> [email protected]] *On Behalf Of *mohan palaniswami >> *Sent:* 18 October 2011 10:41 >> *To:* [email protected] >> *Subject:* [Baruwa] not able to release mail from panel**** >> >> ** ** >> >> getting error message as below:**** >> IOError at /messages/process/**** >> >> Socket closed**** >> >> *Request Method:* >> >> POST**** >> >> *Request URL:* >> >> http://mydomain.com/messages/process/**** >> >> *Django Version:* >> >> 1.3**** >> >> *Exception Type:* >> >> IOError**** >> >> *Exception Value:* >> >> Socket closed**** >> >> *Exception Location:* >> >> /usr/lib/python2.4/site-packages/amqplib/client_0_8/method_framing.py in >> read_method, line 215**** >> >> *Python Executable:* >> >> /usr/bin/python**** >> >> *Python Version:* >> >> 2.4.3**** >> >> *Python Path:* >> >> ['/usr/lib/python24.zip',**** >> >> '/usr/lib/python2.4',**** >> >> '/usr/lib/python2.4/plat-linux2',**** >> >> '/usr/lib/python2.4/lib-tk',**** >> >> '/usr/lib/python2.4/lib-dynload',**** >> >> '/usr/lib/python2.4/site-packages',**** >> >> '/usr/lib/python2.4/site-packages/Numeric',**** >> >> '/usr/lib/python2.4/site-packages/PIL',**** >> >> '/usr/lib/python2.4/site-packages/gtk-2.0']**** >> >> ** ** >> >> ** ** >> >> In baruwa log i am getting like this:**** >> >> File "/usr/lib/python2.4/site-packages/celery/worker/consumer.py", line >> 274, in start**** >> >> self.reset_connection()**** >> >> File "/usr/lib/python2.4/site-packages/celery/worker/consumer.py", line >> 483, in reset_connection**** >> >> self.connection = self._open_connection()**** >> >> File "/usr/lib/python2.4/site-packages/celery/worker/consumer.py", line >> 529, in _open_connection**** >> >> self.app.conf.BROKER_CONNECTION_MAX_RETRIES)**** >> >> File "/usr/lib/python2.4/site-packages/kombu/connection.py", line 184, in >> ensure_connection**** >> >> interval_start, interval_step, interval_max)**** >> >> File "/usr/lib/python2.4/site-packages/kombu/utils/__init__.py", line 102, >> in retry_over_time**** >> >> return fun(*args, **kwargs)**** >> >> File "/usr/lib/python2.4/site-packages/kombu/connection.py", line 119, in >> connect**** >> >> return self.connection**** >> >> File "/usr/lib/python2.4/site-packages/kombu/connection.py", line 439, in >> connection**** >> >> self._connection = self._establish_connection()**** >> >> File "/usr/lib/python2.4/site-packages/kombu/connection.py", line 405, in >> _establish_connection**** >> >> conn = self.transport.establish_connection()**** >> >> File "/usr/lib/python2.4/site-packages/kombu/transport/pyamqplib.py", line >> 245, in establish_connection**** >> >> connect_timeout=conninfo.connect_timeout)**** >> >> File "/usr/lib/python2.4/site-packages/kombu/transport/pyamqplib.py", line >> 51, in __init__**** >> >> super(Connection, self).__init__(*args, **kwargs)**** >> >> File "/usr/lib/python2.4/site-packages/amqplib/client_0_8/connection.py", >> line 138, in __init__**** >> >> self.wait(allowed_methods=[**** >> >> File >> "/usr/lib/python2.4/site-packages/amqplib/client_0_8/abstract_channel.py", >> line 88, in wait**** >> >> method_sig, args, content = self.connection._wait_method(**** >> >> File "/usr/lib/python2.4/site-packages/amqplib/client_0_8/connection.py", >> line 197, in _wait_method**** >> >> channel, method_sig, args, content = \**** >> >> File >> "/usr/lib/python2.4/site-packages/amqplib/client_0_8/method_framing.py", >> line 215, in read_method**** >> >> raise m**** >> >> IOError: Socket closed**** >> >> [2011-10-18 14:25:30,432: ERROR/MainProcess] Consumer: Connection Error: >> Socket closed. Trying again in 2 seconds...**** >> >> [2011-10-18 14:25:35,436: ERROR/MainProcess] Consumer: Connection Error: >> Socket closed. Trying again in 4 seconds...**** >> >> [2011-10-18 14:25:42,440: ERROR/MainProcess] Consumer: Connection Error: >> Socket closed. Trying again in 6 seconds..**** >> >> ** ** >> >> ** ** >> >> kindly advice**** >> >> ** ** >> >> _______________________________________________ >> Keep Baruwa FREE - http://pledgie.com/campaigns/12056 >> >> > > _______________________________________________ > Keep Baruwa FREE - http://pledgie.com/campaigns/12056 > > mvh
_______________________________________________ Keep Baruwa FREE - http://pledgie.com/campaigns/12056

