On 1/29/2013 10:01 AM, martingerdes wrote:
> Hi List!
> ...
> Starting Bacula File daemon...:29-Jan 15:32 bacula-fd: Fatal Error at
> filed.c:490 because:
> Failed to load master key certificate from file '/etc/bacula/master.cert' for
> File daemon "bacula-fd" in /etc/bacula/bacula-fd.conf.
> 29-Jan 15:32 bacula-fd: ERROR in filed.c:222 Please correct configuration
> file: /etc/bacula/bacula-fd.conf
> Orphaned buffer: bacula-fd 24 bytes buf=fca3f8 allocated at crypto.c:377
> failed!
>
> which doesn't tell us much. /var/log/syslog contains something more
> interesting though:
> 2013-01-29T15:32:41.776885+01:00 grml bacula-fd: openssl.c:86 Unable to open
> certificate file: ERR=error:02001002:system library:fopen:No such file or
> directory
> 2013-01-29T15:32:41.776926+01:00 grml bacula-fd: openssl.c:86 Unable to open
> certificate file: ERR=error:2006D080:BIO routines:BIO_new_file:no such file
>
> The big question is though: WHICH file is it trying to open??
> I have also tried downgrading openssl from 1.0.1c-1 (grml live cd) to
> 0.9.8o-4squeeze13 (version contained in squeeze). Did not make a difference.
SELinux? Typo in file path?
>
> Experimentally I have tried commenting the line 'PKI Master Key =
> "/etc/bacula/master.cert"' out, which lets bacula-fd start. However, the
> director then complains "Passwords or names not the same or Maximum
> Concurrent Jobs exceeded on the FD or FD networking messed up (restart
> daemon)." when I try to restore something, so that does not really help
> either.
> Interestingly, I don't see what the client tries to tell me at that point
> (running bacula-fd without master.cert). When I try to restore something, the
> following entry appears in /var/log/syslog: "Message delivery ERROR: fopen
> '/var/log/bacula/bacula-fd.log' failed: ERR=No such file or directory". In
> light of the fact that bacula-fd is running as root and
> /var/log/bacula/bacula-fd.log is world-writable (and world rx permissions are
> set for /var/log/bacula) I have no freaking idea where that message is coming
> from. Not that I really need to resolve that mystery, but it sure would help
> debugging...
>
> Does anyone have an idea what might be going on here? I have tried googling
> the various error messages without any success what so ever.
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|