[Bacula-users] Hope usefull script if you know % of progress backup

2009-08-14 Thread Fabio Xarax
Hi All!
I hope thi can be usefull
the script return lines like this

JobId= 5257 JOBNAME CLIENT | Now:  58.81%  Files=217437
Bytes=224761256596 Bytes/sec=7269592 Errors=3  (on tot.byte= 382146782310)
08:35:18-- duration
JobId= 5226 JOBNAME CLIENT | Now:  73.15%  Files=1580436
Bytes=217781667592 Bytes/sec=5045914 Errors=0  (on tot.byte= 297702961761)
11:59:20
Here you are and pls, let me know ;)
Fabio


#!/bin/bash
#
# Script to know the progress of running bck
#using by -u for updating client list/estimate
#
# By CHIECHI Fabio
# (c) 2009
#
chcpath=/filedisk/chc/tmp
bindir=/usr/bin
db_name=${db_name:-bacula}
if [ ! -f $bindir/mysql ]; then
   echo -e Sorry, Script for MySQL!\nI can't find MySQL :(
   exit 1
fi
case $1 in
   -u|update|-update|upd|-upd)
  rm -f $chcpath/bacula_estratto_estimate.txt
  bconsole END-OF-DATA | grep -v Enter | grep -v 1000 | grep -v client
| sort -u  $chcpath/bacula_lista_client.txt
.client
END-OF-DATA
  cat $chcpath/bacula_lista_client.txt | while read line
  do
 echo $line
 esito=$(bconsole END-OF-DATA| grep OK estimate
estimate job=$line.j
END-OF-DATA)
 echo $esito
 echo $line $esito | awk '{print $1bytes =   substr($6,7,20)
   files =  substr($5,7,20)}' | sed s/,//g 
$chcpath/bacula_estratto_estimate.txt
  done
  rm -f $chcpath/bacula_lista_client.txt
  ;;
   *)
  if [ ! -f $chcpath/bacula_estratto_estimate.txt ]; then
 echo I can't find estimate data.
 echo Run the scrpt with -u option!
 exit 1
  fi
  $bindir/mysql -f END-OF-DATA | grep -v JobId | while read line
USE ${db_name};
select JobId,Job,Client.Name from Job inner join  Client on Job.ClientId =
Client.ClientId where Job.JobStatus='R';
END-OF-DATA
  do
 JBID=$(echo $line |awk '{print $1}')
 SRV=$(echo $line |awk '{print $3}')
 esito=$(bconsole END-OF-DATA| grep Files= | sed s/,//g
status client=$SRV
END-OF-DATA)
 battuali=$(echo $esito | awk '{print $2}'|cut -d = -f 2)
 btot=$(cat ${chcpath}/bacula_estratto_estimate.txt | grep $SRV |
awk '{print $4}')
 if [ $btot ==  ]; then
echo client doesn't exists in estimate data!
 else
perc=$(echo scale=2; $battuali * 100 / $btot | bc)
adata=$(date '+%Y-%m-%d %H:%M:%S')
durata=$($bindir/mysql -f END-OF-DATA | grep -v timediff
USE ${db_name}
select timediff('$adata',Job.StartTime) from Job where JobId='$JBID'
END-OF-DATA)
echo JobId= $line | Now:  $perc%  $esito  (on tot.byte=
$btot) $durata
 fi
  done
  ;;
esac
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] BACULA hang: waiting on max Storage jobs

2009-08-14 Thread Fabio Xarax
Hi All!

I noticed that someone else got this kind of problem.
Now i try to describe it.
whith status director I have:
 JobId Level   Name   Status
==
  5226 Fullcli101.j.2009-08-13_23.00.00_14 SD despooling Data
  5257 Fullcli102.j.2009-08-13_23.00.00_45 SD despooling Data
  5264 Fullcli103.j.2009-08-13_23.00.00_52 is waiting on max Storage
jobs
  5302 Fullcli104.j.2009-08-14_02.00.00_30 is waiting on max Storage
jobs
  5303 Fullcli105.j.2009-08-14_02.00.00_31 is waiting on max Storage
