At Wed, 9 Mar 2022 23:50:45 +0100 Exuvo <[email protected]> wrote: > > Could you give the exact command line you give when it hangs?
/usr/sbin/amtape -otpchanger=vault_changer wendellfreelibrary label wendellfreelibrary_vault-030 That partitular tape is missing, but still existed in a separate database (long story). > > Anton "exuvo" Olsson > [email protected] > > On 2022-03-09 00:27, Robert Heller wrote: > > For some unfathomably reason amtape "hangs" when forked from a Java program. > > > > I've written a Java program that goes through vaulted tapes and forks amtape > > (using Runtime.getRuntime().exec(()), and when a non-existant tape label is > > asked for, amtape "hangs". I cannot figure out why or how to get amtape to > > just exit with an error (which I can then handle). > > > > This is with Amanda 3.5.1 on a Ubuntu 18.04 system. > > > > (The Java version is OpenJDK 11.0.13, in case that matters.) > > > > > > -- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services [email protected] -- Webhosting Services
