Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Sep 2011 19:26:38 +0530
From:      Vikash Jain <vikashjin@gmail.com>
To:        Julien Cigar <jcigar@ulb.ac.be>, freebsd-questions@freebsd.org
Subject:   Re: Error: servname not supported for ai_socktype
Message-ID:  <CABkOqFbn1gcEHG6WHzw7jU8RtxroSmOs4QxZpz61q0zE3pRFkQ@mail.gmail.com>
In-Reply-To: <4E807EDC.6080101@ulb.ac.be>
References:  <CABkOqFYR5x2_5Brsa088Q9oK31dQKT2JakodVT%2BPJ-9dZej9bQ@mail.gmail.com> <4E807EDC.6080101@ulb.ac.be>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Julien/All,

It didn't helped. I had builded kernel with support for POSIX
Semaphores. I added the following line while building:
    options P1003_1B_SEMAPHORES # POSIX-style semaphores

- Vikash

On Mon, Sep 26, 2011 at 7:02 PM, Julien Cigar <jcigar@ulb.ac.be> wrote:
> 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]
>> =A0-------------- cel...@FreebsdEsca.Workgroup v2.3.3
>> ---- **** -----
>> --- * *** =A0* -- [Configuration]
>> -- * - **** --- =A0 . broker: =A0 =A0 =A0amqp://rab...@127.0.0.1:5672/Fr=
eebsdEsca
>> - ** ---------- =A0 . loader: =A0 =A0 =A0djcelery.loaders.DjangoLoader
>> - ** ---------- =A0 . logfile: =A0 =A0 [stderr]@INFO
>> - ** ---------- =A0 . concurrency: 1
>> - ** ---------- =A0 . events: =A0 =A0 =A0OFF
>> - *** --- * --- =A0 . beat: =A0 =A0 =A0 =A0OFF
>> -- ******* ----
>> --- ***** ----- [Queues]
>> =A0-------------- =A0 . celery: =A0 =A0 =A0exchange:celery (direct)
>> binding:celery
>> [Tasks]
>> =A0 . 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 =A0| grep 5672
>> amqp =A0 =A0 =A0 =A0 =A0 =A0 5672/tcp
>> amqp =A0 =A0 =A0 =A0 =A0 =A0 5672/udp
>> amqp =A0 =A0 =A0 =A0 =A0 =A0 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.
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABkOqFbn1gcEHG6WHzw7jU8RtxroSmOs4QxZpz61q0zE3pRFkQ>