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

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

3484.0. "ADS and NOARCAREA and VMGETFATAL, LIB$GET_VM ..." by VNABRW::EHRLICH_K (I know what I want...) Tue Nov 02 1993 13:19

    Hi,
    
    	after a long illness I'm now back in my office. And I've only one
    big problem with a customer and archiving!
    
    We're using ALL-IN-1 V3.0-1 GERMAN LLV only.
    
    Problem is:
    
    Customer uses ADS housekeepingprocedure. Everything seems be good, but
    at a particular User (->SCHUSTER) ADS loops and ends with an 
    %OA-F-VMGETFATAL, LIB$GET_VM failure, 416 bytes at 005A0000 - OASAR#1
    -LIB-F-INSVIRMEM, insufficient virtual memory
    error.
    
    Below you'll find parts of the logfile. Please can you have a look on
    it and can you give some support here, I don't know where these error-
    messages come up. (%OA-W-NOARCAREA)
    
    Many thanks in advance
    
    Best regards
    Charly_from_CSC_Vienna
    
    
Ensure the form libraries are open
Preset status values
See if we need to shut down - and store the result
Get the name of the submitter from the schedule file
Check that the submitter in the schedule file still
exists in the profile
Submitter is a valid account entry
Verify that the submitter has a VMS account entry in the profile
Verify that the submitter's VMS account is still valid
See if the submitter holds VMS identifier OA$MANAGER
Passed security checks - submitter has appropriate identifier(s)
Single run only - frequency set to zero or null
Set the job parameters
Procedure completed - exiting SMJACKET.SCP
%SMJACKET-I Commencing batch execution of utility type "ADS" at  1-NOV-1993 00:0
5:05.80
%SMJACKET-I Invoking common START_BATCH procedure
%START_BATCH-I Performing Start batch job procedures for "ADS"
%START_BATCH-I SYSPRV privilege enabled
%START_BATCH-I performing %START_BATCH exit and cleanup processing
%START_BATCH-I processing completed ok for %START_BATCH
%SMJACKET-I Invoking Utility command file "OA$LIB:ARCHIVE.COM"
SYSPRV gew�hrt. Die Archiv-Wartungsprozedur wird jetzt ausgef�hrt.

*** Protokoll f�r Archiv-Wartungsprozeduren 01.Nov.1993 ***

*** Beginn: 00.05 ***

******
Bearbeitetes Fach - [A1$SCRIPT]STANDARD
Abteilung         -
******
...
...  usw.
...
******
Bearbeitetes Fach - [SCHUSTER]STANDARD
Abteilung         - I/B/7
Bearbeiteter Ordner - ASBEST
Das Dokument 000069 SCH NL Zusammenfass. Erl�uterungen/Verordnungen wird archivi
ert.
%OA-W-NOARCAREA, In der Kommandozeile wurde kein Dateiname f�r die Archivierung
angegeben.
Das Dokument 000055 SCH NL Erl�uterungen wird archiviert.
%OA-W-NOARCAREA, In der Kommandozeile wurde kein Dateiname f�r die Archivierung
angegeben.
Das Dokument 000054 SCH NL Verordnung wird archiviert.
%OA-W-NOARCAREA, In der Kommandozeile wurde kein Dateiname f�r die Archivierung
angegeben.
Das Dokument 000038 SCH NL Redeunterlagen/Asbest/Formaldehyd wird archiviert.
%OA-W-NOARCAREA, In der Kommandozeile wurde kein Dateiname f�r die Archivierung
angegeben.
Das Dokument 000035 SCH NL Konsument und Asbest wird archiviert.
 Bu
%OA-F-VMGETFATAL, LIB$GET_VM failure, 416 bytes at 005A0000 - OASAR#1
-LIB-F-INSVIRMEM, insufficient virtual memory
%SMJACKET-I Invoking common END_BATCH procedure
%END_BATCH-I Performing End batch job procedures for "ADS"
%OA-I-LASTLINE,
%OA-I-LASTLINE,
%END_BATCH-I Deleting old log files "OA$LOG:ARCHIVE_SM.LOG*;*" before date " 5-M
AY-1993"
%END_BATCH-I Purging old log files "OA$LOG:ARCHIVE_SM.LOG*;*" to "01" versions
%END_BATCH-I Total of 1 logfiles, purge to 01, means delete 0
%END_BATCH-I Deleting old log files "OA$LOG:ARCHIVE_SA.LOG*;*" before date " 5-M
AY-1993"
%END_BATCH-I Purging old log files "OA$LOG:ARCHIVE_SA.LOG*;*" to "01" versions
%END_BATCH-I Total of 0 logfiles, purge to 01, means delete -1
%END_BATCH-I performing %END_BATCH exit and cleanup processing
 %SMJACKET-I close lockfiles
