Re: Error code 1 when installing amanda-2.4.3

2002-10-10 Thread weihai Pan


Yes. I use gsed and get it done.
Thanks
--weihai
Jean-Louis Martineau wrote:

>Hello,
>
>Your sed doesn't works with empty command, gnu sed as no problem with them.
>
>As a workaround, you can
>  1- remove the ';' from the 'transform = s,$$,-2.4.3,;' in all Makefile
>  2- Or change the config.status file:
>s%@program_transform_name@%s,$$,-2.4.3,; %g
>  TO s%@program_transform_name@%s,$$,-2.4.3, %g
> and rerun make.
>
>I will do a correct fix for configure.in and tell you when it's done.
>
>Jean-Louis
>
>On Thu, Oct 10, 2002 at 08:20:37AM +0200, weihai Pan wrote:
>  
>
>>Jean-Louis Martineau wrote:
>>
>>
>>
>>>Hi Weihai,
>>>
>>>Could you provide more informations?
>>>
>>>Your configure command line?
>>>
>>>  
>>>
>>./configure --with-suffixes=yes --with-user=amanda --with-group=operator 
>>--with-tape-device=/dev/nrsa0 --with-fqdn 
>>--with-gnutar=/usr/local/bin/gtar 
>>--with-gnutar-listdir=/usr/local/var/amanda/gnutar-lists
>>
>>
>>
>>>Which Arch/OS?
>>>
>>>  
>>>
>>Freebsd 4.6 stable
>>
>>
>>
>>>Which sed are you using? You should try gnu sed.
>>>
>>>  
>>>
>>Default  /usr/bin/sed. Do I need gsed?
>>
>>
>>
>>>What's the value of 'transform' in you Makefile?
>>>
>>>  
>>>
>>transform = s,$$,-2.4.3,;
>>
>>
>>
>>>Could you also include more line of the output of make, it's easier
>>>to find the problem if I know which command break.
>>>
>>>  
>>>
>>output of "make install#
>>Making install in config
>>Making install in common-src
>>/bin/sh ../config/mkinstalldirs /usr/local/lib
>> /bin/sh ../libtool --mode=install /usr/bin/install -c  libamanda.la 
>>/usr/local/lib/libamanda.la
>>/usr/bin/install -c .libs/libamanda.lai /usr/local/lib/libamanda.la
>>/usr/bin/install -c .libs/libamanda.a /usr/local/lib/libamanda.a
>>ranlib /usr/local/lib/libamanda.a
>>chmod 644 /usr/local/lib/libamanda.a
>>--
>>Libraries have been installed in:
>>   /usr/local/lib
>>
>>If you ever happen to want to link against installed libraries
>>in a given directory, LIBDIR, you must either use libtool, and
>>specify the full pathname of the library, or use the `-LLIBDIR'
>>flag during linking and do at least one of the following:
>>   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
>> during execution
>>   - add LIBDIR to the `LD_RUN_PATH' environment variable
>> during linking
>>   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
>>
>>See any operating system documentation about shared libraries for
>>more information, such as the ld(1) and ld.so(8) manual pages.
>>--
>>Making install in client-src
>>/bin/sh ../config/mkinstalldirs /usr/local/lib
>> /bin/sh ../libtool --mode=install /usr/bin/install -c  libamclient.la 
>>/usr/local/lib/libamclient.la
>>/usr/bin/install -c .libs/libamclient.lai /usr/local/lib/libamclient.la
>>/usr/bin/install -c .libs/libamclient.a /usr/local/lib/libamclient.a
>>ranlib /usr/local/lib/libamclient.a
>>chmod 644 /usr/local/lib/libamclient.a
>>--
>>Libraries have been installed in:
>>   /usr/local/lib
>>
>>If you ever happen to want to link against installed libraries
>>in a given directory, LIBDIR, you must either use libtool, and
>>specify the full pathname of the library, or use the `-LLIBDIR'
>>flag during linking and do at least one of the following:
>>   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
>> during execution
>>   - add LIBDIR to the `LD_RUN_PATH' environment variable
>> during linking
>>   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
>>See any operating system documentation about shared libraries for
>>more information, such as the ld(1) and ld.so(8) manual pages.
>>--
>>/bin/sh ../config/mkinstalldirs /usr/local/libexec
>>sed: 1: "s,$,-2.4.3,;;s/$//": invalid command code ;
>>*** Error code 1
>>
>>Stop in /usr/local/src/amanda-2.4.3/client-src.
>>*** Error code 1
>>
>>Stop in /usr/local/src/amanda-2.4.3/client-src.
>>*** Error code 1
>>
>>Stop in /usr/local/src/amanda-2.4.3.
>>
>>
>>Thanks
>>
>>--weihai
>>
>>
>>
>>>Jean-Louis
>>>
>>>On Wed, Oct 09, 2002 at 01:49:45PM +0200, weihai Pan wrote:
>>> 
>>>
>>>  
>>>
>>>>Hi,
>>>>
>>>>I upgrade amanda from 2.4.2p2 to 2.4.3. when I make install, there are
>>>>the following error:
>>>>
>>>>
>>>>/bin/sh ../config/mkinstalldirs /usr/local/libexec
>>>>sed: 1: "s,$,-2.4.3,;;s/$//": invalid command code ;
>>>>*** Error code 1
>>>>Stop in /usr/local/src/amanda-2.4.3/client-src.
>>>>
>>>>
>>>>When I use gmake, the error is still there but install binaty on right
>>>>place. But the suffixes disappear.
>>>>
>>>>could anyone tell your success?
>>>>
>>>>Thanks.
>>>>
>>>>--weihai
>>>>
>>>>
>>>>   
>>>>
>>>>
>>>>
>>> 
>>>
>>>  
>>>
>
>  
>




