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.
See below for my original answer to your personal mail.
Arno
-------- Original Message -------- Subject: Mail delivery failed: returning message to sender Date: Thu, 24 Mar 2005 19:42:41 +0100 From: Mail Delivery System <[EMAIL PROTECTED]> To: [EMAIL PROTECTED]
This message was created automatically by mail delivery software (Exim).
A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:
[EMAIL PROTECTED]
SMTP error from remote mailer after RCPT TO:<[EMAIL PROTECTED]>:
host mx.hrcsb.org [166.61.202.138]: 554 <moutng.kundenserver.de[212.227.126.173]>:
Client host rejected: [client check] unknown, uncommon, or foreign sender TLD
------ This is a copy of the message, including all the headers. ------ ------ The body of the message is 45090 characters long; only the first ------ 10240 or so are included here.
Return-path: <[EMAIL PROTECTED]>
Received: from [212.227.126.206] (helo=mrelayng.kundenserver.de)
by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
id 1DEXI0-0006nx-00
for [EMAIL PROTECTED]; Thu, 24 Mar 2005 19:42:40 +0100
Received: from [84.130.169.55] (helo=elf.privat.lehleute.de)
by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1)
id 1DEXHu-0007Jz-00
for [EMAIL PROTECTED]; Thu, 24 Mar 2005 19:42:34 +0100
Received: from [127.0.0.1] (drache.privat.lehleute.de [192.168.0.9])
by elf.privat.lehleute.de (Postfix) with ESMTP id C182B61D0
for <[EMAIL PROTECTED]>; Thu, 24 Mar 2005 19:42:33 +0100 (CET)
Message-ID: <[EMAIL PROTECTED]>
Date: Thu, 24 Mar 2005 19:42:33 +0100
From: Arno Lehmann <[EMAIL PROTECTED]>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 MultiZilla/1.6.4.0b
X-Accept-Language: de, de-de, en-us, en
MIME-Version: 1.0
To: David Clymer <[EMAIL PROTECTED]>
Subject: Re: [Bacula-users] bacula-director failing to start
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: kundenserver.de [EMAIL PROTECTED] auth:bf91fab7ffa41ec0b2e74d11466beaa3
David, you sent this to me personally... that's nice, but on the list you _might_ get better results.
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.)
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.
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...
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,
Arno
-davidc
-- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-users
