Hi Robin,
what Cyrus SASL libraries do you have installed? I.e. what is output of

rpm -qa | grep sasl

command?

Per the qpidd traces:

2012-12-28 09:24:03 [Protocol] trace SENT [127.0.0.1:5672-127.0.0.1:54004]: 
Frame[BEbe; channel=0; {ConnectionStartBody: 
server-properties={qpid.federation_tag:V2:36:str16(f4df1e6b-6d61-4522-94de-ade72447fa86)};
 mechanisms=str16{V2:9:str16(ANONYMOUS), V2:5:str16(PLAIN)}; 
locales=str16{V2:5:str16(en_US)}; }]
2012-12-28 09:24:03 [Protocol] trace RECV [127.0.0.1:5672-127.0.0.1:54004]: 
Frame[BEbe; channel=0; {ConnectionCloseBody: reply-code=501; 
reply-text=internal-error: Sasl error: SASL(0): successful result:  
(qpid/SaslFactory.cpp:223); }]

the broker properly sent to the client connection.start AMQP method requiring 
to authenticate using either ANONYMOUS or PLAIN mechanism (that is implied by 
auth=no), but the client closed the connection due to some internal error..

Also how did you compile your C++ example?

Kind regards,
Pavel


----- Original Message -----
> From: "Robin Lee" <robinlee.s...@gmail.com>
> To: users@qpid.apache.org
> Sent: Friday, December 28, 2012 2:49:04 AM
> Subject: Re: How to run the hello world example? Or we may need a minimal and 
> throughout Getting Started steps.
> 
> I just ran the Python version of Hello-world[1], and it just worked
> with
> broker started as "qpidd --auth=no".
> 
> Any trick or bug in C++ client?
> 
> 
> [1]
> http://qpid.apache.org/books/0.18/Programming-In-Apache-Qpid/html/ch02s02.html
> 
> robin
> 
> 
> On Fri, Dec 28, 2012 at 9:30 AM, Robin Lee <robinlee.s...@gmail.com>
> wrote:
> 
> > Still not work with --no-data-dir option.
> >
> > qpidd -t ouput:
> > http://paste.stg.fedoraproject.org/2790
> >
> >
> > robin
> >
> >
> > On Fri, Dec 28, 2012 at 1:24 AM, Chuck Rolke <cro...@redhat.com>
> > wrote:
> >
> >> Hello Robin Lee,
> >>
> >> You may have some persistent configuration working against you.
> >> Try the
> >> command
> >>
> >> qpidd --auth no --no-data-dir
> >>
> >> to disable persistent configuration.
> >>
> >> If that fails please post the results of broker trace by using
> >> switch
> >> '-t' on the command line.
> >>
> >> -Chuck
> >>
> >> ----- Original Message -----
> >> > From: "Robin Lee" <robinlee.s...@gmail.com>
> >> > To: users@qpid.apache.org
> >> > Sent: Tuesday, December 25, 2012 5:08:28 AM
> >> > Subject: Fwd: How to run the hello world example? Or we may need
> >> > a
> >> minimal and throughout Getting Started steps.
> >> >
> >> > Hi, all!
> >> >
> >> > I am getting started Qpid today and failed to run the hello
> >> > world
> >> > example.
> >> >
> >> > I install qpid-cpp-server on Feodra 18 through Yum. Current
> >> > version
> >> > is
> >> > qpid-cpp-server-0.18-6.fc18.x86_64.
> >> >
> >> > Then I run server with the command "qpidd".
> >> >
> >> > Then I compiled and ran the hello world example[1]. But it
> >> > showed:
> >> > 2012-12-25 17:18:55 [Client] warning Connection
> >> > [127.0.0.1:40303-localhost:5672]
> >> > closed
> >> > Failed to connect (reconnect disabled)
> >> >
> >> > Then if I ran the server with "qpidd --auth=no" and ran the
> >> > example
> >> > again.
> >> > The client showed:
> >> > 2012-12-25 17:20:27 [Client] warning Closing connection due to
> >> > internal-error: Sasl error: SASL(0): successful result:
> >> > (qpid/SaslFactory.cpp:223)
> >> > internal-error: Sasl error: SASL(0): successful result:
> >> > (qpid/SaslFactory.cpp:223)
> >> >
> >> > So I think the Getting Started page is not so comprehensive.
> >> >
> >> > We, or I, may need a Getting Started instruction with minimal
> >> > steps
> >> > that
> >> > make things just work, but meanwhile cover the setup of both
> >> > server
> >> > and
> >> > client.
> >> >
> >> >
> >> > After all, I am too new for Qpid. Sorry for my brute request.
> >> >
> >> >
> >> > Cheers,
> >> > robin
> >> >
> >> > [1]
> >> >
> >> http://qpid.apache.org/books/0.18/Programming-In-Apache-Qpid/html/ch02.html#id2531116
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
> >> For additional commands, e-mail: users-h...@qpid.apache.org
> >>
> >>
> >
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to