2.4.3 amandad time outs PLEASE HELP!

2003-01-07 Thread tammy
Hi

I have installed amanda 2.4.3 client on a Mac OS X box and have the 
same issue described below (in a post I made yesterday). amandad on the 
client waits for an ACK and receives a REQ instead. This happens twice 
and then the client amandad times out and exits while waiting for the 
ACK.

I had amanda 2.4.2p2 previously working on both redhat linux (7.2 
kernel 2.4.7-10) and this Mac OS X (10.2.2) box before the upgrade to 
2.4.3. We also changed all our ip's on our network but I can't see 
where that is affecting amanda since the fresh install of 2.4.3.

Another interesting note is that the backup runs successfully on the 
amanda server (redhat linux 7.3 kernel 2.4.19 with ac4 patch) when it 
is backed up (as a client). But our other 2 clients timeout waiting for 
ACKS they do not receive:(

I have gone through all the obvious troubleshooting mentioned in 
http://amanda.sourceforge.net/fom-serve/cache/16.html and searched the 
archives to no avail.

Anyone have any idea what is going wrong here?! PLEASE HELP!
Is there some way to turn up the level of debugging amanda does to it's 
log files? Anything please!

thanks
	t

On Monday, January 6, 2003, at 06:03  PM, tammy wrote:

Hi

I upgraded to amanda 2.4.3 and now my client times out when running
amcheck from the server. Also no selfcheck...debug file is created on
client.xinetd starts amanda without errors or warnings.

The amandad...debug file looks like this:
---
amandad: debug 1 pid 13640 ruid 501 euid 501: start at Mon Jan  6
17:39:28 2003
amandad: version 2.4.3
amandad: build: VERSION="Amanda-2.4.3"
amandad:BUILT_DATE="Fri Jan 3 16:57:03 PST 2003"
amandad:BUILT_MACH="Linux host 2.4.7-10
#1 Thu Sep 6 17:27:27 E
DT 2001 i686 unknown"
amandad:CC="gcc"
amandad:CONFIGURE_COMMAND="'./configure' '--with-user=amanda'
'--with-group=amanda'
'--with-gnutar-listdir=/var/amanda' '--with-debugging'
'--with-portrange=5,50100' '--wit
h-configdir=/etc/amanda' '--with-config=daily'
'--with-tape-server=host
.com' '--with-gnutar=/bin/tar' '--without-server'
'--with-index-server=host '--with-amandahosts'"
amandad: paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin"
amandad:libexecdir="/usr/local/libexec" ma
ndir="/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" GNUTAR="/bin/tar"
amandad:COMPRESS_PATH="/usr/bin/gzip"
amandad:UNCOMPRESS_PATH="/usr/bin/gzip" MAILER="/usr/bin/Mail"
amandad:listed_incr_dir="/var/amanda"
amandad: defs:  DEFAULT_SERVER="host"
amandad:DEFAULT_CONFIG="daily"
amandad:DEFAULT_TAPE_SERVER="host"
amandad:DEFAULT_TAPE_DEVICE="/dev/null" HAVE_MMAP HAVE_SYSVSHM
amandad:LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
amandad:AMANDA_DEBUG_DAYS=4 BSD_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: got packet:

Amanda 2.4 REQ HANDLE 001-D85C0808 SEQ 1041903629
SECURITY USER amanda
SERVICE noop
OPTIONS features=feff9f00;


amandad: time 0.000: sending ack:

Amanda 2.4 ACK HANDLE 001-D85C0808 SEQ 1041903629


amandad: time 0.001: bsd security: remote host
goodchild.organicromantic.com user amanda local user amanda
amandad: time 0.001: amandahosts security check passed
amandad: time 0.001: running service "noop"
amandad: time 0.001: sending REP packet:

Amanda 2.4 REP HANDLE 001-D85C0808 SEQ 1041903629
OPTIONS features=feff9f00;


amandad: time 9.998: dgram_recv: timeout after 10 seconds
amandad: time 9.998: waiting for ack: timeout, retrying
amandad: time 10.008: got packet:

Amanda 2.4 REQ HANDLE 001-D85C0808 SEQ 1041903629
SECURITY USER amanda
SERVICE noop
OPTIONS features=feff9f00;


amandad: time 10.008: it is not an ack
amandad: time 20.007: dgram_recv: timeout after 10 seconds
amandad: time 20.008: waiting for ack: timeout, retrying
amandad: time 20.009: got packet:

Amanda 2.4 REQ HANDLE 001-D85C0808 SEQ 1041903629
SECURITY USER amanda
SERVICE noop
OPTIONS features=feff9f00;


amandad: time 20.009: it is not an ack
amandad: time 30.007: dgram_recv: timeout after 10 seconds
amandad: time 30.007: waiting for ack: timeout, retrying
amandad: time 40.007: dgram_recv: timeout after 10 seconds
amandad: time 40.007: waiting for ack: timeout, retrying
amandad: time 50.007: dgram_recv: timeout after 10 seconds
amandad: time 50.007: waiting for ack: timeout, giving up!
amandad: time 50.007: pid 13640 finish time Mon Jan  6 17:40:18 2003

-

Is it just me or does it appear that the client is w

Re: amrestore: could not stat /dev/rmt0.1

2003-01-07 Thread David Hayes
On Fri, 3 Jan 2003, John R. Jackson wrote:

>That message comes from a pretty simple stat() system call on the tape
>device.  Was the drive ready when you did this?  I assume /dev/rmt0.1
>was the right device name?

The drive was ready.  And the same command works fine if I run the old
(2.4.2p2) version or amrestore.

>In any case, could you apply the following patch and report what the
>error code is (it will now be logged in the same message)?
>
>A quick glance at the 2.4.2 code seems to indicate it's doing the exact
>same thing as 2.4.3, so I'm not sure why there would be a problem (not
>saying there isn't -- just don't get it yet).

