LedgerSMB Error! No GlobalDBH Configured or Could not Connect


No GlobalDBH Configured or Could not Connect

Just had this error attempting to install LedgerSMB. In my case this was caused by having postgres-8.3 installed and then installing postgres-8.2 the second installation moved the tcp port to a non-standard port 5433.

Postgres-8.3 is the default version for Ubuntu 8.04, but LedgerSMB at the moment requires postgres-8.2

The solution:
apt-get remove –purge postgres-8.3
edit /etc/postgres/8.2/main/postgresql.conf and set the option “port = 5432”
Restart postgres *note don’t do a restart do a start and stop
/etc/init.d/postgres-8.2 stop
/etc/init.d/postgres-8.2 start

Of course you could simply edit ledgersmb.conf and change the [globaldb] section DBport value to be the port which Postgres 8.2 is running on.


Submit a Comment

Your email address will not be published. Required fields are marked *

You May Also Like…

Docker on Fedora 32

Docker on Fedora 32

Commands to run to get moby-engine running on Fedora 32 # as root or sudo'd dnf install grubby grubby...

PDF Poster

PDF Poster

Start with a wide long image. This is just a screen shot of my desktop. widescreen.png Convert it to postscript using...