[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gnu-radius] radius and postgress
From: |
Oleg Gawriloff |
Subject: |
[Help-gnu-radius] radius and postgress |
Date: |
Sun, 4 May 2003 21:46:15 +0300 |
Heres debug output from postgres.c:
May 04 21:31:40: Acct.debug: postgres.c:227:rad_postgres_query: query:
INSERT INTO calls VALUES(1,'5PbAc7gNFC','2003-05-04
21:31:40','213.184.225.24',12,'000001C0',0,0,0,0,'213.184.226.12',0,'0172092
676','')
May 04 21:31:40: Acct.debug: postgres.c:241:rad_postgres_query: status:
PGRES_COMMAND_OK
So it successfully executed acct_start_query.
But then by some unknown reason it tries to execute this query for this user
second time and fails due to unique index.
May 04 21:31:50: Acct.debug: postgres.c:227:rad_postgres_query: query:
INSERT INTO calls VALUES(1,'5PbAc7gNFC','2003-05-04
21:31:40','213.184.225.24',12,'000001C0',0,0,0,0,'213.184.226.12',0,'0172092
676','')
May 04 21:31:50: Acct.debug: postgres.c:241:rad_postgres_query: status:
PGRES_FATAL_ERROR
May 04 21:31:50: Acct.error: PQexec returned PGRES_FATAL_ERROR
Why radius executes acct_start_query for same session twice?
- [Help-gnu-radius] radius and postgress,
Oleg Gawriloff <=