[Bacula-users] Pending jobs sequence skipped.

2014-08-07 Thread Gi Dot
Hi,

Due to holiday and having no one around to switch tapes for me, I have more
than 10 jobs created and pending for backup. Normally when situation like
this occur (though with lesser number of jobs), I will just put in the
tapes one by one and let the jobs run in sequence one after another.

This time I found that 2 jobs (Saturday and Sunday) were marked as 'fatal
error'. Monday job should be next in sequence, but job Friday is listed
instead of Monday. I canceled the Friday job, but then a newer job that is
way down in the job list got to run first. How does this happen?

Check out the jobid - 138, 139, 149, 151. jobid 140 got skipped.

|   137 | W2W4 | 2014-07-25 13:00:03 | B| F |   38,805 |
6,073,467,421 | T |
|   138 | SatSunW2 | 2014-07-26 13:00:03 | B| I |0
| 0 | f |
|   139 | SatSunW2 | 2014-07-31 20:00:20 | B| F |0
| 0 | f |
|   149 | FriW1| 2014-08-06 03:00:33 | B| F |0
| 0 | A |
|   151 | SatSunW2 | 2014-08-07 10:54:28 | B| F |0
| 0 | R |
|   140 | MonTueW1 | | B| I |0
| 0 | C |
|   141 | MonTueW1 | | B| I |0
| 0 | C |
|   142 | WedThuW1 | | B| I |0
| 0 | C |
|   143 | WedThuW1 | | B| I |0
| 0 | C |
|   144 | FriW1 | | B| F |0
| 0 | C |
|   145 | SatSunW1 | | B| I |0
| 0 | C |
|   146 | SatSunW1 | | B| I |0
| 0 | C |
|   147 | MonTueW2 | | B| I |0
| 0 | C |
|   148 | MonTueW2 | | B| I |0
| 0 | C |
|   150 | WedThuW2 | | B| I |0
| 0 | C |
|   152 | MonTueW1 | | B| I |0
| 0 | C |
|   153 | MonTueW1 | | B| I |0
| 0 | C |
+---+--+-+--+---+--+---+---+

--
--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Director not running

2014-08-07 Thread Fábio R. Medeiros
Hello

I need some help again... I've tried to run bconsole but no success. 
After doing some research I realize the director wasn't running...
All passwords and names were checked, I also reinstalled bacula from BSD 
ports, there isn't any firewall running...

Any help would be very appreciated... =)

Best regards!!

Here are some outputs:

# bconsole
Connecting to Director 192.168.0.10:9101
Director authorization problem.
Most likely the passwords do not agree.
If you are using TLS, there may have been a certificate validation error 
during the TLS handshake.
Please see 
http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION00376
 
for help.

# bacula restart
Stopping the Bacula File daemon
Stopping the Bacula Storage daemon
Stopping the Bacula Director daemon
Starting the Bacula Storage daemon
Starting the Bacula File daemon
Starting the Bacula Director daemon

# ps aux | grep bacula
bacula 1423   0.0  0.2  56132  6816  -  Is   10:49AM   0:00.00 
/usr/local/sbin/bacula-sd -u bacula -g operator -v -c /usr/local/et
root   1430   0.0  0.2  56028  6432  -  Is   10:49AM   0:00.00 
/usr/local/sbin/bacula-fd -v -c /usr/local/etc/bacula/bacula-fd.con
root   1559   0.0  0.1  18724  2156  0  S+   10:55AM   0:00.00 grep bacula

