Amanda-Users

Re: /usr/local/libexec/amandad: Hangup

2003-08-04 15:48:19
Subject: Re: /usr/local/libexec/amandad: Hangup
From: Lauri Bettencourt <lbetten AT wn DOT net>
To: gene.heskett AT verizon DOT net, amanda-users AT amanda DOT org
Date: Mon, 04 Aug 2003 15:45:30 -0400
At 05:38 PM 8/1/2003 -0400, Gene Heskett wrote:
On Friday 01 August 2003 16:41, Lauri Bettencourt wrote:
>Hello:
>
>Any asssistance anyone could offer would be greatly
>appreciated. :-)
>
>I recently had to restore the directory where my
>amanda user was and have not been able to get amcheck
>to work with the server since. This server was previously
>backed up using Amanda without issue. The server is
>running Solaris 8 w/ amanda-2.4.2p2.
>
>Seeing entries in the archives that pointed to a
>possible permissions / ownership issue I removed
>the amanda account and all source / binaries from the
>system and reinstalled. I also stopped and started
>inetd.
>
>Install config was done with:
>
>--prefix=/usr/local
>--with-amandahosts
>--with-group=sys
>--with-user=amanda
>--without-server
>
>I am still getting the following error in the log:
>
>Aug  1 11:06:12 server inetd[29065]: [ID 858011
>daemon.warning] /usr/local/libexec/amandad: Hangup
>Aug  1 11:06:51 server last message repeated 38 times
>Aug  1 11:06:52 server inetd[29065]: [ID 667328
>daemon.error]
>amanda/udp server failing (looping), service
>terminated
>
>Output from amcheck
>
>Amanda Backup Client Hosts Check
>--------------------------------
>WARNING: server.wn.net: selfcheck request timed out.
>Host down?
>Client check: 30 hosts checked in 34.293 seconds, 1
>problem found
>
>(brought to you by Amanda 2.4.2p2)

You've got me scratching what little grey hair I have.  First, it
appears the machine is the server, but you re-installed
--without-server?  Putting 2 and 2 together, one of them must be -2
cause its not adding up. :)

I think my gray hairs have doubled since this issue started...:-))

It is a server, but not *the* backup server. All of our servers are installed
from a script with the same configuration switches.


And you didn't indicate if ~/.amandahosts was in use unless I missed a
clue above.  You may have to reconstruct that file as I don't think
it would be in the backup if the perms were set (0400) as
recommended.

Yes we are using the .amandahosts file as noted above...there is an ls -al
output included in the original email.


Third, having a configuration script that you can copy to each new
tarballs unpacked directory so that each new version is configured
like the last one is a major bit of insurance.  I posted mine again a
few days ago, so check the archives for a copy of that for the
server.

We do all of our installs from a Jumpstart server.


Then 2.4.2p2 is getting a bit long in the tooth.  2.4.4-p1-20030716
seems to be very stable, and/or Jean-Louis is on vacation and has not
been around to release new snapshot tarballs.  Get it from
Jean-Louis's site at (IIRC) umontreal.edu.ca.

Yes, the software is out of date, but I hesitate to change the version until
I can test it on a *non* production system.

Again, any help is appreciated.

Lauri-


>The configuration is setup as follows:
>
>/etc/group entry
>
>sys::3:root,bin,sys,adm,amanda
>
>/etc/passwd entry
>
>amanda:x:61287:3:Amanda Backup
>Account:/home/amanda:/usr/local/bin/bash
>
>ls -al /home/amanda
>
>drwxr--r--   2 amanda   sys          512 Aug  1 10:53
>.
>drwxr-xr-x  17 root     root      258560 Aug  1 10:33
>..
>-rw-r--r--   1 amanda   sys           24 Aug  1 10:53
>.amandahosts
>-rw-r--r--   1 amanda   other        144 Aug  1 10:33
>.profile
>-rw-r--r--   1 amanda   other        124 Aug  1 10:33
>local.cshrc
>-rw-r--r--   1 amanda   other        607 Aug  1 10:33
>local.login
>-rw-r--r--   1 amanda   other        582 Aug  1 10:33
>local.profile
>
>/etc/services
>
>amanda          10080/udp                       #Dump
>server control
>amandaidx       10082/tcp
>#Amanda Indexing
>amidxtape       10083/tcp
>#Amanda tape indexing
>
>/etc/inetd.conf
>
>amanda     dgram udp wait   amanda /usr/local/libexec/amandad
>amandad
>amandaidx stream tcp nowait amanda /usr/local/libexec/amindexd
>amindexd
>amidxtape stream tcp nowait amanda /usr/local/libexec/amidxtaped
>amidxtaped
>
>ls -al /usr/local/libexec/
>
>drwxr-xr-x   2 root     other        512 Aug  1 10:49
>.
>drwxr-xr-x  21 root     other        512 Feb 24 11:27
>..
>-rwxr-xr-x   1 amanda   sys       430696 Aug  1 10:48
>amandad
>-rwxr-xr-x   1 amanda   sys       416880 Aug  1 10:49
>amidxtaped
>-rwsr-x---   1 root     sys       346924 Aug  1 10:48
>calcsize
>-rwsr-x---   1 root     sys       280588 Aug  1 10:48
>killpgrp
>-rwxr-xr-x   1 amanda   sys         4588 Aug  1 10:49
>patch-system
>-rwsr-x---   1 root     sys       278268 Aug  1 10:48
>rundump
>-rwsr-x---   1 root     sys       279084 Aug  1 10:48
>runtar
>-rwxr-xr-x   1 amanda   sys       391552 Aug  1 10:48
>selfcheck
>-rwxr-xr-x   1 amanda   sys       772104 Aug  1 10:48
>sendbackup
>-rwxr-xr-x   1 amanda   sys       647880 Aug  1 10:49
>sendsize
>-rwxr-xr-x   1 amanda   sys       278120 Aug  1 10:49
>versionsuffix
>
>ls -al /usr/local/sbin
>
>-rwxr-x---   1 amanda   sys       903404 Aug  1 10:49
>amrecover
>-rwxr-xr-x   1 amanda   sys       499552 Aug  1 10:49
>amrestore
>
>
>
>
>
>~~~~~~~~~~~~~~~~~~~~~~~
>Lauri Bettencourt
>UNIX System Administrator
>lbetten AT wn DOT net
>~~~~~~~~~~~~~~~~~~~~~~~

--
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.27% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attornies please note, additions to this message
by Gene Heskett are:
Copyright 2003 by Maurice Eugene Heskett, all rights reserved.

~~~~~~~~~~~~~~~~~~~~~~~
Lauri Bettencourt
UNIX System Administrator
lbetten AT wn DOT net
~~~~~~~~~~~~~~~~~~~~~~~


<Prev in Thread] Current Thread [Next in Thread>