Re: amanda cygwin question(s)

2006-07-06 Thread Paul Bijnens

On 2006-07-06 14:20, McGraw, Robert P. wrote:
I am running Amanda 2.4.5P1 server on a Solaris 10 host. 


I want to back up a WindowXP client using cygwin software.

The files on my cygwin system look like

--/etc/inetd.conf--
amanda  dgram  udp  wait  SYSTEM
/local/Amanda/amanda/libexec/amandadamandad

--/etc/service--
amanda  10080/udp#AMANDA backup services
amandaidx   10082/tcp#AMANDA backup services
amidxtape   10083/tcp#AMANDA backup services


--passwd--
SYSTEM:*:18:18:,S-1-5-18:/home/root:
root:*:18:18:,S-1-5-18:/home/root

When I run amcheck on the amanda server I get:

zorn->[42] > ./sbin/amcheck -c daily coriolis
Amanda Backup Client Hosts Check

WARNING: coriolis: selfcheck request timed out.  Host down?
Client check: 1 host checked in 30.025 seconds, 1 problem found
(brought to you by Amanda 2.4.5p1)

If I run nc (netcat) I get:

##R##-zorn->[87] ##> ./nc -v -z -u coriolis 10080
coriolis.math.purdue.edu [128.210.3.202] 10080 (amanda) open

It seems that I can make a UDP connection. 


Also I ran ldd.sh on amandad.exe and got the following:

C:/cygwin/local/Amanda/amanda-2.4.5p1/libexec/amandad.exe
  C:\cygwin\bin\cygwin1.dll
C:\WINDOWS\system32\ADVAPI32.DLL
 C:\WINDOWS\system32\ntdll.dll
 C:\WINDOWS\system32\KERNEL32.dll
 C:\WINDOWS\system32\RPCRT4.dll

I assume that this shows that amanda.exe does not have any unknown
libraries.

Any idea why the amcheck times out?  Where else should I investigate?


http://wiki.zmanda.com/index.php/Amcheck:_selfcheck_request_failed

What happens if you start "amandad" on the client itself.
It should start, sit there for 30 seconds and exit (unless you type
something, in which case it will stop immediately, as amandad does
not understand what you type).

See also:

http://wiki.zmanda.com/index.php/Amcheck:_selfcheck_request_failed

--
Paul Bijnens, xplanation Technology ServicesTel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
http://www.xplanation.com/  email:  [EMAIL PROTECTED]
***
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out  *
***



RE: amanda cygwin question(s)

2006-07-06 Thread Chuck Amadi Systems Administrator
Hi Again whats does it say on the client's Linux of causer /tmp/amanda

amandad.date.debug 
amcheck.date.debug 

I assume you have created the similar directories for your windoze box.
Also can you run tcpdump to dump traffic on a network.

# tcpdump host  > /tmp/log_of_your_dump_packets

I used tcpdump to check my client servers status and I thus was bale to
sort my firewall which isn't your issue I know.

I assume you are looking for tests to do from your windoze So I guess I
am stuck all my windoze clients are only accessible from their work
group and I backup them individualy with the ntbackup utiltiy as they
are really only running standalone apps.

Cheers

Cheers

Chuck


On Thu, 2006-07-06 at 08:52 -0400, McGraw, Robert P. wrote:
> Chuck,
> 
> 
> Wow, I just love the internet. Send a question from the US and someone in
> the UK answers in minutes. 
> 
> My hosts are not behind a firewall and are on the same subnet. I seem to be
> able to get to the 10080 UDP port on the win box from my amanda server by my
> netcat test so I believe this part is ok but then not being a window type
> guy who knows.
> 
> Thanks for your input.
> 
> Robert
> 
> 
> 
> _
> Robert P. McGraw, Jr.
> Manager, Computer System EMAIL: [EMAIL PROTECTED]
> Purdue University ROOM: MATH-807
> Department of MathematicsPHONE: (765) 494-6055
> 150 N. University Street   FAX: (419) 821-0540
> West Lafayette, IN 47907-2067
> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > On Behalf Of Chuck Amadi Systems Administrator
> > Sent: Thursday, July 06, 2006 8:30 AM
> > To: Amanda List
> > Subject: Re: amanda cygwin question(s)
> > 
> > 
> > Hi Robert
> > 
> > Is your win box between a firewall or is it within the same LAN as I
> > assume your linux/nix boxes.
> > 
> > As I had timeout issues relating to my zope/plone server siting behind
> > my firewall and not in my LAN.
> > 
> > I had to increase my ipchains timeouts Thus note I am currently
> > preparing,install/config as new fw(dmz) server to use Iptables In case
> > you'll shout at me ;>(.
> > 
> > Cheers
> > 
> > On Thu, 2006-07-06 at 08:20 -0400, McGraw, Robert P. wrote:
> > > I am running Amanda 2.4.5P1 server on a Solaris 10 host.
> > >
> > > I want to back up a WindowXP client using cygwin software.
> > >
> > > The files on my cygwin system look like
> > >
> > >   --/etc/inetd.conf--
> > >   amanda  dgram  udp  wait  SYSTEM
> > > /local/Amanda/amanda/libexec/amandad  amandad
> > >
> > >   --/etc/service--
> > >   amanda  10080/udp#AMANDA backup services
> > >   amandaidx   10082/tcp#AMANDA backup services
> > >   amidxtape   10083/tcp#AMANDA backup services
> > >
> > >
> > >   --passwd--
> > >   SYSTEM:*:18:18:,S-1-5-18:/home/root:
> > >   root:*:18:18:,S-1-5-18:/home/root
> > >
> > > When I run amcheck on the amanda server I get:
> > >
> > >   zorn->[42] > ./sbin/amcheck -c daily coriolis
> > >   Amanda Backup Client Hosts Check
> > >   
> > >   WARNING: coriolis: selfcheck request timed out.  Host down?
> > >   Client check: 1 host checked in 30.025 seconds, 1 problem found
> > >   (brought to you by Amanda 2.4.5p1)
> > >
> > > If I run nc (netcat) I get:
> > >
> > >   ##R##-zorn->[87] ##> ./nc -v -z -u coriolis 10080
> > >   coriolis.math.purdue.edu [128.210.3.202] 10080 (amanda) open
> > >
> > > It seems that I can make a UDP connection.
> > >
> > > Also I ran ldd.sh on amandad.exe and got the following:
> > >
> > >   C:/cygwin/local/Amanda/amanda-2.4.5p1/libexec/amandad.exe
> > > C:\cygwin\bin\cygwin1.dll
> > >   C:\WINDOWS\system32\ADVAPI32.DLL
> > >C:\WINDOWS\system32\ntdll.dll
> > >C:\WINDOWS\system32\KERNEL32.dll
> > >C:\WINDOWS\system32\RPCRT4.dll
> > >
> > > I assume that this shows that amanda.exe does not have any unknown
> > > libraries.
> > >
> > > Any idea why the amcheck times out?  Where else should I investigate?
> > >
> > > Thanks
> > >
> > >
> > >
> > > _
&g

