[Mapbender-users] Unable to login (function.pg-connect)

Michael Schulz mschulz at webgis.de
Thu Jan 8 10:14:54 EST 2009

Hi Christian,

did you configure the mapbender db in
/your_path_to_mapbender_installation/conf/mapbender.conf ?

www-data is probably chosen because when no database name is provided
postgres takes the name from the current username, which is in that
case the user your apache server is running.

Cheers, Michael

2009/1/8 Christian Gadge <christian.gadge at ufz.de>:
> Hello list,
> I made a new installation of mapbender_2.5 on an Ubuntu server and
> configuring mapbender_setup.php... I tried to login ('root'/'root') but it
> doesn't work. Changing the password with md5...nothing...and no error
> message.
> But when I press "forgot your password?" at the login page, the follwing
> error appears:
> Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL
> server: FATAL: Datenbank »www-data« existiert nicht in
> /var/www/mapbender_2.5/http/php/database-pgsql.php on line 97
> PostgreSQL database is running. So did I forgot to assign rights? What is
> database "www-data" and where?
> Greetings,
> Christian
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users

Michael Schulz
mschulz at webgis.de

in medias res
Gesellschaft für Informationstechnologie mbH

In den Weihermatten 66
79108 Freiburg

Tel  +49 (0)761 556959-5
Fax +49 (0)761 556959-6

http://www.webgis.de / http://www.zopecms.de
Geschäftsführer: Stefan Giese, Dr. Christof Lindenbeck
Eingetragen im Handelsregister HRB 5930 beim Amtsgericht Freiburg

More information about the Mapbender_users mailing list