RE: Can somebody explain the errors?

2005-03-10 Thread Serg Shipaev
Thank you, Alan.

I think I know where the mistake is...

Best regards, Serg Shipaev

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alan DeKok
Sent: Friday, March 11, 2005 04:02
To: freeradius-users@lists.freeradius.org
Subject: Re: Can somebody explain the errors? 


"Serg Shipaev" <[EMAIL PROTECTED]> wrote:
> Thu Mar 10 20:08:03 2005 : Error: Dropping conflicting packet from 
> client apk1:1813 - ID: 92 due to unfinished request 209934
> 
> Can somebody explain the errors I've got. What should I change in 
> radiusd.conf to elliminate these errors?

  You don't.  You find out why your RADIUS server is taking forever to
respond, and fix the problem.

> About duplicate request I know. I've got to change: cleanup_delay++ 
> and max_requests--;

  I don't see why.

> What about the "conflicting packet"? What does it mean?

  It means that the RADIUS server is taking so long to respond that the NAS
has given up, and sent another RADIUS packet.

  Alan DeKok.


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


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


RE: Can somebody explain the errors?

2005-03-10 Thread Serg Shipaev
No. Trying to connect to Oracle server.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Radius
Sent: Friday, March 11, 2005 04:14
To: freeradius-users@lists.freeradius.org
Subject: Re: Can somebody explain the errors?


I see the same thing with trying to set up realms, but haven't received 
any response to my question.

Are you running realms setup?

Bob


Serg Shipaev wrote:

>Sirs,
>
>Here what I received:
>Wed Mar  9 22:47:34 2005 : Info: Ready to process requests. Thu Mar 10 
>10:17:30 2005 : Error: Dropping conflicting packet from client 
>apk1:1813 - ID: 71 due to unfinished request 48567 Thu Mar 10 12:52:57 
>2005 : Error: Dropping conflicting packet from client apk1:1813 - ID: 
>89 due to unfinished request 81227 Thu Mar 10 14:12:03 2005 : Error: 
>Dropping conflicting packet from client apk1:1813 - ID: 128 due to 
>unfinished request 101178 Thu Mar 10 17:17:30 2005 : Error: Discarding 
>duplicate request from client apk1:1813 - ID: 253 due to unfinished 
>request 152382 Thu Mar 10 20:08:03 2005 : Error: Dropping conflicting 
>packet from client apk1:1813 - ID: 92 due to unfinished request 209934
>
>Can somebody explain the errors I've got. What should I change in 
>radiusd.conf to elliminate these errors?
>
>About duplicate request I know. I've got to change: cleanup_delay++ and 
>max_requests--; What about the "conflicting packet"? What does it mean?
>
>Best regards,
>Serg
>
>
>-
>List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
>
>
>  
>


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


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


Can somebody explain the errors?

2005-03-10 Thread Serg Shipaev
Sirs,

Here what I received:
Wed Mar  9 22:47:34 2005 : Info: Ready to process requests.
Thu Mar 10 10:17:30 2005 : Error: Dropping conflicting packet from client
apk1:1813 - ID: 71 due to unfinished request 48567
Thu Mar 10 12:52:57 2005 : Error: Dropping conflicting packet from client
apk1:1813 - ID: 89 due to unfinished request 81227
Thu Mar 10 14:12:03 2005 : Error: Dropping conflicting packet from client
apk1:1813 - ID: 128 due to unfinished request 101178
Thu Mar 10 17:17:30 2005 : Error: Discarding duplicate request from client
apk1:1813 - ID: 253 due to unfinished request 152382
Thu Mar 10 20:08:03 2005 : Error: Dropping conflicting packet from client
apk1:1813 - ID: 92 due to unfinished request 209934

Can somebody explain the errors I've got. What should I change in
radiusd.conf to elliminate these errors?

About duplicate request I know. I've got to change: cleanup_delay++ and
max_requests--;
What about the "conflicting packet"? What does it mean?

Best regards,
Serg


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


RE: Compile problem

2005-03-10 Thread Serg Shipaev
Alan,

Ok. Thank you.

Serg


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alan DeKok
Sent: Thursday, March 10, 2005 23:26
To: freeradius-users@lists.freeradius.org
Subject: Re: Compile problem 


Admin <[EMAIL PROTECTED]> wrote:
> Thank you very much. I'll update or edit by myself net-snmp module to
> resolve this problem.
> So, why I don't need threads. The practice shows me that threading are 
> not so beauty as it can imagine.
> Due my usage of rlm_perl module I see memory leaks when it works in 
> threading mode, however all ok when perl and FreeRadius are compiled in 
> non-threads mode.

  Those problems have been addressed in the current CVS snapshot.

  Alan DeKok.

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


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


