Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jun 1996 13:56:35 +0100 (GMT-1)
From:      af@biomath.jussieu.fr
To:        freebsd-questions@freebsd.org
Subject:   dump says "fopen on /dev/tty failed" (was: no subject)
Message-ID:  <199606131256.NAA05764@garfield.biomath.jussieu.fr>

next in thread | raw e-mail | index | archive | help
> >   DUMP: dumping (Pass III) [directories]
> >   DUMP: dumping (Pass IV) [regular files]
> >   DUMP: Closing /dev/nrmt0h
> >   DUMP: Change Volumes: Mount volume #2
> >   DUMP: fopen on /dev/tty fails: Device not configured
> >   DUMP: The ENTIRE dump is aborted.
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > What is that and how to fix it...?
> 
> Your command line is probably wrong.  Why on earth it wants to open 
> /dev/tty is beyond me.  
> 

Any   chance  that  this  dump  is  being  run  in  a  non-interactive
environment ? (cron, at, some local batch system, etc.)

When  switching  tapes,  dump  *really*  wants  a human to type "y" or
whatever when the new tape is loaded, so it probably opens /dev/tty in
case  standard  input is redirected. In a non-interactive environment,
opening /dev/tty could conceivably fail.

Just my guess...

_Alain_
-- 
Alain FAUCONNET    Ingenieur systeme - System Manager     AP-HP/SIM
Public Health                91 bld de l'Hopital 75013 PARIS FRANCE
Medical Computing Research Labs         Mail: af@biomath.jussieu.fr
Tel: (+33) 1-40-77-96-19                   Fax: (+33) 1-45-86-80-68
    I've RTFMed. It says: "Refer to your system administrator"
            But... I *am* the system administrator :-]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606131256.NAA05764>