Amanda-Users

[Amanda-users] Amrecover is not starting

2008-10-31 02:58:20
Subject: [Amanda-users] Amrecover is not starting
From: rakesh <amanda-forum AT backupcentral DOT com>
To: amanda-users AT amanda DOT org
Date: Fri, 31 Oct 2008 02:53:50 -0400
Hi

I have tried to apply the recommended changes and after doing so i started to 
get the error, i have copied syslog along with ".amandahosts" contents and 
xinetd config details for "amanda"

root@BackUp-Host-Server:/backup/amanda_hold/DailySet1# amrecover
AMRECOVER Version 2.5.1p1. Contacting server on localhost ...
NAK: user root from localhost is not allowed to execute the service amindexd: 
Please add "amindexd amidxtaped" to the line in /var/lib/amanda/.amandahosts
###############################################

Oct 31 06:25:27 BackUp-Host-Server syslogd 1.4.1#18: restart.
Oct 31 06:38:25 BackUp-Host-Server -- MARK --
Oct 31 06:58:25 BackUp-Host-Server -- MARK --
Oct 31 07:17:01 BackUp-Host-Server /USR/SBIN/CRON[16310]: (root) CMD (   cd / 
&& run-parts --report /etc/cron.hourly)
Oct 31 07:38:25 BackUp-Host-Server -- MARK --
Oct 31 07:58:25 BackUp-Host-Server -- MARK --
Oct 31 08:17:01 BackUp-Host-Server /USR/SBIN/CRON[16315]: (root) CMD (   cd / 
&& run-parts --report /etc/cron.hourly)
Oct 31 08:38:26 BackUp-Host-Server -- MARK --
Oct 31 08:58:26 BackUp-Host-Server -- MARK --
Oct 31 09:17:01 BackUp-Host-Server /USR/SBIN/CRON[16320]: (root) CMD (   cd / 
&& run-parts --report /etc/cron.hourly)
Oct 31 09:38:26 BackUp-Host-Server -- MARK --
Oct 31 09:58:26 BackUp-Host-Server -- MARK --
Oct 31 10:17:01 BackUp-Host-Server /USR/SBIN/CRON[16325]: (root) CMD (   cd / 
&& run-parts --report /etc/cron.hourly)
Oct 31 10:38:27 BackUp-Host-Server -- MARK --
Oct 31 10:58:27 BackUp-Host-Server -- MARK --
Oct 31 11:17:01 BackUp-Host-Server /USR/SBIN/CRON[16330]: (root) CMD (   cd / 
&& run-parts --report /etc/cron.hourly)
Oct 31 11:38:27 BackUp-Host-Server -- MARK --
Oct 31 11:58:27 BackUp-Host-Server -- MARK --
Oct 31 12:06:51 BackUp-Host-Server xinetd[9293]: Starting reconfiguration
Oct 31 12:06:51 BackUp-Host-Server xinetd[9293]: Reading included configuration 
file: /etc/xinetd.d/amanda [file=/etc/xinetd.conf] [line=14]
Oct 31 12:06:51 BackUp-Host-Server xinetd[9293]: Reading included configuration 
file: /etc/xinetd.d/amandaidx [file=/etc/xinetd.d/amandaidx] [line=13]
Oct 31 12:06:51 BackUp-Host-Server xinetd[9293]: Reading included configuration 
file: /etc/xinetd.d/amidxtape [file=/etc/xinetd.d/amidxtape] [line=12]
Oct 31 12:06:51 BackUp-Host-Server xinetd[9293]: Reading included configuration 
file: /etc/xinetd.d/chargen [file=/etc/xinetd.d/chargen] [line=12]
Oct 31 12:06:51 BackUp-Host-Server xinetd[9293]: Reading included configuration 
file: /etc/xinetd.d/daytime [file=/etc/xinetd.d/daytime] [line=28]
Oct 31 12:06:51 BackUp-Host-Server xinetd[9293]: Reading included configuration 
file: /etc/xinetd.d/discard [file=/etc/xinetd.d/discard] [line=26]
Oct 31 12:06:51 BackUp-Host-Server xinetd[9293]: Reading included configuration 
file: /etc/xinetd.d/echo [file=/etc/xinetd.d/echo] [line=25]
Oct 31 12:06:51 BackUp-Host-Server xinetd[9293]: Reading included configuration 
file: /etc/xinetd.d/time [file=/etc/xinetd.d/time] [line=26]
Oct 31 12:06:51 BackUp-Host-Server xinetd[9293]: removing chargen
Oct 31 12:06:51 BackUp-Host-Server xinetd[9293]: removing chargen
Oct 31 12:06:51 BackUp-Host-Server xinetd[9293]: removing daytime
Oct 31 12:06:51 BackUp-Host-Server xinetd[9293]: removing daytime
Oct 31 12:06:51 BackUp-Host-Server xinetd[9293]: removing discard
Oct 31 12:06:51 BackUp-Host-Server xinetd[9293]: removing discard
Oct 31 12:06:51 BackUp-Host-Server xinetd[9293]: removing echo
Oct 31 12:06:51 BackUp-Host-Server xinetd[9293]: removing echo
Oct 31 12:06:51 BackUp-Host-Server xinetd[9293]: removing time
Oct 31 12:06:51 BackUp-Host-Server xinetd[9293]: removing time
Oct 31 12:06:51 BackUp-Host-Server xinetd[9293]: Swapping defaults
Oct 31 12:06:51 BackUp-Host-Server xinetd[9293]: readjusting service amandaidx
Oct 31 12:06:51 BackUp-Host-Server xinetd[9293]: readjusting service amidxtape
Oct 31 12:06:51 BackUp-Host-Server xinetd[9293]: readjusting service amanda
Oct 31 12:06:51 BackUp-Host-Server xinetd[9293]: Reconfigured: new=0 old=3 
dropped=0 (services)
###############################################
root@BackUp-Host-Server:/var/lib/amanda# cat .amandahosts
localhost amanda
localhost root
localhost.localdomain root amindexd amidxtaped
BackUp-Host-Server root amindexd amidxtaped
BackUp-Client amanda
BackUp-Client amanda
BackUp-Client amanda
BackUp-Client amanda
BackUp-Client amanda
###############################################
root@BackUp-Host-Server:/etc/xinetd.d# cat amanda
# default: on
# description: The amanda service
service amanda
{
        disable                 = no
        socket_type             = dgram
        protocol                = udp
        wait                    = yes
        user                    = amanda
        group                   = disk
        server                  = /usr/local/libexec/amandad
        server_args             = -auth=bsd amdump amindexd amidxtaped
}

+----------------------------------------------------------------------
|This was sent by rakesh AT translogicsys DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------