Here's what I get when I run the patched 2.4.3 version:

# /amanda/sbin/amrestore /dev/rmt0.1 shrike /home
amrestore: could not stat /dev/rmt0.1: A memory address is not in the
address space for the process.


Thanks for looking into this.

--david



Client times out on amcheck after upgrade to 2.4.3

2003-01-07 Thread tammy
Hi

I upgraded to amanda 2.4.3 and now my client times out when running
amcheck from the server. Also no selfcheck...debug file is created on
client.xinetd starts amanda without errors or warnings.

The amandad...debug file looks like this:
---
amandad: debug 1 pid 13640 ruid 501 euid 501: start at Mon Jan  6
17:39:28 2003
amandad: version 2.4.3
amandad: build: VERSION="Amanda-2.4.3"
amandad:BUILT_DATE="Fri Jan 3 16:57:03 PST 2003"
amandad:BUILT_MACH="Linux host 2.4.7-10
#1 Thu Sep 6 17:27:27 E
DT 2001 i686 unknown"
amandad:CC="gcc"
amandad:CONFIGURE_COMMAND="'./configure' '--with-user=amanda'
'--with-group=amanda'
'--with-gnutar-listdir=/var/amanda' '--with-debugging'
'--with-portrange=5,50100' '--wit
h-configdir=/etc/amanda' '--with-config=daily'
'--with-tape-server=host
.com' '--with-gnutar=/bin/tar' '--without-server'
'--with-index-server=host '--with-amandahosts'"
amandad: paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin"
amandad:libexecdir="/usr/local/libexec" ma
ndir="/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" GNUTAR="/bin/tar"
amandad:COMPRESS_PATH="/usr/bin/gzip"
amandad:UNCOMPRESS_PATH="/usr/bin/gzip" MAILER="/usr/bin/Mail"
amandad:listed_incr_dir="/var/amanda"
amandad: defs:  DEFAULT_SERVER="host"
amandad:DEFAULT_CONFIG="daily"
amandad:DEFAULT_TAPE_SERVER="host"
amandad:DEFAULT_TAPE_DEVICE="/dev/null" HAVE_MMAP HAVE_SYSVSHM
amandad:LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
amandad:AMANDA_DEBUG_DAYS=4 BSD_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: got packet:

Amanda 2.4 REQ HANDLE 001-D85C0808 SEQ 1041903629
SECURITY USER amanda
SERVICE noop
OPTIONS features=feff9f00;


amandad: time 0.000: sending ack:

Amanda 2.4 ACK HANDLE 001-D85C0808 SEQ 1041903629


amandad: time 0.001: bsd security: remote host
goodchild.organicromantic.com user amanda local user amanda
amandad: time 0.001: amandahosts security check passed
amandad: time 0.001: running service "noop"
amandad: time 0.001: sending REP packet:

Amanda 2.4 REP HANDLE 001-D85C0808 SEQ 1041903629
OPTIONS features=feff9f00;


