• Please help support our sponsors by considering their products and services.
    Our sponsors enable us to serve you with this high-speed Internet connection and fast webservers you are currently using at ADSM.ORG.
    They support this free flow of information and knowledge exchange service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions
  • Community Tip: Please Give Thanks to Those Sharing Their Knowledge.

    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.

  • Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)

    Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.

Amrecover is not starting

#1
hello every one,

I have compiled Amanda "amanda_2.5.1p1.orig.tar.gz" on debian 4.0 etch [ for h/w and s/w refer "amandad.20081007131445.debug" ] I am able to backup all clients [ amanda-2.4.x ver (old)] and amanda user is reporting back with specified emails for all backed up clients(BackUp-Client) but amrecover on the "BackUp-Host-Server" is not starting at all.

PLEASE HELP ME ...........

below is some of the information that i am providing to you all

[email protected]:/tmp/amanda# amrecover
AMRECOVER Version 2.5.1p1. Contacting server on localhost ...
[request failed: timeout waiting for ACK]
################################################## ##
[email protected]:/tmp/amanda/client/DailySet1# cat amrecover.20081007132012.debug
amrecover: debug 1 pid 3585 ruid 0 euid 0: start at Tue Oct 7 13:20:12 2008
Reading conf file "/etc/amanda/amanda-client.conf".
Reading conf file "/etc/amanda/DailySet1/amanda-client.conf".
amrecover: debug 1 pid 3585 ruid 0 euid 0: rename at Tue Oct 7 13:20:12 2008
security_getdriver(name=bsd) returns 0x2b352732ca00
security_handleinit(handle=0x51ae30, driver=0x2b352732ca00 (BSD))
amrecover: bind_portrange2: Try port 693: Available - Success
amrecover: dgram_bind: socket bound to 0.0.0.0.693
amrecover: dgram_send_addr(addr=0x7fff83ad6130, dgram=0x2b352732e628)
amrecover: (sockaddr_in *)0x7fff83ad6130 = { 2, 10080, 127.0.0.1 }
amrecover: dgram_send_addr: 0x2b352732e628->socket = 3
amrecover: dgram_send_addr(addr=0x7fff83ad5ec0, dgram=0x2b352732e628)
amrecover: (sockaddr_in *)0x7fff83ad5ec0 = { 2, 10080, 127.0.0.1 }
amrecover: dgram_send_addr: 0x2b352732e628->socket = 3
amrecover: dgram_send_addr(addr=0x7fff83ad5ec0, dgram=0x2b352732e628)
amrecover: (sockaddr_in *)0x7fff83ad5ec0 = { 2, 10080, 127.0.0.1 }
amrecover: dgram_send_addr: 0x2b352732e628->socket = 3
security_seterror(handle=0x51ae30, driver=0x2b352732ca00 (BSD) error=timeout waiting for ACK)
security_close(handle=0x51ae30, driver=0x2b352732ca00 (BSD))
################################################## ##

[email protected]:/tmp/amanda/amandad# cat amandad.20081007131445.debug
amandad: debug 1 pid 3537 ruid 34 euid 34: start at Tue Oct 7 13:14:45 2008
security_getdriver(name=BSD) returns 0x2b6c5b58fa00
amandad: version 2.5.1p1
amandad: build: VERSION="Amanda-2.5.1p1"
amandad: BUILT_DATE="Mon Sep 29 17:46:55 IST 2008"
amandad: BUILT_MACH="Linux BackUp-Host-Server 2.6.18-5-amd64 #1 SMP Sat Dec 22 20:43:59 UTC 2007 x86_64 GNU/Linux"
amandad: CC="gcc"
amandad: CONFIGURE_COMMAND="'./configure' '--host=i386-redhat-linux' '--target=localhost' '--with-tape-server=localhost' '--sbindir=/usr/sbin' '--bindir=/usr/bin' '--sysconfdir=/etc' '--enable-shared'

