Re: Amanda on Macos X

2008-08-23 Thread Nouveaux Territoires

No, this repository doesn't exist !!
I don't understand

But now, amanda is ok.

I deleted the ssh keys and i created news keys.

And now is OK

thanks for your help

Julien

Le 22 août 08 à 16:00, Yu Chen a écrit :


yes i followed the instruction of this page.

This system (authentification with SSH) is oK on a Linux fedora  
client.


But this client is Macos X leopard, i have the problem !!!

With the user amanda on the server, i write

ssh [EMAIL PROTECTED]

In this case, it's ok !!

But with amacheck, i have this problem

On the server, in the /tmp/amanda/server/saroumane, i have this :

amcheck: debug 1 pid 18120 ruid 33 euid 0: start at Thu Aug 21  
21:49:19 2008
amcheck: debug 1 pid 18120 ruid 33 euid 33: rename at Thu Aug 21  
21:49:19 2008

security_getdriver(name=ssh) returns 0x2b122b60
security_handleinit(handle=0x61f790, driver=0x2b122b60 (SSH))
security_streaminit(stream=0x620310, driver=0x2b122b60 (SSH))
changer_query: changer return was 6 1
changer_query: searchable = 0
changer_find: looking for NULL changer is searchable = 0
security_stream_seterr(0x620310, SOCKET_EOF)
security_seterror(handle=0x61f790, driver=0x2b122b60 (SSH)  
error=EOF on read from saroumane.nt.fr)

security_close(handle=0x61f790, driver=0x2b122b60 (SSH))
security_stream_close(0x620310)
amcheck: pid 18120 finish time Thu Aug 21 21:49:19 2008


But on the maxos X Leopard, idon't find any logs
Why 


Is there a /tmp/amanda directory on your Leopard box?

Chen





thanks,


julien


Le 21 août 08 à 17:40, Yu Chen a écrit :


Thank alo for your response
I used Launcctl to run the script.
When i taped on my server
$ amcheck saroumane
I obtained an error
Amanda Tape Server Host Check
-
Holding disk /dumps/amandatapes/saroumane: 166641 MB disk space  
available, using 166541 MB

slot 6: read label `saroumane-06', date `X'
NOTE: skipping tape-writable test
Tape saroumane-06 label ok
NOTE: host info dir /usr/local/amanda/etc/amanda/saroumane/ 
curinfo/saroumane does not exist

NOTE: it will be created on the next run.
NOTE: index dir /usr/local/amanda/etc/amanda/saroumane/index/ 
saroumane does not exist

NOTE: it will be created on the next run.
Server check took 0.137 seconds
Host key verification failed.
Amanda Backup Client Hosts Check

WARNING: saroumane: selfcheck request failed: EOF on read from  
saroumane.nt.fr

Client check: 1 host checked in 0.094 seconds, 1 problem found
(brought to you by Amanda 2.5.1p3)
Why 
If i taped
-bash-3.1$ ssh [EMAIL PROTECTED]
Last login: Thu Aug 21 17:12:28 2008 from backup
saroumane:~ amanda$
I connedted without problems and without password.
But by amcheck, i have this error : Host key verification failed.

But this error seems from the server check, not client check, right?
For client error, check /tmp/amanda directory on the client to see  
what exactly happened.
So I am assuming you are using SSH authention. I am not familar  
with it. But just to check, that you followed the instruction at "http://wiki.zmanda.com/index.php/How_To:Set_up_transport_encryption_with_SSH 
"

right?

Thanks,
Julien
Le 21 août 08 à 16:00, Yu Chen a écrit :

I installed amanda on macos X.
I followed the instruction of this page :
Installation/OS Specific Notes/Installing Amanda on Mac OS X
All is ok.
I compiled the source and installed the program.
But, on leopard, what is the next step ?
In the documentation, there is this sentence :
Leopard
At least one user is successfully using Amanda on Leopard,  
though he is using SSH authentication, not BSD*. (I am testing  
with BSD, passed amcheck phase, will see how the backup goes  
tonight (08/20/2008))

