[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

723.0. "Problem with the MCC_HISTORIAN_BACKGROUND.COM" by STKHLM::AMARTENSSON (smooth as ice) Thu Feb 14 1991 05:32

When I submit MCC_HISTORIAN_BACKGROUND.COM it jus runs for a short while and
then crashes. I found the following errormessage in the batch-logfile:


$       IF P1 .NES. "" THEN GOTO START_BTS
$ START_BTS:
$!
$       BTS == "$SYS$SYSTEM:MCC_HISTORIAN_FM_BG.EXE"
$       BTS ".ALLEN"
%QFILE-F-CREATERR, unable to create or open queue file
%QFILE-E-CREATERR, unable to create or open queue file
  DECMCC       job terminated at 13-FEB-1991 13:17:17.95

What queuefile does this refer to?

Thanks in advance!

Anna-Lena

T.RTitleUserPersonal
Name
DateLines
723.1Check domain directory protectionTOOK::R_LANEThu Feb 14 1991 08:5119
The "queue" file is used by the Historian to pass information about
recording tasks to the background process.  A queue file is created for
each domain.

The queue file is created by the background process in the domain's
directory.  In your case, the background process was unable to create the
queue file, possibly due to protection violation or insufficient disk
space.

You can find out the domain directory using the following MCC command:

    show domain .ALLEN all characteristics

Check the directory to make sure you have read/write access to it.  Also,
verify that the disk has sufficient free space; the queue file requires
only 5 disk blocks.


Roy
723.2Couldn't find any problems there...STKHLM::AMARTENSSONsmooth as iceThu Feb 14 1991 10:3024
Domain .ALLEN is in a directory who's owner is DECMCC, and all the files
in this directory is owned by DECMCC, and DECMCC has access to all
files in it. 

The batch queue, HISTORIAN$BATCH, has the following characteristics:

    /BASE_PRIORITY=3 /JOB_LIMIT=6 /OWNER=[DECMCC] /PROTECTION=(S:E,O:D,G:RW,W)

And the submit command looks like this:

$ SUBMIT /USER=DECMCC /RESTART /PARAM=(.ALLEN) /QUEUE=HISTORIAN$BATCH -
        SYS$MANAGER:MCC_HISTORIAN_BACKGROUND.COM

The process DECMCC do have all privlieges enabled (at the moment).

The device has 873768 free blocks and there is no Diskquota on it.


I do not understand this...

Are there any more suggestions about what to try next?

Anna-Lena
723.3I got mine to workMANIS2::MOELKR�nar M. Moelk von ICELAND.Wed Feb 20 1991 06:1810
    
    I had this problem this morning and I found out that using 
    logical names are making the problems, that is the directory
    of the DOMAIN.  I was using logical name that was pointing
    on another disk and directory.  I could do all kind of file access
    over decnet default with the logical name.  But then I changed the
    directory pointer to the default, SYS$SYSROOT:[SYSMGR], and
    the HISTORIAN background is now working and RECORDING to.
    
    Runar.
723.4Logical name directory spec. needs ':'TOOK::R_LANEWed Feb 20 1991 13:0224
Re:  Note 723.3 by R�nar M. Moelk
    
>    I had this problem this morning and I found out that using 
>    logical names are making the problems, that is the directory
>    of the DOMAIN.

Yes, this is also the cause of Anna-Lena's problem with the Historian. She
created the domain .ALLEN with the directory specification MCC_MAPS, which
is a logical name.  When creating the file specification for the queue
file, the Historian simply appends the file name to the domain's directory
specification.  Because the directory specification is a logical name
without the colon (:), it incorrectly became part of the file name.

You can use a logical name for the domain's directory specification, but
you have to make sure that you include the colon when specifying the
directory in the CREATE DOMAIN command.  In fact, the Domain functional
module currently doesn't check the syntax of the directory specification,
so you have to be careful to enter it correctly when you create the domain.

I have submitted QAR #529 in MCC_INTERNAL to make sure this problem gets
addressed.


Roy