# bacula-dir -f -v -d 200 -c bacula-dir.conf
bacula-dir: dird.c:198-0 Debug level = 200
bacula-dir: inc_conf.c:556-0 set wildbase 803c521e8 size=1 *.tmp
bacula-dir: inc_conf.c:556-0 set wildbase 803c52568 size=1 *.tmp
bacula-dir: inc_conf.c:556-0 set wildbase 803c52728 size=1 *.tmp
bacula-dir: inc_conf.c:556-0 set wildbase 803c528e8 size=1 *.tmp
bacula-dir: runscript.c:296-0 runscript: debug
bacula-dir: runscript.c:297-0  -- RunScript
bacula-dir: runscript.c:298-0   -- 
Command=/usr/local/share/bacula/make_catalog_backup.pl Catalogo
bacula-dir: runscript.c:299-0   -- Target=
bacula-dir: runscript.c:300-0   -- RunOnSuccess=1
bacula-dir: runscript.c:301-0   -- RunOnFailure=0
bacula-dir: runscript.c:302-0   -- FailJobOnError=1
bacula-dir: runscript.c:303-0   -- RunWhen=2
bacula-dir: runscript.c:296-0 runscript: debug
bacula-dir: runscript.c:297-0  -- RunScript
bacula-dir: runscript.c:298-0   -- 
Command=/usr/local/share/bacula/delete_catalog_backup
bacula-dir: runscript.c:299-0   -- Target=
bacula-dir: runscript.c:300-0   -- RunOnSuccess=1
bacula-dir: runscript.c:301-0   -- RunOnFailure=0
bacula-dir: runscript.c:302-0   -- FailJobOnError=1
bacula-dir: runscript.c:303-0   -- RunWhen=1
bacula-dir: jcr.c:140-0 read_last_jobs seek to 192
bacula-dir: jcr.c:147-0 Read num_items=0
bacula-dir: dir_plugins.c:160-0 Load dir plugins
bacula-dir: dir_plugins.c:162-0 No dir plugin dir!
bacula-dir: postgresql.c:1126-0 db_init_database first time
bacula-dir: postgresql.c:241-0 pg_real_connect done
bacula-dir: postgresql.c:243-0 db_user=bacula db_name=bacula 
db_password=**
bacula-dir: sql_create.c:357-0 In create mediatype
bacula-dir: sql_create.c:361-0 selectmediatype: SELECT 
MediaTypeId,MediaType FROM MediaType WHERE MediaType='File'
bacula-dir: dird.c:339-0 Start UA server
bacula-dir: job.c:1334-0 wstorage=bacula-sd
bacula-dir: job.c:1343-0 wstore=bacula-sd where=Job resource
bacula-dir: bnet_server.c:112-0 Addresses host[ipv4:192.168.0.10:9101]
bacula-dir: job.c:1034-0 JobId=0 created 
Job=*JobMonitor*.2014-08-07_10.51.23_01
bacula-dir: dird.c:352-0 wait for next job
bacula-dir: scheduler.c:104-0 Enter wait_for_next_job
bacula-dir: scheduler.c:273-0 enter find_runs()
bacula-dir: scheduler.c:286-0 now = 53e3845b: h=10 m=7 md=6 wd=4 wom=0 
woy=32
bacula-dir: scheduler.c:303-0 nh = 53e3926b: h=11 m=7 md=6 wd=4 wom=0 woy=32
bacula-dir: scheduler.c:312-0 Got job: SrvBaculaBackup
bacula-dir: scheduler.c:355-0 run@803c1cb68: run_now=0 run_nh=0
bacula-dir: scheduler.c:355-0 run@803c1cc28: run_now=0 run_nh=0
bacula-dir: scheduler.c:312-0 Got job: CatalogBackup
bacula-dir: scheduler.c:355-0 run@803c1ce68: run_now=0 run_nh=0
bacula-dir: scheduler.c:312-0 Got job: SrvLdapBackup
bacula-dir: scheduler.c:355-0 run@803c1cb68: run_now=0 run_nh=0
bacula-dir: scheduler.c:355-0 run@803c1cc28: run_now=0 run_nh=0
bacula-dir: scheduler.c:312-0 Got job: SrvWebBackup
bacula-dir: scheduler.c:355-0 run@803c1cb68: run_now=0 run_nh=0
bacula-dir: scheduler.c:355-0 run@803c1cc28: run_now=0 run_nh=0
bacula-dir: scheduler.c:312-0 Got job: SrvDnsBackup
bacula-dir: scheduler.c:355-0 run@803c1cb68: run_now=0 run_nh=0
bacula-dir: scheduler.c:355-0 run@803c1cc28: run_now=0 run_nh=0
bacula-dir: scheduler.c:374-0 Leave find_runs()
bacula-dir: scheduler.c:273-0 enter find_runs()
bacula-dir: scheduler.c:286-0 now = 53e38497: h=10 m=7 md=6 wd=4 wom=0 
woy=32
bacula-dir: scheduler.c:303-0 nh = 53e392a7: h=11 m=7 md=6 wd=4 wom=0 woy=32
bacula-dir: scheduler.c:312-0 Got job: SrvBaculaBackup
bacula-dir: scheduler.c:355-0 run@803c1cb68: run_now=0 run_nh=0
bacula-dir: scheduler.c:355-0 run@803c1cc28: run_now=0 run_nh=0
bacula-dir: scheduler.c:312-0 Got job: CatalogBackup
bacula-dir: scheduler.c:355-0 

