Amanda-users,

I want to think all who responded to this email. I finally got amcheck working 
with my cygwin.

The problem was my /tmp/amanda file.

If you do not have a /tmp/amanda file it will get created but the owner of the 
/tmp/amanda file is the person who installed cygwin. Like so.

total 0
drwxrwxrwt+  4 rmcgraw Users 0 Jul  6 15:12 .
drwxrwx---+ 10 rmcgraw Users 0 Jul  6 08:11 ..
drwx--S---+  2 rmcgraw None  0 Jul  6 15:10 amanda

But as someone pointed out it needs to be owned by the program that runs 
amandad.exe from the inetd.conf file, which in my case is SYSTEM

I changed /tmp/amanda to

drwxrwx---+  2 SYSTEM  root  0 Jul  6 15:08 amanda

I have root the group so I can have access to the directory.

You also need to restart inetd.

Now I will see if the backup will actually work tonight.

Thanks again.

Robert


--------------------MY OLD EMAIL-----------------------------

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 Mathematics                PHONE: (765) 494-6055
150 N. University Street                   FAX: (419) 821-0540
West Lafayette, IN 47907-2067


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to