From owner-freebsd-questions@FreeBSD.ORG Mon Sep 26 13:20:22 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 B6DBD106566B for ; Mon, 26 Sep 2011 13:20:22 +0000 (UTC) (envelope-from vikashjin@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7BA338FC13 for ; Mon, 26 Sep 2011 13:20:22 +0000 (UTC) Received: by gwj18 with SMTP id 18so5592048gwj.13 for ; Mon, 26 Sep 2011 06:20:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=yR5BKjsLwgOn2knGyD2V2GEFWFV/Ktfz9dIlNm23osM=; b=Tq2vdkIsnTIk+jfiggmbdm1R6AAMF0/LM6QzDejNokSts2nLnWkTLkiBIub7YVfdQt d+cGmOSHhWfG9oVe36CehzJKsQmCmVgOFKTF8DhCR8VN2XboDTjqb0jDzYYE1nBYejif sD2bzqPhBmDsQDCd7E71Unw/QX7kGHL5mz9Ik= MIME-Version: 1.0 Received: by 10.101.179.36 with SMTP id g36mr5827935anp.102.1317041422746; Mon, 26 Sep 2011 05:50:22 -0700 (PDT) Received: by 10.100.228.7 with HTTP; Mon, 26 Sep 2011 05:50:22 -0700 (PDT) Date: Mon, 26 Sep 2011 18:20:22 +0530 Message-ID: From: Vikash Jain To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: 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:20:22 -0000 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