Freeradius and Postgresql configuration
guy at incentre.net
Mon Sep 26 17:27:31 CEST 2005
On Mon, 2005-26-09 at 11:22 +0100, msah at otitelecom.bj wrote:
> Good morning!!!!!
> I have successfully configured freeradius server with using postgresql database
> to storage users which i want to authenticate.
> when i put it in debug mode to test he works well. But when I run it as deamon
> the server radius don't see the postgresql server. In the radius's log file i
> look this:
> Driver rlm_sql_postgresql (module rlm_sql_postgresql) loaded and linked
> Info: rlm_sql (sql): Attempting to connect to radiusadmin at localhost:/radiusdb
> Error: rlm_sql_postgresql: Couldn't connect socket to PostgreSQL server
> radiusadmin at localhost:radiusdb
> Error: rlm_sql_postgresql: Postgresql error 'could not connect to server:
> Permission denied ?Is the server running on host "localhost" and accepting
> ?TCP/IP connections on port 5432? '
> Error: rlm_sql (sql): Failed to connect DB handle #0
> Info: Ready to process requests.
> Please help me.
What platform and operating system are you using?
More information about the Freeradius-Users