%SMJACKET-I %SMJACKET facility exiting due to error
%SMJACKET-E processing completed with an error for %SMJACKET
%EMD-I-USESEND, Versenden Sie diese Nachricht, wenn Sie sie abgeschlossen haben.
%EMD-I-MESSENT, Die Nachricht wurde versendet.
%EMD-I-PUTINWB, Im Papierkorb abgelegte Dokumente: 1.
  ALLIN1       job terminated at  1-NOV-1993 04:57:36.88
    Accounting information:
  Buffered I/O count:          616008         Peak working set size:    3000
  Direct I/O count:            544678         Peak page file size:     38879
  Page faults:                  34371         Mounted volumes:             0
  Charged CPU time:           0 01:30:35.21   Elapsed time:     0 04:52:36.82
    
T.RTitleUserPersonal
Name
DateLines
3484.1QueriesIOSG::MAURICEDifferently hirsuteTue Nov 02 1993 13:5130
    Hi,
    
    Some questions:
    
    1. Does it consistently fail on user SCHUSTER, or will it fail
       somewhere else if you run it again? If no then go to question 4.
    
    2. Run TRU for this user and see if there any errors.
    
    3. Does you customer use the Department field in the profile? If not 
       then you could temporarily put all other users in DEPTA and 
       SCHUSTER in DEPTB, and run ADS for DEPTA, and see if it
       completes. Then try DEPTB.
    
    4. The actual error message %OA-W-NOARCAREA comes from the
       ARCHIVE_DOCUMENT function and usually means there is something wrong
       with the archive area. Can the user SCHUSTER use ADN to archive the
       documents successfully? 
    
    5. Type SM MAR and inspect the open archive area. Check the archive
       area logical is OK.
    
    6. Do a $DIR OA$LIB:ARC* and $DIR OA$DO:ARC*.SCP and see if there any
       customisations. 
    
    7. I hope you are fully recovered!
    
    Cheers
    
    Stuart
3484.2Oh, great...VNABRW::EHRLICH_KI know what I want...Tue Nov 02 1993 14:3931
    Stuart,
    
    	... what a great reponse.
    
    I've also looked for the errormessage and found that the problem must
    be in OA$DO:ARC_PROCESS_FOLDER.SCP
    
    .if #arc_sts eq #not_enough_diskquota then -
      .goto get_next_document

    oa$fao OA$_ARC_ARCHIVE_DOC, "#message", #adkey:6:30, #arc_title
    .text #message

    archive_document  #arc_name
    .if oa$status eq 0 then -
      do arc_signal_error \-
      get #arc_sts = #archive_error -
    else -
      increment #arc_count 

    Hhmmm, well, customer will run ADS only for SCHUSTER account tonight,
    to see if there's a problem only with that particular account.
    
    I'll do what you've suggested.
    
    Stuart, yes my recoveryphase (shadowcopy or updatebrain) is done. I'm
    really happy to be back here. Thank you much!
    
    Cheers
    Charly
    
3484.3 ... And here're my answers ...VNABRW::EHRLICH_KI know what I want...Wed Nov 03 1993 11:0769
Stuart,

here're my answers to your queries:

>    1. Does it consistently fail on user SCHUSTER, or will it fail
>       somewhere else if you run it again? If no then go to question 4.

It fails with other accounts, too. Customer has done a test with his 
account only, just the same result. NOARCAREA!!! But no LIB$GET_VM errors.
    
*** Protokoll f�r Archiv-Wartungsprozeduren 03.Nov.1993 ***
*** Beginn: 10.00 ***
******
Bearbeitetes Fach - [ERTL]STANDARD
Abteilung         - ARCHIVTEST
------
Bearbeiteter Ordner - TEST
Das Dokument 000368 KOPF BMGSK wird archiviert.
%OA-W-NOARCAREA, In der Kommandozeile wurde kein Dateiname f�r die Archivierung
angegeben.
Das Dokument 000296 dusek2 wird archiviert.
%OA-W-NOARCAREA, In der Kommandozeile wurde kein Dateiname f�r die Archivierung
angegeben.
Das Dokument 000294 dusek wird archiviert.
 Buf
%OA-W-NOARCAREA, In der Kommandozeile wurde kein Dateiname f�r die Archivierung
angegeben.
Das Dokument 000293 test wird archiviert.
%OA-W-NOARCAREA, In der Kommandozeile wurde kein Dateiname f�r die Archivierung
angegeben.
Das Dokument 000201 Zeichensatz-FAX wird archiviert.
%OA-W-NOARCAREA, In der Kommandozeile wurde kein Dateiname f�r die Archivierung
angegeben.
Das Dokument 000200 Testfax - vorl.endg�lt.Version wird archiviert.
%OA-W-NOARCAREA, In der Kommandozeile wurde kein Dateiname f�r die Archivierung
angegeben.
TEST : 6 zur Archivierung markierte Dokumente - 0 archivierte Dokumente
***  1 bearbeitete F�cher - 1 bearbeitete Ordner ***
*** 0 archivierte Dokumente - 0 archivierte Bl�cke ***
*** Ende: 10.03 ***
*** Ende des Protokolls f�r Archiv-Wartungsprozeduren ***
 
>    4. The actual error message %OA-W-NOARCAREA comes from the
>       ARCHIVE_DOCUMENT function and usually means there is something wrong
>       with the archive area. Can the user SCHUSTER use ADN to archive the
>       documents successfully? 

Yes, ADN (in German SOA) works fine. Documents are archived. 

>      5. Type SM MAR and inspect the open archive area. Check the archive
>       area logical is OK.

It should be ok, there are 5 documents in it and approx. 600000 (!!!) Blocks
free.

But which logical do you mean ? 
    
>    6. Do a $DIR OA$LIB:ARC* and $DIR OA$DO:ARC*.SCP and see if there any
>       customisations. 
    
HHmmm, there're NO customisations for archving. 

The doesn't archive with ADN (german:SOA) or ADL (german:DSA). No! The 
manager uses only Enforced Archiving with 180 days delay.

What else can I check now, it doesn't seem to be so easy to find the problem. 

Best regards
Charly
3484.4PEARS::GRAEFGhinees hies good for you.Wed Nov 03 1993 13:165
    Hi Charly,
    please check if the devices specified for the archive areas
    are by any chance rooted logicals.
    Cheers,
    	helmut
3484.5Next testIOSG::MAURICEDifferently hirsuteThu Nov 04 1993 09:2247
    Hi,
    
    Helmut may well be on the right track.
    
    The script ARC_CHECK_AREA.SCP defines a logical for the archive area,
    of the form  ARCHIVE$AREA_nnnnnn where nnnnnn is the archive area
    number. 
    
    In the archive_document function it opens the data set
    ARCHIVE_SETS_DATA and gets the DIRECTORY field. It checks that the
    contents of this is the same as the same as the translation of the
    logical defined above. If the result is different then you get the
    error you got.
    
    It's interesting to note that this script (ARC_CHECK_AREA.SCP) is
    called by the ADS housekeeping procedure, but *not* by the interactive
    ADN (archive document now function). 
    
    So what I recommend you do next is to exit and re-enter ALL-IN-1 and
    run the following script:
    
        get #success = 1
        get #no_run_key = 10
        get #archive_area_full = 12
        get #no_active_areas = 14
        get #blank_folder = 16
        get #not_enough_diskquota = 18
        get #cannot_select_doc = 22
        get #archive_error = 24
        get #file_not_found = 26
        get #no_run_rec = 28
        get #bad_drawer = 30
    
    get #arc_dir_lim="1000"
    get #manager="MANAGER"
    do ARC_CHECK_AREA
    
    When this has run type <SPA and then $SHOW LOG ARC*
    
    This will show the translation of the archive logical. Now back to
    ALL-IN-1 and type <FORM ARCHIVE_SETS_DATA and bring up the record for
    the arcive area. The DIRECTORY field should have the same value as the
    logical, but does it?
    
    Cheers
    
    Stuart
3484.6< Solved ! >VNABRW::EHRLICH_KI know what I want...Thu Nov 04 1993 09:3023
    Helmut&Stuart,
    
    	>please check if the devices specified for the archive areas
        >are by any chance rooted logicals.
    
    That was a good idea. I logged into customers system to check
    everything. I've looked at the archive_areas and didn't see anything
    wrong. 
    
    It was simple DUA5:[AIOV30_ARCHIV1].
    BUT ...
    DUA5 was not a device name it was a logical pointing to $1$DUA5:
    AND
    it was NOT defined /system/exec/trans=(conc,term)
    it was defined only /system/exec.
    After correcting this logical everything's fine - I've done a quick
    test to see if it's really working.
    
    Thank y'all for your good ideas!
    
    Best regards
    Charly