'--with-index-server=localhost' '--with-gnutar-listdir=/var/lib/amanda/gnutar-lists' '--with-smbclient=/usr/bin/smbclient' '--with-amandahosts' '--with-tmpdir=/tmp/amanda' '--with-gnutar=/bin/tar' '--with-user=amanda'

'--with-group=disk' '--with-config=DailySet1'"
amandad: paths: bindir="/usr/bin" sbindir="/usr/sbin"
amandad: libexecdir="/usr/local/libexec" mandir="/usr/local/man"
amandad: AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda"
amandad: CONFIG_DIR="/etc/amanda" DEV_PREFIX="/dev/"
amandad: RDEV_PREFIX="/dev/" DUMP="/sbin/dump"
amandad: RESTORE="/sbin/restore" VDUMP=UNDEF VRESTORE=UNDEF
amandad: XFSDUMP="/sbin/xfsdump" XFSRESTORE="/sbin/xfsrestore"
amandad: VXDUMP=UNDEF VXRESTORE=UNDEF SAMBA_CLIENT=UNDEF
amandad: GNUTAR="/bin/tar" COMPRESS_PATH="/bin/gzip"
amandad: UNCOMPRESS_PATH="/bin/gzip" LPRCMD="/usr/bin/lpr"
amandad: MAILER="/usr/bin/Mail"
amandad: listed_incr_dir="/var/lib/amanda/gnutar-lists"
amandad: defs: DEFAULT_SERVER="localhost" DEFAULT_CONFIG="DailySet1"
amandad: DEFAULT_TAPE_SERVER="localhost" HAVE_MMAP HAVE_SYSVSHM
amandad: LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
amandad: AMANDA_DEBUG_DAYS=4 BSD_SECURITY RSH_SECURITY USE_AMANDAHOSTS
amandad: CLIENT_LOGIN="amanda" FORCE_USERID HAVE_GZIP
amandad: COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
amandad: COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
amandad: time 0.000: dgram_recv(dgram=0x2b6c5b591628, timeout=0, fromaddr=0x2b6c5b5a1620)
amandad: time 0.000: (sockaddr_in *)0x2b6c5b5a1620 = { 2, 816, 127.0.0.1 }
security_handleinit(handle=0x508ab0, driver=0x2b6c5b58fa00 (BSD))
security_seterror(handle=0x508ab0, driver=0x2b6c5b58fa00 (BSD) error=user root from localhost is not allowed to execute the service amindexd: /var/lib/amanda/.amandahosts: incorrect permissions; file must be accessible only by

its owner)
amandad: time 0.000: accept error: user root from localhost is not allowed to execute the service amindexd: /var/lib/amanda/.amandahosts: incorrect permissions; file must be accessible only by its owner
amandad: time 0.000: sending NAK pkt:
<<<<<
ERROR user root from localhost is not allowed to execute the service amindexd: /var/lib/amanda/.amandahosts: incorrect permissions; file must be accessible only by its owner
>>>>>
amandad: dgram_send_addr(addr=0x7fff4f869c60, dgram=0x2b6c5b591628)
amandad: time 0.000: (sockaddr_in *)0x7fff4f869c60 = { 2, 816, 127.0.0.1 }
amandad: dgram_send_addr: 0x2b6c5b591628->socket = 0
security_close(handle=0x508ab0, driver=0x2b6c5b58fa00 (BSD))
amandad: time 6.631: dgram_recv(dgram=0x2b6c5b591628, timeout=0, fromaddr=0x2b6c5b5a1620)
amandad: time 6.631: (sockaddr_in *)0x2b6c5b5a1620 = { 2, 837, 127.0.0.1 }
security_handleinit(handle=0x508ab0, driver=0x2b6c5b58fa00 (BSD))
security_seterror(handle=0x508ab0, driver=0x2b6c5b58fa00 (BSD) error=user root from localhost is not allowed to execute the service amindexd: /var/lib/amanda/.amandahosts: incorrect permissions; file must be accessible only by

its owner)
amandad: time 6.631: accept error: user root from localhost is not allowed to execute the service amindexd: /var/lib/amanda/.amandahosts: incorrect permissions; file must be accessible only by its owner
amandad: time 6.631: sending NAK pkt:
<<<<<
ERROR user root from localhost is not allowed to execute the service amindexd: /var/lib/amanda/.amandahosts: incorrect permissions; file must be accessible only by its owner
>>>>>
amandad: dgram_send_addr(addr=0x7fff4f869c60, dgram=0x2b6c5b591628)
amandad: time 6.631: (sockaddr_in *)0x7fff4f869c60 = { 2, 837, 127.0.0.1 }
amandad: dgram_send_addr: 0x2b6c5b591628->socket = 0
security_close(handle=0x508ab0, driver=0x2b6c5b58fa00 (BSD))
amandad: time 30.630: pid 3537 finish time Tue Oct 7 13:15:15 2008

################################################## ##

[email protected]:/etc/xinetd.d# cat amanda
# default: on
# description: The amanda service
service amanda
{
only_from = BackUp-Host-Server
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = amanda
group = disk
server = /var/lib/amanda/amanda-2.5.1p1/amandad-src/.libs/amandad
server_args = -auth=bsd amdump amindexd amidxtaped
}
################################################## ##

[email protected]:/etc/xinetd.d# cat amandaidx
#default: on
# description: The amanda index service
service amandaidx
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = amanda
group = disk
server = /var/lib/amanda/amanda-2.5.1p1/server-src/.libs/amindexd
}
################################################## ##

[email protected]:/etc/xinetd.d# cat amidxtape
#default: on
# description: The amanda tape service
service amidxtape
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = amanda
group = disk
server = /var/lib/amanda/amanda-2.5.1p1/restore-src/.libs/amidxtaped
}
################################################## ##

[email protected]:/tmp/amanda/amandad# cat /var/lib/amanda/.amandahosts
localhost amanda
localhost root
localhost.localdomain amanda
BackUp-Host-Server amanda
BackUp-Host-Server root
BackUp-Client amanda
BackUp-Client amanda
BackUp-Client amanda
BackUp-Client amanda
BackUp-Client amanda
################################################## ##

[email protected]:/etc/amanda/DailySet1# netstat -a | grep amanda
tcp 0 0 *:amandaidx *:* LISTEN
udp 0 0 *:amanda *:*
################################################## ##

[email protected]:~$ /usr/sbin/amcheck DailySet1
Amanda Tape Server Host Check
-----------------------------
Holding disk /backup/amanda_hold/DailySet1: 43681932 KB disk space available, using 43680908 KB
read label `TLS-Set-1-09', date `20081003151501'
cannot overwrite active tape TLS-Set-1-09
(expecting a new tape)
Server check took 0.044 seconds

Amanda Backup Client Hosts Check
--------------------------------
Client check: 5 hosts checked in 3.920 seconds, 0 problems found

(brought to you by Amanda 2.5.1p1)

I can send-in more information to debug ,
Thanks in advance
 

Advertise at ADSM.ORG

If you are reading this, so are your potential customer. Advertise at ADSM.ORG right now.

UpCloud high performance VPS at $5/month

Get started with $25 in credits on Cloud Servers. You must use link below to receive the credit. Use the promo to get upto 5 month of FREE Linux VPS.

The Spectrum Protect TLA (Three-Letter Acronym): ISP or something else?

  • Every product needs a TLA, Let's call it ISP (IBM Spectrum Protect).

    Votes: 9 16.7%
  • Keep using TSM for Spectrum Protect.

    Votes: 31 57.4%
  • Let's be formal and just say Spectrum Protect

    Votes: 9 16.7%
  • Other (please comement)

    Votes: 5 9.3%

Forum statistics

Threads
31,149
Messages
132,621
Members
21,321
Latest member
denisnetland
Top