Compile problem

2005-03-08 Thread Serg Shipaev
Sirs,

Due compilation I've got the following result:

===
gcc .libs/radiusdS.o -O9 -funroll-loops -ffast-math -malign-double
-fomit-frame-pointer -fno-exceptions -march=pentium4 -DOPENSSL_NO_KRB5
-I../include -DHOSTINFO=\"i686-pc-linux-gnu\"
-DRADIUSD_VERSION=\"1.1.0-pre0\" -o .libs/radiusd radiusd.o files.o util.o
acct.o nas.o log.o valuepair.o version.o proxy.o exec.o auth.o conffile.o
modules.o modcall.o session.o xlat.o threads.o smux.o radius_snmp.o client.o
request_list.o mainconfig.o request_process.o -Wl,--export-dynamic
-L/root/archives/radius/freeradius-snapshot-20050308/src/lib -lnsl -lresolv
/root/archives/radius/freeradius-snapshot-20050308/src/lib/.libs/libradius.s
o /usr/lib/libsnmp.so /usr/lib/libltdl.so -lcrypt -L/usr/lib -lssl -lcrypto
-Wl,--rpath -Wl,/usr/local/lib/freeradius
radiusd.o(.text+0x623): In function `main':
: undefined reference to `total_active_threads'
radiusd.o(.text+0x821): In function `main':
: undefined reference to `thread_pool_clean'
request_list.o(.text+0x179d): In function `refresh_request':
: undefined reference to `pthread_cancel'
collect2: ld returned 1 exit status
gmake[4]: *** [radiusd] Error 1
gmake[4]: Leaving directory
`/root/archives/radius/freeradius-snapshot-20050308/src/main'
gmake[3]: *** [common] Error 1

===

Some info: 
OS: RedHat 3.0 Enterprise Server

CFLAGS= -O9 -funroll-loops -ffast-math -malign-double -fomit-frame-pointer
-fno-exceptions -march=pentium4

GCC:
[EMAIL PROTECTED] freeradius-snapshot-20050308]# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--host=i386-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-49)

LD:
[EMAIL PROTECTED] freeradius-snapshot-20050308]# ld -v
GNU ld version 2.14.90.0.4 20030523

freeradius-snapshot-20050308:
Config:
./configure --libdir=/usr/local/lib/freeradius --enable-shared
--enable-strict-dependencies --with-logdir=/billing/cdr
--with-raddbdir=/billing/raddb --without-threads --with-snmp
--with-large-files --with-experimental-modules --with-udpfromto
--with-openssl-includes=/usr/include/openssl
--with-openssl-libraries=/usr/lib --without-rlm_krb5
--without-rlm_sql_postgresql --without-rlm_eap --without-rlm_peap
--without-rlm_sql_mysql --without-rlm_python --without-rlm_smb --without-pap
--without-rlm_example --without-rlm_ns_mta_md5 --without-rlm_x99_token
--without-rlm_sql_counter --without-rlm_dbm --without-rlm_ldap

Can somebody give me a clue. How can I build the version with
--without-threads flag.
I don't need threads.

Best regards,
Serg


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


Error: TIMEOUT for request xxxx in module

2005-02-16 Thread Serg Shipaev
Dear sirs,

Due using FreeRadius with rlm_perl module I got the following messages in
radius.log file:
Thu Feb 17 02:33:52 2005 : Error: TIMEOUT for request 37555 in module
, component accounting
Thu Feb 17 02:34:02 2005 : Error: TIMEOUT for request 37557 in module
, component accounting
Thu Feb 17 02:34:12 2005 : Error: TIMEOUT for request 37559 in module
, component accounting
Thu Feb 17 02:34:22 2005 : Error: TIMEOUT for request 37561 in module
, component accounting
Thu Feb 17 02:34:32 2005 : Error: TIMEOUT for request 37563 in module
, component accounting
Thu Feb 17 02:34:42 2005 : Error: TIMEOUT for request 37565 in module
, component accounting
Thu Feb 17 02:34:52 2005 : Error: TIMEOUT for request 37567 in module
, component accounting
Thu Feb 17 02:35:00 2005 : Error: TIMEOUT for request 37569 in module
, component accounting

So, whould you please help me to understand, what does it mean?
I'm using FreeRadius 1.0.2

Best regards,
Serg


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


rlm_perl module

2005-02-15 Thread Serg Shipaev
Hello!

I've got a question: can be rlm_perl module compiled staticly?
Due compilation on linking step I've got: "undefined symbol boot_DynaLoader"


Best regards,
Serg


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