[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

540.0. "Problems with PDAF CAB$PDAF - error reading Prolog" by GIDDAY::SETHI (Man from Downunder) Wed Apr 22 1992 07:55

    G'day,
    
    A customer (as in note 528 but different user account) has a problem with
    a users PDAF the TRU Housekeeping routine detected the following problem
    :-(
    
    error opening daf.dat file - acp file access failed
    
    When the user tries to create a document they get :-(
    
    error opening file cabinet file "CAB$PDAF" - error detected while reading 
    prolog
    
    When you do a directory/full the 
    
    File Organisation: Indexed  (should have been Indexed, Prolog 3, using 1
    				 key)
    Global buffer count: 0
    
    The following steps were taken to recover the PDAF :-)
    
    1. convert/fdl=oa$lib:pdaf daf.dat daf.new resulted in errors
    
    	%CONV-F-OPENIN, error opening DAF.DAT as input
        -RMS-F-RPL, error detected while reading Prolog
        -SYSTEM-F-FORCEDERROR, forced error flagged in last sector read
    
    2. analyze/rms/check daf.dat resulted in the following 
    
    	*** VBN 1 thru 168 Prolog block checksum is invalid.
        *** Attempted to read block with invalid VBN 1.
        Unrecoverable error encountered in structure of file.
    
    	The analysis uncovered 161 errors
    
    3. create/fdl=oa$lib:pdaf daf.dat and customer ran the TRU HK. I was
       hoping that the procedure would rebuild PDAF when run for that user,
       it didn't work.
    
       The following error message was written to the logfile :-(
    
       %OA-W-SUBTERM, Error occured in subprocess "000006B4"
       %NONAME-W-NOMSG, Message number 6F228E80
    
       The lexical function f$message does not give any more information.
    
       Phase 2 and 3 did not run due to the error in Phase 1.
    
    Any more ideas about recovering the DAF.DAT ?
    
    I have asked the user to run the PT Housekeeping procedure to see if it
    reveals problems with other user accounts.  The customer does a
    standalone backup and restore once a week, I have asked him to do a
    analyse/disk/repair on his disks.  The reason being that he has had too
    many problem lately and I am just trying to eliminate as many
    possiblities.
    
    Thanks
    
    Sunil 
T.RTitleUserPersonal
Name
DateLines
540.1$BACKUP...AIMTEC::VOLLER_IGordon (T) Gopher for PresidentWed Apr 22 1992 22:3132
Sunil,

	If the files prolog is corrupt then save using $PATCH I know of
	no utility to fix it.

	Best bet is to go back to BACKUP. Shared documents will have entries
	in an SDAF and should have no PDAF entries. 

	Private documents can be located via the DOCDB and dummy PDAF entries
	built.  For example :-

		<FOR CAB$ WITH .DAPOINTER = "P" DO GET FILENAME

		Create a temporary PDAF record (C from WP etc)

		$ OPEN/READ/WRITE/SHARE DAF DAF.DAT !($BACKUP DAF)
		$ READ DAF DUMMY_REC !(Record for temporary PDAF record)

	Then for each filename identified above

		$ NREC = DREC
		$ NREC[0,40]:==filename
		$ WRITE DAF NREC

	This only needs to be done for private documents created since the 
	last $BACKUP.

	Hope this helps ...

Cheers,

Iain.
540.2Running TRU should have recovered PDAF for meGIDDAY::SETHIMan from DownunderThu Apr 23 1992 08:4942
    Iain,        
    
    I read the ALL-IN-1 Management Guide ALL-IN-1 Housekeeping page 9-31.
    
    In table 9-13 it say's the following 
    
    Error			Repair
    
    DOCDB record without        PDAF record created
    PDAF record
    
    So was I wrong to assume the following
    
    1. CREATE/FDL=OA$LIB:PDAF DAF.DAT
    2. Then run the TRU only for that user so that all the DAF pointers are
       recovered as stated.
    
    I did just that and I got the problem as in point 3. in the base note.
    
    >3. create/fdl=oa$lib:pdaf daf.dat and customer ran the TRU HK. I was
    >   hoping that the procedure would rebuild PDAF when run for that user,
    >   it didn't work.
    >
    >       The following error message was written to the logfile :-(
    >
    >       %OA-W-SUBTERM, Error occured in subprocess "000006B4"
    >       %NONAME-W-NOMSG, Message number 6F228E80
    >
    >       The lexical function f$message does not give any more
    > 	    information.
    >
    >       Phase 2 and 3 did not run due to the error in Phase 1.
     
    Have I misunderstood something ?  Because it looked to me to be the
    best and easiest solution to the problem and the customer would not
    find it too difficult to do.  I am not doubting your solution at all I 
    just thought that an empty DAF.DAT would do the job reading the
    documentation.
    
    Thanks
    
    Sunil
540.3Some things to check ...AIMTEC::VOLLER_IGordon (T) Gopher for PresidentMon Apr 27 1992 22:4626
    Sunil,
    
    	Yes. What's in the manual should work (ish). However, any useful
    	extended document attributes (TOs, CCs, etc.) will be lost. It
    	may be that all the entries in the PDAF were for documents rather
        than unsent mail etc. In this case there are few extended
    	attributes to lose (LANGUAGE).
    
       	As to why it isn't working for you - I'm not sure. Here's some
    	things to check :-
    
    		o	Make sure that you created the new PDAF in the 
    			correct location (OAUSER:DAF.DAT) with the right
    			protections etc.
    
    		o	Check that the DOCDB is sound ($ANAL/RMS)
    
    		o	Check for errors in the A1SUB.LOG created by 
    			TRU ([ALLIN1.MGR]A1SUB.LOG)
    
    		o	If necessary turn all tracing on and post a pointer
    			to the trace log.
    
    Cheers,
    
    Iain
540.4Story of the creeping deathGIDDAY::SETHIMan from DownunderThu Apr 30 1992 09:4041
    G'day,
    
    I could not recover DAF.DAT because the files PROLOG was missing and
    RECOVER failed.  Could someone explain what is PROLOG ?
    
    Now here is the story of the creeping death !!
                        
    See note 528 deals with the DOCDB.DAT problems on the same customer
    site.
    
    I had asked the customer to do a analyze/disk/repair <disk_with_probs>:
    a file was recovered.  The customer ran the PT Housekeeping procedure
    and no problems were reported.  However when he ran the TRU
    Housekeeping procedure it died as reported in this topic.  More user
    filing cabinets and pdaf's were getting corrupted.  The customer was
    convinced that it was the TRU HK that had caused the problem (blame it
    on DEC).
    
    However he informed us later that he had 3rd part disks installed and
    the hardware engineers said that analyze/disk/repair may not have
    worked.   They asked the customer to do analyze/disk/read and the
    following error showed up :-(
    
    	    17 x forced errors
            5 x bad headers
            5 x bad highwater
            100s bad fidnum
            100s bad dir entries
            blocks incorrectly allocated
            deleted files marked busy
     
    The customer had a corrupted disk drive.  I hope he feels a bit
    embrassed now because TRU HK certainly did not corrupt the DOCDB's and
    PDAF's.
    
    I just thought that I would let you know what happened it might be
    useful to check the disk using analyze/disk/read if this ever occurs.
    I'll let you all know what happens when you run the TRU to recover the
    PDAF.DAT.
    
    Sunil
540.5PROLOG absolutely essential !!AIMTEC::VOLLER_IGordon (T) Gopher for PresidentThu Apr 30 1992 19:5712
    Sunil,
    
    	The PROLOG of an indexed file is located in the first block of the
    	file. It contains pointers to the file's area and key descriptors
    	and therefore is absolutely required for any RMS processing.
    
    	If the PROLOG is corrupt I know of no tool to fix it apart from
    	$PATCH.
    
    Cheers,
    
    Iain.
540.6Nothing could be done for this DAF.DATGIDDAY::SETHIMan from DownunderTue May 05 1992 07:4817
    G'day
    
    The final chapter, the DAF.DAT is unrecoverable.
    
    I talked to one of the RMS gurus we did the following :-
      
      $ dump/blocks=(count:1) daf.dat as per the Stars Article and the
       PROLOG entry was beyond repair.
    
    Therefore PATCH could not fix the problem.
    
    The Stars article is called :-)
    
    83-Error message "Prolog block checksum is invalid" in indexed file 
    
    Sunil