It's already been mentioned:

Use the new, current file set syntax.
The old one will be dropped soon and leads to, as you know, instability in the FDs.


Arno

Jo wrote:

Thomas Preissler wrote:

Hello folks,

I use actual unstable Debian with bacula 1.36.1.

I determined actually, that my bacula-fd is dying. It doesn't matter if
it is an incremental or full backup. This is my fileset, as included in
bacula-dir.conf:

Include = signature=MD5 compression=GZIP { # </etc/bacula/filesets/zeus-part
/boot
/etc
/home/tomtom/.mutt
/home/tomtom/.procmail
/home/tomtom/.fluxbox
/home/tomtom/.fetchmailrc
/home/tomtom/files
/home/tomtom/bin
/home/tomtom/public_html
/home/uml/etc
/home/uml/bin
/root/bin
/root/firewall
/usr/share/vdr
/var/spool/cron
}


When I exclude /home/uml/..., /root/..., /usr/... and /var/...,
bacula-fd does not die. Why? That directories are "normal" directories,
all on the same filesystem. I tried to find out, which directory causes
the death of bacula-fd, but it seems that all 6 dirs takes part.
strace made with:
$ strace -p $(pidof bacula-fd) -f -s 1000 2>/root/bacula-fd.strace

bacula-fd complains about bsmtp:

[pid 16999] rt_sigprocmask(SIG_BLOCK, NULL, <unfinished ...>
[pid 17000] <... write resumed> ) = 16
[pid 16999] <... rt_sigprocmask resumed> ~[KILL CHLD STOP RTMIN], 8) = 0
[pid 17000] read(8, <unfinished ...>
[pid 16999] open("/var/lib/bacula/16955", O_RDONLY|O_LARGEFILE <unfinished ...>
[pid 17000] <... read resumed> "501 <root>: recipient address must contain a domain\r\n", 1024) = 53
[pid 16999] <... open resumed> ) = -1 ENOENT (No such file or directory)
[pid 17000] fstat64(1, <unfinished ...>
[pid 16999] write(2, "/var/lib/bacula/16955: No such file or directory.", 49 <unfinished ...>
[pid 17000] <... fstat64 resumed> {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0


I tried to modify mailcommand and operatorcommand:

mailcommand = "/bin/true -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
operatorcommand = "/bin/true -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: Intervention needed for %j\" %r"


But bacula-fd complains again about bsmtp (I restarted bacula-fd and
-dir).

Here bacula-fd tries to write a traceback file:

[pid 16999] <... rt_sigaction resumed> {SIG_DFL}, 8) = 0
[pid 16999] fstat64(9, {st_mode=S_IFREG|0644, st_size=280, ...}) = 0
[pid 16999] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001e000
[pid 16999] read(9, "print my_name\nprint exename\nprint exepath\nprint catalog_db\nprint version\nprint host_os\nprint distn
ame\nprint distver\nbt\nthread apply all bt\nf 0\ninfo locals\nf 1\ninfo locals\nf 2\ninfo locals\nf 3\ninfo locals\nf 4\ninf
o locals\nf 5 \ninfo locals\nf 6\ninfo locals\nf 7\ninfo locals\ndetach\nquit\n", 4096) = 280
[pid 16999] rt_sigaction(SIGTSTP, {SIG_DFL}, {0x8110490, [TSTP], SA_RESTART}, 8) = 0
[pid 16999] getrusage(RUSAGE_SELF, {ru_utime={0, 9998}, ru_stime={0, 1999}, ...}) = 0
[pid 16999] write(2, "/usr/lib/bacula/btraceback.gdb:1: Error in sourced command file:\n", 65) = -1 EPIPE (Broken pipe)
[pid 16999] write(2, "No symbol table is loaded. Use the \"file\" command.", 51) = -1 EPIPE (Broken pipe)
[pid 16999] write(2, "\n", 1) = -1 EPIPE (Broken pipe)
[pid 16999] close(9) = 0
[pid 16999] munmap(0x4001e000, 4096) = 0
[pid 16999] rt_sigprocmask(SIG_SETMASK, ~[KILL CHLD STOP RTMIN], NULL, 8) = 0


Can someone gets me my bacula-fd running again?


I can only tell you I have an odd problem like this one myself. The FD works correctly once and fails during the next backup job. I'm using 1.36.2. If I then restart all the daemons, the backup works correctly until the following night. This is on Linux Mandrake 10.0. It was working OK with 1.34.5.

17-Mar 08:13 tosfeb33-dir: BackupCatalogHDD.2005-03-17_07.57.19 Fatal error: Unable to authenticate with File daemon. Possible causes:
Passwords or names not the same or
Maximum Concurrent Jobs exceeded on the FD or
FD networking messed up (restart daemon).
Please see http://www.bacula.org/html-manual/faq.html#AuthorizationErrors for help.


Jo


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users


-- IT-Service Lehmann [EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to