You have to put an entry in postgresql.conf  like this :
tcpip_socket = true

I would still suggest reading postgresql documentation.

Deepak Singhal

----- Original Message -----
From: "David Cadenas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 27, 2003 2:27 PM
Subject: Re: PostgreSQL


> If to enable  the postgres TCP socket is to load 'postgresql start' in
/etc/init.d, I've just done it. If not, what is to enable the postgres TCP
socket exactly?
> Thanks a lot.
> David
>
> >
> > 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
> >
> > Did you enable the postgres TCP socket?
> >
> > Peter
> >
> > --__--__--
>
>
> -
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
>
>



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to