Re: SNMP error

2008-05-20 Thread Amr el-Saeed

Hi Alan,

Can't it be applied to 1.1.7 release, as there are many changes  in the 
conf. files  between  1.1.7 and 2.0  ??


Thanks
Amr


[EMAIL PROTECTED] wrote:

hi,

just a quick check... the smux.c patches ARE applied to the
2.0.x smux.c  (but not part of the last 1.1.7 release).

the radius_snmp.c patches  - converting an int to a long
(handling 64 bit better I'd guess)... havent been incorporated
into the 2.0.x tree.  


alan
-
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: SNMP error

2008-05-20 Thread Alan DeKok
Amr el-Saeed wrote:
 Can't it be applied to 1.1.7 release, as there are many changes  in the
 conf. files  between  1.1.7 and 2.0  ??

  Ask redhat, or whoever is packaging your version of 1.1.7.

  All new development, including bug fixes, are on the 2.0 release.

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


Re: SNMP error

2008-05-20 Thread A . L . M . Buxey
Hi,

 Can't it be applied to 1.1.7 release, as there are many changes  in the 
 conf. files  between  1.1.7 and 2.0  ??

it probably could be applied to 1.1.7 source archive if
you build it yourself. your distro package maintainer, otherwise,
could release a 1.1.7 package with these patches in.
It could be applied to the main source - as that would then
be a 1.1.8 release - which isnt likely to happen(*) 

alan

(*) from what main developers have hinted: all work/effort
is to be done on 2.0.x tree 
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: SNMP error

2008-05-18 Thread Amr el-Saeed




Hi Alan,

I have patches attached from RedHat for freeradius 1.1.3 .
Can we have a patched release from freeradius 1.1.7 ??

Thanks
Amr



Alan DeKok wrote:

  Edvin Seferovic wrote:
  
  
I am also curious about the answer on this question ! Are there any plans to
implement AgentX protocol into freeradius project? 

  
  
  No plans.

  At this point, the only plans for 2.0 are minor feature improvements
and bug fixes.  I plan on spending time working on the book, unless
otherwise motivated.

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

  



--- freeradius-1.1.3/src/main/smux.c.1819888	2008-05-15 15:05:49.0 +0100
+++ freeradius-1.1.3/src/main/smux.c	2008-05-15 16:17:30.0 +0100
@@ -243,7 +243,7 @@
 	int ret;
 	u_char buf[BUFSIZ];
 	u_char *ptr, *h1, *h1e, *h2, *h2e;
-	int len, length;
+	size_t len, length;
 
 	ptr = buf;
 	len = BUFSIZ;
@@ -293,8 +293,8 @@
 	ret = send (rad_snmp.smux_fd, buf, length, 0);
 }
 
-static char *
-smux_var (char *ptr, int len, oid objid[], size_t *objid_len,
+static u_char *
+smux_var (u_char *ptr, size_t len, oid objid[], size_t *objid_len,
 		size_t *var_val_len,
 		u_char *var_val_type,
 		void **var_value)
@@ -591,8 +591,8 @@
 }
 
 /* GET message header. */
-static char *
-smux_parse_get_header (char *ptr, size_t *len, long *reqid)
+static u_char *
+smux_parse_get_header (u_char *ptr, size_t *len, long *reqid)
 {
 	u_char type;
 	long errstat;
@@ -617,7 +617,7 @@
 }
 
 static void
-smux_parse_set (char *ptr, size_t len, int action)
+smux_parse_set (u_char *ptr, size_t len, int action)
 {
 	long reqid;
 	oid my_oid[MAX_OID_LEN];
@@ -646,7 +646,7 @@
 }
 
 static void
