Missing rlm_sql_postgresql drivers in freeradius 0.9.1

2003-09-15 Thread Naveed Nazir
Hi everybody, I am running freeradius 0.9.1 on Redhat 9 with postgresql 7.3.2 and its sources installed from rpm. The check config script (i.e. radiusd ) fails after reporting that rlm_sql_postgresql not found. I verified that it was not present, although rlm_sql_mysql was there. Checked

Re: Missing rlm_sql_postgresql drivers in freeradius 0.9.1

2003-09-15 Thread rolphin
On Sun, Sep 14, 2003 at 11:03:19PM -0700, Naveed Nazir wrote: Monitored the output of the above command and saw the warning message saying that postgresql was silently discarded as it could not find the files libpg-fe.h and libpq Cannot locate these files on my box, nor in any sources from

0.8.1 , src/modules/rlm_sql/drivers/rlm_sql_postgresql/sql_postgresql.c

2003-07-16 Thread Ali Gunduz
is: src/modules/rlm_sql/drivers/rlm_sql_postgresql/sql_postgresql.c Line 115 of this file is: radlog(L_DBG, rlm_sql_postgresql: Postgresql check_error: s, returning SQL_DOWN, PQresStatus(error)); (there's a newline at the end of first line.. Above code segment is actually two lines

Re: 0.8.1 , src/modules/rlm_sql/drivers/rlm_sql_postgresql/sql_postgresql.c

2003-07-16 Thread Alan DeKok
Ali Gunduz [EMAIL PROTECTED] wrote: I'm having these errors while compiling 0.8.1 with postgresql support. It's a bug in 0.8.1, which is fixed in 0.9.0. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: 0.8.1 , src/modules/rlm_sql/drivers/rlm_sql_postgresql/sql_postgresql.c

2003-07-16 Thread Peter Nixon
/drivers/rlm_sql_postgresql/sql_postgresql.c Line 115 of this file is: radlog(L_DBG, rlm_sql_postgresql: Postgresql check_error: s, returning SQL_DOWN, PQresStatus(error)); (there's a newline at the end of first line.. Above code segment is actually two lines in sql_postgresql.c

Re: driver rlm_sql_postgresql

2003-04-03 Thread Alan DeKok
Khakbiz [EMAIL PROTECTED] wrote: i have installed freeradius-0.5 and postgresql-7.0.3 . Huh? YOu've gone out of your way to install a version of the server which is about a year old? Why not use the latest version, 0.8.1? Alan DeKok. - List info/subscribe/unsubscribe? See

Re: driver rlm_sql_postgresql

2003-04-03 Thread Khakbiz
hi thanks for your mail i changed mr freeradius-0.5 to freeradius-0.8 but i cant find rlm_sql_postgresql in ./src/module/rlm_sql at now i have done : tar -zxvf freeradius-0.8.tar.gz make make install and i configure my sql.conf and radiusd.conf but problem steel exist. can you help me

Re: driver rlm_sql_postgresql

2003-04-03 Thread Degrande_Samuel
According to Khakbiz (Thu, 03 Apr 2003 19:43:46 +0430): hi thanks for your mail i changed mr freeradius-0.5 to freeradius-0.8 but i cant find rlm_sql_postgresql in ./src/module/rlm_sql at now i have done : tar -zxvf freeradius-0.8.tar.gz make make install and i configure my sql.conf

rlm_sql_postgresql

2003-02-19 Thread leaobicalho
What problem??? Why dont autorize if username is correct... rad_recv: Access-Request packet from host 127.0.0.1:32775, id=75, length=24 User-Name = t1 rlm_chap: Could not find proper Chap-Password attribute in request rlm_sql (sql): Reserving sql socket id: 4 rlm_sql_postgresql: query

Re: rlm_sql_postgresql

2003-02-19 Thread Aleksandar Zhelyazkov
leaobicalho wrote: What problem??? Why dont autorize if username is correct... postgres isn't running? postgresql is running but does not allow freeradius to connect to it? postgresql.conf contains wrong information about db, host, user,pass ? rlm_sql_postgresql: query: SELECT id

rlm_sql_postgresql Problem!!

2002-10-25 Thread Jaye Armstrong
rlm_sql_postgresql loaded and linked rlm_sql: Attempting to connect to postgres@localhost:/radius rlm_sql: starting 0 rlm_sql: Attempting to connect #0 sql_postgresql: Couldn't connect socket to PostgreSQL server postgres@localhost:radius sql_postgresql: Postgresql error '' rlm_sql: Failed to connect DB

core dumps in rlm_detail rlm_sql_postgresql

2002-06-06 Thread Alex L. Demidov
Running FreeRadius-0.5 under FreeBSD 4.4 with authentication with PAM, accounting to PostgreSQL and users definitions in files. NAS is old Livingston PortMaster 3 with 30 async ports. And having radiusd core dumps a dozen times a day. Today me compiled radiusd with -g options and have following

Re: rlm_sql_postgresql problem in FR 0.5+

2002-04-19 Thread Alan DeKok
Andrew Kukhta [EMAIL PROTECTED] wrote: Try the following patch, I it's correct now. It seems like a bug in postgresql module for using PQntuples and PQcmdTuples that I try to fix earler, but incorrect patch was posted by me, and I don't use accounting_stop_query_alt, sorry! OK, I've added

Re: rlm_sql_postgresql problem in FR 0.5+

2002-04-08 Thread Andrew Kukhta
Hello Timophey, Friday, April 05, 2002, 4:16:42 PM, you wrote: T Hi all. T I faced with a problem on FR 0.5: T when using FR 0.4 I have my a single record for both Start and STOP T accounting requests. T Since I have changed to FR 0.5 my accounting records double with stop of the T session.