[Bacula-users] Bacula Loading Tape at the Wrong Library

2014-08-07 Thread Vinicius Alexandre Pereira de Souza
Hello everybody,

I'm new to Bacula, and i'm having a problem using different storages in a
same pool.

I have two HP Tape Libraries installed on the Storage (LibHP08 and
LibHP09), i tried to configure some jobs to access both libraries, but I'm
having some trouble with bacula accessing the wrong library.

For example, bacula tries to access volume G00022L5 on slot 20 at
LibHP08, but it reaches the volume H00011L5 on slot 20 at LibHP09.
Basically, it tries to get a tape on the correct slot, but in the wrong
Library. It Generates the Following error:

LibHP 3307 Issuing autochanger unload slot 20, drive 1 command.
 Warning: Director wanted Volume G00022L5.
Current Volume H00011L5 not acceptable because:
1998 Volume H00011L5 catalog status is Append, not in Pool.

Then, bacula unloads the drive, tries to find the correct tape, but loads
the wrong one, generates the error again, and so on.

The job never completes, since it doesn't find the correct tape.

Some of my Pools:

Pool {
  Name = machine-Pool-Weekly
  Pool Type = Backup
  Storage = LibHP08, LibHP09
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 34 days
}

Pool {
  Name = machine-Pool-Monthly
  Pool Type = Backup
  Storage = LibHP08, LibHP09
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 1825 days
}


Devices/Autochangers Config:

#
## An autochanger device with four drives
##  Library HP (LibHP08)
##
Autochanger {
  Name = LibHP08_Changer
  Device = LibHP08-drive_1, LibHP08-drive_2, LibHP08-drive_3, LibHP08-drive_4
  Changer Command = /usr/lib64/bacula/mtx-changer %c %o %S %a %d
  Changer Device = /dev/tape/by-id/scsi-35001438016063c04
}

#
## An autochanger device with four drives
##  Library HP (LibHP09)
##
Autochanger {
  Name = LibHP09_Changer
  Device = LibHP09-drive_1, LibHP09-drive_2, LibHP09-drive_3, LibHP09-drive_4
  Changer Command = /usr/lib64/bacula/mtx-changer %c %o %S %a %d
  Changer Device = /dev/tape/by-id/scsi-3500143801606395c
}

Device {
  Name = LibHP08-drive_1  #
  Drive Index = 0
  Media Type = LTO-5
  Archive Device = /dev/tape/by-id/scsi-35001438016063c05-nst
  AutomaticMount = yes;   # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Alert Command = sh -c 'smartctl -H -l error %c'
  Maximum Changer Wait = 600
  Maximum Concurrent Jobs = 1
  LabelMedia = yes
}

Device {
  Name = LibHP08-drive_2  #
  Drive Index = 1
  Media Type = LTO-5
  Archive Device = /dev/tape/by-id/scsi-35001438016063c08-nst
  AutomaticMount = yes;   # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Alert Command = sh -c 'smartctl -H -l error %c'
  Maximum Changer Wait = 600
  Maximum Concurrent Jobs = 1
  LabelMedia = yes
}

Device {
  Name = LibHP08-drive_3  #
  Drive Index = 2
  Media Type = LTO-5
  Archive Device = /dev/tape/by-id/scsi-35001438016063c0b-nst
  AutomaticMount = yes;   # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Alert Command = sh -c 'smartctl -H -l error %c'
  Maximum Changer Wait = 600
  Maximum Concurrent Jobs = 1
  LabelMedia = yes
}

Device {
  Name = LibHP08-drive_4  #
  Drive Index = 3
  Media Type = LTO-5
  Archive Device = /dev/tape/by-id/scsi-35001438016063c0e-nst
  AutomaticMount = yes;   # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Alert Command = sh -c 'smartctl -H -l error %c'
  Maximum Changer Wait = 600
  Maximum Concurrent Jobs = 1
  LabelMedia = yes
}

Device {
  Name = LibHP09-drive_1  #
  Drive Index = 0
  Media Type = LTO-5
  Archive Device = /dev/tape/by-id/scsi-3500143801606395d-nst
  AutomaticMount = yes;   # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Alert Command = sh -c 'smartctl -H -l error %c'
  Maximum Changer Wait = 600
  Maximum Concurrent Jobs = 1
  LabelMedia = yes
}

Device {
  Name = LibHP09-drive_2  #
  Drive Index = 1
  Media Type = LTO-5
  Archive Device = /dev/tape/by-id/scsi-35001438016063960-nst
  AutomaticMount = yes;   # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Alert Command = sh -c 'smartctl -H -l error %c'
  Maximum Changer Wait = 600
  Maximum Concurrent Jobs = 1
  LabelMedia = yes
}

Device {
  Name = LibHP09-drive_3  #
  Drive Index = 2
  Media Type = LTO-5
  Archive Device = /dev/tape/by-id/scsi-35001438016063963-nst
  AutomaticMount = yes;   # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Alert Command = sh -c 'smartctl -H -l error %c'
  Maximum Changer Wait 

Re: [Bacula-users] Bacula Loading Tape at the Wrong Library

2014-08-07 Thread Roberts, Ben
Hi Vinicius,

You need to use a unique Media Type for each autochanger, e.g. “LTO5-Library1” 
and “LTO5-Library2”. These are arbitrary string values, the exact name doesn’t 
matter. Bacula believes a drive in library1 is suitable for loading a tape from 
library2 because the same Media Type is used for each.

Regards,
Ben Roberts

From: Vinicius Alexandre Pereira de Souza [mailto:vinicius.apso...@gmail.com]
Sent: 07 August 2014 17:39
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] Bacula Loading Tape at the Wrong Library


Hello everybody,

I'm new to Bacula, and i'm having a problem using different storages in a same 
pool.

I have two HP Tape Libraries installed on the Storage (LibHP08 and LibHP09), i 
tried to configure some jobs to access both libraries, but I'm having some 
trouble with bacula accessing the wrong library.

For example, bacula tries to access volume G00022L5 on slot 20 at LibHP08, 
but it reaches the volume H00011L5 on slot 20 at LibHP09. Basically, it tries 
to get a tape on the correct slot, but in the wrong Library. It Generates the 
Following error:



LibHP 3307 Issuing autochanger unload slot 20, drive 1 command.

 Warning: Director wanted Volume G00022L5.

Current Volume H00011L5 not acceptable because:

1998 Volume H00011L5 catalog status is Append, not in Pool.

Then, bacula unloads the drive, tries to find the correct tape, but loads the 
wrong one, generates the error again, and so on.

The job never completes, since it doesn't find the correct tape.

Some of my Pools:



Pool {

  Name = machine-Pool-Weekly

  Pool Type = Backup

  Storage = LibHP08, LibHP09

  Recycle = yes

  AutoPrune = yes

  Volume Retention = 34 days

}



Pool {

  Name = machine-Pool-Monthly

  Pool Type = Backup

  Storage = LibHP08, LibHP09

  Recycle = yes

  AutoPrune = yes

  Volume Retention = 1825 days

}



Devices/Autochangers Config:



#

## An autochanger device with four drives

##  Library HP (LibHP08)

##

Autochanger {

  Name = LibHP08_Changer

  Device = LibHP08-drive_1, LibHP08-drive_2, LibHP08-drive_3, LibHP08-drive_4

  Changer Command = /usr/lib64/bacula/mtx-changer %c %o %S %a %d

  Changer Device = /dev/tape/by-id/scsi-35001438016063c04

}



#

## An autochanger device with four drives

##  Library HP (LibHP09)

##

Autochanger {

  Name = LibHP09_Changer

  Device = LibHP09-drive_1, LibHP09-drive_2, LibHP09-drive_3, LibHP09-drive_4

  Changer Command = /usr/lib64/bacula/mtx-changer %c %o %S %a %d

  Changer Device = /dev/tape/by-id/scsi-3500143801606395c

}



Device {

  Name = LibHP08-drive_1  #

  Drive Index = 0

  Media Type = LTO-5

  Archive Device = /dev/tape/by-id/scsi-35001438016063c05-nst

  AutomaticMount = yes;   # when device opened, read it

  AlwaysOpen = yes;

  RemovableMedia = yes;

  RandomAccess = no;

  AutoChanger = yes

  Alert Command = sh -c 'smartctl -H -l error %c'

  Maximum Changer Wait = 600

  Maximum Concurrent Jobs = 1

  LabelMedia = yes

}



Device {

  Name = LibHP08-drive_2  #

  Drive Index = 1

  Media Type = LTO-5

  Archive Device = /dev/tape/by-id/scsi-35001438016063c08-nst

  AutomaticMount = yes;   # when device opened, read it

  AlwaysOpen = yes;

  RemovableMedia = yes;

  RandomAccess = no;

  AutoChanger = yes

  Alert Command = sh -c 'smartctl -H -l error %c'

  Maximum Changer Wait = 600

  Maximum Concurrent Jobs = 1

  LabelMedia = yes

}



Device {

  Name = LibHP08-drive_3  #

  Drive Index = 2

  Media Type = LTO-5

  Archive Device = /dev/tape/by-id/scsi-35001438016063c0b-nst

  AutomaticMount = yes;   # when device opened, read it

  AlwaysOpen = yes;

  RemovableMedia = yes;

  RandomAccess = no;

  AutoChanger = yes

  Alert Command = sh -c 'smartctl -H -l error %c'

  Maximum Changer Wait = 600

  Maximum Concurrent Jobs = 1

  LabelMedia = yes

}



Device {

  Name = LibHP08-drive_4  #

  Drive Index = 3

  Media Type = LTO-5

  Archive Device = /dev/tape/by-id/scsi-35001438016063c0e-nst

  AutomaticMount = yes;   # when device opened, read it

  AlwaysOpen = yes;

  RemovableMedia = yes;

  RandomAccess = no;

  AutoChanger = yes

  Alert Command = sh -c 'smartctl -H -l error %c'

  Maximum Changer Wait = 600

  Maximum Concurrent Jobs = 1

  LabelMedia = yes

}



Device {

  Name = LibHP09-drive_1  #

  Drive Index = 0

  Media Type = LTO-5

  Archive Device = /dev/tape/by-id/scsi-3500143801606395d-nst

  AutomaticMount = yes;   # when device opened, read it

  AlwaysOpen = yes;

  RemovableMedia = yes;

  RandomAccess = no;

  AutoChanger = yes

  Alert Command = sh -c 'smartctl -H -l error %c'

  Maximum Changer Wait = 600

  Maximum Concurrent Jobs = 1

  LabelMedia = yes

}



