A tar backup run from cron will have no controlling terminal, and will
abort in any situation where user input is required. Hence the error
"/dev/tty unavailable" if end-of-tape is reached. Thanks to Adrian
Morrisson and Alan.
-----Original Message-----
From: Matthew Brecknell [SMTP:matthew.brecknell_at_star.com.au]
Sent: Wednesday, December 10, 1997 1:12 PM
To: 'alpha-osf-managers_at_ornl.gov'
Subject: tar error: /dev/tty unavailable
Recently, we have seen intermittent failures of a tar backup on an Alpha
Server 1000A running Digital Unix V3.2G (rev 62). We use a TLZ07 tape
drive (firmware rev 4BQE) for the backup medium. The tar command aborts
with the error "/dev/tty unavailable". We run the tar command from cron,
with standard output and standard error redirected to a log file. (It
shouldn't be accessing any ttys).
Has anyone else seen this?
Received on Wed Dec 10 1997 - 08:21:40 NZDT