[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

4127.0. "Data Collector won't start from rc.local on Ultrix" by BAHTAT::BOND () Mon Nov 23 1992 04:01

Hi,
    
    I find that I cannot get the data collector to start at Ultrix boot
    time.  If I include the command
    
    	manage ENABLE mcc 0 collection_am sink decnet
    
    in rc.local to startup the data collector, I get the error:
    
	MCC-E-MMABORT, target management module thread has aborted.
    
    Any subsequent attempts to startup the data collector interactively
    hang until I kill off the collection_am started by the command in
    rc.local.  Then when I reissue the command again, it works fine.
    
    A colleague wondered whether it had anything to do with multithreading
    because he suspected it might not work properly during system startup. 
    (I don't know why!)  So we took the system down to single user mode;
    all the mcc processes went away, and then we executed the command
    again.  The error we get is:-

	Exception in Mgt Module (id=4), CMA code = 177db005
	MCC-E-MMABORT, target management module thread has aborted.
    
    This does seem like the error we get from rc.local with more detail. 
    
    After mcc fcl exited, I looked and the collection_am module HAD
    started.  I then repeated the command and the fcl just hung.  It did
    control-c ok and said thread termination requested.  Killing off the
    collection_am module and doing the fcl command again just goes back to
    the MMABORT error, ie this is the same behaviour as abive.  Putting the
    system back to multi-user mode fixes the problem as before.  So this
    seems to be the same problem.

regards,

chris
    
T.RTitleUserPersonal
Name
DateLines
4127.1looking into it ...TOOK::S_KOHoot mon!Tue Nov 24 1992 09:151
    
4127.2Same for T1.3 - any fix yet?BAHTAT::BONDThu Dec 10 1992 08:024
    And the problem still occurs with the T1.3 EFT kit which I guess is to
    be expected as it has the same kernel as 1.2.  Any progress with a
    solution - or is the fix to not start the data collector at system boot
    time?
4127.3Same customer, same problem different deccie.PLUNDR::LOWEGWANTED!! A modern day Robin Hood.Wed Jul 21 1993 13:266
    
    
    Still an issue any fix yet ??
    
    
    Gary Lowe NUK CSC comms..
4127.4Anybody found away around this in last 3 months.PLUNDR::LOWEGWANTED!! A modern day Robin Hood.Fri Oct 15 1993 09:518
    
    
    Still need a solution to allow automatic start of collection_am.
    
    
    Any news ??
    
    Gary Lowe MCS Nets&Comms.
4127.5Don't know of any progressTOOK::MINTZErik MintzFri Oct 15 1993 13:328
I hate to sound like a broken record, but this is exactly why
we request that customer problems come through SPR/CLDs.
The person who responded in .1 is no longer with the group
responsible for DECmcc.  This issue was lost in the handoff,
and since notes is not a reliable way to track problems, there
has been no progress since (as far as I know).

-- Erik
4127.6Thankyou.PLUNDR::LOWEGWANTED!! A modern day Robin Hood.Mon Oct 18 1993 08:387
    
    
    
    Ok Erik, no problem I will SPR/CLD it. Thanks for responding.
    
    
    Gary Lowe MCS Nets&Comms.
4127.7Simple......RACER::daveAhh, but fortunately, I have the key to escape reality.Thu Dec 09 1993 14:2219
Well, an understanding of ultrix helps, but I have done this before, 
and it is as simple as adding a line to the end of /etc/rc.local

The only thing to remember is that rc.local does not execute in the "context"
of a user, and does not have all the environmental symbols defined, so, 
simply provide that context....

su - <mcc_account_name> -c "manage ena mcc 0 col sin dec"

Flame on

	This has nothing to do with MCC, but is a lack of understanding
	about Ultrix.  I do get really tired of hearing people complain
	about all sorts of things and blaming it on the wrong software
	package because they do not take the time to do a little work
	and and figure out where the problem really is.  Its not rocket 
	science.

Flame off
4127.8PLUNDR::LOWEGWANTED!! A modern day Robin Hood.Mon Dec 13 1993 09:5522
    
    If you had done it before why did you take so long in offering help.
    
    Engineering came up with the fix on the 9th of December also..
    
    Here is their solution..
    
    This should be placed at the end of rc.local or it should be sourced
    there.
    
    [ -f /usr/mcc/mmexe/mcc_collection_am ] && {
            echo -n ' Starting the collector for MCC ' >/dev/console
            sleep 30
            su - root -c "manage enable mcc 0 coll sink dec" >/dev/console
    2>&1
            echo -n ' Started collection ' >/dev/console
    }
    
    So as you can see RACER::dave is correct and I have tested before
    passing it onto the customer..
    
    Gary Lowe CSC Warrington Nets&Comms.
4127.9RACER::daveAhh, but fortunately, I have the key to escape reality.Wed Dec 15 1993 09:536
RE:

>>   If you had done it before why did you take so long in offering help.
    
Comments like that assure that any future help will not be offered in 
the future.
4127.10Do we work for the same company ????PLUNDR::LOWEGWANTED!! A modern day Robin Hood.Fri Dec 17 1993 08:014
    
    Suit yourself, at the end of the day, its the customer that suffers..
    
    Gary Lowe CSC Warrington..