Ok for the authentication but how do you run the amandad server ?
Like Tiger ?
First, you talking about amandad daemon or amanda server on  
Leopard?
For amandad daemon, you do the same as in Tiger, constructe the  
plist file, then using launchctl to start the daemon.
For amanda server on Leopard, I am not doing that, I compiled  
amanda without server on Leopard.
And just to report, my backup finished just fine. I will do a  
restore today, see if the backup really works. Then report back  
(probably on wiki too).

Chen

thank you for your help
Julien

===
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250
phone:  (410)455-1728 (primary)
(410)455-6347 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===

===
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250
phone:  (410)455-1728 (primary)
(410)455-6347 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===





==

Re: Amanda on Macos X

2008-08-22 Thread Yu Chen

yes i followed the instruction of this page.

This system (authentification with SSH) is oK on a Linux fedora client.

But this client is Macos X leopard, i have the problem !!!

With the user amanda on the server, i write

ssh [EMAIL PROTECTED]

In this case, it's ok !!

But with amacheck, i have this problem

On the server, in the /tmp/amanda/server/saroumane, i have this :

amcheck: debug 1 pid 18120 ruid 33 euid 0: start at Thu Aug 21 21:49:19 2008
amcheck: debug 1 pid 18120 ruid 33 euid 33: rename at Thu Aug 21 21:49:19 
2008

security_getdriver(name=ssh) returns 0x2b122b60
security_handleinit(handle=0x61f790, driver=0x2b122b60 (SSH))
security_streaminit(stream=0x620310, driver=0x2b122b60 (SSH))
changer_query: changer return was 6 1
changer_query: searchable = 0
changer_find: looking for NULL changer is searchable = 0
security_stream_seterr(0x620310, SOCKET_EOF)
security_seterror(handle=0x61f790, driver=0x2b122b60 (SSH) error=EOF on 
read from saroumane.nt.fr)

security_close(handle=0x61f790, driver=0x2b122b60 (SSH))
security_stream_close(0x620310)
amcheck: pid 18120 finish time Thu Aug 21 21:49:19 2008


But on the maxos X Leopard, idon't find any logs
Why 


Is there a /tmp/amanda directory on your Leopard box?

Chen





thanks,


julien


Le 21 août 08 à 17:40, Yu Chen a écrit :


Thank alo for your response

I used Launcctl to run the script.

When i taped on my server

$ amcheck saroumane

I obtained an error

Amanda Tape Server Host Check
-
Holding disk /dumps/amandatapes/saroumane: 166641 MB disk space available, 
using 166541 MB

slot 6: read label `saroumane-06', date `X'
NOTE: skipping tape-writable test
Tape saroumane-06 label ok
NOTE: host info dir 
/usr/local/amanda/etc/amanda/saroumane/curinfo/saroumane does not exist

NOTE: it will be created on the next run.
NOTE: index dir /usr/local/amanda/etc/amanda/saroumane/index/saroumane 
does not exist

NOTE: it will be created on the next run.
Server check took 0.137 seconds
Host key verification failed.

Amanda Backup Client Hosts Check

WARNING: saroumane: selfcheck request failed: EOF on read from 
saroumane.nt.fr

Client check: 1 host checked in 0.094 seconds, 1 problem found

(brought to you by Amanda 2.5.1p3)

Why 

If i taped
-bash-3.1$ ssh [EMAIL PROTECTED]
Last login: Thu Aug 21 17:12:28 2008 from backup
saroumane:~ amanda$

I connedted without problems and without password.

But by amcheck, i have this error : Host key verification failed.


But this error seems from the server check, not client check, right?
For client error, check /tmp/amanda directory on the client to see what 
exactly happened.


So I am assuming you are using SSH authention. I am not familar with it. 
But just to check, that you followed the instruction at 
"http://wiki.zmanda.com/index.php/How_To:Set_up_transport_encryption_with_SSH";

right?






Thanks,


Julien




Le 21 août 08 à 16:00, Yu Chen a écrit :


I installed amanda on macos X.
I followed the instruction of this page :
Installation/OS Specific Notes/Installing Amanda on Mac OS X
All is ok.
I compiled the source and installed the program.
But, on leopard, what is the next step ?
In the documentation, there is this sentence :
Leopard
At least one user is successfully using Amanda on Leopard, though he is 
using SSH authentication, not BSD*. (I am testing with BSD, passed 
amcheck phase, will see how the backup goes tonight (08/20/2008))

Ok for the authentication but how do you run the amandad server ?
Like Tiger ?

First, you talking about amandad daemon or amanda server on Leopard?
For amandad daemon, you do the same as in Tiger, constructe the plist 
file, then using launchctl to start the daemon.
For amanda server on Leopard, I am not doing that, I compiled amanda 
without server on Leopard.
And just to report, my backup finished just fine. I will do a restore 
today, see if the backup really works. Then report back (probably on wiki 
too).

Chen

thank you for your help
Julien

===
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250
phone:  (410)455-1728 (primary)
(410)455-6347 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===





===
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-1728 (primary)
(410)455-6347 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===





===
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-1728 (primary)

Re: Amanda on Macos X

2008-08-21 Thread Telsin


On Aug 21, 2008, at 3:13 PM, Nouveaux Territoires wrote:


ssh [EMAIL PROTECTED]

In this case, it's ok !!

But with amacheck, i have this problem

On the server, in the /tmp/amanda/server/saroumane, i have this :

security_stream_seterr(0x620310, SOCKET_EOF)
security_seterror(handle=0x61f790, driver=0x2b122b60 (SSH)  
error=EOF on read from saroumane.nt.fr)


'ssh [EMAIL PROTECTED]' and 'ssh [EMAIL PROTECTED]' are NOT the  
same, at least as far as ssh is concerned.


Try 'ssh [EMAIL PROTECTED]' from your amanda user on the server  
and see if that works, or if it still needs to add the host key for  
the fqdn.


   -Darrell


Re: Amanda on Macos X

2008-08-21 Thread Nouveaux Territoires

yes i followed the instruction of this page.

This system (authentification with SSH) is oK on a Linux fedora client.

But this client is Macos X leopard, i have the problem !!!

With the user amanda on the server, i write

ssh [EMAIL PROTECTED]

In this case, it's ok !!

But with amacheck, i have this problem

On the server, in the /tmp/amanda/server/saroumane, i have this :

amcheck: debug 1 pid 18120 ruid 33 euid 0: start at Thu Aug 21  
21:49:19 2008
amcheck: debug 1 pid 18120 ruid 33 euid 33: rename at Thu Aug 21  
21:49:19 2008

security_getdriver(name=ssh) returns 0x2b122b60
security_handleinit(handle=0x61f790, driver=0x2b122b60 (SSH))
security_streaminit(stream=0x620310, driver=0x2b122b60 (SSH))
changer_query: changer return was 6 1
changer_query: searchable = 0
changer_find: looking for NULL changer is searchable = 0
security_stream_seterr(0x620310, SOCKET_EOF)
security_seterror(handle=0x61f790, driver=0x2b122b60 (SSH)  
error=EOF on read from saroumane.nt.fr)

security_close(handle=0x61f790, driver=0x2b122b60 (SSH))
security_stream_close(0x620310)
amcheck: pid 18120 finish time Thu Aug 21 21:49:19 2008


But on the maxos X Leopard, idon't find any logs
Why 



thanks,


julien


Le 21 août 08 à 17:40, Yu Chen a écrit :


Thank alo for your response

I used Launcctl to run the script.

When i taped on my server

$ amcheck saroumane

I obtained an error

Amanda Tape Server Host Check
-
Holding disk /dumps/amandatapes/saroumane: 166641 MB disk space  
available, using 166541 MB

slot 6: read label `saroumane-06', date `X'
NOTE: skipping tape-writable test
Tape saroumane-06 label ok
NOTE: host info dir /usr/local/amanda/etc/amanda/saroumane/curinfo/ 
saroumane does not exist

NOTE: it will be created on the next run.
NOTE: index dir /usr/local/amanda/etc/amanda/saroumane/index/ 
saroumane does not exist

NOTE: it will be created on the next run.
Server check took 0.137 seconds
Host key verification failed.

Amanda Backup Client Hosts Check

WARNING: saroumane: selfcheck request failed: EOF on read from  
saroumane.nt.fr

Client check: 1 host checked in 0.094 seconds, 1 problem found

