Chris Parker wrote:
> 
> At 01:32 PM 2/14/2002 +0300, Do-Risika RAFIEFERANTSIARONJY wrote:
> 
> >Hi everybody,
> >
> >Can someone tell me what this error means ? and what should i do to
> >avoid this ?
> 
> Reconfigure and compile without SNMP enabled:
> 
> ./configure --without-snmp <other_options>
> make
> make install

but does it mind if i leave like this ? (because it was installed from a
debian package :-)


> >Can it cause that my Simultaneous-Use feature does'not work ?
> 
> What does your testing show?


First, i don't find any line containing Simultaneous-Use when i run
radiusd -sx, as it is adviced in the faq,

indri:/etc/raddb# radiusd -sx  
Starting - reading configuration files ...
Module: Loaded SQL 
rlm_sql: Driver rlm_sql_mysql loaded and linked
rlm_sql: Attempting to connect to root@localhost:/radius
rlm_sql:  Connected new DB handle, #0
rlm_sql:  Connected new DB handle, #1
rlm_sql:  Connected new DB handle, #2
rlm_sql:  Connected new DB handle, #3
rlm_sql:  Connected new DB handle, #4
Module: Instantiated sql (sql) 
Module: Loaded Counter 
Module: Instantiated counter (daily_counter) 
Module: Instantiated counter (monthly_counter) 
Module: Loaded Acct-Unique-Session-Id 
Module: Instantiated acct_unique (acct_unique) 
Module: Loaded detail 
Module: Instantiated detail (detail) 
Module: Loaded radutmp 
Module: Instantiated radutmp (radutmp) 
Can't connect to SNMP agent with SMUX: Connection refused
Listening on IP address *, ports 1812/udp and 1813/udp.
Ready to process requests.


After that, when i run manually the checkrad script, with a patton nas
(which is supposed to be supported), i have the following error : 'SNMP
Error: no response received'. The problem is that i know that there is a
password in the nas a password asociated with this snmp community
'monitor', but i don't know where should i do it in the freeradius
config. I tried to put it in the naspasswd but it doesn't work, and in
the docs, it seems that snmp doesn't need password.

indri:/etc/raddb# /usr/sbin/checkrad patton 208.153.83.226 10338 jayme
0a020a02
SNMP Error:
no response received
SNMPv1_Session (remote host: "208.153.83.226" [208.153.83.226].161)
                  community: "monitor"
                 request ID: -545558884
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/sbin/checkrad line 176
checkrad: 
indri:/etc/raddb# 


I have another nas which is an usr hiperarc, there was the same problem
with this one (no snmp server), but when i put the user/pass in the
naspasswd file, the wasn't errors nor returned values, so i ask myself
if is it normal or not ?

indri:/etc/raddb# /usr/sbin/checkrad usrhiper 208.153.83.3 10338 jayme
0a020a02
indri:/etc/raddb# 

indri:/etc/raddb# /usr/sbin/checkrad patton 208.153.83.226 10338 jayme
0a020a02
SNMP Error:
no response received
SNMPv1_Session (remote host: "208.153.83.226" [208.153.83.226].161)
                  community: "monitor"
                 request ID: -545558884
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/sbin/checkrad line 176
checkrad: 
indri:/etc/raddb# 


That was my testing, what would you advice for me because i really need
this feature ? I use mysql on authentication and on accounting ...

Any help would be appreciated,

@+
--
Do-Risika RAFIEFERANTSIARONJY
mailto:[EMAIL PROTECTED]
________________
Simicro Internet, mailto:[EMAIL PROTECTED], http://internet.simicro.mg
Tel : (+261) 20 22 648 83 (GMT +3), Fax : (+261) 20 22 661 83

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

Reply via email to