Re: [Bacula-users] Migration takes hours

2011-03-05 Thread Dermot Beirne
From: Josh Fisher 
Subject: Re: [Bacula-users] Migration takes hours
To: bacula-users@lists.sourceforge.net
Message-ID: <4d6e7d3e.7010...@pvct.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed


On 3/2/2011 4:47 AM, Dermot Beirne wrote:
>> Hello Chris,
>> Thanks for responding.
>> The PE 124T is connected externally to a SCSI card in a Dell T610.
>>
>> I have 6 x 1 TB SAS drives in a Raid 5 array.
>>
>> I haven't considered the transfer rates between the disks and the
>> drive, but clearly it could be an issue.
>>
>> There is nothing else accessing the disks during a migration.

>Not even the Bacula catalog database?

Yes, the catalog is on the same disks.  I meant other backups or other
applications.
Would the catalog activity be that intense, as to slow the migration?

Any tips on narrowing down the suspects would be great.

Dermot.

--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Need help fixing configuration files.

2011-03-05 Thread Paulo Martinez
Am 05.03.2011 um 21:23 schrieb Kenney, William P. (Information  
Technology Services):
>
>>> trying to install it on RHES 6 as a production backup solution with
>>> no luck.
>>>
>
>> Which package version is installed?  (rpm -qa | grep bacula)
>> Version 5.0.0-7.el6 of RHEL is broken.
>
> Thanks Paulo, I'll contact RH.
>
> Do you know what is broken?



Several things. RH will update these via FasTrack Updates (stated in  
bugzilla entries).

Some links (/usr/sbin/dbcheck, /usr/sbin/bscan) are wrong and the  
original 5.0.0 version
has a wrong permissions argument in make_catalog_backup.pl.

Try to set the symbolic links correctly e.g. /usr/sbin/bscan -> /usr/ 
sbin/bscan.mysql
and check line 92 in  make_catalog_backup.pl ...

PM


--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Need help fixing configuration files.

2011-03-05 Thread Mike Brady
Quoting "Kenney, William P. (Information Technology Services)"  
:

> Hello all,
>
>
>
> I am new to Bacula. I have gotten Bacula to run on Ubuntu and am trying
> to install it on RHES 6 as a production backup solution with no luck.
>
>
>
> I am using MySql 5.1 as the database. The Bacula distribution is from
> Red Hat's extras repository.
>
>
>
> I have been able to get Bacula to start but it dies within a minute and
> leaves the subsys lock in place.
>
>
>
> Bat starts but cannot connect, logs indicate the other daemons cannot
> connect as well.
>
>
>
> I have tried using a FQDN, ip address and localhost in the configuration
> files requiring an address.
>
>
>
> I have used the OLD_PASSWORD() function in mysql to see if the password
> being passed was an issue.
>
>
>
> Below is the contents of my configuration files. If you would, please
> take a look and let me know where I'm messing up.
>
>
>
> TIA
>
>
>
> Bill
>
> #
>
> # Default Bacula Director Configuration file
>
> #
>
> #  The only thing that MUST be changed is to add one or more
>
> #   file or directory names in the Include directive of the
>
> #   FileSet resource.
>
> #
>
> #  For Bacula release 5.0.0 (26 January 2010) -- redhat Enterprise
> release
>
> #
>
> #  You might also want to change the default email address
>
> #   from root to your address.  See the "mail" and "operator"
>
> #   directives in the Messages resource.
>
> #
>
>
>
> Director {# define myself
>
>   Name = bacula-dir
>
>   DIRport = 9101# where we listen for UA connections
>
>   QueryFile = "/usr/libexec/bacula/query.sql"
>
>   WorkingDirectory = "/var/spool/bacula"
>
>   PidDirectory = "/var/run"
>
>   Maximum Concurrent Jobs = 1
>
>   Password = "7e7df93657d74c09" # Console password
>
>   Messages = Daemon
>
> #  DirAddress = beast.easternct.edu
>
> }
>
>
>
> JobDefs {
>
>   Name = "DefaultJob"
>
>   Type = Backup
>
>   Level = Incremental
>
>   Client = bacula-fd
>
>   FileSet = "Full Set"
>
>   Schedule = "WeeklyCycle"
>
>   Storage = File
>
>   Messages = Standard
>
>   Pool = File
>
>   Priority = 10
>
>   Write Bootstrap = "/var/spool/bacula/%c.bsr"
>
> }
>
>
>
>
>
> #
>
> # Define the main nightly save backup job
>
> #   By default, this job will back up to disk in /tmp
>
> Job {
>
>   Name = "BackupClient1"
>
>   JobDefs = "DefaultJob"
>
> }
>
>
>
> #Job {
>
> #  Name = "BackupClient2"
>
> #  Client = bacula2-fd
>
> #  JobDefs = "DefaultJob"
>
> #}
>
>
>
> # Backup the catalog database (after the nightly save)
>
> Job {
>
>   Name = "BackupCatalog"
>
>   JobDefs = "DefaultJob"
>
>   Level = Full
>
>   FileSet="Catalog"
>
>   Schedule = "WeeklyCycleAfterBackup"
>
>   # This creates an ASCII copy of the catalog
>
>   # Arguments to make_catalog_backup.pl are:
>
>   #  make_catalog_backup.pl 
>
>   RunBeforeJob = "/usr/libexec/bacula/make_catalog_backup.pl MyCatalog"
>
>   # This deletes the copy of the catalog
>
>   RunAfterJob  = "/usr/libexec/bacula/delete_catalog_backup"
>
>   Write Bootstrap = "/var/spool/bacula/%n.bsr"
>
>   Priority = 11   # run after main backup
>
> }
>
>
>
> #
>
> # Standard Restore template, to be changed by Console program
>
> #  Only one such job is needed for all Jobs/Clients/Storage ...
>
> #
>
> Job {
>
>   Name = "RestoreFiles"
>
>   Type = Restore
>
>   Client=bacula-fd
>
>   FileSet="Full Set"
>
>   Storage = File
>
>   Pool = Default
>
>   Messages = Standard
>
>   Where = /tmp/bacula-restores
>
> }
>
>
>
>
>
> # List of files to be backed up
>
> FileSet {
>
>   Name = "Full Set"
>
>   Include {
>
> Options {
>
>   signature = MD5
>
> }
>
> #
>
> #  Put your list of files here, preceded by 'File =', one per line
>
> #or include an external list with:
>
> #
>
> #File = 
> #
>
> #  Note: / backs up everything on the root partition.
>
> #if you have other partitions such as /usr or /home
>
> #you will probably want to add them too.
>
> #
>
> #  By default this is defined to point to the Bacula binary
>
> #directory to give a reasonable FileSet to backup to
>
> #disk storage during initial testing.
>
> #
>
> File = /usr/sbin
>
>   }
>
>
>
> #
>
> # If you backup the root directory, the following two excluded
>
> #   files can be useful
>
> #
>
>   Exclude {
>
> File = /var/spool/bacula
>
> File = /tmp
>
> File = /proc
>
> File = /tmp
>
> File = /.journal
>
> File = /.fsck
>
>   }
>
> }
>
>
>
> #
>
> # When to do the backups, full backup on first sunday of the month,
>
> #  differential (i.e. incremental since full) every other sunday,
>
> #  and incremental backups other days
>
> Schedule {
>
>   Name = "WeeklyCycle"
>
>   Run = Full 1st sun at 23:05
>
>   Run = Differential 2nd-5th sun at 23:05
>
>   Run = Incremental mon-sat at 23:05
>
> }
>
>
>
> # This schedule does the catalog. It starts after the WeeklyCycle
>
> Schedule {
>
>   Name = "WeeklyCycleAfterBackup"
>
>   Run = Full sun-sat at 23:10
>
> }

Re: [Bacula-users] Need help fixing configuration files.

2011-03-05 Thread Paulo Martinez
Am 05.03.2011 um 20:04 schrieb Kenney, William P. (Information  
Technology Services):
> I am new to Bacula. I have gotten Bacula to run on Ubuntu and am
>
> trying to install it on RHES 6 as a production backup solution with  
> no luck.
>


Which package version is installed?  (rpm -qa | grep bacula)

Version 5.0.0-7.el6 of RHEL is broken.

PM



--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] webacula only giving back empty page

2011-03-05 Thread J. Echter
Am 05.03.2011 09:05, schrieb Thomas Schweikle:
> Am 04.03.2011 11:42, schrieb Jan Lentfer:
>> On Fri, 04 Mar 2011 11:22:49 +0100, Thomas Schweikle 
>> wrote:
>>> Am 03.03.2011 22:37, schrieb Jan Lentfer:
 Am 03.03.2011 22:30, schrieb Thomas Schweikle:
> /opt/webacula/install/db.conf:
> db_name="bacula"
> db_name_sqlite="/var/bacula/working/bacula.db"
> db_user="user"
> db_pwd="xxx"
> webacula_root_pwd=""
 Mal nach Fehlermeldungen in den apache logs geschaut?
>>> Ja. Dort steht was von:
>>> [Fri Mar 04 10:44:43 2011] [error]\
>>>   [client 79.229.116.15] PHP Warning:  include(Zend/Loader.php):\
>>>   failed to open stream: No such file or directory in\
>>>   /opt/webacula/html/index.php on line 45
>>> [Fri Mar 04 10:44:43 2011] [error]\
>>>   [client 79.229.116.15] PHP Warning:  include(): Failed opening\
>>>   'Zend/Loader.php' for inclusion (include_path='.:../library:..\
>>>   /application/models/:../application/forms/:/usr/share/php') in\
>>>   /opt/webacula/html/index.php on line 45
>>> [Fri Mar 04 10:44:43 2011] [error]\
>>>   [client 79.229.116.15] PHP Fatal error:  Class 'Zend_Loader'\
>>>   not found in /opt/webacula/html/index.php on line 47
>>>
>>> In /etc/php5/apache2/php.ini:
>>> include_path = "/usr/share/php"
>>>
>>> In /etc/php5/apache2/conf.d:
>>> This is an empty directory!!
>>>
>>> OK. I'd linked all files from /etc/php5/conf.d to
>>> /etc/php5/apache5/conf.d --- solved some problems. Now:
>>>
>>> Not Found
>>> The requested URL /webacula/auth/login was not found on this server.
>>>
>>> That is true: /opt/webacula/html/auth doesn't exist! Any idea? Broken?
>> Den Pfad zum Zend im php.ini mit in include rein. Keine Ahnung wo das beim
>> Debian/Ubuntu im Standard liegt.
>> Bei mir sieht's im php.ini so aus:
>>
>> include_path =
>> ".:/usr/pkg/lib/php:/usr/local/lib/ZendFramework-1.11.3/library"
> Ich hab es jetzt probiert, das in /etc/php5/apache2/php.ini direkt
> einzutragen. Der Pfad wird eigentlich in der Datei
> /etc/php5/apache2/conf.d/zend-framework.ini entsprechend ergänzt.
>
> Ein neues zend-projekt funktioniert auch.  Nach anlegen des Projekts
>
> zf create project zend-test
>
> und
>
> der entsprechenden Apache-Konfiguration:
>
> Alias /zend /opt/zend-test/public
>
> 
> 
> DirectoryIndex index.php
> Options -Indexes +FollowSymLinks
> AllowOverride Options
>
> Order allow,deny
> Allow from all
> 
>
> 
> AuthType Kerberos
> AuthName "Kerberos Login"
> KrbMethodNegotiate On
> KrbMethodK5Passwd On
> KrbServiceName HTTP
> KrbAuthRealms XOMPU.DE
> Krb5KeyTab /etc/apache2/krb5.http
> require valid-user
> 
> 
>
> Kann die Webseite nach restart von apache2 aufgerufen werden. Ich
> hab' ganz langsam den Verdacht, dass webacula zur Zeit überhaupt
> nicht funktioniert, die Beschreibungen zum Einrichten völlig daneben
> sind und H.
>
> Es eistieren die Verzeichnisse
> - application
> - docs
> - library
>
> Die Verzeichnisse
> - data
> - html
> - install
> - languages
>
> Ich kann nur vermuten, das
> - public -> html
>
> entspricht. Das wäre aber keine gute Idee, weil dann public auf html
> abgebildet werden müsste (was aber wohl durch exzessives nutzen von
> Rewrite passiert). In den Unterverzeichnissen fehlt so zimlich
> alles. Diverse Dateien, die in public vorhanden sind, fehlen in
> html. Dafür sind andere Dateien vorhanden.
> Auf mich wirkt das ganze, als ob jemand nur die Dateien, die er
> selber geschrieben hat eingepackt hätte und nicht das komplette
> Projekt...
>
> Ich werde es mal mit einem checkout probieren. Vielleicht ist dann
> dort alles was gebraucht wird enthalten ...
anyone you talking with?

--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] webacula only giving back empty page