Device {

  Name = LibHP09-drive_2  #

  Drive Index = 1

  Media Type = LTO-5

  Archive Device = 

[Bacula-users] Good web interface??

2014-08-07 Thread Jonathan Bayer
I was using Webacula on an older installation and am now trying to get 
it working on 7.0.5


While I can log in, and it displays existing data correctly, when I try 
to do anything with jobs, I get the following errors:


[07-Aug-2014 14:16:44] PHP Notice:  Trying to get property of non-object 
in /usr/share/webacula/application/layouts/default/header.phtml on line 25
[07-Aug-2014 14:16:44] PHP Notice:  Trying to get property of non-object 
in /usr/share/webacula/application/layouts/default/header.phtml on line 25
[07-Aug-2014 14:16:44] PHP Notice:  Trying to get property of non-object 
in /usr/share/webacula/application/layouts/default/header.phtml on line 28
[07-Aug-2014 14:16:44] PHP Notice:  Trying to get property of non-object 
in /usr/share/webacula/application/layouts/default/header.phtml on line 28
[07-Aug-2014 14:16:44] PHP Notice:  Trying to get property of non-object 
in /usr/share/webacula/application/layouts/default/header.phtml on line 29
[07-Aug-2014 14:16:44] PHP Notice:  Trying to get property of non-object 
in /usr/share/webacula/application/layouts/default/header.phtml on line 29
[07-Aug-2014 14:16:44] PHP Notice:  Trying to get property of non-object 
in /usr/share/webacula/application/layouts/default/header.phtml on line 30
[07-Aug-2014 14:16:44] PHP Notice:  Trying to get property of non-object 
in /usr/share/webacula/application/layouts/default/header.phtml on line 30
[07-Aug-2014 14:16:44] PHP Notice:  Trying to get property of non-object 
in /usr/share/webacula/application/layouts/default/header.phtml on line 31
[07-Aug-2014 14:16:44] PHP Notice:  Trying to get property of non-object 
in /usr/share/webacula/application/layouts/default/header.phtml on line 31
[07-Aug-2014 14:16:44] PHP Notice:  Trying to get property of non-object 
in /usr/share/webacula/application/layouts/default/header.phtml on line 38
[07-Aug-2014 14:16:44] PHP Notice:  Trying to get property of non-object 
in /usr/share/webacula/application/layouts/default/header.phtml on line 38
[07-Aug-2014 14:16:44] PHP Notice:  Trying to get property of non-object 
in /usr/share/webacula/application/layouts/default/header.phtml on line 39
[07-Aug-2014 14:16:44] PHP Notice:  Trying to get property of non-object 
in /usr/share/webacula/application/layouts/default/header.phtml on line 39
[07-Aug-2014 14:16:44] PHP Notice:  Trying to get property of non-object 
in /usr/share/webacula/application/layouts/default/header.phtml on line 44
[07-Aug-2014 14:16:44] PHP Notice:  Trying to get property of non-object 
in /usr/share/webacula/application/layouts/default/header.phtml on line 44
[07-Aug-2014 14:16:44] PHP Notice:  Trying to get property of non-object 
in /usr/share/webacula/application/layouts/default/main-menu.phtml on 
line 21
[07-Aug-2014 14:16:44] PHP Fatal error:  Call to a member function 
isAllowed() on a non-object in 
/usr/share/webacula/application/layouts/default/main-menu.phtml on line 25
[07-Aug-2014 14:16:44] PHP Fatal error:  Class 'Zend_Auth' not found in 
/usr/share/webacula/library/MyClass/Session/SaveHandler/DbTable.php on 
line 46


This is Webacula 5.5.1, on a CentOS 6.5 system, Bacula 7.0.5 and the 
database is Postgres 8.4


I am very open to using a different web interface, and would be 
interested in any recommendations.


Of course, if you know how to fix this problem, that would be great as well.

Thank in advance


Jonathan Bayer
--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] List files associated with destroyed tape