Re: amanda cygwin question(s)

2006-07-06 Thread Chuck Amadi Systems Administrator
Hi Robert

Is your win box between a firewall or is it within the same LAN as I
assume your linux/nix boxes.

As I had timeout issues relating to my zope/plone server siting behind
my firewall and not in my LAN.

I had to increase my ipchains timeouts Thus note I am currently
preparing,install/config as new fw(dmz) server to use Iptables In case
you'll shout at me ;>(.

Cheers

On Thu, 2006-07-06 at 08:20 -0400, McGraw, Robert P. wrote:
> I am running Amanda 2.4.5P1 server on a Solaris 10 host. 
> 
> I want to back up a WindowXP client using cygwin software.
> 
> The files on my cygwin system look like
> 
>   --/etc/inetd.conf--
>   amanda  dgram  udp  wait  SYSTEM
> /local/Amanda/amanda/libexec/amandad  amandad
> 
>   --/etc/service--
>   amanda  10080/udp#AMANDA backup services
>   amandaidx   10082/tcp#AMANDA backup services
>   amidxtape   10083/tcp#AMANDA backup services
> 
> 
>   --passwd--
>   SYSTEM:*:18:18:,S-1-5-18:/home/root:
>   root:*:18:18:,S-1-5-18:/home/root
> 
> When I run amcheck on the amanda server I get:
> 
>   zorn->[42] > ./sbin/amcheck -c daily coriolis
>   Amanda Backup Client Hosts Check
>   
>   WARNING: coriolis: selfcheck request timed out.  Host down?
>   Client check: 1 host checked in 30.025 seconds, 1 problem found
>   (brought to you by Amanda 2.4.5p1)
> 
> If I run nc (netcat) I get:
> 
>   ##R##-zorn->[87] ##> ./nc -v -z -u coriolis 10080
>   coriolis.math.purdue.edu [128.210.3.202] 10080 (amanda) open
> 
> It seems that I can make a UDP connection. 
> 
> Also I ran ldd.sh on amandad.exe and got the following:
> 
>   C:/cygwin/local/Amanda/amanda-2.4.5p1/libexec/amandad.exe
> C:\cygwin\bin\cygwin1.dll
>   C:\WINDOWS\system32\ADVAPI32.DLL
>C:\WINDOWS\system32\ntdll.dll
>C:\WINDOWS\system32\KERNEL32.dll
>C:\WINDOWS\system32\RPCRT4.dll
> 
> I assume that this shows that amanda.exe does not have any unknown
> libraries.
> 
> Any idea why the amcheck times out?  Where else should I investigate?
> 
> Thanks
> 
> 
> 
> _
> Robert P. McGraw, Jr.
> Manager, Computer System EMAIL: [EMAIL PROTECTED]
> Purdue University ROOM: MATH-807
> Department of MathematicsPHONE: (765) 494-6055
> 150 N. University Street   FAX: (419) 821-0540
> West Lafayette, IN 47907-2067
> 
> 
-- 
Unix/ Linux Systems Administrator
Chuck Amadi
The Surgical Material Testing Laboratory (SMTL), 
Princess of Wales Hospital 
Coity Road 
Bridgend, 
United Kingdom, CF31 1RQ.
Email chuck.smtl.co.uk
Tel: +44 1656 752820 
Fax: +44 1656 752830