(brought to you by Amanda 2.5.1p3)

Why 

If i taped
-bash-3.1$ ssh [EMAIL PROTECTED]
Last login: Thu Aug 21 17:12:28 2008 from backup
saroumane:~ amanda$

I connedted without problems and without password.

But by amcheck, i have this error : Host key verification failed.


But this error seems from the server check, not client check, right?
For client error, check /tmp/amanda directory on the client to see  
what exactly happened.


So I am assuming you are using SSH authention. I am not familar with  
it. But just to check, that you followed the instruction at "http://wiki.zmanda.com/index.php/How_To:Set_up_transport_encryption_with_SSH 
"

right?






Thanks,


Julien




Le 21 août 08 à 16:00, Yu Chen a écrit :


I installed amanda on macos X.
I followed the instruction of this page :
Installation/OS Specific Notes/Installing Amanda on Mac OS X
All is ok.
I compiled the source and installed the program.
But, on leopard, what is the next step ?
In the documentation, there is this sentence :
Leopard
At least one user is successfully using Amanda on Leopard, though  
he is using SSH authentication, not BSD*. (I am testing with BSD,  
passed amcheck phase, will see how the backup goes tonight  
(08/20/2008))

Ok for the authentication but how do you run the amandad server ?
Like Tiger ?

First, you talking about amandad daemon or amanda server on Leopard?
For amandad daemon, you do the same as in Tiger, constructe the  
plist file, then using launchctl to start the daemon.
For amanda server on Leopard, I am not doing that, I compiled  
amanda without server on Leopard.
And just to report, my backup finished just fine. I will do a  
restore today, see if the backup really works. Then report back  
(probably on wiki too).

Chen

thank you for your help
Julien

===
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250
phone:  (410)455-1728 (primary)
(410)455-6347 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===





===
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-1728 (primary)
(410)455-6347 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===




Re: Amanda on Macos X

2008-08-21 Thread Nouveaux Territoires

Thank alo for your response

I used Launcctl to run the script.

When i taped on my server

$ amcheck saroumane

I obtained an error

Amanda Tape Server Host Check
-
Holding disk /dumps/amandatapes/saroumane: 166641 MB disk space  
available, using 166541 MB

slot 6: read label `saroumane-06', date `X'
NOTE: skipping tape-writable test
Tape saroumane-06 label ok
NOTE: host info dir /usr/local/amanda/etc/amanda/saroumane/curinfo/ 
saroumane does not exist

NOTE: it will be created on the next run.
NOTE: index dir /usr/local/amanda/etc/amanda/saroumane/index/saroumane  
does not exist

NOTE: it will be created on the next run.
Server check took 0.137 seconds
Host key verification failed.

Amanda Backup Client Hosts Check

WARNING: saroumane: selfcheck request failed: EOF on read from  
saroumane.nt.fr

Client check: 1 host checked in 0.094 seconds, 1 problem found

(brought to you by Amanda 2.5.1p3)

Why 

If i taped
-bash-3.1$ ssh [EMAIL PROTECTED]
Last login: Thu Aug 21 17:12:28 2008 from backup
saroumane:~ amanda$

I connedted without problems and without password.

But by amcheck, i have this error : Host key verification failed.



Thanks,


Julien




Le 21 août 08 à 16:00, Yu Chen a écrit :


I installed amanda on macos X.
I followed the instruction of this page :

Installation/OS Specific Notes/Installing Amanda on Mac OS X

All is ok.
I compiled the source and installed the program.

But, on leopard, what is the next step ?
In the documentation, there is this sentence :


Leopard

At least one user is successfully using Amanda on Leopard, though  
he is using SSH authentication, not BSD*. (I am testing with BSD,  
passed amcheck phase, will see how the backup goes tonight  
(08/20/2008))


Ok for the authentication but how do you run the amandad server ?
Like Tiger ?


First, you talking about amandad daemon or amanda server on Leopard?
For amandad daemon, you do the same as in Tiger, constructe the  
plist file, then using launchctl to start the daemon.
For amanda server on Leopard, I am not doing that, I compiled amanda  
without server on Leopard.


