backing up via cron doesn't seem to work.

From: Jon Mitchiner <mitchinj_at_vrinet.com>
Date: Thu, 05 Sep 96 16:33:38 EST

     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
Received on Thu Sep 05 1996 - 23:17:15 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT