[SNMP4J] SNMP4J command line tool got "invalid argument" error on solaris 10

Jiang bearie66 at gmail.com
Thu Jan 25 15:28:53 CET 2007


Hi Frank,

java -jar snmp4j.jar worked just fine for me.

Thanks!

JL

On 1/24/07, Frank Fock <fock at agentpp.com> wrote:
> Hi Jiang,
>
> if the binary for Solaris does not work, you
> can always use "java -jar snmp4j.jar" instead.
>
> Best regards,
> Frank
>
> Jiang wrote:
> > Hi Frank,
> >
> > In fact I have tried a couple of command line utilities from the
> > sample, like sending traps, listening to traps and even tried command
> > line without any arguments, because I tried the same on linux and it
> > gave me the help info. But on solaris 10, I always got this "Invalid
> > argument" error.
> >
> > Thanks!
> >
> > Best regards,
> > Jiang Lei
> >
> >
> > On 1/23/07, Frank Fock <fock at agentpp.com> wrote:
> >> Hi,
> >>
> >> If you get an invalid argument exception then you most likely
> >> specified an argument in an invalid way. In order to be able
> >> to help you, we would need to command line you used and information
> >> about what you tried to accomplish.
> >>
> >> Best regards,
> >> Frank
> >>
> >> Jiang wrote:
> >> > Hi,
> >> >
> >> > I am using snmp4j command line tool on sunOS 5.10, but I got Invalid
> >> > argument error each time I was trying to execute it.
> >> >
> >> > The snmp4j command line tool I am using is 1.8RC1, in fact I spotted
> >> > the same problem when using 1.7.
> >> >
> >> > SunOS is: SunOS 5.10 Generic_Patch_118844-30 i86pc i386 i86pc.
> >> >
> >> > Any ideas about this, or if solaris 10 is not supported at the moment?
> >> >
> >> > Thanks!
> >> >
> >>
> >> --
> >> AGENT++
> >> http://www.agentpp.com
> >> http://www.mibexplorer.com
> >> http://www.mibdesigner.com
> >>
> >>
> >
> >
>
> --
> AGENT++
> http://www.agentpp.com
> http://www.mibexplorer.com
> http://www.mibdesigner.com
>
>


-- 
Regards,
Jiang Lei



More information about the SNMP4J mailing list