Re: Win32 client setup

2001-10-17 Thread Kurt Yoder

Jon LaBadie wrote:
> I did not feel the installation instructions were too clear.
> Maybe I have not found the correct ones.  Pointers?

This is very true; I had to fiddle a bit to make it work. Here's what I
did:

-download the "amanda-clients-bin" latest zip file and unzip it
-make a folder "usr" in one of your drives
-move the amanda folder into it; path to binaries should be
\usr\amanda\bin and so forth
-copy pw32.8.dll from the "bin" folder to "libexec" and "sbin" folders
-copy \usr\amanda\share\amanda-win32-clients\.amandahosts to
\usr\amanda\etc\amanda\
-add your amanda master to the \usr\amanda\etc\amanda\.amandahosts
-start your amanda test: run \usr\amanda\libexec\rc.amandad.bat (an
empty dos window should pop up)
-add entries to the amanda master's disklist; use the form "
/mnt_ ", one for each disk on each nt host; my
disklist entry for my nt host looks like "gandalf /mnt_c user-tar", etc
-run amcheck on the master, make sure you see the server connecting on
the nt host; you should see its name show up in the window on the nt
machine that rc.amandad.bat opened
-if the test was successful, close rc.amandad.bat and install
\usr\amanda\libexec\amandad.exe as a service named "amandad" (use
srvany.exe from the nt resource kit for this); service should be a
system account and start up automatically
-suggested registry entries for the amandad service are in
\usr\amanda\share\amanda\amandad.reg; double click on this file to
install its keys
-make sure the drive letter and path in the registry's
hklm/system/ccs/services/amandad/parameters key matches where
amandad.exe is actually installed
-start up the amandad service
 
> Two questions, does the W32 client anticipate the cygwin package
> is installed on the M$ box?  Though I did not see it stated, I
> got that impression.

Cygwin is not necessary.

> Second, I came across a page describing environment variables
> that need be set.  Something about the PW32 environment (Posix
> Win 32??).  Are these set on the unix amanda server or on the
> client when started from the service routines?

I didn't set any environment variables on the NT machine.



Re: Win32 client setup

2001-10-17 Thread Kurt Yoder

Wayne Richards wrote:
> 
> I've got the Win32 client setup and running in a console window on an NT box
> running NT4.0 SP6a.  It works well.  I've also setup amanda as a service
> according to the instructions.  However, the service does not start.  It hangs
> for a while and then gives an error:
> 
> Error 2186:  The service is not responding to the control function.
> 
> Now, I went to the MS support site and found the 2186 error.  The solution
> given was to upgrade to the most current SP.  So I checked my machine and it
> had SP6a, but there was a hotfix that wasn't loaded (Q246009), so I loaded it
> and restarted the system.
> 
> The service is to run under the user 'amanda' as a local user with
> administrative rights including the right to 'login as a service'.  It's setup
> as a 'Manual' service so it does not try to start at boot, even though that's
> what I would prefer.  The server is a Sun E3000 and has no problem backing up
> the NT box when the client is running in the foreground in a console window or
> command window.
> 
> Has anyone had any luck with the Win32 client as a service?
> 
> I found the client at:
> http://sourceforge.net/projects/amanda-win32/

Yes, I've been using it for several weeks. It seems it's a bit buggy
though. I've had it refuse to work on two machines until I rebooted.
Then it works for awhile, but eventually does the same thing a few days
later, and I need to reboot again. I've also had one of the machines
refuse to work (Dr Watson errors) until I deinstalled Python and
WxPython, which are necessary for the client's amrestore; weird. 

I have my service running using the "system account", with "interact
with the desktop" left unchecked. I would try this first. I also have my
service starting up automatically at bootup. Also, don't forget to edit
the registry settings of the service to point to the correct path of the
amanda installation.

-Kurt



Win32 client setup

2001-10-16 Thread Wayne Richards

I've got the Win32 client setup and running in a console window on an NT box 
running NT4.0 SP6a.  It works well.  I've also setup amanda as a service 
according to the instructions.  However, the service does not start.  It hangs 
for a while and then gives an error:

Error 2186:  The service is not responding to the control function.

Now, I went to the MS support site and found the 2186 error.  The solution 
given was to upgrade to the most current SP.  So I checked my machine and it 
had SP6a, but there was a hotfix that wasn't loaded (Q246009), so I loaded it 
and restarted the system.

The service is to run under the user 'amanda' as a local user with 
administrative rights including the right to 'login as a service'.  It's setup 
as a 'Manual' service so it does not try to start at boot, even though that's 
what I would prefer.  The server is a Sun E3000 and has no problem backing up 
the NT box when the client is running in the foreground in a console window or 
command window.

Has anyone had any luck with the Win32 client as a service?

I found the client at:
http://sourceforge.net/projects/amanda-win32/

---
Wayne Richards  Phone:  330 796-4462
Goodyear Tech CenterFax:330 796-3947
Department 431A e-mail: [EMAIL PROTECTED]
PO Box 3531
Akron, OH  44309-3531