jobs
  5304 Fullcli106.j.2009-08-14_02.00.00_32 is waiting on max Storage
jobs
  5305 Fullcli107.j.2009-08-14_05.00.00_34 is waiting on max Storage
jobs
  5306 Fullcli108.j.2009-08-14_05.00.00_35 is waiting on max Storage
jobs
  5307 Fullcli109.j.2009-08-14_05.00.00_36 is waiting on max Storage
jobs
  5308 Fullcli110.j.2009-08-14_05.00.00_37 is waiting on max Storage
jobs
  5309 Fullcli111.j.2009-08-14_05.00.00_38 is waiting on max Storage
jobs
  5310 Fullcli112.j.2009-08-14_05.00.00_39 is waiting on max Storage
jobs
  5311 Fullcli113.j.2009-08-14_05.00.00_40 is waiting on max Storage
jobs
  5312 Fullcli114.j.2009-08-14_05.00.00_41 is waiting on max Storage
jobs
  5313 Fullcli115.j.2009-08-14_05.00.00_42 is waiting on max Storage
jobs
  5314 Fullcli116.j.2009-08-14_05.00.00_43 is waiting on max Storage
jobs
  5315 Fullcli117.j.2009-08-14_05.00.00_44 is waiting on max Storage
jobs
  5316 Fullcli118.j.2009-08-14_05.00.00_45 is waiting on max Storage
jobs
  5317 Fullcli119.j.2009-08-14_05.00.00_46 is waiting on max Storage
jobs
  5318 Fullcli120.j.2009-08-14_05.00.00_47 is waiting on max Storage
jobs
  5319 Fullcli121.j.2009-08-14_05.00.00_48 is waiting on max Storage
jobs
  5320 Fullcli122.j.2009-08-14_05.00.00_49 is waiting on max Storage
jobs
  5321 Fullcli123.bootstrap.j.2009-08-14_07.00.00_50 is waiting for
higher priority jobs to finish
but with status storage there are no waiting job for drive reservation :(

Running Jobs:
Writing: Full Backup job cli101.j JobId=5226 Volume=B00055L3
pool=PRODPOOL14 device=Drive-13 (/dev/VTLBACP_tape13)
spooling=0 despooling=1 despool_wait=0
Files=2,050,055 Bytes=258,044,201,933 Bytes/sec=5,718,050
FDReadSeqNo=15,905,081 in_msg=11875105 out_msg=5 fd=58
Writing: Full Backup job cli102.j JobId=5257 Volume=B00056L3
pool=PRODPOOL1 device=Drive-3 (/dev/VTLBACP_tape3)
spooling=0 despooling=1 despool_wait=0
Files=219,645 Bytes=269,743,401,648 Bytes/sec=8,208,618
FDReadSeqNo=5,279,940 in_msg=4884798 out_msg=5 fd=49

Jobs waiting to reserve a drive:

any idea?
Backups of first  second client are going, why others don't?
Thx
Fabio
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] BACULA hang: waiting on max Storage jobs

2009-08-14 Thread Fabio Xarax
Sorry: forgot to say that i can run till 64 concurrent job
before now all was ok!
Fabio