2014-08-07 Thread John Wallach
Hi Martin,

I tried this after backing up the catalog. It worked in the sense that
it purged the files from the destroyed media but it also purged all the
rest of the files in the job...

8. Re: List files associated with destroyed tape (Martin Simmons)

-- 
John Wallach
Systems Administrator
PGP Fingerprint: C089 65CA 1F30 8A02 86C5 6BC3 59E1 ACE4 F8B4 28DB
Democracy Now!
www.democracynow.org

--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] HEADS UP: FreeBSD port changes coming

2014-08-07 Thread Dan Langille

On Jun 24, 2014, at 9:28 AM, Dan Langille d...@langille.org wrote:

 The FreeBSD port is about to change.  I started work on a 7.x port back 
 in March 
 (http://comments.gmane.org/gmane.comp.sysutils.backup.bacula.devel/17729) 
 but my time was taken over by BSDCan and PGCon.
 
 Andrey K has submitted a patch 
 (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191311) and we plan 
 to move quickly with this.
 
 The existing ports will be copied within the FreeBSD ports tree before 
 the above patch is committed.  Thus, sysutils/bacula-server will be 
 copied to sysutils/bacula5-server.  Also created will be bacula7-client, 
 bacula5-docs, bacula5-bat, etc.
 
 FYI: Installing Bacula 5 and Bacula 7 on the same system will result in 
 a conflict and the ports will be structure to not allow you to do that.
 
 For those that need to keep using Bacula 5, you can.  Those on Bacula 7, 
 the upgrade should be coming soon.

Done.

Bacula 7.0.4: 
http://www.freshports.org/commit.php?category=sysutilsport=bacula-serverfiles=yesmessage_id=53e3d25b.2da7.4e03a...@svn.freebsd.org

And Bacula 5:   
http://www.freshports.org/commit.php?message_id=53e3d1ca.2d1d.3b112...@svn.freebsd.orgfiles=ye

— 
Dan Langille



signature.asc
Description: Message signed with OpenPGP using GPGMail
--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Error when trying to configure bacula-gui-7.0.5

2014-08-07 Thread Marcin Haba
Hello,

Yes, Baculum is only web application. It was designed to work in web server
document root directory.

I noticed on this mailing list that you are not only one person for which
document root requirement makes problem.

I tried to do something with this issue. I prepared changes that detect if
Baculum files are placed in subdirectory. If yes, then for each HTTP
request is added this subdirectory name (or subdirectories names) as prefix.

This change will be available in next release.

Best regards.
Marcin

2014-08-05 14:34 GMT+02:00 Machiel mach...@integrat.co.za:

  Hi,

Thank you for the reply.

 ok, two questions here.


 - I have only copied the baculum directory from the
 bacula-gui-7.0.5 source directory and to the /var/www/html/baculum
 directory.
 -- first question, am I supposed to copy the full
 bacula-gui directory or was this correct.

 - my current virtualhost config is as follows:

 VirtualHost *:80
 DocumentRoot /var/www/html/baculum/
 serveralias # hashed out info  
 ServerName # hashed out info  
 Directory /var/www/html/baculum
 RewriteEngine On

 AllowOverride All
 AuthType Basic
 AuthName MyPrivateFile
 AuthUserFile /var/www/html/baculum/passwords
 Require valid-user
 /Directory
 /VirtualHost


 This is the only site that will be running on the server
 so I have placed this virtualhost in the default file.

 If I need to put a rewrite rule in, then my second
 question is what would it look like as I dont know how to write
 rewrite_rules at all.

 Regards




 On 05/08/2014 14:20, Marcin Haba wrote:

  Hello,

  It looks that your DocumentRoot option from VirtualHost does not
 indicate to directory with Baculum files.

  The most probably is that you used subdirectory for storing Baculum
 files.

  For example, if you are storing Baculum files in location:

  /some/dir/bacula-gui/baculum

  then according Apache configuration file part can look like below:

  VirtualHost *:80
 DocumentRoot /some/dir/bacula-gui/baculum
 ServerName somehost.example.com
 Directory /some/dir/bacula-gui/baculum
 AllowOverride All
 AuthType Basic
  AuthName MyPrivateFile
 AuthUserFile /etc/apache2/some_password_file
 Require valid-user
  /Directory
 /VirtualHost

  In other words, Baculum files need to be located on top location of your
 web server document root. From this reason access to Baculum is by:

  http://yourhost/

  but NOT by:

  http://yourhost/baculum/

  I believe that this problem is easy to skip by modifing mod_rewrite
 rules.

  Best regards.
 Marcin

  2014-08-05 10:30 GMT+02:00 Machiel mach...@integrat.co.za:

  Hi Guys

  Thank you for the response on this matter.
  I have now followed the instructions for installing baculum as per
 the INSTALL file, however now I a getting the following when I go to the
 web interface:


 The requested URL /wizard/ was not found on this server.

 I have done some web searches and everyone is noting that the
 authorisation needs to be configured and that mod_rewrite needs to be
 enabled.

 Both these have been done, however still getting that message.



 Any ideas on what might be wrong or how to fix this? I am by no
 means an apache or php expert.

 Regards



 On 31/07/2014 17:52, Marcin Haba wrote:

 2014-07-31 15:05 GMT+02:00 Machiel mach...@integrat.co.za 
 mach...@integrat.co.za:

  Hi Guys

  I have installed bacula7.0.5 from source as well as bacula-web
 today without any issues.

  I am however trying to install bacula-gui-7.0.5 , but when I run
 the configure script I get the following:


 ./configure --with-bacula=/installs/bacula-7.0.5/
 configuring for Bacula source 7.0.5
 01Jan13
 29Feb12
 4.8.4 (28 July 2014)
 checking for true... /bin/true
 checking for false... /bin/false
 checking for gawk... gawk
 checking for gawk... /usr/bin/gawk
 checking for a BSD-compatible install... /usr/bin/install -c
 checking for mv... /bin/mv
 checking for rm... /bin/rm
 checking for cp... /bin/cp
 checking for echo... /bin/echo
 checking for ar... /usr/bin/ar
 checking build system type... x86_64-unknown-linux-gnu
 checking host system type... x86_64-unknown-linux-gnu
 checking for Operating System Distribution... done
 configure: creating ./config.status
 config.status: creating autoconf/Make.common
 sed: file ./confstatvUTcN2/subs-1.sed line 35: unterminated `s' command
 config.status: creating Makefile
 sed: file ./confstatvUTcN2/subs-1.sed line 35: unterminated `s' command
 config.status: creating bimagemgr/Makefile
 config.status: error: cannot find input file: bimagemgr/Makefile.in


  I tried the same on another machine running 7.0.4 and got the exact
 same thing. 

Re: [Bacula-users] Good web interface??

2014-08-07 Thread Joseph L. Casale
 This is Webacula 5.5.1, on a CentOS 6.5 system, Bacula 7.0.5 and the database 
 is Postgres 8.4

Although I don't ever use Webacula, bconsole is so much easier for me, I do 
have the exact
same setup on one system and it works fine. You likely have some local issue 
that could be
resolved if you are preferential to Webacula.

jlc

--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Good web interface??

2014-08-07 Thread Oschwald Robert
I’m using Webacula 5.5.1 with Bacula 7.0.4 on CentOS 6.5 without any problem, 
so I think it must be an issue on your local installation.
Try to increase the log level in php.ini and log to a file to get a hint what 
the problem could be.

Maybe a permission issue from your web process user to execute bconsole.

Best,
Rob

--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users