[Tsung] Tsung 1.2.1 to PGSQL 8.1: invalid length of startup packet

Nicolas Niclausse nicolas at niclux.org
Tue Jan 15 14:30:12 CET 2008


George Pavlov ecrivait le 15.01.2008 00:15:
> I just installed Tsung (ver. 1.2.1) and am trying to use it with a
> PostgreSQL DB that is at version 8.1.10. I have everything configured
> pretty much "by the book", with a very similar example similar to what's
> here http://pgfouine.projects.postgresql.org/tsung.html
> 
> Tsung runs and the Tsung logs (or even the dumpfile, if enabled) don't
> report any problems, but looking at the DB side it seems that the
> connections are not getting far. Looking at the DB query log this is
> what a typical session looks like (actually ALL of them look like this):
> 
> 2008-01-14 14:59:23 PST [22818]: [1-1] LOG:  connection received:
> host=xx.xx.xx.xx port=50129
> 2008-01-14 14:59:23 PST [22818]: [2-1] LOG:  invalid length of startup
> packet
> 
> Makes me wonder if the pgsql module included with Tsung is compatible
> with PG 8.1, or if there is some configuration that I am missing. Any
> ideas much appreciated.

strange: the protocol has not changed recently (version=3, since 7.4) so it 
should work. I'm able to connect to a 8.2.6 postgresql server.

Can you post your tsung config file(s) ?

-- 
Nicolas


More information about the Tsung-users mailing list