[Bacula-users] The job does not come to the end
2009-11-06 00:47:31
Hello
Bacula v 3.0.2
There is a job, which can not be terminated
by bacula....
bacula-dir.conf
.....
JobDefs {
Name = "SUN"
Type = Backup
# Level = Full
Client = sun-x2250-fd
FileSet = "sun-x2250"
Schedule = "SUN"
Storage = File1
Messages = Standard
Pool = Pull_Full
Full Backup Pool = Pull_Full
Incremental Backup Pool = Pull_Inc
Differential Backup Pool = Pull_Diff
Priority = 10
}
.....
Job {
Name = "sun-x2250"
JobDefs = "SUN"
Write Bootstrap = "/bacula/bsr/%c_%n.bsr"
Client Run Before Job = "/u/backup/mysql-stop.sh"
Client Run After Job =
"/u/backup/mysql-start.sh"
Run After Failed Job = "/var/lib/zabbix/xmpp_bacula.sh"
}
.....
mysql-stop.sh
#!/bin/bash
/etc/init.d/httpd stop
/etc/init.d/sams stop
/etc/init.d/squid stop
/etc/init.d/mysqld stop
mysql-start.sh
#!/bin/bash
/etc/init.d/mysqld start
/etc/init.d/squid start
/etc/init.d/sams start
/etc/init.d/httpd start
Log records for job 971
2009-11-05 22:00:00 bacula-dir No
prior Full backup Job record found. No prior or suitable Full backup found
in catalog. Doing FULL backup.
2009-11-05 22:00:02 bacula-dir Start
Backup JobId 971, Job=sun-x2250.2009-11-05_22.00.00_12
2009-11-05 22:00:03 bacula-dir Created
new Volume "FullVol-0695" in catalog.
Using Device "FileStorage1"
2009-11-05 22:00:03 sun-x2250-fd shell
command: run ClientRunBeforeJob "/u/backup/mysql-stop.sh"
2009-11-05 22:00:14 sun-x2250-fd ClientRunBeforeJob:
Stopping httpd: [ OK ]
ClientRunBeforeJob: Shutting down samsd:
[ OK ]
2009-11-05 22:00:46 sun-x2250-fd
ClientRunBeforeJob: Stopping squid: ................[ OK ]
2009-11-05 22:00:52 sun-x2250-fd
ClientRunBeforeJob: Stopping MySQL: [ OK ]
2009-11-05 22:00:52 bacula-sd
Warning: dev.c:534 dev.c:532 Could not open: /u/bacula/FullVol-0695,
ERR=No such file or directory
Warning: dev.c:534 dev.c:532 Could not
open: /u/bacula/FullVol-0695, ERR=No such file or directory
Labeled new Volume "FullVol-0695"
on device "FileStorage1" (/u/bacula).
Wrote label to prelabeled Volume "FullVol-0695"
on device "FileStorage1" (/u/bacula)
2009-11-05 22:00:52 bacula-dir Max Volume
jobs exceeded. Marking Volume "FullVol-0695" as Used.
2009-11-05 22:31:28 bacula-sd Job write
elapsed time = 00:30:36, Transfer rate = 1.736 M bytes/second
2009-11-05 22:31:28 sun-x2250-fd shell
command: run ClientAfterJob "/u/backup/mysql-start.sh"
2009-11-05 22:31:31 sun-x2250-fd ClientAfterJob:
Starting MySQL: [ OK ]
ClientAfterJob: 2009/11/05 22:31:31|
Processing Configuration File: /etc/squid/squid.conf (depth 0)
2009-11-05 22:31:32 sun-x2250-fd ClientAfterJob:
2009/11/05 22:31:32| Initializing https proxy context
2009-11-05 22:31:34 sun-x2250-fd ClientAfterJob:
Starting squid: ..[ OK ]
ClientAfterJob: Starting samsd: [ OK
]
2009-11-05 22:31:37 sun-x2250-fd ClientAfterJob:
Starting httpd: [ OK ]
2009-11-05 23:59:24 sun-x2250-fd ClientAfterJob:
childpid = 28590
ClientAfterJob: PHP Notice: Undefined
offset: 1 in /usr/local/share/sams/createpdf.php on line 458
ClientAfterJob: PHP Notice: Undefined
variable: sdate in /usr/local/share/sams/createpdf.php on line 470
ClientAfterJob: PHP Notice: Undefined
variable: edate in /usr/local/share/sams/createpdf.php on line 470
ClientAfterJob: PHP Fatal error: Call
to undefined function pdf_new() in /usr/local/share/sams/createpdf.php
on line 481
ClientAfterJob: childpid = 0
2009-11-06 00:00:24
sun-x2250-fd ClientAfterJob:
childpid = 28590
2009-11-06 00:01:24
sun-x2250-fd ClientAfterJob:
childpid = 28590
2009-11-06 00:02:24
sun-x2250-fd ClientAfterJob:
childpid = 28590
2009-11-06 00:03:24
sun-x2250-fd ClientAfterJob:
childpid = 28590
.......
2009-11-06 07:58:29
sun-x2250-fd ClientAfterJob:
childpid = 28590
2009-11-06 07:59:29
sun-x2250-fd ClientAfterJob:
childpid = 28590
С уважением,
Вострокнутов С.В.
заместитель генерального директора
ООО "МастерСофт"
по техническим вопросам
460052, г. Оренбург, ул. Монтажников,д.26
e-mail: sv AT mastersoft DOT ru
http://www.mastersoft.ru
тел. (3532) 376 480
многоканальный (3532) 999-120, доб 308
моб. +7 912 846 3435
icq 54780659
------------------------------------------------------------------------------
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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Bacula-users] The job does not come to the end,
Serge Vostroknutov <=
|
|
|