/Installation/OS Specific Notes/Installing Amanda on Ultrix: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
(Copied from Installation)
 
 
(No difference)

Latest revision as of 00:15, 1 June 2007

The Ultrix dump program contains an explicit check that it is being run by root. This defeats the usual practice of a non-root "operator" userid for dumps. For this reason, the rundump program (a setuid-root wrapper for dump) is enabled by default. If you find rundump is not necessary for you, just run

configure --without-rundump

The Ultrix restore program will fail if it is not connected to a tty. Since the restore program is invoked in the clients in order to create index files, and it the client is not connected to a tty, index creation will fail. Using GNU-tar instead of DUMP is an option. Thanks to Edwin Wiles <[email protected]> for the investigation. Another alternative proposed by Martyn Johnson <[email protected]> is to use a modified restore program: use a binary program editor and replace `/dev/tty' with `/dev/nul', for instance, and link /dev/nul to /dev/null. Note that the chosen file name must be exactly 8 bytes long, otherwise you'll break the restore program. A nice one-liner perl script by Martyn Johnson will do the trick (make sure you preserve a copy of the original restore program, it will be rewritten by running this script!):

perl -pi -e 'BEGIN { $/ = "/dev/tty" } s-$/-/dev/nul-' restore

The Ultrix C compiler seems to be too broken to compile AMANDA. You are likely to need gcc or egcs.