Public bug reported:

Doing "apt-get install gforge" from a basic install will result in the
install failing.

The problem connecting to the database seems to be due to gforge wanting
to connect to the hostname (mapped in hosts to 127.0.1.1) and postgresql
running only on localhost by default (127.0.0.1).

I fixed this on my install by changing
/etc/postgresql/8.1/main/postgresql.conf to allow connections from all
hosts but the prefered solution (untested) would probably be to change
/etc/gforge/local.pl

modifying the db hostname as follows.

$sys_dbhost = '127.0.0.1'

The install still fails but now has Apache config related errors which
I'm going to investigate later, it's possible they're caused by the
previous problems with the install.

** Affects: gforge (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
GForge doesn't install, unable to connect to DB
https://bugs.launchpad.net/bugs/110490
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to