Re: Error code 1 when installing amanda-2.4.3

2002-10-09 Thread weihai Pan






Jean-Louis Martineau wrote:

  Hi Weihai,

Could you provide more informations?

Your configure command line?

./configure --with-suffixes=yes --with-user=amanda --with-group=operator
--with-tape-device=/dev/nrsa0 --with-fqdn --with-gnutar=/usr/local/bin/gtar
--with-gnutar-listdir=/usr/local/var/amanda/gnutar-lists

  
Which Arch/OS?

Freebsd 4.6 stable

  
Which sed are you using? You should try gnu sed.

Default  /usr/bin/sed. Do I need gsed?

  
What's the value of 'transform' in you Makefile?

transform = s,$$,-2.4.3,;

  
Could you also include more line of the output of make, it's easier
to find the problem if I know which command break.

output of "make install#
Making install in config
Making install in common-src
/bin/sh ../config/mkinstalldirs /usr/local/lib
 /bin/sh ../libtool --mode=install /usr/bin/install -c  libamanda.la /usr/local/lib/libamanda.la
/usr/bin/install -c .libs/libamanda.lai /usr/local/lib/libamanda.la
/usr/bin/install -c .libs/libamanda.a /usr/local/lib/libamanda.a
ranlib /usr/local/lib/libamanda.a
chmod 644 /usr/local/lib/libamanda.a
--
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
 during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
 during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
--
Making install in client-src
/bin/sh ../config/mkinstalldirs /usr/local/lib
 /bin/sh ../libtool --mode=install /usr/bin/install -c  libamclient.la /usr/local/lib/libamclient.la
/usr/bin/install -c .libs/libamclient.lai /usr/local/lib/libamclient.la
/usr/bin/install -c .libs/libamclient.a /usr/local/lib/libamclient.a
ranlib /usr/local/lib/libamclient.a
chmod 644 /usr/local/lib/libamclient.a
--
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
 during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
 during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
--
/bin/sh ../config/mkinstalldirs /usr/local/libexec
sed: 1: "s,$,-2.4.3,;;s/$//": invalid command code ;
*** Error code 1

Stop in /usr/local/src/amanda-2.4.3/client-src.
*** Error code 1

Stop in /usr/local/src/amanda-2.4.3/client-src.
*** Error code 1

Stop in /usr/local/src/amanda-2.4.3.


Thanks

--weihai

  

Jean-Louis

On Wed, Oct 09, 2002 at 01:49:45PM +0200, weihai Pan wrote:
  
  
Hi,

I upgrade amanda from 2.4.2p2 to 2.4.3. when I make install, there are
the following error:


/bin/sh ../config/mkinstalldirs /usr/local/libexec
sed: 1: "s,$,-2.4.3,;;s/$//": invalid command code ;
*** Error code 1
Stop in /usr/local/src/amanda-2.4.3/client-src.


When I use gmake, the error is still there but install binaty on right
place. But the suffixes disappear.

could anyone tell your success?

Thanks.

--weihai



  
  
  





Error code 1 when installing amanda-2.4.3

2002-10-09 Thread weihai Pan

Hi,

I upgrade amanda from 2.4.2p2 to 2.4.3. when I make install, there are
the following error:


/bin/sh ../config/mkinstalldirs /usr/local/libexec
sed: 1: "s,$,-2.4.3,;;s/$//": invalid command code ;
*** Error code 1
Stop in /usr/local/src/amanda-2.4.3/client-src.


When I use gmake, the error is still there but install binaty on right
place. But the suffixes disappear.

could anyone tell your success?

Thanks.

--weihai






Back up window NT server, total number of bytes is 0?

2001-07-17 Thread Weihai Pan

Hi,

I have tried to backup one windown NT server. The  problem is that
amanda can not get extimates from NT server.

Backup server:  freebsd 4.3 Release.
Amanda: amanda-2.4.2p2
Backup client: freebsd and Window NT.

amcheck config-filenothing wrong.
-
The file sendsize.20010716220030.debug has the following debug info.
asking killpgrp to terminate
calculating for amname '//KEONCERT/KCS', dirname '//KEONCERT/KCS'
sendsize: getting size via smbclient for //KEONCERT/KCS level 0
sendsize: spawning /usr/local/samba/bin/smbclient in pipeline
sendsize: argument list: smbclient \\KEONCERT\KCS -d 0 -U administrator
-E -c "a
rchive 0;recurse;du"
added interface ip=172.21.8.10 bcast=172.21.8.255 nmask=255.255.255.0

34702 blocks of size 262144. 31343 blocks available
Total number of bytes: 0
.
sendsize: pid 29794 finish time Mon Jul 16 22:06:40 2001

Why is the total of bytes is 0?
The user om window NT is administrator who has full control over share
KCS.

Anybody has fixed it ?

Thanks a lot.

--weihai




(no subject)

2001-06-18 Thread Weihai Pan

unsubscribe  [EMAIL PROTECTED]




About full backup

2001-05-08 Thread Weihai Pan

As  everybody knows,  for full backup only we set the dumpcycle to
0.(waiting for the implentation of "NOINC" strategy.
I also set runspercycle 2
 tapecycle  2
Because  the total full backups is more than one tape and less than two
tapes.  Bur I still get some level 1 backups.

STATISTICS:
  Total   Full  Daily
      
Estimate Time (hrs:min)0:24
Run Time (hrs:min)16:09
Dump Time (hrs:min)   36:35  33:48   2:47
Output Size (meg)   49931.548066.2 1865.3
Original Size (meg) 49931.548066.2 1865.3
Avg Compressed Size (%) -- -- --(level:#disks
...)
Filesystems Dumped   52 33 19   (1:19)
Avg Dump Rate (k/s)   388.2  404.5  190.8


19 level  1 backups.

Os :  Freebsd 4.2-Release,  amanda-2.4.2p1.

Thanks.

--weihai






About balance of full backups

2001-04-18 Thread Weihai Pan

Hi,

Throughout the dump schedule we can see the distribution of full
backups.
I  use : dumpcycle 5 days
 runspercycle 5
  tapecycle 6 tapes

But I get the "unbalanced" backups  over 6 tapes.  One tapes is full,
and other tapes is just half full.

How to balance the backups that enable the backups are written fairly
equally to six tapes?

Thanks,

--weihai




Gnutar

2001-04-05 Thread Weihai Pan

"exclude (list)"  only works with GNUTAR.  When we don't want backup one
subdirectory, for example, we want to back up /chroot partition, but not
/chroot/ftp/.  we need to set :
---
program "GNUTAR" #this is only for this partition, others are DUMP
exclude "/chroot/ftp"
-

is this right?
--weihai





About amlabel

2001-03-22 Thread Weihai Pan

Hi,

How to change the tape label with same configure file ?  for example, change
label from tape-01 to tape-91.
How to relabel the tape with different configure file? for example,  from
tape-01 to backup-01.

Thanks.

Regards,

--weihai