2009/8/14 Fabio Xarax fxa...@gmail.com

 Hi All!

 I noticed that someone else got this kind of problem.
 Now i try to describe it.
 whith status director I have:
  JobId Level   Name   Status
 ==
   5226 Fullcli101.j.2009-08-13_23.00.00_14 SD despooling Data
   5257 Fullcli102.j.2009-08-13_23.00.00_45 SD despooling Data
   5264 Fullcli103.j.2009-08-13_23.00.00_52 is waiting on max Storage
 jobs
   5302 Fullcli104.j.2009-08-14_02.00.00_30 is waiting on max Storage
 jobs
   5303 Fullcli105.j.2009-08-14_02.00.00_31 is waiting on max Storage
 jobs
   5304 Fullcli106.j.2009-08-14_02.00.00_32 is waiting on max Storage
 jobs
   5305 Fullcli107.j.2009-08-14_05.00.00_34 is waiting on max Storage
 jobs
   5306 Fullcli108.j.2009-08-14_05.00.00_35 is waiting on max Storage
 jobs
   5307 Fullcli109.j.2009-08-14_05.00.00_36 is waiting on max Storage
 jobs
   5308 Fullcli110.j.2009-08-14_05.00.00_37 is waiting on max Storage
 jobs
   5309 Fullcli111.j.2009-08-14_05.00.00_38 is waiting on max Storage
 jobs
   5310 Fullcli112.j.2009-08-14_05.00.00_39 is waiting on max Storage
 jobs
   5311 Fullcli113.j.2009-08-14_05.00.00_40 is waiting on max Storage
 jobs
   5312 Fullcli114.j.2009-08-14_05.00.00_41 is waiting on max Storage
 jobs
   5313 Fullcli115.j.2009-08-14_05.00.00_42 is waiting on max Storage
 jobs
   5314 Fullcli116.j.2009-08-14_05.00.00_43 is waiting on max Storage
 jobs
   5315 Fullcli117.j.2009-08-14_05.00.00_44 is waiting on max Storage
 jobs
   5316 Fullcli118.j.2009-08-14_05.00.00_45 is waiting on max Storage
 jobs
   5317 Fullcli119.j.2009-08-14_05.00.00_46 is waiting on max Storage
 jobs
   5318 Fullcli120.j.2009-08-14_05.00.00_47 is waiting on max Storage
 jobs
   5319 Fullcli121.j.2009-08-14_05.00.00_48 is waiting on max Storage
 jobs
   5320 Fullcli122.j.2009-08-14_05.00.00_49 is waiting on max Storage
 jobs
   5321 Fullcli123.bootstrap.j.2009-08-14_07.00.00_50 is waiting for
 higher priority jobs to finish
 but with status storage there are no waiting job for drive reservation :(

 Running Jobs:
 Writing: Full Backup job cli101.j JobId=5226 Volume=B00055L3
 pool=PRODPOOL14 device=Drive-13 (/dev/VTLBACP_tape13)
 spooling=0 despooling=1 despool_wait=0
 Files=2,050,055 Bytes=258,044,201,933 Bytes/sec=5,718,050
 FDReadSeqNo=15,905,081 in_msg=11875105 out_msg=5 fd=58
 Writing: Full Backup job cli102.j JobId=5257 Volume=B00056L3
 pool=PRODPOOL1 device=Drive-3 (/dev/VTLBACP_tape3)
 spooling=0 despooling=1 despool_wait=0
 Files=219,645 Bytes=269,743,401,648 Bytes/sec=8,208,618
 FDReadSeqNo=5,279,940 in_msg=4884798 out_msg=5 fd=49
 
 Jobs waiting to reserve a drive:
 
 any idea?
 Backups of first  second client are going, why others don't?
 Thx
 Fabio

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Spooling while Despooling?

2009-08-11 Thread Fabio Xarax
Hi all!

On the same backup, on the same client, Is there the possibility to spooling
data while SD is despooling?
I noticed that while a job is despooling no data are spooled from the client
until despooling end. Is that right?
is there the possibility to let job despooling  spool data? In the manual I
found nothing on it
Thx
Fabio
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Spooling while Despooling?

2009-08-11 Thread Fabio Xarax
@Bram, Arno
Thx a lot!
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Copy Job Problem: Bacula tries to write while reading from the same device(?)

2009-06-11 Thread Fabio Xarax
Hi All!

 I'm trying to create a Copy Job, but some copies ending in error.
The CJ reads from Tape0 (/dev/nst0) of ChangerA and write on Tape0 of
ChangerB (/dev/nst6). All Chenger are Virtual one on FC (I have no
phisical device).
Looking in /var/log/messages i found the following msg that is very strage:

Jun 11 15:40:06 bckam101 kernel: st0: Current: sense key: Medium Error
Jun 11 15:40:06 bckam101 kernel: Add. Sense: Write error
Jun 11 15:40:06 bckam101 kernel:
Jun 11 15:40:06 bckam101 kernel: Info fld=0x0

It seems Bacula tries to write on the device from where it's reading!
Is it true?
Any idea?
I also tried updating FC driver, but with no success.
Thx!
Fabio
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Running jobs doesn't start

2009-06-11 Thread Fabio Xarax
The first client can't connect with Storage. Other client are waiting the
first one.
Did you try to debug the SD?

Fabio
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Set start time elsewhere than Schedule?

2009-06-04 Thread Fabio Xarax
Hi everybody!
Is it possible to set client start time somewhere other than Schedule
configuration?
So we can use the same schedule, but in different time start.
I didn't found anything like this in doc :(

Ex:
Schedule {
  Name = FSS
  Run = Level=Full sun
}

JobDefs {
  Name = client001.jd
  Type = Backup
  Level = Incremental
  Client = client001
  FileSet = all-unix
  Schedule = FSS
  Storage = Filedisk
  Messages = Standard
  Pool = StandardPool
  Priority = 10
  Start Time = 23:00
}

 JobDefs {
  Name = client002.jd
  Type = Backup
  Level = Incremental
  Client = client002
  FileSet = all-unix
  Schedule = FSS
  Storage = Filedisk
  Messages = Standard
  Pool = StandardPool
  Priority = 10
  Start Time = 15:00
}


Thx,
Fabio
--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Newbie bscan question

2009-05-26 Thread Fabio Xarax
Try this

mtx -f /dev/sg4 status | more

if you see your tape/devices then try load/unload
mtx -f /dev/sg4 load 1 1
 mtx -f /dev/sg4 unload 1 1
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.com ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Fwd: Re: FD on Win2000 Server]