And just to report, my backup finished just fine. I will do a  
restore today, see if the backup really works. Then report back  
(probably on wiki too).


Chen



thank you for your help


Julien




===
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-1728 (primary)
(410)455-6347 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===





Re: Amanda on Macos X

2008-08-21 Thread Yu Chen

I installed amanda on macos X.
I followed the instruction of this page :

Installation/OS Specific Notes/Installing Amanda on Mac OS X

All is ok.
I compiled the source and installed the program.

But, on leopard, what is the next step ?
In the documentation, there is this sentence :


Leopard

At least one user is successfully using Amanda on Leopard, though he is using 
SSH authentication, not BSD*. (I am testing with BSD, passed amcheck phase, 
will see how the backup goes tonight (08/20/2008))


Ok for the authentication but how do you run the amandad server ?
Like Tiger ?


First, you talking about amandad daemon or amanda server on Leopard?
For amandad daemon, you do the same as in Tiger, constructe the plist 
file, then using launchctl to start the daemon.
For amanda server on Leopard, I am not doing that, I compiled amanda 
without server on Leopard.


And just to report, my backup finished just fine. I will do a restore 
today, see if the backup really works. Then report back (probably on wiki 
too).


Chen



thank you for your help


Julien




===
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-1728 (primary)
(410)455-6347 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===


Re: Amanda on Macos X (fwd)

2008-08-21 Thread Yu Chen
Seems my first reply didn't get through, I am sending it again. Sorry if 
you get duplicates.


-- Forwarded message --
Date: Thu, 21 Aug 2008 10:00:06 -0400 (EDT)
From: Yu Chen <[EMAIL PROTECTED]>
To: Nouveaux Territoires <[EMAIL PROTECTED]>
Cc: Amanda user's group 
Subject: Re: Amanda on Macos X


I installed amanda on macos X.
I followed the instruction of this page :

Installation/OS Specific Notes/Installing Amanda on Mac OS X

All is ok.
I compiled the source and installed the program.

But, on leopard, what is the next step ?
In the documentation, there is this sentence :


Leopard

At least one user is successfully using Amanda on Leopard, though he is using 
SSH authentication, not BSD*. (I am testing with BSD, passed amcheck phase, 
will see how the backup goes tonight (08/20/2008))


Ok for the authentication but how do you run the amandad server ?
Like Tiger ?


First, you talking about amandad daemon or amanda server on Leopard?
For amandad daemon, you do the same as in Tiger, constructe the plist file, 
then using launchctl to start the daemon.
For amanda server on Leopard, I am not doing that, I compiled amanda without 
server on Leopard.


And just to report, my backup finished just fine. I will do a restore today, 
see if the backup really works. Then report back (probably on wiki too).


Chen



thank you for your help


Julien




===
Yu Chen
Howard Hughes Medical Institute
Chemistry Building, Rm 182
University of Maryland at Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

phone:  (410)455-1728 (primary)
(410)455-6347 (secondary)
fax:(410)455-1174
email:  [EMAIL PROTECTED]
===


Re: Amanda on Macos X

2008-08-21 Thread Dustin J. Mitchell
On Thu, Aug 21, 2008 at 4:38 AM, Nouveaux Territoires
<[EMAIL PROTECTED]> wrote:
> Ok for the authentication but how do you run the amandad server ?
> Like Tiger ?

I don't have Leopard yet, so I don't know.  You should try it out, and
report your success on the wiki, or any problems here.

Dustin

-- 
Storage Software Engineer
http://www.zmanda.com


Re: amanda on macos X

2001-07-11 Thread Paolo Caturegli

Hi all.
I'm referring to a May post from Chris Stone and others about using
amanda (client) on a Mac OS X (Darwin 10.0.4 in my case).

I finally been able to backup the Mac!

It was really a long quest but seems to work:

 c1t3d0s02   94495   9152   9.7   0:38 244.0   0:10 879.7
mac-paolo.un -v/disk1s11 0 36842432060576  55.9  33:101035.3  41:02 837.1
 hd2 1 516 64  12.4   0:35   1.9   0:002181.9

First: the only way to use amanda is to have and Apple UFS file system
and NOT an Apple Mac OS Extended. We need someone from Apple to solve
the puzzle regarding super block definition of the 2 different file
system types.

