Re: [Bacula-users] Strange error when trying to start Bacula
2008-06-16 23:52:25
> Where is the error here?
I found the error myself and it was the path to config files:
> @/workdata/etc/bacula/jobs/backup-jobs.conf
This doesn't exists. The correct path is:
@/workdata/bacula/etc/jobs/backup-jobs.conf
But now I'm having a second error:
/etc/init.d/bacula start
Starting the Bacula Storage daemon
Starting the Bacula File daemon
Starting the Bacula Director daemon
16-Jun 23:43 bacula-dir JobId 0: Fatal error: No Job records defined in
/workdata/bacula/etc//bacula-dir.conf
16-Jun 23:43 bacula-dir ERROR TERMINATION
Please correct configuration file: /workdata/bacula/etc//bacula-dir.conf
The content of bacula-dir.conf is this:
[quote]
Director {
Name = IPServer-Director
Description = IP Backup Automated Software
DIRport = 9101
QueryFile = "/workdata/bacula/scripts/query.sql"
WorkingDirectory = "/workdata/bacula/working/"
PidDirectory = "/workdata/bacula/pid"
Maximum Concurrent Jobs = 4
Password = "cGygNhTw8Kt7ebtwVaUVkHwSjfiCUUMRjbpLvenUNhAGvZksgH"
Messages = Daemon
DirAddress = 10.128.50.155
FD Connect Timeout = 10 minutes
SD Connect Timeout = 10 minutes
}
Console {
Name = IPServer-Console
Password = "VO32iNEL8k2WI2fuyXFu+HMyZkvfeTyxUhBIsZwp8IkW"
CommandACL = status, .status
}
#@/workdata/bacula/etc/jobs/backup-jobs.conf
#@/workdata/bacula/etc/jobs/restore-jobs.conf
@/workdata/bacula/etc/filesets/bacula-dir-filesets.conf
@/workdata/bacula/etc/clients/bacula-dir-clients.conf
@/workdata/bacula/etc/includes/bacula-dir-jobdefs.conf
@/workdata/bacula/etc/includes/bacula-dir-schedule.conf
@/workdata/bacula/etc/includes/bacula-dir-storage.conf
@/workdata/bacula/etc/includes/bacula-dir-pool.conf
@/workdata/bacula/etc/includes/bacula-dir-catalog.conf
@/workdata/bacula/etc/includes/bacula-dir-messages.conf
As you can see I have two config files, one for Backup Jobs and other for
Restore Jobs. The first, Backup Jobs have this inside:
[quote]
Job {
Name = "SalvaIP1FDJob1"
Enabled = yes
JobDefs = "SalvaIPJD"
Client = SalvaIP1FD
Storage = IPBackupStorage
FileSet = "SalvaIP1FS"
Pool = IPBackupPool
Write Bootstrap = "/mnt/bootstrap//SalvaIP1.bsr"
}
Job {
Name = "SalvaIP1FDJob2"
Enabled = yes
JobDefs = "SalvaIPJD"
Client = SalvaIP1FD
Storage = UCIBackupStorage
FileSet = "SalvaIP1FS"
Pool = UCIBackupPool
Write Bootstrap = "/mnt/bootstrap//SalvaIP1.bsr"
}
So this means that I have two Jobs defined. Where is the problem then?
Cheers again
Ing. Reynier Pérez Mira
Grupo de Soporte al Desarrollo - Dirección Técnica IP
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|