From: "Jon Mitchiner" <mitchinj () vrinet ! com>
To: tru64-unix-managers
Subject: backing up via cron doesn't seem to work.
Date: Thu, 05 Sep 1996 16:33:38 +0000 [thread overview]
Message-ID: <96076339121306.tru64-unix-managers.marc@archive.invalid> (raw)
Hi --
We have this strange problem with our cron jobs. Whenever a job is
run manually with the script, the backup works fine without any
problems. But whenever we run it through cron, we get the following
error:
dump: Dumping /dev/rrz8a (/) to /dev/nrmt0h dump: Mapping (Pass I)
[regular files] dump: Mapping (Pass II) [directories]
dump: Estimate: 45116 tape blocks on 1.12 volume(s) dump: Dumping
(Pass III) [directories]
dump: Volume 1, tape # 0001, begins with blocks from i-node 2 dump:
Write error -- wanted to write: 10240, only wrote: -1 slave_work():
write(): I/O error
dump: Write error - /dev/nrmt0h, volume 1, 2 feet -- cannot recover
dump: Cannot fopen /dev/tty for reading
query(): fopen(): No such device or address dump: Cannot remove shared
memory
remove_shared_memory(): shmctl(): Invalid argument dump: SIGTERM
received -- Try rewriting
dump: Unexpected signal -- cannot recover
The shell script is this:
/usr/sbin/dump -0uf /dev/nrmt0h /
We get a similar error with a perl script -- but only the:
dump: Cannot open device file /dev/nrmt0h
dump: Cannot fopen /dev/tty for reading
query(): fopen(): No such device or address
dump: SIGTERM received -- try rewriting
... etc
We have a similar machine with the exact same tape drive (TZ87), same
scripts, and it works fine on one machine, and doesn't work on the
other.
What is strange is if I run it manually, it works, but not via cron...
Thanks!
Jon
reply other threads:[~1996-09-05 16:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox