[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Cannot prepare error statement" error



I'm getting the same issue.
*
menu.pl:88: Cannot prepare empty statement at /usr/lib/perl5/DBD/Pg.pm line 249.

*I increased the timeout and that doesn't appear help. I can't reliably reproduce the error but it doesn't seem to be limited by inactivity. If I randomly click pages then shortly I will get the error, and a relog is required.

The database is logging lines like:
2008-10-15 20:12:49 BST LOG: could not receive data from client: Connection reset by peer
2008-10-15 20:12:49 BST LOG:  unexpected EOF on client connection

This is a fresh install from a Debian package.
Package: ledgersmb
Version: 1.2.16-1

DBD/Pg.pm version '2.8.7'

/usr/lib/postgresql/8.3/bin/postgres -V
postgres (PostgreSQL) 8.3.4

psql (PostgreSQL) 8.3.4

I can supply more information if anybody is able to help.

Thanks,

Ian

--
=======================================================================
Ian Crowther           Tel: +44 845 4501626  Unit 108, 10th Avenue,
IT Dept, Comtek        Fax: +44 845 4501627  Zone 3, Deeside Industrial
Network Systems UK Ltd                       Park, CH5 2UA, Flintshire
=======================================================================