Hello again,
Please find all the requested info, I am lost!
root@dub-amanda1:~# cat /etc/xinetd.d/amanda
=============================
# default: on
#
# description: Amanda services for Amanda server
#
service amanda
{
only_from = 10.100.100.0/24
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = backup
group = backup
groups = yes
server = /usr/lib/amanda/amandad
server_args = -auth=bsd amdump amindexd amidxtaped
}
service amandaidx
{
socket_type = stream
protocol = tcp
wait = no
user = backup
group = backup
groups = yes
server = /usr/lib/amanda/amindexd
disable = no
}
service amidxtape
{
socket_type = stream
protocol = tcp
wait = no
user = backup
group = backup
groups = yes
server = /usr/lib/amanda/amidxtaped
disable = no
}
root@dub-amanda1:~#
root@dub-amanda1:~# cat
/var/log/amanda/amandad/amandad.20081229174344.debug
=============================
amandad: debug 1 pid 1414 ruid 34 euid 34: start at Mon Dec 29 17:43:44 2008
Could not open conf file "/etc/amanda/amanda-client.conf": No such file
or directory
amandad: time 0.000: security_getdriver(name=bsd) returns 0xb7f092e0
amandad: version 2.5.2p1
amandad: time 0.000: build: VERSION="Amanda-2.5.2p1"
amandad: time 0.000: BUILT_DATE="Fri Nov 9 01:06:28 GMT 2007"
amandad: time 0.000: BUILT_MACH="Linux palmer 2.6.15.7 #1 SMP Thu
Sep 7 19:42:20 UTC 2006 i686 GNU/Linux"
amandad: time 0.000: CC="gcc"
amandad: time 0.000: CONFIGURE_COMMAND="'./configure'
'--prefix=/usr' '--bindir=/usr/sbin' '--mandir=/usr/share/man'
'--libexecdir=/usr/lib/amanda' '--enable-shared' '--sysconfdir=/etc'
'--localstatedir=/var/lib'
'--with-gnutar-listdir=/var/lib/amanda/gnutar-lists'
'--with-index-server=localhost' '--with-user=backup'
'--with-group=backup' '--with-bsd-security' '--with-amandahosts'
'--with-smbclient=/usr/bin/smbclient' '--with-debugging=/var/log/amanda'
'--with-dumperdir=/usr/lib/amanda/dumper.d'
'--with-tcpportrange=50000,50100' '--with-udpportrange=840,860'
'--with-maxtapeblocksize=256' '--with-ssh-security'"
amandad: time 0.000: paths: bindir="/usr/sbin" sbindir="/usr/sbin"
amandad: time 0.000: libexecdir="/usr/lib/amanda"
mandir="/usr/share/man"
amandad: time 0.000: AMANDA_TMPDIR="/tmp/amanda"
amandad: time 0.000: AMANDA_DBGDIR="/var/log/amanda"
CONFIG_DIR="/etc/amanda"
amandad: time 0.000: DEV_PREFIX="/dev/" RDEV_PREFIX="/dev/"
DUMP="/sbin/dump"
amandad: time 0.000: RESTORE="/sbin/restore" VDUMP=UNDEF
VRESTORE=UNDEF
amandad: time 0.000: XFSDUMP="/sbin/xfsdump"
XFSRESTORE="/sbin/xfsrestore"
amandad: time 0.000: VXDUMP=UNDEF VXRESTORE=UNDEF
amandad: time 0.000: SAMBA_CLIENT="/usr/bin/smbclient"
GNUTAR="/bin/tar"
amandad: time 0.000: COMPRESS_PATH="/bin/gzip"
UNCOMPRESS_PATH="/bin/gzip"
amandad: time 0.000: LPRCMD="/usr/bin/lpr" MAILER="/usr/bin/mail"
amandad: time 0.000: listed_incr_dir="/var/lib/amanda/gnutar-lists"
amandad: time 0.000: defs: DEFAULT_SERVER="localhost"
DEFAULT_CONFIG="DailySet1"
amandad: time 0.000: DEFAULT_TAPE_SERVER="localhost" HAVE_MMAP
NEED_STRSTR
amandad: time 0.000: HAVE_SYSVSHM LOCKING=POSIX_FCNTL
SETPGRP_VOID DEBUG_CODE
amandad: time 0.000: AMANDA_DEBUG_DAYS=4 BSD_SECURITY
RSH_SECURITY USE_AMANDAHOSTS
amandad: time 0.000: CLIENT_LOGIN="backup" FORCE_USERID HAVE_GZIP
amandad: time 0.000: COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
amandad: time 0.000: COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
amandad: time 0.000: dgram_recv(dgram=0xb7f0b284, timeout=0,
fromaddr=0xb7f1b270)
amandad: time 0.000: (sockaddr_in *)0xb7f1b270 = { 2, 858, 10.100.100.160 }
amandad: time 0.000: security_handleinit(handle=0x80529a0,
driver=0xb7f092e0 (BSD))
amandad: time 0.001: accept recv REQ pkt:
<<<<<
SERVICE amindexd
OPTIONS features=ffffffff9ffeffffffff00;auth=bsd;
>>>>>
amandad: time 0.001: creating new service: amindexd
OPTIONS features=ffffffff9ffeffffffff00;auth=bsd;
amandad: time 0.002: sending ACK pkt:
<<<<<
>>>>>
amandad: time 0.002: dgram_send_addr(addr=0x80529c0, dgram=0xb7f0b284)
amandad: time 0.002: (sockaddr_in *)0x80529c0 = { 2, 858, 10.100.100.160 }
amandad: time 0.002: dgram_send_addr: 0xb7f0b284->socket = 0
amandad: time 0.004: security_streaminit(stream=0x8063010,
driver=0xb7f092e0 (BSD))
amandad: time 0.004: try_socksize: send buffer size is 65536
amandad: time 0.004: try_socksize: receive buffer size is 65536
amandad: time 0.005: bind_portrange2: Try port 50037: Available - Success
amandad: time 0.005: stream_server: waiting for connection: 0.0.0.0.50037
amandad: time 0.005: sending REP pkt:
<<<<<
CONNECT MESG 50037
>>>>>
amandad: time 0.005: dgram_send_addr(addr=0x80529c0, dgram=0xb7f0b284)
amandad: time 0.005: (sockaddr_in *)0x80529c0 = { 2, 858, 10.100.100.160 }
amandad: time 0.005: dgram_send_addr: 0xb7f0b284->socket = 0
amandad: time 0.005: dgram_recv(dgram=0xb7f0b284, timeout=0,
fromaddr=0xb7f1b270)
amandad: time 0.005: (sockaddr_in *)0xb7f1b270 = { 2, 858, 10.100.100.160 }
amandad: time 0.005: received ACK pkt:
<<<<<
>>>>>
amandad: time 0.006: stream_accept: connection from 10.100.100.160.50000
amandad: time 0.006: try_socksize: send buffer size is 65536
amandad: time 0.006: try_socksize: receive buffer size is 65536
amandad: time 0.006: security_close(handle=0x80529a0, driver=0xb7f092e0
(BSD))
amandad: time 68710.751: security_stream_close(0x8063010)
amandad: time 68729.749: pid 1414 finish time Tue Dec 30 12:49:14 2008
root@dub-amanda1:/usr/lib/amanda# ls -al ami*
=============================
-rwxr-xr-x 1 root root 16248 2007-11-09 01:08 amidxtaped
-rwxr-xr-x 1 root root 34764 2007-11-09 01:08 amindexd
root@dub-amanda1:/usr/lib/amanda#
Regards,
Christiaan de Vries
Jean-Louis Martineau wrote:
Christiaan de Vries wrote:
Hello Jean-Louis,
File Permissions:
==========
backup@dub-amanda1:~$ ls -al /usr/lib/amanda/amidxtaped
-rwxr-xr-x 1 root root 16248 2007-11-09 01:08 /usr/lib/amanda/amidxtaped
Xinetd.d conf:
========
root@dub-amanda1:/etc/xinetd.d# cat /etc/xinetd.d/amidxtape
#default: on
# description: The amanda tape service
service amidxtape
{
# only_from = <Amanda client list>
socket_type = stream
protocol = tcp
wait = no
user = backup
group = backup
groups = yes
server = /usr/lib/amanda/amidxtaped
server_args = -auth=bsd amdump amindexd amidxtaped
disable = no
}
xinetd amindexd and amidxtaped are not use, you should disable them if
you don't have older client.
Post /etc/xinetd.d/amanda
Post the amandad.*.debug file
Do /usr/lib/amanda/amidxtaped have the same permission as
/usr/lib/amanda/amindexd?
Socket:
====
root@dub-amanda1:/etc/xinetd.d# netstat -an | grep 10083
tcp 0 0 0.0.0.0:10083 0.0.0.0:*
LISTEN
FYI: I have tried changing the file ownership to the backup user, but
to no avail... I also tried to start the amixdtaped deamon with root,
also no change, still the same error:
"amrecover - can't talk to tape server: NAK: execute access to
"/usr/lib/amanda/amidxtaped" denied"
Kind regards again,
Christiaan de Vries
(Btw, where would I set the 'sethost' and 'settape' variables on the
client machine permanently?)
Either when you configure amanda or in the amanda-client.conf file.
Jean-Louis
--
Christiaan de Vries
IT Infrastructure Engineer
Baxter-FX
*24 hour dealing desk:*
+353 1 670 04 55 Baxter-FX
*e-Mail: *chris AT baxter-fx DOT com <mailto:name AT baxter-fx DOT com>
*Fax: *+353 1 633 54 01
*Web: *www.baxter-fx.com <http://www.baxter-fx.com>
* *
Baxter-FX
*IM Networks:*
ICQ: 486907046
MSN: chrisdus AT gmail DOT com
Baxter-FX
*Dealing or Clearing Queries:*
dealers AT baxter-fx DOT com <mailto:dealers AT baxter-fx DOT com>
*System & Technical Questions:*
support AT baxter-fx DOT com <mailto:support AT baxter-fx DOT com>
Baxter-FX
*Address:*
BAXTER Financial Services Ltd.
The Anchorage
17-19 Sir John Rogerson's Quay
Dublin 2
IRELAND
BAXTER Spot-FX, ICE Currency Futures and CME products covered.
Prices and access to other FX markets possible. Please ask us for
availability.
|