tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* backing up via cron doesn't seem to work.
@ 1996-09-05 16:33 Jon Mitchiner
  0 siblings, 0 replies; only message in thread
From: Jon Mitchiner @ 1996-09-05 16:33 UTC (permalink / raw)
  To: tru64-unix-managers

     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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-09-05 16:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-09-05 16:33 backing up via cron doesn't seem to work Jon Mitchiner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox