[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

5183.0. "%MCC-E-SYNCOPEN V1.3 Exporter Problem" by ISIDRO::REJON (FRANCISCO REJ�N @SQO EIS-IS) Fri Jun 11 1993 08:12

	Hi,


	I've a problem starting exporter background process, the process starts 
	but some time later stop with:

%MCC-E-SYNCOPEN, Exporter: error opening synchronization file.
	
	What does it mean?
	What I'm doing wrong?

	The current versions are:

	VMS 5.5-2
	MCC 1.3
	RDB 4.1-0
	CDD 5.0
	DTR 6.0

	Below you can find the logfile.

							Francisco Rej�n.
							DS/NS Spain
							DTN 874-4399.

	

$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$! 
$!                             Copyright (C) 1990
$!           Digital Equipment Corporation, Maynard, Massachusetts.
$! 
$!                            All Rights Reserved.
$!  Unpublished rights reserved under the copyright laws of the United States.
$! 
$!  The software contained on this media is proprietary to and embodies the
$!  confidential technology of Digital Equipment Corporation.  Possession, use,
$!  duplication or dissemination of the software and media is authorized only
$!  pursuant to a valid written license from Digital Equipment Corporation.
$! 
$!                          RESTRICTED RIGHTS LEGEND
$! 
$!  Use, duplication, or disclosure by the U.S. Government is subject to
$!  restrictions as set forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013,
$!  or in FAR 52.227-19, as applicable.
$! 
$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$! 
$!  The information in this software is subject to change without notice and
$!  should not be construed as a commitment by Digital Equipment Corporation.
$! 
$!  DIGITAL assumes no responsibility for the use or reliability of its
$!  software on equipment that is not supplied by DIGITAL.
$! 
$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$! 
$!  Facility:       DEC MCC Exporter Functional Module (FM)
$! 
$!  Abstract:       Background thread server - startup command procedure
$! 
$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$!
$	IF P1 .NES. "" THEN GOTO START_BTS
$ START_BTS:
$!
$!
$! When a system is rebooted background process has to wait
$! until MCC_MTS_PRIV_SHR.EXE and RDBSHR.EXE are installed.
$! This procedure checks if the required images are installed 
$! and wait SLEEPINTERVAL time for another attempt. The 
$! number of attempts is defined in WAITPERIOD.
$!
$ SLEEPINTERVAL = "00:00:30" ! 30 sec
$ WAITPERIOD = 40 ! 
$!
$ COUNT = 0
$!
$ LOOP:
$!
$! suppress messages
$!
$ DEFINE/USER_MODE SYS$ERROR NL:
$ DEFINE/USER_MODE SYS$OUTPUT NL:
$!
$ install list sys$share:mcc_mts_priv_shr.exe
$ SVRT1 = $SEVERITY
$!
$! suppress messages
$!
$ DEFINE/USER_MODE SYS$ERROR NL:
$ DEFINE/USER_MODE SYS$OUTPUT NL:
$!
$ install list sys$share:rdbshr.exe
$ SVRT2 = $SEVERITY
$!
$ IF (SVRT1 .AND. SVRT2) THEN GOTO OKAY
$ OKAY:
$ WAIT 00:00:30
$!
$! end_of wait procedure
$!
$	BTS == "$SYS$SYSTEM:MCC_EXPORTER_FM_BG.EXE"
$	BTS "MCC_SP$EXPORT:MAIN_EXP_DB_1993-06-11.RDB" ""
%MCC-E-SYNCOPEN, Exporter: error opening synchronization file.
$	err:
$		save_$status = ($status.or.%X10000000)
$		set noon
$		GOSUB clean
$	clean:
$		set noon
$		set message /FACILITY/SEVERITY/IDENTIFICATION/TEXT
$		tmp=F$ver(inverproc)
$	RETURN
$		exit 321315066
  SYSTEM       job terminated at 11-JUN-1993 12:54:12.59

  Accounting information:
  Buffered I/O count:             182         Peak working set size:    2074
  Direct I/O count:                80         Peak page file size:      8621
  Page faults:                   2543         Mounted volumes:             0
  Charged CPU time:           0 00:00:01.45   Elapsed time:     0 00:00:40.80
T.RTitleUserPersonal
Name
DateLines
5183.1TOOK::SHMUYLOVICHFri Jun 11 1993 10:1516
	When Exporter Background process starts it creates a child 
 subprocess which is responsible for writing data into RDB. We call it
 a "Writer" process. In order to synchronize its actions with the Writer
 process the Exporter Background creates a file in SYS$SCRATCH:. The name 
 of this file is MCC_EXP_SYNC_xxxxxxxx.TMP where xx...xx is a PID of a 
 Writer process.
 The %MCC-E-SYNCOPEN message indicates that the Exporter Background process
 can not create this file.

	I would recommend to check the logical SYS$SCRATCH and to verify that
 the Exporter Background process has privileges to create a file in the 
 corresponding directory.

	Sam
    
5183.2RUN detach/authorize to run exporter backgroundISIDRO::REJONFRANCISCO REJ�N @SQO EIS-ISFri Jun 11 1993 12:1610
	Thank you Sam for your quick and direct answer, you are correct
	I was starting exporter backgroud as a detached process with
	run /detach , it seems that if you do that without /authorize qualifier
	the logical name SYS$SCRATCH is not defined.



							Francisco Rej�n.
							DS/NS Spain.