[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

4509.0. "Problem enabling Collector AM event sink" by AZUR::BARES (Artigau, un pais pla betch) Mon Feb 08 1993 07:54

	Hi,

I have a customer who is running DECmcc V1.2
He gets the following error when trying to enable the event sink from the FCL

MCC> enable mcc 0 collection_am sink decnet
Failed to execute detached process: Nosuch file or directory
MCC 0 COLLECTION_AM SINK DECnet
Collector AM internal error


Any hint on what it can be ?

Thanks,
Pascale. (dtn 828-5102)
T.RTitleUserPersonal
Name
DateLines
4509.1sink file missing?TOOK::S_KOHoot mon!Mon Feb 08 1993 12:084
    
    please check for the following file:
    
    	/usr/mcc/mmexe/mcc_evc_sink 
4509.2sink file there ...AZUR::BARESArtigau, un pais pla betchTue Feb 09 1993 03:094
Oops, I forgot to give all infos :

Yes/usr/mcc/mmexe/mcc_evc_sink exists, so any other ideas ?
4509.3more info pleaseTOOK::S_KOHoot mon!Tue Feb 09 1993 11:3331
    
    I checked into the code to see the process for enabling the sink; it
    goes as as follows:
    
    	1.  check if the sink management process is already running
    		
    	        ps -aux | grep -c /usr/mcc/mmexe/mcc_evc_sink > mcc_evc_tmp
    
    	    open the mcc_evc_tmp file to check the count written there. 
    	    if (count > 1), the sink management process is already 
    	    enabled - exit with informational message.
    
    	2.  create "start sink" event message
    	
    	3.  post "start sink" message
    
    	    if post returns with "no requestor waiting for event",
    		the "Internal Error" message is returned.
    
    please define the following environment variable:
    
    	% setenv MCC_COLLECTION_AM_LOG 0x01
    
    for more diagnostic messages.
    
    could you please also check the environment ( % env | grep MCC )?
    
    does this problem happen only from this one account?  
    
    can you enable the sink from the iconic map?
    
4509.4Problem resolvedAZUR::BARESArtigau, un pais pla betchWed Feb 10 1993 06:0213
In fact they had moved the mcc_evc_sink file to another directory, and had
redefined MCC_SYS_LOCATION to point to that new directory (rather than /usr/mcc/mmexe)

I've been told that the Collection AM hard-code the path when executing
mcc_evc_sink. The file was not there of course when it came to execute it. 

Of course, it would have been better for them to keep the initial directories and
do links to files they needed to move elsewhere in the system.
Anyway, as a suggestion, won't it be better to use an environment variable to
locate the MCC system location ?

Pascale.
4509.5OversiteTOOK::MINTZErik MintzWed Feb 10 1993 13:4610
MCC_SYS_LOCATION does not point the executables (usually in /usr/mcc/mmexe),
it points to other files (usually in /usr/mcc/mcc_system).

There is a comment in the code (I just checked) indicating that there
should be an environmental variable for the sink location, but it
was not implemented.  If you feel it is important, please submit
a QAR (see note 7).

-- Erik

4509.6Collector AM internal error on VMS and MCC V1.2CUJO::HILLDan Hill-Net.Mgt.-Customer ResidentThu Mar 25 1993 01:1310
    I have a customer who encountered the same problem on a VMS system.  I
    will check the location of the MCC_EVC_SINK.EXE image and will also
    check logicals.
    
    Can you tell me where log files and images SHOULD be?
    
    What else can cause this problem on VMS, other that those mentioned in
    .2/.3 for Ultrix?
    
    -Dan