From owner-freebsd-questions@FreeBSD.ORG Mon Sep 26 13:32:14 2011 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 557C0106566B for ; Mon, 26 Sep 2011 13:32:14 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) Received: from mxin.ulb.ac.be (mxin.ulb.ac.be [164.15.128.112]) by mx1.freebsd.org (Postfix) with ESMTP id D6A458FC14 for ; Mon, 26 Sep 2011 13:32:13 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlACAER9gE6kD30E/2dsb2JhbAAMNYRilGuRDQEBAQQBAQEgKyAKEQsYCRYLAgIJAwIBAgEVAQkmDgUCBAEBAQEZBIddqDiRMIV6gREEjjqDAIcog0aIXw Received: from bebif01.ulb.ac.be (HELO [10.0.0.194]) ([164.15.125.4]) by smtp.ulb.ac.be with ESMTP; 26 Sep 2011 15:32:12 +0200 Message-ID: <4E807EDC.6080101@ulb.ac.be> Date: Mon, 26 Sep 2011 15:32:12 +0200 From: Julien Cigar Organization: Belgian Biodiversity Platform User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:6.0.2) Gecko/20110908 Thunderbird/6.0.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: multipart/mixed; boundary="------------010905020407040501090205" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Error: servname not supported for ai_socktype 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: Mon, 26 Sep 2011 13:32:14 -0000 This is a multi-part message in MIME format. --------------010905020407040501090205 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit try to $> kldload aio On 09/26/2011 14:50, Vikash Jain wrote: > Hi, > > While running celeryd on my freebsd system, i am getting > error"servname not supported for ai_socktype". Can somebody help me > out with this? > > python manage.py celeryd -l info > > [2011-09-26 00:49:42,540: WARNING/MainProcess] > -------------- cel...@FreebsdEsca.Workgroup v2.3.3 > ---- **** ----- > --- * *** * -- [Configuration] > -- * - **** --- . broker: amqp://rab...@127.0.0.1:5672/FreebsdEsca > - ** ---------- . loader: djcelery.loaders.DjangoLoader > - ** ---------- . logfile: [stderr]@INFO > - ** ---------- . concurrency: 1 > - ** ---------- . events: OFF > - *** --- * --- . beat: OFF > -- ******* ---- > --- ***** ----- [Queues] > -------------- . celery: exchange:celery (direct) > binding:celery > [Tasks] > . celery_test.tasks.MyTask > [2011-09-26 00:49:42,567: INFO/PoolWorker-1] child process calling self.run() > [2011-09-26 00:49:42,577: WARNING/MainProcess] > cel...@FreebsdEsca.Workgroup has started. > [2011-09-26 00:49:42,582: ERROR/MainProcess] Consumer: Connection > Error: [Errno 9] servname not supported for ai_socktype. Trying again > in 2 seconds... > > OS: FreeBSD6.3 > Python version: 2.7 > > I am able to connect to 127.0.0.1 5672 through telnet. > > My /etc/services i have configured these ports for the brooker (RabbitMQ). > [vikashj@FreebsdEsca ~]$ cat /etc/services | grep 5672 > amqp 5672/tcp > amqp 5672/udp > amqp 5672/sctp > [vikashj@FreebsdEsca ~]$ > > - Vikash J > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --------------010905020407040501090205--