Andreas Tille hat gesagt: // Andreas Tille wrote:

> Warning: Unable to connect to PostgresSQL server: connectDB() -- connect() 
> failed: Verbindungsaufbau abgelehnt Is the postmaster
> running at 'localhost' and accepting connections on Unix socket '5432'? in 
> /var/www/rabschw/db.php on line 8
> 
> Beide Fragen kann ich mit ja beantworten, denn postmaster läuft auf
> Port 5432, was ich durch ein einwandfrei laufendes pgaccess verifiziert
> habe.
> 
> Woran könnte das nun liegen?

Vielleicht findet er "localhost" nicht in der Liste der zugelassenen Hosts.
Versuch mal, in /etc/postgresql/pg_hba.conf am Ende folgendes:

[snip]
# By default, allow anything over UNIX domain sockets and localhost.

local        all                                         trust
host         all         127.0.0.1     255.255.255.255   trust     
host         all         localhost     255.255.255.255   trust
[snap]

Die letzte Zeile ist in der Original-Datei nicht drin.
(/etc/postgresql/pg_hba.conf.dpkg-dist)

bye
-- 
                                                 __    __
 Frank Barknecht       ____ ______   ____ __ trip\ \  / /wire ______
                      / __// __  /__/ __// // __  \ \/ /  __ \\  ___\   
                     / /  / ____/  / /  / // ____// /\ \\  ___\\____ \  
                    /_/  /_____/  /_/  /_//_____// /  \ \\_____\\_____\
                                                /_/    \_\ 
------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie
bitte eine E-Mail an [EMAIL PROTECTED] die im Body
"unsubscribe debian-user-de <deine emailadresse>"
enthaelt.
Bei Problemen bitte eine Mail an: [EMAIL PROTECTED]
------------------------------------------------
Anzahl der eingetragenen Mitglieder:     730

Antwort per Email an