2009-05-21 Thread Fabio Xarax
ok, let's try another way:

in bconsole: estimate job=your job where e:/Share is in listing

and give us the result
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.com ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Fwd: Re: FD on Win2000 Server]

2009-05-21 Thread Fabio Xarax
This is the third time i'm trying to wrote to newsgroup!

but in the result we can see that all data in e:\Share are saved O_o
Really strange!
Difference between Bacula and windows does not matter much (i think).
the last check: you must specify the listing param estimate
job=win2000srv-share-bkp listing
so ypu can see also all files.
If all files under e:\Share are listed, so there is no problem in your
backup!
You can also check your saved data by bconsole:

list jobs (so you obtain the job numer)
list files jobid=job number

Let us know ;)
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.com ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Fwd: Re: FD on Win2000 Server]

2009-05-21 Thread Fabio Xarax
step by step, pls ;)

Now we know that bacula can read from e:\Share ;)
otherwise estimate will not work!

now: put win2000srv-fd in debug mode, run job and get output.
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.com ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] FD on Win2000 Server

2009-05-20 Thread Fabio Xarax
Hi,
pls send us your FileSet of the windows client
Bye
Fabio
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] FD on Win2000 Server

2009-05-20 Thread Fabio Xarax
Try inserting these lines, as shown after
IgnoreCase = yes
onefs = no


2009/5/20 Alnis Morics alnis.mor...@gmail.com

  Fabio Xarax wrote:

 Hi,
 pls send us your FileSet of the windows client
 Bye
 Fabio

 Thaks for reply.

 For testing, I just included one file from the misbehaving directory, but
 it's all the same for any other files here:

 FileSet {
 Name = win2000srv
  Include {
  Options {
   signature = MD5


IgnoreCase = yes
onefs = no


  }
 File = e:/share/SafariSetup.exe
  }
 }


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Fwd: Re: FD on Win2000 Server]

2009-05-20 Thread Fabio Xarax
as you wrote, you can't backup only e:/Share.
Others dir/subdir  files on the same disk are ok.
Try:
1) create another dir (ex:Share1)
2) copy all data from Share to Share1
3) backup Share1

if all ok, delete Share and rename Share1 in Share
Yes, I know, it's not a real solution, but it's really strange that you
can't backup only e:/Share dir!
Pls, let us know
Fabio
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Fwd: Re: FD on Win2000 Server]

2009-05-20 Thread Fabio Xarax
Sorry...I know it's a stupid question, but did you try with

File = e:/share/SafariSetup.exe

and

