On Fri, 2005-03-25 at 15:42 +0100, Arno Lehmann wrote: > Well, I can't reach David or his postmaster directly, so this goes over > the list... > > David, could you please inform your mail admin of the fact that your > mailer seems to be configured in a non-standard way to put it > friendly... or if you don't want to receive mail from anybody not on a > whitelist then don't send mail to which you expect answers to a mailinglist.
I am the mail admin. I thought I was allowing all mail to postmaster...but it seems that isn't the case. I will have to fix that. The mailing list is whitelisted. > > See below for my original answer to your personal mail. My appologies. My intent was to send it to the list. > David, you sent this to me personally... that's nice, but on the list > you _might_ get better results. Again, my appologies. It was a mistake. > > David Clymer wrote: > > > On Thu, 2005-03-24 at 00:18 +0100, Arno Lehmann wrote: > > > >>Hi. > >> > >>David Clymer wrote: > >> > >>... > >> > >>>When I try to run the director as the bacula user, it just fails to run > >>>without displaying any error messages or a non-zero exit code. > >> > >>How are the access rights for all the files the director needs? > > > > > > gorilla:/etc/bacula# ls -la > > total 36 > > drwxr-xr-x 4 root root 114 2005-03-23 14:37 . > > drwxr-xr-x 104 root root 8192 2005-03-23 17:14 .. > > -rw-r----- 1 root bacula 6896 2005-03-23 14:37 bacula-dir.conf > > -rw-r----- 1 root bacula 1041 2005-03-23 13:56 bacula-fd.conf > > -rw-r----- 1 root bacula 3240 2005-03-23 13:57 bacula-sd.conf > > -rw-r----- 1 root bacula 176 2005-03-23 14:02 bconsole.conf > > drwxr-xr-x 3 root bacula 61 2005-03-23 13:53 bkp > > drwxr-xr-x 2 root bacula 4096 2005-03-23 14:27 scripts > > That looks ok. > > >>>Am I doing something wrong? > >> > >>Probably, but I don't know what :-) > > > > > > darn. ;o) > > > > > >>If the file rights are ok, you are sure you actually run the newly built > >>version, and all the other obvious stuff you might try running the > >>director unter strace (or gdb, if you know how to use that). > > > > > > I've never used gdb, though I probably should learn to, and C, and x86 > > assembly to go along with it...Ick. > > Then you've got something to do over the easter days :-P > > (Fortunately, I've got better things to do.) > lucky you ;o) > > > >>strace usually gives me helpful hints without much knowledge about > >>program's internals. > >> > >>Somewhat towards strace's output I usually find what operations did not > >>succeed. > >> > > > > > > Unfortunately, to my untrained eye, the strace output for a failed > > execution of bacula-dir and a successful one look virtually identical. > > > > looking at a diff of the two, there are only two lines that I would > > consider to be a significant variation (from the failed run): > > > > < --- SIGCHLD (Child exited) @ 0 (0) --- > > < sigreturn() = ? (mask now []) > > That one should be the one... > Without much programming knowledge, from the strace output I assume this > is the moment the director wants to fork and go into background. > > Looks like it read its configuration, connected to the database, checked > the catalog version, got rid of unnecessary file handles and so on. > > Quite at the start, I see a successful open of /lib/tls/libpthread.so.0 > Did you note the known problems with the /lib/tls thread libraries? It's > somewhere in the manual, probably in the section about supported systems. I'll check that out. I wasn't aware of issues with those libraries. > > Try the advice given there... if this desn't help, try running the > director as user root, in the foreground, with debug output. Perhaps > even using strace again... I'll give that a whirl. > > The rest are differences in times, pids, memory locations, etc which one > > would expect when running a program at two different points in time. > > > > I've attached the strace output of a successful and a failed execution > > of bacula-dir, though since I threw in the diff as well, one of them is > > probably superfluous. > > Oh, that is ok, since I read my mail on a windows client where I > couldn't easily do a diff myself :-) > > Hope my ideas are some help, Very much so, thanks again. -davidc -- No soul is desolate as long as there is a human being for whom it can feel trust and reverence. -George Eliot (Mary Ann Evans), novelist (1819-1880) ------------------------------------------------------- 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