I'm having a few difficulties installing a client for our Irix 6.4 server orion. I have added relevant services to /etc/services and the appropriate inetd line for this machine, as can be seen below, however all I get is the exit status line reported by inetd. Nothing is logged to /tmp/amanda. It doesn't appear as if .amandahosts is a problem, since it doesn't look like amandad is starting at all ...
|orion# uname -a |IRIX64 orion 6.4 02121744 IP27 |orion# grep am /etc/services |name 42/tcp # IEN 116 |whois 43/tcp nicname |domain 53/tcp nameserver # name-domain server |domain 53/udp nameserver |hostnames 101/tcp hostname # usually from sri-nic |# SGI demo programs |amanda 10080/udp |amandaidx 10082/tcp |amidxtape 10083/tcp |orion# grep amanda /etc/inetd.conf |# amanda backup stuff |amanda dgram udp wait backup /usr/local/libexec/amandad amandad |orion# grep amanda /var/adm/SYSLOG |Dec 21 13:46:43 4D:orion inetd[23159]: /usr/local/libexec/amandad: exit status 0x100 |Dec 21 13:46:52 4D:orion inetd[23159]: /usr/local/libexec/amandad: exit status 0x100 |Dec 21 13:47:02 4D:orion inetd[23159]: /usr/local/libexec/amandad: exit status 0x100 |orion# >From memory, 0x100 exit code is equivalent to the called program exiting with 1 (which is then bit shifted by 8 for some reason) ... trouble is that there is more than one place that could exit with a value of 1 within amandad.c as far as I can tell ... amandad itself does run (and works for this particular machine): if I run it from the command line it will start, and once I've killed it I do get output in /tmp/amanda: |orion# /usr/local/libexec/amandad |orion# cd /tmp/amanda |orion# ls -al |total 16 |drwx------ 2 backup backup 46 Dec 21 14:01 . |drwxrwxrwt 16 sys sys 4096 Dec 21 14:01 .. |-rw------- 1 backup backup 1833 Dec 21 14:01 amandad.20011221140100.debug |orion# cat * |amandad: debug 1 pid 11824 ruid 10002 euid 10002 start time Fri Dec 21 14:01:00 2001 |/usr/local/libexec/amandad: version 2.4.2p2 |/usr/local/libexec/amandad: build: VERSION="Amanda-2.4.2p2" |/usr/local/libexec/amandad: BUILT_DATE="Thu Dec 20 17:14:22 EDT 2001" |/usr/local/libexec/amandad: BUILT_MACH="IRIX64 orion 6.4 02121744 IP27" CC="cc" |/usr/local/libexec/amandad: paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin" |/usr/local/libexec/amandad: libexecdir="/usr/local/libexec" |mandir="/usr/local/man" |/usr/local/libexec/amandad: AMANDA_TMPDIR="/tmp/amanda" |AMANDA_DBGDIR="/tmp/amanda" |/usr/local/libexec/amandad: CONFIG_DIR="/usr/local/etc/amanda" |DEV_PREFIX="/dev/dsk/" |/usr/local/libexec/amandad: RDEV_PREFIX="/dev/rdsk/" DUMP="/sbin/dump" |/usr/local/libexec/amandad: RESTORE="/sbin/restore" XFSDUMP="/sbin/xfsdump" |/usr/local/libexec/amandad: XFSRESTORE="/sbin/xfsrestore" |/usr/local/libexec/amandad: COMPRESS_PATH="/usr/sbin/gzip" |/usr/local/libexec/amandad: UNCOMPRESS_PATH="/usr/sbin/gzip" |MAILER="/usr/sbin/Mail" |/usr/local/libexec/amandad: |listed_incr_dir="/usr/local/var/amanda/gnutar-lists" |/usr/local/libexec/amandad: defs: DEFAULT_SERVER="orion" DEFAULT_CONFIG="DailySet1" |/usr/local/libexec/amandad: DEFAULT_TAPE_SERVER="orion" |/usr/local/libexec/amandad: DEFAULT_TAPE_DEVICE="/dev/null" HAVE_MMAP |HAVE_SYSVSHM |/usr/local/libexec/amandad: LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE |/usr/local/libexec/amandad: AMANDA_DEBUG_DAYS=4 BSD_SECURITY USE_AMANDAHOSTS |/usr/local/libexec/amandad: CLIENT_LOGIN="backup" FORCE_USERID HAVE_GZIP |/usr/local/libexec/amandad: COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast" |/usr/local/libexec/amandad: COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc" it looks like inetd isn't calling amandad properly or that amandad is quitting immediately (even before logging anything), so it's got me rather stumped ... unfortunately I don't know Irix all that well ... does anyone have any other ideas? -- Malcolm Herbert This brain intentionally [EMAIL PROTECTED] left blank