[isf-wifidog] issues setting up auth server

Frederico Marques frederico at marques.cx
Mer 31 Oct 19:11:04 EDT 2007


Hi Adrian,

Do you have PostgreSQL running? What's in your /var/lib/pgsql/data/ 
pg_hba.conf ? You should have something like this:

host    all         all         127.0.0.1/32          password

or

host  wifidog wifidog 127.0.0.1/32          password

--fred

On Oct 31, 2007, at 10:58 PM, Adrian ((ADR Communications)) wrote:

> Hi all
>
> really new to wifidog,
> i followed the wiki to install wifidog on our debian server and  
> will be
> running DDWRT with it when i get it running.
>
> I have got this error on the last install page.
>
> Trying to open a Postgresql database connection :
> Warning: pg_connect() [function.pg-connect]: Unable to connect to  
> PostgreSQL
> server: could not connect to server: Connection refused Is the server
> running on host "localhost" and accepting TCP/IP connections on  
> port 5432?
> in /var/www/wifidog-auth/wifidog/install.php on line 751
>
> Unable to connect! The server has to be online, the database  
> "wifidog" must
> exist, and the postgresql.conf and pg_hba.conf must allow the user  
> "wifidog"
> to open a connection to it on host "localhost" to continue. See the  
> error
> above for hints on what the problem may be.
>
> Any pointers would be great.
>
> Regards Adrian
>
> ADR Communications Ltd (ineedbroadband.co.uk)
> Newbrook House
> 385 Alfreton Rd
> Nottingham
> NG7 5LR
>
>
> www.adrcommunications.co.uk
> UK Tel:0871 2882106
> Spain :+34951239897
> ***************************
> www.ineedbroadband.co.uk
> Tel:0871 2882105
> Skype: ineedbroadband
> ***************************
> Fax:0709 2065572
> FAX:0845 8695131
> ***************************
> www.planet-wifi.co.uk
> The trade WiFi store.
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.503 / Virus Database: 269.15.14/1100 - Release Date:  
> 30/10/2007
> 18:26
>
> _______________________________________________
> WiFiDog mailing list
> WiFiDog at listes.ilesansfil.org
> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog



Plus d'informations sur la liste de diffusion WiFiDog