Amanda-Users

Re: cygwin and amanda on windows 2000

2006-06-09 13:31:58
Subject: Re: cygwin and amanda on windows 2000
From: "Mary Kennedy" <marykenn AT hotmail DOT com>
To: amanda-users AT amanda DOT org
Date: Fri, 09 Jun 2006 17:25:21 +0100
Hi Pavel,

Thanks for the reply. I have read the links and followed everything in there and also re-installed cygwin from start. I do have some updates however on the 2 machines.

On machine 1 I can now see the connection from the amcheck server and the amandad.exe starting in the task manager. It just sits there running and never appears to do anything. The dump comes back with results missing.

On machine 2, I have managed to get it to run for an amcheck. But when I run the backup I get the following error:

/-- <MachineName>/cygdrive/c/Inetpub lev 0 FAILED [mesg read: Connection reset by peer]
sendbackup: start [MachineName:/cygdrive/c/Inetpub level 0]
sendbackup: info BACKUP=/usr/bin/tar
sendbackup: info RECOVER_CMD=/usr/bin/tar -f... -
sendbackup: info end
| Total bytes written: 81920 (80KiB, 2.2MiB/s)
sendbackup: size 80
sendbackup: end
\--------

In the sendsize logs in /tmp/amanda on the client, it gives the following errors:

sendsize[2084]: time 0.081: /usr/bin/tar: ./wwwroot/win2000.gif: Warning: Cannot
seek to 0: Bad file descriptor

It looks like tar has problems, but I am open to any other suggestions.

Regards,
Mary.

From: Pavel Pragin <ppragin AT zmanda DOT com>
To: Mary Kennedy <marykenn AT hotmail DOT com>
CC: amanda-users AT amanda DOT org
Subject: Re: cygwin and amanda on windows 2000
Date: Fri, 09 Jun 2006 08:47:09 -0700

Mary Kennedy wrote:

Hi All,

I have amanda compiled on a windows 2000 server and for some reason it is failing on amcheck. I have gone through all the details of setting up amanda on cygwin and tried to run it on 2 windows 2000 machines. Both of them fail. I also set it up on a windows xp machine and that runs fine. I have used windump and can see the server contacting the client, but I do not see the client contacting the server. If I run amandad by hand on the client, it seems to run fine. I have gone through all the permissions on the client and tried them every way I can think of, without success. I have installed and re-installed inetd. I have checked that it is working by adding telnet in to see if I can connect and that all works fine. When I check /tmp/amanda, no file is created if I run an amcheck from the server. A file is created if I run it manually. I cannot see any errors in the event viewer. The version of amanda is 2.4.5p1.

Does anybody have any ideas on this, as I have run out of options? Could it be a problem with the version of software I am using?

Thanks in advance for any input.

Regards,
Mary.


Have you read this documentation?
http://wiki.zmanda.org/index.php/Amanda_running_on_Cygwin_server
I would recommend using amanda version 2.5.0 and also do a full cygwin installation so you are not
missing any necessary packages before you compile amanda on it.
http://www.cygwin.com/setup.exe
Pavel




<Prev in Thread] Current Thread [Next in Thread>