amandad: time 9.998: dgram_recv: timeout after 10 seconds
amandad: time 9.998: waiting for ack: timeout, retrying
amandad: time 10.008: got packet:

Amanda 2.4 REQ HANDLE 001-D85C0808 SEQ 1041903629
SECURITY USER amanda
SERVICE noop
OPTIONS features=feff9f00;


amandad: time 10.008: it is not an ack
amandad: time 20.007: dgram_recv: timeout after 10 seconds
amandad: time 20.008: waiting for ack: timeout, retrying
amandad: time 20.009: got packet:

Amanda 2.4 REQ HANDLE 001-D85C0808 SEQ 1041903629
SECURITY USER amanda
SERVICE noop
OPTIONS features=feff9f00;


amandad: time 20.009: it is not an ack
amandad: time 30.007: dgram_recv: timeout after 10 seconds
amandad: time 30.007: waiting for ack: timeout, retrying
amandad: time 40.007: dgram_recv: timeout after 10 seconds
amandad: time 40.007: waiting for ack: timeout, retrying
amandad: time 50.007: dgram_recv: timeout after 10 seconds
amandad: time 50.007: waiting for ack: timeout, giving up!
amandad: time 50.007: pid 13640 finish time Mon Jan  6 17:40:18 2003

-

Is it just me or does it appear that the client is waiting for an ACK
and gets a REQ instead? What is going wrong here? Can someone please
help?!!!

Thanks for any and all help!





Re: Backup Oracle

2003-01-07 Thread Francesc Guasch Ortiz
Rebecca Pakish Crum wrote:

I use amanda to back up oracle. Basically I backup the cold backups that oracle does on it's own. I've restored from it as well. It's clean. I've never tried to just back up individual tables. In my opinion, oracle wouldn't restore cleanly that way no matter what was backing it up. Oracle likes to restore from it's own backups.


I have also just set up a backup of an Oracle webserver
with amanda.

I'm using the script that comes with the book Unix Backup
& Recovery. It does the backup in one directory, then I use
amanda to send all the partitions to tape ( but the one with
the Oracle live tables).

I think that the script can be found out there. It's
oraback.sh


-Original Message-
From: Aline [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 6:42 AM
To: [EMAIL PROTECTED]
Subject: Backup Oracle


Hi,

I would like to use the Amanda Software in order to make 
backup of some oracle's tables. Is it possible? Is it 
good?






Re: OSX and hfstar

2003-01-07 Thread David Raistrick
On Mon, 6 Jan 2003, David Raistrick wrote:

> Looking at the hfstar package, I suspect this would work well.
> 
> Simply compile your amanda-client with --with-gnutar=/usr/local/bin/hfstar
> (or similar) and give it a go.
> 
> In fact, I'll toss this onto my testbed OSX box tonight (though I'll
> simply name the hfstar as gnutar...:) and see how it works.

I replaced gnutar with hfstar last night on my OSX 10.1 testbed last
night.

The backup went smoothly for the same data I was using hfstar
for.  amrecover was able to restore the data smoothly as well.  The volume
in question is an HFS+ formated volume.

Looks good to me. :)

Thanks for the suggestion!

...david



---
david raistrick
[EMAIL PROTECTED]   http://www.expita.com/nomime.html





RE: Backup Oracle

2003-01-07 Thread Rebecca Pakish Crum
I use amanda to back up oracle. Basically I backup the cold backups that oracle does 
on it's own. I've restored from it as well. It's clean. I've never tried to just back 
up individual tables. In my opinion, oracle wouldn't restore cleanly that way no 
matter what was backing it up. Oracle likes to restore from it's own backups.

-Original Message-
From: Aline [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 6:42 AM
To: [EMAIL PROTECTED]
Subject: Backup Oracle


Hi,

I would like to use the Amanda Software in order to make 
backup of some oracle's tables. Is it possible? Is it 
good?

Thanks, Aline

 
__
E-mail Premium BOL
Antivírus, anti-spam e até 100 MB de espaço. Assine já!
http://email.bol.com.br/





Backup Oracle

2003-01-07 Thread Aline
Hi,

I would like to use the Amanda Software in order to make 
backup of some oracle's tables. Is it possible? Is it 
good?

Thanks, Aline

 
__
E-mail Premium BOL
Antivírus, anti-spam e até 100 MB de espaço. Assine já!
http://email.bol.com.br/