I tried to upgrade from 3.0.1 to 5.0.3 , and it's been a nightmare for 2 days. after giving up on bat (it's is a impossible to compile due to a variety of errors, reminding me of compiling software in the early 90's),

I'm now stuck with bacula-dir not starting, with the following error in the log:
29-Sep 13:22 bacula-dir: ABORTING due to ERROR in postgresql.c:303
Pg client library must be thread-safe when using BatchMode.

but, postgres is 8.3.3 configured with --enable-thread-safety, and in bacula's config.log I could find:
configure:29051: checking for PQisthreadsafe in -lpq
configure:29086: gcc -o conftest -g -O2 conftest.c -lpq -ldl -L/usr/local/pgsql/lib -lpq -lcrypt >&5
configure:29092: $? = 0
configure:29110: result: yes
....
ac_cv_lib_pq_PQisthreadsafe=yes

doing an ltrace bacula-dir though, outputs this:
PQisthreadsafe(0x6c1920, 0, 0x6c1920, 0, 0x134ed28) = 0

please help as I'm now left without backup since I've updated the DB to the new version.
Thanks.
system is CentOs 5.3
postgres 8.3.3
bacula 5.0.3

Thank you.

<<attachment: sivann.vcf>>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to