Re: [Dbbalancer-users] dbbalancer 0.4.4 writer daemon problems
Status: Alpha
Brought to you by:
xperience
|
From: Dushyanth H. <dus...@di...> - 2004-05-19 13:07:01
|
Hi Andrew,
On Wednesday 19 May 2004 08:25, Andrew McMillan wrote:
> On Tue, 2004-05-18 at 22:22 +0530, Dushyanth Harinath wrote:
> > Hi guys,
> >
> > Iam getting this error below when i try to connect through the dbbalancer
> > writer daemon.
>
> I think this might be the authentication problem I fixed in CVS. You
> may want to try the latest CVS, which is able to fallback if the
> connection attempt uses the latest protocol.
Iam still getting the same error with the cvs version too. Iam attaching the
debug msgs with this email. Iam getting the below errors when running make
with both 0.4.4 and cvs version. But it successfully compiles the dbbalncerd
binary. I guess the tests are failing to compile for some reason..Has this
anything to do with the problem that I have with the writer daemon..
make[3]: Entering directory
`/usr/local/src/new/dbbalancer/src/tests/postgres_cc'
g++ -g -Wall -I/usr/local/pgsql/include -o pgtest pgtest.cc
-L/usr/local/pgsql/lib -lpq++ -lcrypt
In file included from /usr/local/pgsql/include/libpq++.h:30,
from pgtest.cc:3:
/usr/local/pgsql/include/libpq++/pgconnection.h:49: syntax error before `{'
/usr/local/pgsql/include/libpq++/pgconnection.h:55: parse error before
`public'
/usr/local/pgsql/include/libpq++/pgconnection.h:57: destructors must be member
functions
/usr/local/pgsql/include/libpq++/pgconnection.h:57: virtual outside class
declaration
/usr/local/pgsql/include/libpq++/pgconnection.h:60: non-member function
`Status ()' cannot have `const'
method qualifier
/usr/local/pgsql/include/libpq++/pgconnection.h:61: non-member function
`ConnectionBad ()' cannot have
`const' method qualifier
/usr/local/pgsql/include/libpq++/pgconnection.h:62: non-member function
`ErrorMessage ()' cannot have
`const' method qualifier
/usr/local/pgsql/include/libpq++/pgconnection.h:65: non-member function
`DBName ()' cannot have `const'
method qualifier
/usr/local/pgsql/include/libpq++/pgconnection.h:76: parse error before
`protected'
/usr/local/pgsql/include/libpq++/pgconnection.h:79: syntax error before `('
/usr/local/pgsql/include/libpq++/pgconnection.h:81: ISO C++ forbids
declaration of `PgConnection' with
no type
/usr/local/pgsql/include/libpq++/pgconnection.h:81: new declaration `int
PgConnection ()'
/usr/local/pgsql/include/libpq++/pgconnection.h:57: ambiguates old declaration
`void PgConnection ()'
/usr/local/pgsql/include/libpq++/pgconnection.h:83: parse error before
`private'
/usr/local/pgsql/include/libpq++/pgconnection.h:87: syntax error before `&'
In file included from /usr/local/pgsql/include/libpq++.h:31,
from pgtest.cc:3:
/usr/local/pgsql/include/libpq++/pgdatabase.h:37: syntax error before `:'
/usr/local/pgsql/include/libpq++/pgdatabase.h:45: destructors must be member
functions
/usr/local/pgsql/include/libpq++/pgdatabase.h:51: non-member function `Tuples
()' cannot have `const'
method qualifier
/usr/local/pgsql/include/libpq++/pgdatabase.h:52: non-member function
`CmdTuples ()' cannot have
`const' method qualifier
/usr/local/pgsql/include/libpq++/pgdatabase.h:54: non-member function
`FieldName (int)' cannot have
`const' method qualifier
/usr/local/pgsql/include/libpq++/pgdatabase.h:55: non-member function
`FieldNum (const char *)' cannot
have `const' method qualifier
/usr/local/pgsql/include/libpq++/pgdatabase.h:56: non-member function
`FieldType (int)' cannot have
`const' method qualifier
/usr/local/pgsql/include/libpq++/pgdatabase.h:57: non-member function
`FieldType (const char *)' cannot
have `const' method qualifier
/usr/local/pgsql/include/libpq++/pgdatabase.h:58: non-member function
`FieldSize (int)' cannot have
`const' method qualifier
/usr/local/pgsql/include/libpq++/pgdatabase.h:59: non-member function
`FieldSize (const char *)' cannot
have `const' method qualifier
/usr/local/pgsql/include/libpq++/pgdatabase.h:60: non-member function
`GetValue (int, int)' cannot have
`const' method qualifier
/usr/local/pgsql/include/libpq++/pgdatabase.h:61: non-member function
`GetValue (int, const char *)'
cannot have `const' method qualifier
/usr/local/pgsql/include/libpq++/pgdatabase.h:62: non-member function
`GetIsNull (int, int)' cannot
have `const' method qualifier
/usr/local/pgsql/include/libpq++/pgdatabase.h:63: non-member function
`GetIsNull (int, const char *)'
cannot have `const' method qualifier
/usr/local/pgsql/include/libpq++/pgdatabase.h:64: non-member function
`GetLength (int, int)' cannot
have `const' method qualifier
/usr/local/pgsql/include/libpq++/pgdatabase.h:65: non-member function
`GetLength (int, const char *)'
cannot have `const' method qualifier
/usr/local/pgsql/include/libpq++/pgdatabase.h:69: non-member function
`DisplayTuples (FILE *, bool,
const char *, bool, bool)' cannot have `const' method qualifier
/usr/local/pgsql/include/libpq++/pgdatabase.h:71: non-member function
`PrintTuples (FILE *, bool, bool,
bool)' cannot have `const' method qualifier
/usr/local/pgsql/include/libpq++/pgdatabase.h:76: non-member function
`OidStatus ()' cannot have
`const' method qualifier
/usr/local/pgsql/include/libpq++/pgdatabase.h:79: parse error before
`protected'
/usr/local/pgsql/include/libpq++/pgdatabase.h:88: syntax error before `&'
In file included from /usr/local/pgsql/include/libpq++.h:32,
from pgtest.cc:3:
/usr/local/pgsql/include/libpq++/pglobject.h:38: syntax error before `:'
/usr/local/pgsql/include/libpq++/pglobject.h:43: syntax error before `;'
/usr/local/pgsql/include/libpq++/pglobject.h:46: parse error before `public'
/usr/local/pgsql/include/libpq++/pglobject.h:48: ISO C++ forbids declaration
of `PgLargeObject' with no
type
/usr/local/pgsql/include/libpq++/pglobject.h:48: only declarations of
constructors can be `explicit'
/usr/local/pgsql/include/libpq++/pglobject.h:49: destructors must be member
functions
/usr/local/pgsql/include/libpq++/pglobject.h:57: non-member function `Tell ()'
cannot have `const'
method qualifier
/usr/local/pgsql/include/libpq++/pglobject.h:62: syntax error before `('
/usr/local/pgsql/include/libpq++/pglobject.h:68: syntax error before `&'
In file included from /usr/local/pgsql/include/libpq++.h:33,
from pgtest.cc:3:
/usr/local/pgsql/include/libpq++/pgtransdb.h:38: syntax error before `:'
/usr/local/pgsql/include/libpq++/pgtransdb.h:44: destructors must be member
functions
/usr/local/pgsql/include/libpq++/pgtransdb.h:49: parse error before
`protected'
/usr/local/pgsql/include/libpq++/pgtransdb.h:59: parse error before `&'
/usr/local/pgsql/include/libpq++/pgtransdb.h:59: ISO C++ forbids declaration
of `PgTransaction' with no
type
/usr/local/pgsql/include/libpq++/pgtransdb.h:60: syntax error before `&'
In file included from /usr/local/pgsql/include/libpq++.h:34,
from pgtest.cc:3:
/usr/local/pgsql/include/libpq++/pgcursordb.h:44: syntax error before `:'
/usr/local/pgsql/include/libpq++/pgcursordb.h:50: destructors must be member
functions
/usr/local/pgsql/include/libpq++/pgcursordb.h:53: `string' was not declared in
this scope
/usr/local/pgsql/include/libpq++/pgcursordb.h:53: parse error before `,'
/usr/local/pgsql/include/libpq++/pgcursordb.h:56: new declaration `int Close
()'
/usr/local/pgsql/include/libpq++/pglobject.h:53: ambiguates old declaration
`void Close ()'
/usr/local/pgsql/include/libpq++/pgcursordb.h:60: non-member function `Cursor
()' cannot have `const'
method qualifier
/usr/local/pgsql/include/libpq++/pgcursordb.h: In function `const char *Cursor
()':
/usr/local/pgsql/include/libpq++/pgcursordb.h:61: `pgCursor' undeclared (first
use this function)
/usr/local/pgsql/include/libpq++/pgcursordb.h:61: (Each undeclared identifier
is reported only once for
each function it appears in.)
/usr/local/pgsql/include/libpq++/pgcursordb.h: At top level:
/usr/local/pgsql/include/libpq++/pgcursordb.h:65: `string' was not declared in
this scope
/usr/local/pgsql/include/libpq++/pgcursordb.h:65: parse error before `)'
/usr/local/pgsql/include/libpq++/pgcursordb.h: In function `void Cursor
(...)':
/usr/local/pgsql/include/libpq++/pgcursordb.h:67: `cursor' undeclared (first
use this function)
/usr/local/pgsql/include/libpq++/pgcursordb.h: At top level:
/usr/local/pgsql/include/libpq++/pgcursordb.h:70: parse error before
`protected'
/usr/local/pgsql/include/libpq++/pgcursordb.h:85: syntax error before `&'
pgtest.cc: In function `int main (int, char **)':
pgtest.cc:10: `string' undeclared (first use this function)
pgtest.cc:10: parse error before `;'
pgtest.cc:26: `query' undeclared (first use this function)
pgtest.cc:35: `atoi' undeclared (first use this function)
pgtest.cc:53: `db' undeclared (first use this function)
pgtest.cc:58: parse error before `('
pgtest.cc:91: duplicate case value `PGRES_COMMAND_OK'
pgtest.cc:72: previously used here
make[3]: *** [pgtest] Error 1
Wat else could i try to solve this error..
DBPostgresFrontend: Message to FrontEnd: DBBalancer: DBBalancer (replication
mode) sync error: Received a unexpected response command from the backends.
Please check the attached debug messages..
regards
dushyanth |