[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

5144.0. "MIB Query Problem on Version 1.3/ULTRIX" by KETJE::PACCO (Gallia divisa est in partes tres) Thu Jun 03 1993 11:49

    I always get an error with the MIB query utility under 
    MCC V1.3 / ULTRIX
    
    mgkk01> mcc_tcpip_mq mgkk01 1 1
    
    tcpip_IO_init returned status = 0
    
    
    mgkk01> ls -ail mcc_tcpip_mq
    200731 -rwxr-xr-x  1 root      1245184 Feb 15 22:55 mcc_tcpip_mq
    
    
    	Anything wrong with this utility ?
    
    	Regards,
    	Dominique.
T.RTitleUserPersonal
Name
DateLines
5144.1MOLAR::YAHEY::BOSEThu Jun 03 1993 14:532
	Please refer to note #5039.
5144.2Image for ULTRIX ?KETJE::PACCOGallia divisa est in partes tresMon Jun 07 1993 12:295
    I've seen note 5039, but where can I find the
    
    "updated" version for "ULTRIX"/RISC ?
    
    Dominique.
5144.3MOLAR::YAHEY::BOSEMon Jun 07 1993 15:042
	MOLAR::YAHEY_USER:[BOSE.PUBLIC]MCC_TCPIP_MQ.EXE_ULT
5144.4Thank You.KETJE::PACCOGallia divisa est in partes tresTue Jun 08 1993 12:351
    Thanks !
5144.5New version, still same problem.KETJE::PACCOGallia divisa est in partes tresWed Jun 09 1993 07:0919
    Although the new version of the query utility I copied, I stil
    have the same problem:
    
    mgkk01> mcc_tcpip_mq mgkk01 1 1
    
    tcpip_IO_init returned status = 0
    
    mgkk01> ls -l mcc_tcpip_mq
    -rw-r--r--  1 root      1183744 Jun  8 18:49 mcc_tcpip_mq
    
    Is that status "normal" or "abnormal" ?  It is exact the same status as
    I got with the query utility distributed with V1.3.
    I executed that utility on my local DECstation (ULTRIX V4.3), on a
    DECnis and on a terminal server.  Al give the same result.
    
    Is the utility wrong or the environment ?
    
    Regards,
    	Dominique.
5144.6MOLAR::YAHEY::BOSEWed Jun 09 1993 11:167
	Are you sure you are running the correct version? I do not see
	any execute permission on the file you copied, so you should get
	"Permission denied". I just tried running the mib query utility
	on my system, and it ran fine.

	Rahul.
5144.7mcc_tcpip_mq runs good now.KETJE::PACCOGallia divisa est in partes tresWed Jun 09 1993 14:3613
    Rahul,
    
    I used to work on VMS for a long time, and this kind of behaviour
    is somewhat misleading.
    
    Yes, the PATH specifies first /usr/mcc/mmexe, and only after that
    my own directory.  Thats why I tought I was executing your file, but in
    fact I executed the old one once more !  Thats also why the
    non-executable file apparently executed !
    
    I still love VMS... I still h... ULTRIX.
    
    Thanks, Dominique.
5144.8It will be perfect in the future!KETJE::PACCOGallia divisa est in partes tresWed Jun 09 1993 14:4545
    Did you run mcc_tcpip_mq on one of our DECserver-90 TL's ?
    
    Here is the output:
    
    mcc_tcpip_mq tgkk02 1 1
    Enter a starting object identifier in dot notation.
    Example: 1.3.6.1.2.1.1<CR>
    OID>  1.3.6.1.2.1.1
    Object ID: 1.3.6.1.2.1.1.1.0.
    Value = 44 45 43 73 65 72 76 65 72 20 39 30 54 4c 20 56 31 2e 31 20 20
    42 4c 31
                                        
    var_bind_list_put returned status = 52875162
    
    
    And if I start from one OID higher...the program loops at the end:
    mcc_tcpip_mq tgkk02 1 1
    Enter a starting object identifier in dot notation.
    Example: 1.3.6.1.2.1.1<CR>
    OID> 1.3.6.1.2.1.1.1.0.1.3.6.1.2.1.1.1.1.
    Object ID: 1.3.6.1.2.1.1.2.0.
    Value = 1.3.6.1.4.1.36.2.15.5.1.3.
    ...
    Object ID: 1.3.6.1.3.20.6.1.4.7.4.
    Value = 1
    
    Object ID: 1.3.6.1.3.20.6.1.4.8.4.
    Value = 1
    
    Request id: 1   Error number: 2   Error index: 1
    ------------------------------------------------
    
    Request id: 1   Error number: 2   Error index: 1
    ------------------------------------------------
    
    Request id: 1   Error number: 2   Error index: 1
    ------------------------------------------------
    
    Request id: 1   Error number: 2   Error index: 1
    ------------------------------------------------
    ....
    
    
    	Dominique.
    
5144.9MOLAR::YAHEY::BOSEWed Jun 09 1993 18:145
	Seems like the agent is looping on a SNMP GetNext operation. Can
	you use the following format instead 

	mcc_tcpip_mq tgkk02 1 0
5144.10I's only a minor problem !KETJE::PACCOGallia divisa est in partes tresWed Jun 23 1993 10:0427
    mcc_tcpip_mq tgkk02 1 0
    Enter a starting object identifier in dot notation.
    Example: 1.3.6.1.2.1.1<CR>
    OID> 1.3.6.1.2.1.1
    Request id: 1   Error number: 0   Error index: 0
    ------------------------------------------------
    
    Object ID: 1.3.6.1.2.1.1.1.0.
    Value = 44 45 43 73 65 72 76 65 72 20 39 30 54 4c 20 56 31 2e 31 20
     20 42 4c 34 34 2d 31 30 20 20 52 4f 4d 20 32 2e 30 2e 30 20 20 4c
    41 54 20 56 35 2e 31 20 20 4c 4f 41 44 20 49 4d 41 47 45 3a 20 4d 4
    e 45 4e 47 31 DECserver 90TL V1.1  BL44-10  ROM 2.0.0  LAT V5.1  LO
    AD IMAGE: MNENG1
    
    
    
     Enter <CR> for lexinext object, N for new object, anything else to
     quit
    
    >>> HERE I GIVE A <CARRIAGE-RETURN>
    
    var_bind_list_put returned status = 52875162
    
    
    	This is not a real problem, but it would be nice not to have it.
    
    Dominique.
5144.11MOLAR::YAHEY::BOSEWed Jun 23 1993 11:206
	Which agent are you talking to? Can you get the data back properly
	from DECmcc? It's quite possible that the agent is returning corrupt
	ASN.1 enoding which the mib query utility cannot handle.

	Rahul.
5144.12DECmcc also has problems with it !KETJE::PACCOGallia divisa est in partes tresMon Jul 05 1993 13:3168
    Rahul,
    
    Sorry for my delay, but last week I was teaching courses, therefore
    I had no time to continue on this problem.
    
    I used a DECserver 90-TL for the MIP QUERY.
    
    To see how it behave, in comparison with an ULTRIX system I gave the
    following two commands:
    MCC> sho snmp tgkk02 all attr
    MCC> sho snmp ngkk02 all attr
    The first on the terminal server, te second on an ULTRIX system.
    
    It seems the agent does something strange !  Should I report this
    to the DEChub group ?
    
    MCC> sho snmp tgkk02 all attr
    
    SNMP tgkk02
    AT 1993-07-05-18:24:36.124 All Attributes
    
                                    Address = 45.0.16.28
                                       Name = tgkk02
                            Registered Name = bc:.gkk.m.tgkk02
                             ipReachability = up
                                  sysUpTime = 337312011
                        CounterCreationTime = 1993-05-27-17:25:56.460
    No response from entity.
                                   Location = -- Attribute Not Available
                        Implementation Desc = -- Attribute Not Available
                         Responsible Person = -- Attribute Not Available
                               Phone Number = -- Attribute Not Available
                               MAIL Account = -- Attribute Not Available
                                    Remarks = -- Attribute Not Available
                                  Text File = -- Attribute Not Available
    MCC> sho snmp ngkk02 all attr
    
    SNMP ngkk02
    AT 1993-07-05-18:25:03.592 All Attributes
    
                                    Address = 45.0.16.22
                                       Name = ngkk02
                            Registered Name = bc:.gkk.m.ngkk02_ip
                             ipReachability = up
                                  sysUpTime = 122280100
                        CounterCreationTime = 1993-06-21-14:45:03.913
                                   sysDescr =
    "ngkk02.bc:DSPERSONAL_DECSTATION:ULTRI
                                              X V4.3 (Rev. 44) System #1"
                                sysObjectID = "1.3.6.1.4.1.36.1"
                                 sysContact = -- Attribute Not Gettable
                                    sysName = -- Attribute Not Gettable
                                sysLocation = -- Attribute Not Gettable
                                sysServices = -- Attribute Not Gettable
                                   ifNumber = 2
                        Read Community Name = ""
                       Write Community Name = ""
                                   Location = -- Attribute Not Available
                        Implementation Desc = -- Attribute Not Available
                         Responsible Person = -- Attribute Not Available
                               Phone Number = -- Attribute Not Available
                               MAIL Account = -- Attribute Not Available
                                    Remarks = -- Attribute Not Available
                                  Text File = -- Attribute Not Available
    
    
    	Regards,
    	Dominique.
5144.13MOLAR::YAHEY::BOSETue Jul 06 1993 16:137
	Dominique,

	You should definitely report the problem to the DEChub people. There
	is a bug in the agent.

	Rahul