File = e:/share/
?
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] cram-md5 Authenticate NOT OK on AIX 5.3 bacula-fd

2009-05-15 Thread Fabio Xarax
Yes! It works!
Thank you!
Hope this can help all other user too ;)
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-fd on AIX 5.3 memory fault / right procedure?

2009-05-14 Thread Fabio Xarax
Hi!
Finally I compiled and it works!
But now there are connection problem :( (for this i'm going to write to
newsgroup)
So, here you are the steps I followed for client on AIX 5.3 - bacula 3.0.0 
3.0.1

1. unpack src file
2. cd into dir
3. set these export (thanks to Hemant Shah)
export PATH=/usr/ccs/lib:$PATH
export CXX=xlC
export CC=xlc
export CPPFLAGS=-+
4. configure
./configure --enable-client-only --disable-libtool --disable-conio
--with-subsys-dir=/bacula/work --sbindir=/bacula/sbin
--sysconfdir=/bacula/conf --with-scriptdir=/bacula/script --
with-working-dir=/bacula/work --with-pid-dir=/bacula/work
5. edit Makefile: find .PATH and change in #.PATH (thanks to Hemant
Shah)
6. edit ./src/lib/bsys.c and delete these lines (don't remember
who...sorry!)
#ifdef HAVE_AIX_OS
extern C int initgroups(const char *,int);
#endif
7. make: you'll get this error
==Entering directory /backup_mgm/bac/bacula-3.0.1/src/plugins/fd
/usr/vacpp/bin/xlC   -+  -fPIC -I../.. -I../../filed -c bpipe-fd.c
/usr/vacpp/bin/xlC  -shared bpipe-fd.o -o bpipe-fd.so
ld: 0706-012 The -h flag is not recognized.
ld: 0706-012 The -a flag is not recognized.
make: 1254-004 The error code from the last command is 255.
Stop.
8. do this (thanks to Hemant Shah)
cd src/plugins/fd
/usr/vacpp/bin/makeC++SharedLib -o bpipe-fd.so -p0 bpipe-fd.o
cd ..
cd ..
cd ..
9. make (again ;) this time will end ok!)
10. make install

I think thtat's all!
I hope it will be useful for everyone! Let me know!

Fabio
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Windows 3.0.1 and DLT-V4 DLTtape VS 160-320 GB - compression problem

2009-05-12 Thread Fabio Xarax
Hi!
pls do this
1) on bacula console: estimate of the job and give us the result
2) give us the client/fileset configuration
3) on bacula console: list volumes and give us the result
4) did you set the use of the tape once?

so we can see if it's a TAPE problem, a definition problem or another thing
;)

Bye
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-fd on AIX 5.3 memory fault / right procedure?

2009-05-12 Thread Fabio Xarax
Hi!
I give these commands
export PATH=/usr/ccs/lib:$PATH
export CXX=xlC
export CC=xlc
export CPPFLAGS=-+
./configure --enable-client-only --disable-conio --disable-libtool
--sbindir=/bacula/sbin --sysconfdir=/bacula/conf
--with-scriptdir=/bacula/script --with-working-dir=/bacula/work -
-with-pid-dir=/bacula/work

and then a do a make.
I'm reporting the result of make command, hope this can help you ;)