2011-03-05 Thread Thomas Schweikle
Am 04.03.2011 11:42, schrieb Jan Lentfer:
> On Fri, 04 Mar 2011 11:22:49 +0100, Thomas Schweikle 
> wrote:
>> Am 03.03.2011 22:37, schrieb Jan Lentfer:
>>> Am 03.03.2011 22:30, schrieb Thomas Schweikle:
 /opt/webacula/install/db.conf:
 db_name="bacula"
 db_name_sqlite="/var/bacula/working/bacula.db"
 db_user="user"
 db_pwd="xxx"
 webacula_root_pwd=""
>>>
>>> Mal nach Fehlermeldungen in den apache logs geschaut?
>> 
>> Ja. Dort steht was von:
>> [Fri Mar 04 10:44:43 2011] [error]\
>>   [client 79.229.116.15] PHP Warning:  include(Zend/Loader.php):\
>>   failed to open stream: No such file or directory in\
>>   /opt/webacula/html/index.php on line 45
>> [Fri Mar 04 10:44:43 2011] [error]\
>>   [client 79.229.116.15] PHP Warning:  include(): Failed opening\
>>   'Zend/Loader.php' for inclusion (include_path='.:../library:..\
>>   /application/models/:../application/forms/:/usr/share/php') in\
>>   /opt/webacula/html/index.php on line 45
>> [Fri Mar 04 10:44:43 2011] [error]\
>>   [client 79.229.116.15] PHP Fatal error:  Class 'Zend_Loader'\
>>   not found in /opt/webacula/html/index.php on line 47
>> 
>> In /etc/php5/apache2/php.ini:
>> include_path = "/usr/share/php"
>> 
>> In /etc/php5/apache2/conf.d:
>> This is an empty directory!!
>> 
>> OK. I'd linked all files from /etc/php5/conf.d to
>> /etc/php5/apache5/conf.d --- solved some problems. Now:
>> 
>> Not Found
>> The requested URL /webacula/auth/login was not found on this server.
>> 
>> That is true: /opt/webacula/html/auth doesn't exist! Any idea? Broken?
> 
> Den Pfad zum Zend im php.ini mit in include rein. Keine Ahnung wo das beim
> Debian/Ubuntu im Standard liegt.
> Bei mir sieht's im php.ini so aus:
> 
> include_path =
> ".:/usr/pkg/lib/php:/usr/local/lib/ZendFramework-1.11.3/library"

Ich hab es jetzt probiert, das in /etc/php5/apache2/php.ini direkt
einzutragen. Der Pfad wird eigentlich in der Datei
/etc/php5/apache2/conf.d/zend-framework.ini entsprechend ergänzt.

Ein neues zend-projekt funktioniert auch.  Nach anlegen des Projekts

zf create project zend-test

und

der entsprechenden Apache-Konfiguration:

Alias /zend /opt/zend-test/public



DirectoryIndex index.php
Options -Indexes +FollowSymLinks
AllowOverride Options

Order allow,deny
Allow from all



AuthType Kerberos
AuthName "Kerberos Login"
KrbMethodNegotiate On
KrbMethodK5Passwd On
KrbServiceName HTTP
KrbAuthRealms XOMPU.DE
Krb5KeyTab /etc/apache2/krb5.http
require valid-user



Kann die Webseite nach restart von apache2 aufgerufen werden. Ich
hab' ganz langsam den Verdacht, dass webacula zur Zeit überhaupt
nicht funktioniert, die Beschreibungen zum Einrichten völlig daneben
sind und H.

Es eistieren die Verzeichnisse
- application
- docs
- library

Die Verzeichnisse
- data
- html
- install
- languages

Ich kann nur vermuten, das
- public -> html

entspricht. Das wäre aber keine gute Idee, weil dann public auf html
abgebildet werden müsste (was aber wohl durch exzessives nutzen von
Rewrite passiert). In den Unterverzeichnissen fehlt so zimlich
alles. Diverse Dateien, die in public vorhanden sind, fehlen in
html. Dafür sind andere Dateien vorhanden.
Auf mich wirkt das ganze, als ob jemand nur die Dateien, die er
selber geschrieben hat eingepackt hätte und nicht das komplette
Projekt...

Ich werde es mal mit einem checkout probieren. Vielleicht ist dann
dort alles was gebraucht wird enthalten ...
-- 
Thomas


--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users