[gold-users] Antwort: Re: Command line client failure: "Failed receiving reply: (No HTTP header returned by server.)."

Scott Jackson scottmo at adaptivecomputing.com
Mon Jul 26 11:55:30 MDT 2010


Richard,

OK, we are going to need to dive in. If there is any way I can be given 
login access to your system, it will make it that much faster.

Where was gold installed (PATH)? Can you give me the head of config.log?

Then please send me the goldd.conf and gold.conf in $prefix/etc/.

 From the database referred to therein, please send the results of:

echo "\d g_key_generator" | psql gold_db_name

and

echo "\l" | psql gold_db_name

Please also give me the output from

ps -ef|egrep -i "gold|post|pg"

and

lsof | grep gold


I am looking for rogue processes which might be holding onto 
locks/transactions in the database.

Next, I would try to run what it is trying to run manually:

psql gold

gold> UPDATE g_key_generator set g_next_id=g_next_id+1 WHERE 
g_name='Request';
gold> SELECT g_next_id-1 FROM g_key_generator WHERE g_name='Request';

and see what kind of response you get.

Thanks,

Scott



RNothdurft at spirit21.de wrote:
> Hi Scott,
>
> thanks for your reply. Followed the steps below, but the problem still 
> exists.
>
> Kind regards,
> Richard
>
>
> Richard Nothdurft
> DHBW-Student der SPIRIT/21 AG
> Otto-Lilienthal-Str. 36, 71034 Böblingen
> Mobil: 0177/7427024
> E-Mail: rnothdurft at spirit21.de
> Internet: http://www.spirit21.de <http://www.spirit21.de/>
>
>
>
> *Scott Jackson <scottmo at adaptivecomputing.com>*
> Gesendet von: gold-users-bounces at supercluster.org
>
> 26.07.2010 17:36
> Bitte antworten an
> Gold Users Mailing List <gold-users at supercluster.org>
>
>
> 	
> An
> 	Gold Users Mailing List <gold-users at supercluster.org>
> Kopie
> 	
> Thema
> 	Re: [gold-users] Command line client failure: "Failed receiving 
> reply: (No HTTP header returned by server.)."
>
>
>
> 	
>
>
>
>
>
> Hi Richard,
>
> Just getting back from vacation. I've mostly seen this when someone has
> run the bootstrap command more than once, thereby creating multiple
> entries in the g_key_generator table. My suggested plan of attack would
> be to drop the db, create it again as the gold user, then bootstrap it
> again (as the gold user). Then restart goldd. Let me know if that does
> not fix the problem.
>
> Thanks,
>
> Scott
>
> RNothdurft at spirit21.de wrote:
> > Hi,
> >
> > i've run into a problem with a new gold installation. After
> > installing, configuring and starting gold, all command line clients
> > are responding with:
> > "Failed receiving reply: (No HTTP header returned by server.)."
> >
> > As you can see in the server log below, gold seems to fail generating
> > a new request id. I checked the permissions in postgreSQL db, but they
> > are ok.
> >
> > Any suggestions?
> >
> > Kind regards,
> > Richard
> >
> > #########
> > gold.log:
> > #########
> > 2010-07-21 12:04:27 INFO  Gold::BEGIN  /opt/gold/bin/glsuser (PID
> > 4898) Started *******************************************
> > 2010-07-21 12:04:27 INFO  main::  Built request: (Query, root, [(User,
> > , )], [(Name, Sort, , ), (Name, , , ), (Active, , , ), (CommonName, ,
> > , ), (PhoneNumber, , , ), (EmailAddress, , , ), (DefaultProject, , ,
> > ), (Description, , , )], [], [(Special, False, , , , , )], [], [], 0,
> > 0, 0, )
> > 2010-07-21 12:04:27 INFO  Gold::Message::sendChunk  Writing message
> > payload (598, <?xml version="1.0" encoding="UTF-8"?>
> > <Envelope><Body><Request action="Query"
> > actor="root"><Object>User</Object><Get name="Name"
> > op="Sort"></Get><Get name="Name"></Get><Get name="Active"></Get><Get
> > name="CommonName"></Get><Get name="PhoneNumber"></Get><Get
> > name="EmailAddress"></Get><Get name="DefaultProject"></Get><Get
> > name="Description"></Get><Where
> > 
> name="Special">False</Where></Request></Body><Signature><DigestValue>Z3jUt/NMs8TtDXuaV+H2dhnrfK8=</DigestValue><SignatureValue>HuHzdcp/zZkvCB0yZRGfcovkeGE=</SignatureValue><SecurityToken 
>
> > type="Symmetric"></SecurityToken></Signature></Envelope>
> > ).
> > 2010-07-21 12:04:27 ERROR Gold::Exception::new  No HTTP header
> > returned by server. at /opt/gold/lib/Gold/Reply.pm line 340
> > 2010-07-21 12:04:27 ERROR Gold::Chunk::__ANON__  Failed receiving
> > reply (No HTTP header returned by server.).
> > 2010-07-21 12:04:27 INFO  main::  /opt/gold/bin/glsuser (PID 4898)
> > Exiting with status code (246)
> >
> > ###########
> > goldd.log:
> > ###########
> > 2010-07-21 12:04:27.342 INFO  main::  New Connection Received
> > 2010-07-21 12:04:27.344 TRACE Gold::Message::new  invoked with
> > arguments: (connection => IO::Socket::INET=GLOB(0x23a0ad8))
> > 2010-07-21 12:04:27.344 TRACE Gold::Message::receiveChunk  invoked
> > with arguments: ()
> > 2010-07-21 12:04:27.345 DEBUG Gold::Message::receiveChunk  Read
> > message header (POST /SSSRMAP3 HTTP/1.1
> > Content-Type: text/xml; charset="utf-8"
> > Transfer-Encoding: chunked
> >
> > ).
> > 2010-07-21 12:04:27.345 INFO  Gold::Message::receiveChunk  Read
> > message payload (598, <?xml version="1.0" encoding="UTF-8"?>
> > <Envelope><Body><Request action="Query"
> > actor="root"><Object>User</Object><Get name="Name"
> > op="Sort"></Get><Get name="Name"></Get><Get name="Active"></Get><Get
> > name="CommonName"></Get><Get name="PhoneNumber"></Get><Get
> > name="EmailAddress"></Get><Get name="DefaultProject"></Get><Get
> > name="Description"></Get><Where
> > 
> name="Special">False</Where></Request></Body><Signature><DigestValue>Z3jUt/NMs8TtDXuaV+H2dhnrfK8=</DigestValue><SignatureValue>HuHzdcp/zZkvCB0yZRGfcovkeGE=</SignatureValue><SecurityToken 
>
> > type="Symmetric"></SecurityToken></Signature></Envelope>
> > ).
> > 2010-07-21 12:04:27.346 TRACE Gold::Message::unmarshallChunk  invoked
> > with arguments: (<?xml version="1.0" encoding="UTF-8"?>
> > <Envelope><Body><Request action="Query"
> > actor="root"><Object>User</Object><Get name="Name"
> > op="Sort"></Get><Get name="Name"></Get><Get name="Active"></Get><Get
> > name="CommonName"></Get><Get name="PhoneNumber"></Get><Get
> > name="EmailAddress"></Get><Get name="DefaultProject"></Get><Get
> > name="Description"></Get><Where
> > 
> name="Special">False</Where></Request></Body><Signature><DigestValue>Z3jUt/NMs8TtDXuaV+H2dhnrfK8=</DigestValue><SignatureValue>HuHzdcp/zZkvCB0yZRGfcovkeGE=</SignatureValue><SecurityToken 
>
> > type="Symmetric"></SecurityToken></Signature></Envelope>
> > )
> > 2010-07-21 12:04:27.347 TRACE Gold::Chunk::authenticate  invoked with
> > arguments: (XML::LibXML::Document=SCALAR(0x2383bd8))
> > 2010-07-21 12:04:27.348 DEBUG Gold::Chunk::authenticate  The security
> > token type is (Symmetric).
> > 2010-07-21 12:04:27.348 DEBUG Gold::Chunk::authenticate  The
> > canonicalized body text is (<Body><Request action="Query"
> > actor="root"><Object>User</Object><Get name="Name"
> > op="Sort"></Get><Get name="Name"></Get><Get name="Active"></Get><Get
> > name="CommonName"></Get><Get name="PhoneNumber"></Get><Get
> > name="EmailAddress"></Get><Get name="DefaultProject"></Get><Get
> > name="Description"></Get><Where
> > name="Special">False</Where></Request></Body>).
> > 2010-07-21 12:04:27.348 DEBUG Gold::Chunk::authenticate  The
> > base64-encoded message digest is (Z3jUt/NMs8TtDXuaV+H2dhnrfK8=).
> > 2010-07-21 12:04:27.349 DEBUG Gold::Chunk::authenticate  The
> > base64-encoded MAC is (HuHzdcp/zZkvCB0yZRGfcovkeGE=).
> > 2010-07-21 12:04:27.349 TRACE Gold::Request::new  invoked with
> > arguments: ()
> > 2010-07-21 12:04:27.351 DEBUG Gold::Message::unmarshallChunk
> >  Extracted the request ((Query, root, [(User, , )], [(Name, Sort, , ),
> > (Name, , , ), (Active, , , ), (CommonName, , , ), (PhoneNumber, , , ),
> > (EmailAddress, , , ), (DefaultProject, , , ), (Description, , , )],
> > [], [(Special, False, , , , , )], [], [], 0, 0, 100000, )).
> > 2010-07-21 12:04:27.351 DEBUG Gold::Message::receiveChunk  Read
> > message tail (0).
> > 2010-07-21 12:04:27.352 TRACE Gold::Proxy::new  invoked with
> > arguments: (request => Gold::Request=HASH(0x23920b0))
> > 2010-07-21 12:04:27.352 TRACE Gold::Database::new  invoked with
> > arguments: ()
> > 2010-07-21 12:04:27.356 TRACE Gold::Database::nextId  invoked with
> > arguments: (Request)
> > <end of log>
> >
> >
> > Richard Nothdurft
> > DHBW-Student der SPIRIT/21 AG
> > Otto-Lilienthal-Str. 36, 71034 Böblingen
> > Mobil: 0177/7427024
> > E-Mail: rnothdurft at spirit21.de
> > Internet: http://www.spirit21.de <http://www.spirit21.de/> 
> <http://www.spirit21.de/>
> >
> >
> > SPIRIT/21 AG
> >
> > Sitz der Gesellschaft: Böblingen
> > Vorstand: Dietmar Wendt (Vorsitzender), Philipp Steffen, Joachim Gutheil
> > Vorsitzender des Aufsichtsrates: Siegfried J. Althaus
> > Registergericht: Amtsgericht Stuttgart, Registernummer: HRB 244681
> > Umsatzsteuer-Identifikationsnummer: DE 198412560
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > gold-users mailing list
> > gold-users at supercluster.org
> > http://www.supercluster.org/mailman/listinfo/gold-users
> >  
> _______________________________________________
> gold-users mailing list
> gold-users at supercluster.org
> http://www.supercluster.org/mailman/listinfo/gold-users
>
>
>
> SPIRIT/21 AG
>
> Sitz der Gesellschaft: Böblingen
> Vorstand: Dietmar Wendt (Vorsitzender), Philipp Steffen, Joachim Gutheil
> Vorsitzender des Aufsichtsrates: Siegfried J. Althaus
> Registergericht: Amtsgericht Stuttgart, Registernummer: HRB 244681
> Umsatzsteuer-Identifikationsnummer: DE 198412560
> ------------------------------------------------------------------------
>
> _______________________________________________
> gold-users mailing list
> gold-users at supercluster.org
> http://www.supercluster.org/mailman/listinfo/gold-users
>   


More information about the gold-users mailing list