The version I have used is 2.4.2p2.

Now the big problem.
Before configuring and compiling amanda we must solve the puzzle of the
missing restore comand.
The dump comand is in /sbin and it is working with Apple UFS file
systems but NOT with Apple OS Extended ones but amanda want to know
where both  dump AND restore are located. Even if complaining of missing
dump what is really missing (and looking for) is restore. Both comands
must be in the path of the shell when configuring amanda.
You can try the following from terminal (and immediately stop it with
Cntl C) which simulate an amanda session:
dump 0uf - /dev/rdisk1s11 (your disk/s taken from the df -k).
If it is not complaining you will get it working with amanda.
Why Apple decide to include (in /sbin) dump rdump and dumpfs an NOT
restore and rrestore while including /usr/share/man/man8/restore I don't
know, but without a restore command somewhere in the shell path, amanda
will compile but will not work. You can check this looking at
/tmp/amanda/amanda...date...time debug file: if everything is correct
you will find a line containing DUMP=/sbin/dump (and naturally
(RESTORE=/sbin/restore) if not amanda would not work and complain for
missing DUMP file (and not RESTORE one !!!).
So dump will not work because amanda think it is not present but most
than all because restore it is not present.
A work around if you never plan to use the local restore command (as we
do) is to link dump to restore (or whatever). This will make amanda
happy and you will find the line:
DUMP=/sbin/dump RESTROE=/sbin/restore in the debug file.

Restore Command.
It was not easy task to find & compile restore. Again why Apple left it
out it is a mistery to me. My feeling is that it is not working fine. I
do not have tried yet to restore something (on the client Mac, but I can
retrieve anything from the server host with amrestore).
Also why the man page is there? So I immagined that in NeXt
distribution, from which Darwin is derived, the restore command would be
present since it is in the BSD distribution. I've checked at
http://www.opensource.apple.com/tools/cvs/ and I've found it.
It is at 
http://www.opensource.apple.com/cgi-bin/registered/cvs/Commands/NeXT/diskdev_cmds/restore.tproj
(you need to sign up before anyway).
You can also find it in the Darwin Collection CDs by Dr. Michael L. Love.
To compile it you need also to download an compile a library called
libdisk. I do not know if the missing object referred in libdisk are in
one of the static or dynamic libs which come with MacOS X distribution:
I could not find them anyway using nm). I also want not to spend anytime
recoding. So I had to compile libdisk.a.
If one own the Darwin Collection CDs there is an already compiled
libdisk.a there too.

The source for disklib is at: 
http://www.opensource.apple.com/cgi-bin/registered/cvs/Darwin/Commands/NeXT/diskdev_cmds/disklib/

Compile it is simple and I didn't spend time in making the Makefile
friendly: it will create the lib in a dir called BUILD in /tmp. Inside
you will find libdisk.a. 
TO compile it you have to change in file dksecsize.c:
#include 
to
#include 

make & make install will put the lib in /usr/local/lib.

Be sure to include disk.h which is in /usr/include/dev and not the one
which is the CVS tree or Darwin Collection CDs: it will ask you for a
bunch of other include files.

Then cd to restore dir and make (some warnings but it will compile
straight). Make install will install restore, rrestore and the man page
(updated respect the one already in man) in the right places with right
UID GID and permissions.

Make sure /usr/local/lib is in the path of your shell or make will not
find libdisk.a. Otherwise you have to put it somewhere make can look at
or directly refer to it using:
LIBS=-Lyourpath -ldisk in the restore Makefile.


Now you are set to use amanda: it will be happy and you will have all
the objects needed.

Setting the source for Darwin is an easy task:
to prepare the original ./config/config.guess to make it working with
Darwin. Change (or add) the following:
Power*:Rhapsody:*:*)
echo powerpc-apple-rhapsody${UNAME_RELEASE}
exit 0 ;;
*:Rhapsody:*:*)
echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
exit 0 ;;

to
Power*:Darwin:*:*)
echo powerpc-apple

Re: Amanda on MacOS X and suppressing gtar output on samba volumes

2001-05-02 Thread John R. Jackson

