On Wednesday 26 November 2003 08:20, David Cadenas wrote: > Hi! I have a problem when I load the radiusd -X > > rlm_sql (sql): Driver rlm_sql_postgresql (module rlm_sql_postgresql) > loaded and linked > rlm_sql (sql): Attempting to connect to [EMAIL PROTECTED]:/radius > rlm_sql (sql): starting 0 > rlm_sql (sql): Attempting to connect rlm_sql_postgresql #0 > rlm_sql_postgresql: Couldn't connect socket to PostgreSQL server > [EMAIL PROTECTED]:radius > rlm_sql_postgresql: Postgresql error 'could not connect to server: > Connection refused ?Is the server running on host localhost and > accepting ?TCP/IP connections on port 5432? ' > rlm_sql (sql): Failed to connect DB handle #0 > rlm_sql (sql): starting 1 > rlm_sql (sql): starting 2 > rlm_sql (sql): starting 3 > rlm_sql (sql): starting 4 > rlm_sql (sql): Failed to connect to any SQL server. > > The database radius exists, and the postgresql is running in init.d. > Is there any file where you can define the port in the connection? > Thanks > DAvid > > > > > > - > List info/subscribe/unsubscribe? See > http://www.freeradius.org/list/users.html
see postgresql.conf in /usr/local/etc/raddb/ you can define server in line 18 , user name and passowrd in line 22 and 23 . -- It's a poor workman who blames his tools. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