-smux_parse_get (char *ptr, size_t len, int exact)
+smux_parse_get (u_char *ptr, size_t len, int exact)
 {
 	long reqid;
 	oid my_oid[MAX_OID_LEN];
@@ -679,7 +679,7 @@
 
 /* Parse SMUX_CLOSE message. */
 static void
-smux_parse_close (char *ptr, int len)
+smux_parse_close (u_char *ptr, int len)
 {
 	long reason = 0;
 
@@ -692,9 +692,9 @@
 
 /* SMUX_RRSP message. */
 static void
-smux_parse_rrsp (char *ptr, int len)
+smux_parse_rrsp (u_char *ptr, size_t len)
 {
-	char val;
+	u_char val;
 	long errstat;
 
 	ptr = asn_parse_int (ptr, len, val, errstat, sizeof (errstat));
@@ -704,7 +704,7 @@
 
 /* Parse SMUX message. */
 static int
-smux_parse (char *ptr, int len)
+smux_parse (u_char *ptr, size_t len)
 {
 	/* this buffer we'll use for SOUT message. We could allocate it with malloc and
 		 save only static pointer/lenght, but IMHO static buffer is a faster solusion */
@@ -806,7 +806,7 @@
 int
 smux_read ()
 {
-	int len;
+	ssize_t len;
 	u_char buf[SMUXMAXPKTSIZE];
 	int ret;
 
@@ -835,7 +835,7 @@
 	DEBUG2 (SMUX read len: %d, len);
 
 	/* Parse the message. */
-	ret = smux_parse (buf, len);
+	ret = smux_parse (buf, (size_t) len);
 
 	if (ret  0) {
 		close (rad_snmp.smux_fd);
@@ -854,8 +854,8 @@
 {
 	u_char buf[BUFSIZ];
 	u_char *ptr;
-	int len;
-	u_long smux_proto_version;
+	size_t len;
+	long smux_proto_version;
 	u_char rad_progname[] = radiusd;
 
 	smux_oid_dump (SMUX open oid, smux_oid, smux_oid_len);
@@ -890,7 +890,7 @@
 	ptr = asn_build_string (ptr, len,
 			(u_char)
 			(ASN_UNIVERSAL | ASN_PRIMITIVE | ASN_OCTET_STR),
-			rad_snmp.smux_password, strlen(rad_snmp.smux_password));
+			(u_char *) rad_snmp.smux_password, strlen(rad_snmp.smux_password));
 
 	/* Fill in real SMUX header.	We exclude ASN header size (2). */
 	len = BUFSIZ;
@@ -904,7 +904,8 @@
 {
 	u_char buf[BUFSIZ];
 	u_char *ptr;
-	int len, ret;
+	size_t len;
+	ssize_t ret;
 	long priority;
 	long operation;
 	struct subtree *subtree;
@@ -956,7 +957,7 @@
 int
 smux_connect ()
 {
-	int ret;
+	ssize_t ret;
 
 	rad_snmp.smux_event=SMUX_NONE;
 	DEBUG2 (SMUX connect try %d, rad_snmp.smux_failures + 1);
--- freeradius-1.1.3/src/main/radius_snmp.c.type_long	2008-05-15 23:52:29.0 +0100
+++ freeradius-1.1.3/src/main/radius_snmp.c	2008-05-15 23:52:37.0 +0100
@@ -296,12 +296,12 @@
 
 		case RADIUSACCSERVUPTIME:
 			rad_snmp.acct.uptime = (time(NULL) - rad_snmp.acct.start_time) * 100;
-			*var_len = sizeof(int32_t);
+			*var_len = sizeof(long);
 			return (unsigned char *) rad_snmp.acct.uptime;
 
 		case RADIUSACCSERVRESETTIME:
 			rad_snmp.acct.reset_time = (time(NULL) - rad_snmp.acct.last_reset_time) * 100;
-			*var_len = sizeof(int32_t);
+			*var_len = sizeof(long);
 			return (unsigned char *) rad_snmp.acct.reset_time;
 
 		case RADIUSACCSERVCONFIGRESET:
@@ -310,39 +310,39 @@
 			return (unsigned char *) result;
 
 		case RADIUSACCSERVTOTALREQUESTS:
-			*var_len = sizeof(int32_t);
+			*var_len = sizeof(long);
 			return (unsigned char *) rad_snmp.acct.total_requests;
 
 		case RADIUSACCSERVTOTALINVALIDREQUESTS:
-			*var_len = sizeof(int32_t);
+			*var_len = sizeof(long);
 			return (unsigned char *) rad_snmp.acct.total_invalid_requests;
 
 		case RADIUSACCSERVTOTALDUPREQUESTS:
-			*var_len = sizeof(int32_t);
+			*var_len = sizeof(long);
 			return (unsigned char *) 

Re: SNMP error

2008-05-18 Thread A . L . M . Buxey
hi,

just a quick check... the smux.c patches ARE applied to the
2.0.x smux.c  (but not part of the last 1.1.7 release).

the radius_snmp.c patches  - converting an int to a long
(handling 64 bit better I'd guess)... havent been incorporated
into the 2.0.x tree.  

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


RE: SNMP error

2008-02-05 Thread Edvin Seferovic
Hello,

I am also curious about the answer on this question ! Are there any plans to
implement AgentX protocol into freeradius project? 

Alan?

Kind regards,
E:S

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
g] On Behalf Of Amr el-Saeed
Sent: Dienstag, 05. Februar 2008 09:05
To: FreeRadius users mailing list
Subject: Re: SNMP error

Hi,

any suggestions about what to do to make snmp work on 64-bit??



Amr el-Saeed wrote:
 Dear Alan,

 i build from the source file that i downloaded from freeradius.org

 i suspected the 64-bit

 i made several trials , and here is the result

 freeradius-1.1.7 , snmp-5.0.9-2.30E.20 , RHEL3 , 32-bit working
 freeradius-1.1.7 , snmp-5.0.9-2.30E.20 , RHEL5 , 32-bit working
 freeradius-1.1.7 , snmp-5.0.9-2.30E.20 , RHEL5 , 64-bit NOT working
 freeradius-1.1.7 , snmp-5.3.1-19.el5 , RHEL5 , 32-bit NOT working
 freeradius-1.1.7 , snmp-5.3.1-19.el5 , RHEL5 , 64-bit NOT working


 any comments ??


 [EMAIL PROTECTED] wrote:
 Hi,
 i have OS RHEL5

 it looks like it didnt build with the required debug parts - once
 again, as you are using the SPEC for your distro they could have other
 things that mess it up - I can only help if you build
 from the source and leave package management stuff alone.

 alan
 -
 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

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


Re: SNMP error

2008-02-05 Thread Amr el-Saeed

Hi,

any suggestions about what to do to make snmp work on 64-bit??



Amr el-Saeed wrote:

Dear Alan,

i build from the source file that i downloaded from freeradius.org

i suspected the 64-bit

i made several trials , and here is the result

freeradius-1.1.7 , snmp-5.0.9-2.30E.20 , RHEL3 , 32-bit working
freeradius-1.1.7 , snmp-5.0.9-2.30E.20 , RHEL5 , 32-bit working
freeradius-1.1.7 , snmp-5.0.9-2.30E.20 , RHEL5 , 64-bit NOT working
freeradius-1.1.7 , snmp-5.3.1-19.el5 , RHEL5 , 32-bit NOT working
freeradius-1.1.7 , snmp-5.3.1-19.el5 , RHEL5 , 64-bit NOT working


any comments ??


[EMAIL PROTECTED] wrote:

Hi,

i have OS RHEL5


it looks like it didnt build with the required debug parts - once
again, as you are using the SPEC for your distro they could have other
things that mess it up - I can only help if you build
from the source and leave package management stuff alone.

alan
-
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


Re: SNMP error

2008-02-05 Thread Alan DeKok
Amr el-Saeed wrote:
 any suggestions about what to do to make snmp work on 64-bit??

  Debug it and submit a patch.

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


Re: SNMP error

2008-02-05 Thread Alan DeKok
Edvin Seferovic wrote:
 I am also curious about the answer on this question ! Are there any plans to
 implement AgentX protocol into freeradius project? 

  No plans.

  At this point, the only plans for 2.0 are minor feature improvements
and bug fixes.  I plan on spending time working on the book, unless
otherwise motivated.

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


Re: SNMP error

2008-01-28 Thread Amr el-Saeed

Dear Alan,

i build from the source file that i downloaded from freeradius.org

i suspected the 64-bit

i made several trials , and here is the result

freeradius-1.1.7  ,   snmp-5.0.9-2.30E.20  , RHEL3  , 32-bitworking
freeradius-1.1.7  ,   snmp-5.0.9-2.30E.20  , RHEL5  , 32-bitworking
freeradius-1.1.7  ,   snmp-5.0.9-2.30E.20  , RHEL5  , 64-bitNOT working
freeradius-1.1.7  ,   snmp-5.3.1-19.el5   , RHEL5  , 32-bitNOT 
working
freeradius-1.1.7  ,   snmp-5.3.1-19.el5   , RHEL5  , 64-bitNOT 
working



any comments ??


[EMAIL PROTECTED] wrote:

Hi,
  

i have OS RHEL5



it looks like it didnt build with the required debug parts - once
again, as you are using the SPEC for your distro they could have other
things that mess it up - I can only help if you build
from the source and leave package management stuff alone.

alan
-
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: SNMP error

2008-01-24 Thread Amr el-Saeed

i have OS RHEL5

Amr el-Saeed wrote:

Hi Alan,

yes, i'm sure
i added the option in the SPEC file and then build the RPM

and about the second issue , i didn't have a  debugging  kernel but i 
got one and install it and boot with it and got the same output !!


and ideas ??

thanks for help

(gdb) set logging file gdb-radiusd.log
(gdb) set logging on
Copying output to gdb-radiusd.log.
(gdb) run
Starting program: /usr/sbin/radiusd
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 46912546236704 (LWP 5584)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Wed Jan 23 15:46:53 2008 : Info: Starting - reading configuration 
files ...

(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program exited normally.
(gdb)




[EMAIL PROTECTED] wrote:

Hi,

 

i followed the bugs file.
i recompiled the freeradius  with   --enable-developer actually  i 
made RPM file  with   (  rpmbuild -ta freeradius-1.1.7.tar.gz )



are you SURE That this worked fine - as if you used the standard
SPEC then you wouldnt enable the developer stuff.

 

(no debugging symbols found)



you also need to ensure your kernel is built with debugging support

alan

-
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


Re: SNMP error

2008-01-24 Thread A . L . M . Buxey
Hi,
 i have OS RHEL5

it looks like it didnt build with the required debug parts - once
again, as you are using the SPEC for your distro they could have other
things that mess it up - I can only help if you build
from the source and leave package management stuff alone.

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


Re: SNMP error

2008-01-24 Thread John Dennis

Amr el-Saeed wrote:

i have OS RHEL5



yes, i'm sure
i added the option in the SPEC file and then build the RPM


and about the second issue , i didn't have a  debugging  kernel but i 
got one and install it and boot with it and got the same output !!



made RPM file  with   (  rpmbuild -ta freeradius-1.1.7.tar.gz )


rpmbuild creates a separate package with the debugging information. You 
need to install the debuginfo rpm which was created in addition to the 
other rpms it created to get the debugging symbols, etc.


I doubt you'll need a kernel with debugging.
--
John Dennis [EMAIL PROTECTED]
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: SNMP error

2008-01-23 Thread Amr el-Saeed

Hi Alan,

yes, i'm sure
i added the option in the SPEC file and then build the RPM

and about the second issue , i didn't have a  debugging  kernel but i 
got one and install it and boot with it and got the same output !!


and ideas ??

thanks for help

(gdb) set logging file gdb-radiusd.log
(gdb) set logging on
Copying output to gdb-radiusd.log.
(gdb) run
Starting program: /usr/sbin/radiusd
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 46912546236704 (LWP 5584)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Wed Jan 23 15:46:53 2008 : Info: Starting - reading configuration files ...
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program exited normally.
(gdb)




[EMAIL PROTECTED] wrote:

Hi,

  

i followed the bugs file.
i recompiled the freeradius  with   --enable-developer actually  i made RPM 
file  with   (  rpmbuild -ta freeradius-1.1.7.tar.gz )



are you SURE That this worked fine - as if you used the standard
SPEC then you wouldnt enable the developer stuff.

  

(no debugging symbols found)



you also need to ensure your kernel is built with debugging support

alan

-
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: SNMP error

2008-01-21 Thread A . L . M . Buxey
Hi,

 i followed the bugs file.
 i recompiled the freeradius  with   --enable-developer actually  i made RPM 
 file  with   (  rpmbuild -ta freeradius-1.1.7.tar.gz )

are you SURE That this worked fine - as if you used the standard
SPEC then you wouldnt enable the developer stuff.

 (no debugging symbols found)

you also need to ensure your kernel is built with debugging support

alan

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


Re: SNMP error

2008-01-13 Thread Amr el-Saeed

hi alan,

i searched the freeradius.org for the debug instructions, but i found 
nothing.

what do you mean exactly by debug instructions
i already have this in the radius debug mode


SMUX read start
SMUX connection closed: 66
SMUX connect try 1
SMUX open oid: 1.3.6.1.4.1.3317.1.3.1
SMUX open progname: radiusd
SMUX open password: yallasnmp
SMUX register oid: 1.3.6.1.2.1.67.1.1.1.1
SMUX register priority: -1
SMUX register operation: 1
SMUX register oid: 1.3.6.1.2.1.67.2.1.1.1
SMUX register priority: -1
SMUX register operation: 1
Waking up in 14 seconds...
SMUX read start
SMUX read len: 3
SMUX message received type: 0 rest len: 1
Unknown type: 0
Waking up in 14 seconds...
SMUX read start
SMUX connection closed: 66
SMUX connect try 1
SMUX open oid: 1.3.6.1.4.1.3317.1.3.1
SMUX open progname: radiusd
SMUX open password: yallasnmp
SMUX register oid: 1.3.6.1.2.1.67.1.1.1.1
SMUX register priority: -1
SMUX register operation: 1
SMUX register oid: 1.3.6.1.2.1.67.2.1.1.1
SMUX register priority: -1
SMUX register operation: 1
Waking up in 14 seconds...

thanks
amr


[EMAIL PROTECTED] wrote:

hi,

known SNMP issues with 64bit and that version of SNMP.
you will need to follow the debug instructions to help debug

alan
-
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: SNMP error

2008-01-13 Thread A . L . M . Buxey
Hi,
 hi alan,

 i searched the freeradius.org for the debug instructions, but i found 
 nothing.
 what do you mean exactly by debug instructions
 i already have this in the radius debug mode

read doc/bugs in the distribution tar file. i can send you a copy if
your archive doesnt contain it. beware that you will need an OS
kernel that has all the debugging flags enabled (most default
distro kernels are compiled in such a way)

I have reported this bug to bugs.freeradius.org with the debug
output that my system was able to generate

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


Re: SNMP error

2008-01-10 Thread Kevin Bonner
On Thursday 10 January 2008 08:41:30 Amr el-Saeed wrote:
 but every time i wanted to snmpwalk from the radius i got that error 
 RADIUS-AUTH-SERVER-MIB::radiusMIB = No Such Object available on this
 agent at this OID  

 the command i execute is  snmpwalk -v2c -c testsnmp -m
 /etc/raddb/RADIUS-AUTH-SERVER-MIB.txt  localhost radius 
  same command is working fine on the old machine.

 i searched  for that on google but found nothing .

 any one can help ??

What does debug mode (-X) show?  Are there any errors in your snmpd log file?

Kevin Bonner


signature.asc
Description: This is a digitally signed message part.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: SNMP error

2008-01-10 Thread Amr el-Saeed

this is the log

[smux_accept] accepted fd 12 from 127.0.0.1:57180
Jan 10 20:38:26 RADIUS-1-A snmpd[32488]: refused smux peer: oid 
SNMPv2-SMI::enterprises.3317.1.3.1, descr radiusd
Jan 10 20:38:26 RADIUS-1-A snmpd[32488]: [smux_accept] accepted fd 12 
from 127.0.0.1:57181
Jan 10 20:38:26 RADIUS-1-A snmpd[32488]: refused smux peer: oid 
SNMPv2-SMI::enterprises.3317.1.3.1, descr radiusd
Jan 10 20:38:26 RADIUS-1-A snmpd[32488]: [smux_accept] accepted fd 12 
from 127.0.0.1:57182
Jan 10 20:38:27 RADIUS-1-A snmpd[32488]: refused smux peer: oid 
SNMPv2-SMI::enterprises.3317.1.3.1, descr radiusd
Jan 10 20:38:27 RADIUS-1-A snmpd[32488]: [smux_accept] accepted fd 12 
from 127.0.0.1:57183
Jan 10 20:38:27 RADIUS-1-A snmpd[32488]: refused smux peer: oid 
SNMPv2-SMI::enterprises.3317.1.3.1, descr radiusd
Jan 10 20:38:27 RADIUS-1-A snmpd[32488]: [smux_accept] accepted fd 12 
from 127.0.0.1:57184
Jan 10 20:38:27 RADIUS-1-A snmpd[32488]: refused smux peer: oid 
SNMPv2-SMI::enterprises.3317.1.3.1, descr radiusd
Jan 10 20:38:27 RADIUS-1-A snmpd[32488]: [smux_accept] accepted fd 12 
from 127.0.0.1:57185
Jan 10 20:38:27 RADIUS-1-A snmpd[32488]: refused smux peer: oid 
SNMPv2-SMI::enterprises.3317.1.3.1, descr radiusd
Jan 10 20:38:27 RADIUS-1-A snmpd[32488]: [smux_accept] accepted fd 12 
from 127.0.0.1:57186
Jan 10 20:38:27 RADIUS-1-A snmpd[32488]: refused smux peer: oid 
SNMPv2-SMI::enterprises.3317.1.3.1, descr radiusd
Jan 10 20:38:27 RADIUS-1-A snmpd[32488]: [smux_accept] accepted fd 12 
from 127.0.0.1:57187
Jan 10 20:38:27 RADIUS-1-A snmpd[32488]: refused smux peer: oid 
SNMPv2-SMI::enterprises.3317.1.3.1, descr radiusd



this is the debug mode

SMUX read start
SMUX connection closed: 66
SMUX connect try 1
SMUX open oid: 1.3.6.1.4.1.3317.1.3.1
SMUX open progname: radiusd
SMUX open password: yallasnmp
SMUX register oid: 1.3.6.1.2.1.67.1.1.1.1
SMUX register priority: -1
SMUX register operation: 1
SMUX register oid: 1.3.6.1.2.1.67.2.1.1.1
SMUX register priority: -1
SMUX register operation: 1
Waking up in 14 seconds...
SMUX read start
SMUX read len: 3
SMUX message received type: 0 rest len: 1
Unknown type: 0
Waking up in 14 seconds...
SMUX read start
SMUX connection closed: 66
SMUX connect try 1
SMUX open oid: 1.3.6.1.4.1.3317.1.3.1
SMUX open progname: radiusd
SMUX open password: yallasnmp
SMUX register oid: 1.3.6.1.2.1.67.1.1.1.1
SMUX register priority: -1
SMUX register operation: 1
SMUX register oid: 1.3.6.1.2.1.67.2.1.1.1
SMUX register priority: -1
SMUX register operation: 1
Waking up in 14 seconds...


Kevin Bonner wrote:

On Thursday 10 January 2008 08:41:30 Amr el-Saeed wrote:
  

but every time i wanted to snmpwalk from the radius i got that error 
RADIUS-AUTH-SERVER-MIB::radiusMIB = No Such Object available on this
agent at this OID  

the command i execute is  snmpwalk -v2c -c testsnmp -m
/etc/raddb/RADIUS-AUTH-SERVER-MIB.txt  localhost radius 
 same command is working fine on the old machine.

i searched  for that on google but found nothing .

any one can help ??



What does debug mode (-X) show?  Are there any errors in your snmpd log file?

Kevin Bonner
  



-
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: SNMP error

2008-01-10 Thread A . L . M . Buxey
hi,

known SNMP issues with 64bit and that version of SNMP.
you will need to follow the debug instructions to help debug

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