>> And we couldn't find the restore program.  Which makes dump kind of
>> useless :-).
>
>Isn't that funny.  ...

Yeah.  Damned hilarious.  What in the world were they thinking?  :-(

>Here's the errors for MacOS X:
>
>/-- borg   / lev 0 FAILED [mesg read: Operation timed out]

As I recall, the last person who tried this found out tar (possibly in
conjunction with the network setup Amanda uses) was slow beyond imagining.
It looks like you're seeing the same thing.

I haven't had time to try to set this up with my local wizard and see how
it goes here.  Could you send me (possibly offline) whatever changes and
notes you made about building on MacOS?  Maybe I can get a few minutes
to try it with him and see how it goes.

>Paul T. Root

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]



Re: Amanda on MacOS X and suppressing gtar output on samba volumes

2001-05-02 Thread Paul Root



"John R. Jackson" wrote:
> 
> >   I've got the client side of amanda compiled and installed
> >on MacOS X, but it won't use dump. I think I've got gnutar going on
> >it now, we'll see tonight. But I'd rather use dump, unless someone
> >can tell me why using gnutar would be so much better.
> 
> For one reason, dump doesn't work on MacOS X :-).  At least, according to
> my wizard.  As I understand it, it would only work for a UFS file system,
> not HFS.
>
> And we couldn't find the restore program.  Which makes dump kind of
> useless :-).


Isn't that funny. Dump is there, so I assumed I could use it. Opps.
Restore
doesn't show up though. Ok, gnutar is fine, except it failed still over
night.

Here's the errors for MacOS X:

/-- borg   / lev 0 FAILED [mesg read: Operation timed out]
sendbackup: start [borg:/ level 0]
sendbackup: info BACKUP=/usr/bin/gnutar
sendbackup: info RECOVER_CMD=/usr/bin/gnutar -f... -
sendbackup: info end
\

> >   I haven't been able to get the server side to work, it
> >can't find start_time ...
> 
> Care to post the exact error message(s)?

I guess I should have started with that... But like I said, I'm not
going
to use this machine as a server:

bash-2.05# make
/bin/sh ../libtool --mode=link cc  -g -O2 -o amindexd  amindexd.o
disk_histo
ry.o list_dir.o libamserver.la ../tape-src/libamtape.la
../common-src/libamanda.
la -lm -lcurses
cc -g -O2 -o amindexd amindexd.o disk_history.o list_dir.o
.libs/libamserver.a -
lm -lcurses ../tape-src/.libs/libamtape.a -lm -lcurses
../common-src/.libs/libam
anda.a -lm -lcurses -lm -lcurses
/usr/bin/ld: Undefined symbols:
_start_time
make: *** [amindexd] Error 1
bash-2.05# pwd
/Users/proot/src/amanda-2.4.2p1/server-src
bash-2.05#


