The file /updtmp/.genbkupCHK contains information on when the last BKUP:ODD and
COPY:PTN
were done. The
information is then used to decide if the restart option may be allowed. If either or both were done within last 24
hours, certain restart options are offered in the initial menu (provided other conditions are met). The
/tmp/.genbkupLOCK (and /tmp/.genbkupLINK which is linked to .genbkupLOCK) are used for concurrency control to
detect already running GENBKUP process.
The file /tmp/GBtape.hst is created to record tape drive test history. Just before a tape is written, the tape drive and
the tape is tested to ensure it is writable. Also if the tape was previously used, the header information is read in to
inform the user of the contents if possible. During this test, information available at each step is written to the
/tmp/GBtape.hst file. The file is not removed at the end of GENBKUP so that it can be read by the user if needed.
5.10.4.6 If GENBKUP Terminates Abnormally
In this section, some common cases of GENBKUP abnormal termination are described along with what may be
done to correct the situation. If the suggested steps fail to correct the situation, seek next level of technical
assistance.
Terminal Hung Up
When poke 195 is used (rather than
RCV:MENU:GENBKUP
message), the system (not GENBKUP) creates
a file under /tmp called pipe_x (x being the name of the terminal such as ``l'' for ttyl). This file is removed if
the program exits (normally or abnormally); however, if an abnormal interrupt or a system init occurs, the file
may be left behind. If the file already exists when poke 195 is entered from the same terminal, the terminal
may be hung up or GENBKUP may not be able to start. If that happens, try the following: remove the pipe file
(for example, /tmp/pipe_l); remove the tty controller for the terminal; then restore the tty controller and the tty;
and then restart GENBKUP. Note that pokes 199, 198, and 196 will also have the same problem under a
similar circumstance (that is, any of these pokes can leave the pipe file behind under similar circumstances
and any of these pokes will make the terminal to be hung up if the pipe file is left behind).
POPEN SUM ERROR
GENBKUP uses system resource called pipe [via popen()] and since pipe is a limited resource, popen()
sometimes fails (you will see a message
``POPEN SUM ERROR ...''). There is a limited number of pipes that can be in use at one time and if there
are many other processes that also use pipes, the chance of popen failing is increased. If that happens, try
the following: check to see if the pipe-file (see previous ``Terminal Hung Up'') is left behind in /tmp, if yes,
remove it; remove the tty controller for the terminal where GENBKUP aborted, then restore the tty controller
and the tty; and restart GENBKUP. [If popen() failed on a /updtmp/.GB* file, they may be left behind, but this
will not affect the next GENBKUP run.]
Input Message Failure
If GENBKUP aborts due to failed input message, the failed input message is printed on the ROP. The cause
of the failure must be investigated and corrected before restarting GENBKUP. In many cases, corrective
actions to take can be found in 235-600-750,
Output Message Manual
, pages for the output message that
reported the failure. In general, GENBKUP has no control over failures of input messages, and the cause of
failure is unrelated and unknown to GENBKUP.
For example, if
VFY:FILE,FLIST="/no5text/bkup/CRCfile"
fails, first, look up the
Output Message Manual
``VFY FILE'' page and learn what the failure means. Then take corrective actions accordingly. For example, if
the VFY failure was due to a crcvalue mismatch, this means that the stored crcvalue and the calculated
crcvalue did not match for the file mentioned in the failure message. The VFY command calculates crcvalue
for each file listed in /no5text/bkup/CRCfile and then compares it against the value stored in the file
/.crcvalues. A mismatch means that the file currently on the switch is not identical to the same file when the
stored crcvalue was generated. The file may be corrupted, or private updates or overwrites in the system may
235-105-210
October 1999
Copyright © 1999
Page 38
Summary of Contents for 5ESS-2000
Page 96: ...235 105 210 October 1999 Copyright 1999 Page 2 ...
Page 184: ...235 105 210 October 1999 Copyright 1999 Page 3 ...
Page 300: ...13 STOP YOU HAVE COMPLETED THIS PROCEDURE 235 105 210 October 1999 Copyright 1999 Page 55 ...
Page 339: ...7 STOP YOU HAVE COMPLETED THIS PROCEDURE 235 105 210 October 1999 Copyright 1999 Page 13 ...
Page 342: ...235 105 210 October 1999 Copyright 1999 Page 2 ...
Page 359: ...235 105 210 October 1999 Copyright 1999 Page 5 ...
Page 609: ...2 STOP YOU HAVE COMPLETED THIS PROCEDURE 235 105 210 October 1999 Copyright 1999 Page 12 ...
Page 676: ...235 105 210 October 1999 Copyright 1999 Page 9 ...
Page 792: ...3 STOP YOU HAVE COMPLETED THIS PROCEDURE 235 105 210 October 1999 Copyright 1999 Page 9 ...
Page 799: ...Figure 11 36 3 1 Cleaning Points 235 105 210 October 1999 Copyright 1999 Page 7 ...
Page 801: ...235 105 210 October 1999 Copyright 1999 Page 9 ...
Page 839: ...2 STOP YOU HAVE COMPLETED THIS PROCEDURE 235 105 210 October 1999 Copyright 1999 Page 16 ...
Page 999: ...2 STOP YOU HAVE COMPLETED THIS PROCEDURE 235 105 210 October 1999 Copyright 1999 Page 13 ...
Page 1008: ...Figure 11 55 1 CTSNS DIP Switch Settings 235 105 210 October 1999 Copyright 1999 Page 2 ...
Page 1011: ...235 105 210 October 1999 Copyright 1999 Page 5 ...
Page 1053: ...235 105 210 October 1999 Copyright 1999 Page 15 ...
Page 1289: ...Figure 15 17 2 AMATPS Data Link 235 105 210 October 1999 Copyright 1999 Page 2 ...
Page 1292: ...235 105 210 October 1999 Copyright 1999 Page 5 ...
Page 1303: ...9 STOP YOU HAVE COMPLETED THIS PROCEDURE 235 105 210 October 1999 Copyright 1999 Page 2 ...
Page 1360: ...Figure 15 47 2 Typical SCANS III Link Diagram 235 105 210 October 1999 Copyright 1999 Page 2 ...
Page 1372: ...235 105 210 October 1999 Copyright 1999 Page 2 ...
Page 1374: ...235 105 210 October 1999 Copyright 1999 Page 4 ...
Page 1421: ...Table 1 1 O M Checklist 235 105 210 October 1999 Copyright 1999 Page 3 ...