make
==Entering directory /backup_mgm/bac/bacula-3.0.1/src
Target all is up to date.
==Entering directory /backup_mgm/bac/bacula-3.0.1/scripts
Target all is up to date.
==Entering directory /backup_mgm/bac/bacula-3.0.1/src/lib
Compiling attr.c
Compiling base64.c
Compiling berrno.c
Compiling bsys.c
Compiling bget_msg.c
Compiling bnet.c
Compiling bnet_server.c
Compiling runscript.c
Compiling bsock.c
Compiling bpipe.c
Compiling bsnprintf.c
Compiling btime.c
Compiling cram-md5.c
Compiling crc32.c
Compiling crypto.c
Compiling daemon.c
Compiling edit.c
Compiling fnmatch.c
Compiling guid_to_name.c
Compiling hmac.c
Compiling jcr.c
Compiling lex.c
Compiling alist.c
Compiling dlist.c
Compiling md5.c
Compiling message.c
Compiling mem_pool.c
Compiling openssl.c
Compiling plugins.c
Compiling queue.c
Compiling bregex.c
Compiling rwlock.c
Compiling scan.c
Compiling serial.c
Compiling sha1.c
Compiling signal.c
Compiling smartall.c
Compiling rblist.c
Compiling tls.c
Compiling tree.c
Compiling util.c
Compiling var.c
Compiling watchdog.c
Compiling workq.c
Compiling btimers.c
Compiling address_conf.c
Compiling breg.c
Compiling htable.c
Compiling lockmgr.c
Making libbac.a ...
/usr/bin/ar rc  libbac.a attr.o base64.o berrno.o bsys.o bget_msg.o
bnet.o bnet_server.o runscript.o bsock.o bpipe.o bsnprintf.o btime.o
cram-md5.o crc32.o crypto.o daemon.o edit.o fnmatch.o guid_to_name.o hmac.o
jcr.o lex.o alist.o dlist.o md5.o message.o mem_pool.o openssl.o plugins.o
queue.o bregex.o rwlock.o scan.o serial.o sha1.o signal.o smartall.o
rblist.o tls.o tree.o util.o var.o watchdog.o workq.o btimers.o
address_conf.o breg.o htable.o lockmgr.o
ranlib libbac.a
Compiling parse_conf.c
Compiling res.c
Making libbaccfg.a ...
/usr/bin/ar rc  libbaccfg.a parse_conf.o res.o
ranlib libbaccfg.a
Compiling pythonlib.c
Making libbacpy.a ...
/usr/bin/ar rc  libbacpy.a pythonlib.o
ranlib libbacpy.a
 Make of lib is good 
==Entering directory /backup_mgm/bac/bacula-3.0.1/src/findlib
Compiling find.c
Compiling match.c
Compiling find_one.c
Compiling attribs.c
Compiling create_file.c
Compiling bfile.c
Compiling drivetype.c
Compiling enable_priv.c
Compiling fstype.c
Compiling mkpath.c
Compiling savecwd.c
Making libbacfind.a ...
/usr/bin/ar rc  libbacfind.a find.o match.o find_one.o attribs.o
create_file.o bfile.o drivetype.o enable_priv.o fstype.o mkpath.o savecwd.o
ranlib libbacfind.a
 Make of findlib is good 
==Entering directory /backup_mgm/bac/bacula-3.0.1/src/filed
Compiling filed.c
Compiling authenticate.c
Compiling acl.c
Compiling backup.c
Compiling estimate.c
Compiling fd_plugins.c
Compiling accurate.c
Compiling filed_conf.c
Compiling heartbeat.c
Compiling job.c
Compiling pythonfd.c
Compiling restore.c
Compiling status.c
Compiling verify.c
Compiling verify_vol.c
Compiling xattr.c
Linking bacula-fd ...
 /usr/vacpp/bin/xlC   -L../lib -L../findlib -o bacula-fd filed.o
authenticate.o acl.o backup.o estimate.o fd_plugins.o accurate.o
filed_conf.o heartbeat.o job.o pythonfd.o restore.o status.o verify.o
verify_vol.o xattr.o   -lz -lbacfind -lbacpy -lbaccfg -lbac
-lm  -lpthread  -lintl -lssl -lcrypto
 Make of filed is good 
==Entering directory /backup_mgm/bac/bacula-3.0.1/src/console
Compiling console.c
Compiling console_conf.c
Compiling authenticate.c
 /usr/vacpp/bin/xlC   -L../lib -L../cats -o bconsole console.o
console_conf.o authenticate.o -lbaccfg -lbac -lm -lpthread  -lintl
-lssl -lcrypto
 Make of console is good 
==Entering directory /backup_mgm/bac/bacula-3.0.1/src/plugins/fd
/usr/vacpp/bin/xlC   -+  -fPIC -I../.. -I../../filed -c bpipe-fd.c
/usr/vacpp/bin/xlC  -shared bpipe-fd.o -o bpipe-fd.so
ld: 0706-012 The -h flag is not recognized.
ld: 0706-012 The -a flag is not recognized.
make: 1254-004 The error code from the last command is 255.

