DFcmpSeq
— Determine the appropriate values for each
.seqYYWW file
DFcmpSeq
This command must be run by user datafax or root.
DFcmpSeq verifies the contents of the sequence files maintained by DFdiscover
in the /opt/dfdiscover/work directory.
It verifies for each file that the number
stored in the file is:
greater than the highest sequence number assigned to a file in the TIFF archive directory (by any daemon)
greater than the highest sequence number referenced in the DFdiscover
maintained fax_log file
In unusual circumstances it may be that a sequence file cannot be updated by DFdiscover when it should be. This can subsequently lead to problems processing incoming faxes because new sequence numbers assigned by DFmaster.rpcd overlap with previously used sequence numbers. Incoming fax processing will fail and messages will be logged while this condition persists. DFcmpSeq must be used in this case to determine what the correct values are for the sequence files.
Typically this command is required only in circumstances where a sequence file has been accidentally deleted and its contents need to be re-created.
DFcmpSeq exits with one of the following statuses:
0 | The command was successful. |
2 | The command failed because the configuration of the incoming daemon could not be read. |
Example 4.5. Report on the current status of the sequence files
In this example, DFcmpSeq finds two problems. The solutions are to insert
286 in
/opt/dfdiscover/work/.seq9245 to fix the first problem and
3 in
/opt/dfdiscover/work/.seq9401 to fix the second problem.
# DFcmpSeq
checking daemon 1, configuration file /df/lib/DFinbound.1...
Checking archive directory /archive/g3...
checking YYWW 9618...
checking YYWW 9621...
checking YYWW 9622...
checking YYWW 9604...
checking YYWW 9605...
checking YYWW 9606...
checking YYWW 9607...
checking daemon 2, configuration file /df/lib/DFinbound.1...
Checking .seq files...
Checking fax_log...
YYYY/WW Archive Faxlog SeqFile Error
1992/45 0 285 279 FAXLOG > SEQFILE
1994/01 2 0 0 ARCHIVE > SEQFILE