The cause of the chmod error is just as Gary Boyles guessed, and it is
fixed in NetView for NT 5.1.1
But even while broken in that way, mib2trap should still generate the
correct contents for a baroc file. The chmod occurs AFTER the baroc file
is built. The syntax for mib2trap requires that you pass it at least two
file names and possibly a third:
mib2trap <mib_file_name> <addtrap_output_file_name>
<baroc_output_file_name>
so if you passed it a baroc file name, it should have used it, provided you
did not get a parsing errort as well as the chmod one.
James Shanks
Tivoli (NetView for UNIX) L3 Support
Date: Wed, 31 Mar 1999 16:16:43 -0500
From: "Sharma, Sanjeev" <Sanjeev.Sharma@USA.XEROX.COM>
Subject: Re: Regarding mib2trap !!!
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Hi Gary
i think you are right but how do i generate the file(baroc) using my MIB
info. Do you have any other idea>>> or any patches are avaliable for it....
thanks a lot for your help.
regards
sanjeev
-----Original Message-----
From: Boyles, Gary P [mailto:gary.p.boyles@INTEL.COM]
Sent: Wednesday, March 31, 1999 12:31 PM
To: NV-L@UCSBVM.UCSB.EDU
Subject: Re: Regarding mib2trap !!!
Here's my guess... no facts, just a guess!!!
Sounds like the program was "ported" from UNIX, and the
"chmod" system call was never changed.
The developer was probably using the MKS Toolkit (Unix toolkit)
on NT (which includes chmod), and never ran across the problem.
Regards,
Gary Boyles
-----Original Message-----
From: Sharma, Sanjeev [mailto:Sanjeev.Sharma@USA.XEROX.COM]
Sent: Tuesday, March 30, 1999 10:12 AM
To: NV-L@UCSBVM.UCSB.EDU
Subject: Regarding mib2trap !!!
Hi to all
when i used mib2trap command on my winNT 4.0 command, it gave me error
chmod: WARNING: This program is not supported on windows NT.
Does anyone has any idea about that.
thanks a lot
sanjeev
|