> >   Second, I back up an NT and a Win2000 machines with amanda,
> >and I get tons of 'strange' (amanda's word) output from it. Is there
> >a way to stop that?  ...
> >The output is basically a directory listing.
> 
> You may need to change the list of regular expressions in sendsize*.c
> and sendbackup*.c, but I thought this problem had been taken care of.

After I sent this, I figured out that the FreeBSD ports (my server)
splits
amanda completely between server and client, so I only had the server
not
amandad. That's fixed, and I'm completely running 2.4.2p1. The error
messages 
were different over night, and a whole lot less. I can probably live
with these.
I probably should do a registry backup before amanda, I just thought. 


> What version of Amanda are you working with?

2.4.2p1
 
> What version of Samba?

Also just upgraded to 2.0.8
 
> What are the "strange" lines it's reporting?

Here's the new lines. These look like open file errors. Like I
said, doing a registry backup, would cover this.

/-- horton //endurance/bacup lev 1 STRANGE
sendbackup: start [horton://endurance/bacup level 1]
sendbackup: info BACKUP=/usr/local/bin/smbclient
sendbackup: info RECOVER_CMD=/usr/local/bin/smbclient -f... -
sendbackup: info end
| added interface ip=204.147.87.98 bcast=204.147.87.127
nmask=255.255.255.224
? ERRDOS - ERRbadshare opening remote file \pagefile.sys (\)
? ERRDOS - ERRbadshare opening remote file
\WINNT\Profiles\Administrator\NTUSER.DAT
(\WINNT\Profiles\Administrator\)
? ERRDOS - ERRbadshare opening remote file
\WINNT\Profiles\Administrator\ntuser.dat.LOG
(\WINNT\Profiles\Administrator\)
? ERRDOS - ERRbadshare opening remote file
\WINNT\system32\config\default
(\WINNT\system32\config\)
? ERRDOS - ERRbadshare opening remote file
\WINNT\system32\config\default.LOG
(\WINNT\system32\config\)
? ERRDOS - ERRbadshare opening remote file \WINNT\system32\config\SAM
(\WINNT\system32\config\)
? ERRDOS - ERRbadshare opening remote file
\WINNT\system32\config\SAM.LOG
(\WINNT\system32\config\)
? ERRDOS - ERRbadshare opening remote file
\WINNT\system32\config\SECURITY
(\WINNT\system32\config\)
? ERRDOS - ERRbadshare opening remote file
\WINNT\system32\config\SECURITY.LOG
(\WINNT\system32\config\)
? ERRDOS - ERRbadshare opening remote file
\WINNT\system32\config\software
(\WINNT\system32\config\)
? ERRDOS - ERRbadshare opening remote file
\WINNT\system32\config\software.LOG
(\WINNT\system32\config\)
? ERRDOS - ERRbadshare opening remote file \WINNT\system32\config\system
(\WINNT\system32\config\)
? ERRDOS - ERRbadshare opening remote file
\WINNT\system32\config\SYSTEM.ALT
(\WINNT\system32\config\)
| tar: dumped 1517 files and directories

 
> >Is it samba or gnutar putting out the messages?  ...
> 
> It's Samba.  Gnu tar is not used for Samba/PC backups.  Samba comes with
> its own tar.

Sure, that makes sense.
 
> >Paul.
> 
> John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]

-- 
Paul T. RootE/Mail: [EMAIL PROTECTED]
600 Stinson Blvd, Fl 1S PAG: +1 (877) 693-7155
Minneapolis, MN  55413  WRK: +1 (612) 664-3385
NIC:PTR FAX: +1 (612) 664-4779



Re: Amanda on MacOS X and suppressing gtar output on samba volumes

2001-05-01 Thread John R. Jackson

>   I've got the client side of amanda compiled and installed
>on MacOS X, but it won't use dump. I think I've got gnutar going on
>it now, we'll see tonight. But I'd rather use dump, unless someone 
>can tell me why using gnutar would be so much better. 

For one reason, dump doesn't work on MacOS X :-).  At least, according to
my wizard.  As I understand it, it would only work for a UFS file system,
not HFS.

And we couldn't find the restore program.  Which makes dump kind of
useless :-).

>   I haven't been able to get the server side to work, it
>can't find start_time ...

Care to post the exact error message(s)?

>   Second, I back up an NT and a Win2000 machines with amanda,
>and I get tons of 'strange' (amanda's word) output from it. Is there
>a way to stop that?  ...
>The output is basically a directory listing.

You may need to change the list of regular expressions in sendsize*.c
and sendbackup*.c, but I thought this problem had been taken care of.

What version of Amanda are you working with?

What version of Samba?

What are the "strange" lines it's reporting?

>Is it samba or gnutar putting out the messages?  ...

It's Samba.  Gnu tar is not used for Samba/PC backups.  Samba comes with
its own tar.

>Paul.

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]



Re: amanda on macos x

2001-02-16 Thread John R. Jackson

>I've gotten amanda v2.4.1p1 client to build and install on Mac OS X.  ...
>for some reason inetd won't spawn amandad.  ...

Did you use NetInfoManager to add the Amanda services?  Were there any
complaints in /var/log/system.log when you HUP'd inetd?

>Chris Stone

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]



Re: amanda on macos x

2001-02-16 Thread Alexandre Oliva

On Feb 16, 2001, Chris Stone <[EMAIL PROTECTED]> wrote:

> for some reason inetd won't spawn amandad

Did you try the suggestions in the FAQ?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist*Please* write to mailing lists, not to me