Stop.

  == Error in /backup_mgm/bac/bacula-3.0.1/src/plugins/fd ==

==Entering directory /backup_mgm/bac/bacula-3.0.1/manpages
Target all is up to date.
Target first_rule is up to date.
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com___

Re: [Bacula-users] Bacula Windows 3.0.1 and DLT-V4 DLTtape VS 160-320 GB - compression problem

2009-05-12 Thread Fabio Xarax
Hi Thierry,

   Hi Fabio.

  1) on bacula console: estimate of the job and give us the result

 How may i do this ?

in the same way you get list volumes ;)
or, as you are on windows OS, open cmd prompt and write bconsole (try
...i'm not on Win!)
in the bacula console type estimate
then you get a list of jobs - select the one you want
wait for the result



  2) give us the client/fileset configuration

 Device {
   Name = DLT-V4#
   Media Type = DLT-V4
   Device Type = Tape
   Archive Device = Tape0
   AutomaticMount = yes   # when device opened, read it
   AlwaysOpen = yes
   RemovableMedia = yes
   RandomAccess = no
   Minimum Block Size = 32768
   Maximum Block Size = 32768
   Alert Command = tapeinfo -f %c | findstr TapeAlert

sorry: no client  fileset info here...


 3) on bacula console: list volumes and give us the result


 #list volume
 Pool: Default

 +-++---+-+-+--+--+-+--+---+---+-+
 | MediaId | VolumeName | VolStatus | Enabled | VolBytes| VolFiles |
 VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
 |

 +-++---+-+-+--+--+-+--+---+---+-+
 |   3 | VS1-0001   | Full  |   1 | 190,806,491,136 |  191
 |   31,536,000 |   1 |0 | 0 | DLT-V4| 2009-05-11
 22:47:12 |
 +-++---+-+-+--+--+-+--+---+---+-+


 4) did you set the use of the tape once?

 Where must i do this ?

see the POOL definition. If you set Use Volume Once = yes then every
backup use only one TAPE (or VTAPE ;) )
Or you can check Maximum Volume Jobs.
I thinkl bacula manual can help you very well (chapter5: the pool resource)


 Thierry

I agree with John:compression can't help you on data that can't be
compressed (as .jpg  so on) ;)

bye
Fabio
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Windows 3.0.1 and DLT-V4 DLTtape VS 160-320 GB - compression problem

2009-05-12 Thread Fabio Xarax
Hi Thierry,
Last attempt:
-try a first backup with data  of 190 GB (ex: 70GB) and new/empty TAPE.
-try a second backup (now total on TAPE = 140GB...still on same TAPE)
-try a third and last backup (total data = 210GB - now bacula must require a
new TAPEI think! ;) )

if you reach last step with no problem all is ok (configuration, TAPE, etc).
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula-fd on AIX 5.3 memory fault / right procedure?

2009-05-11 Thread Fabio Xarax
Hi everybody!
I'm new in the mailing list and I hope I can help in addition to being
helped ;)

I'm trying to compile Bacula on aix 5.3 (uname -a - AIX server101 3 5
49E6D100) with VAC 7.0.
I followed the steps from Hemant Shah in
http://marc.info/?l=bacula-usersm=120114764820966w=2 (export path, set
compiler, etc): I compiled the source and have installed, but starting
service I get

Starting the Bacula File daemon
/bacula/script/bacula-ctl-fd[210]: 823322 Memory fault(coredump)
I also tried setting extern C int initgroups(const char *,gid_t); in
src/lib/bsys.c and compiling: memory fault again :(

 Any ideas? What should I bring to help?

Unfortunately I have not found a precise procedure.
Is there a procedure to compile on AIX?

Thanks in advance
Fabio
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-fd on AIX 5.3 memory fault / right procedure?

2009-05-11 Thread Fabio Xarax
Sorry,
I tried to compile with your steps, but with no success :(
with --disable-libtool compile stop in error.
without --disable-libtool compile get no error, but starting bacula i get
memory fault.

Fabio
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users