<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>kluner.net &#187; bacula</title>
	<atom:link href="http://www.kluner.net/tag/bacula/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kluner.net</link>
	<description>sysadmin madness, in relative perspective</description>
	<lastBuildDate>Mon, 06 Feb 2012 14:48:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>bacula: Fatal error: Failed to authenticate Storage daemon</title>
		<link>http://www.kluner.net/2010/02/23/bacula-fatal-error-failed-to-authenticate-storage-daemon/</link>
		<comments>http://www.kluner.net/2010/02/23/bacula-fatal-error-failed-to-authenticate-storage-daemon/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 17:09:55 +0000</pubDate>
		<dc:creator>Arjan Koole</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[bacula]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://www.kluner.net/?p=387</guid>
		<description><![CDATA[When you see the backup of a (non localhost) client failing with the message: Fatal error: Failed to authenticate Storage daemon Keep in mind that bacula uses tcpwrappers, though probably not in the way you expect it. instead of doing: bacula-sd : 111.222.333.444 do: $name-sd : 111.222.333.444 where $name is the name you specified in [...]]]></description>
			<content:encoded><![CDATA[<p>When you see the backup of a (non localhost) client failing with the message:</p>
<blockquote><p>Fatal error: Failed to authenticate Storage daemon</p></blockquote>
<p>Keep in mind that bacula uses tcpwrappers, though probably not in the way you expect it.</p>
<p>instead of doing:</p>

<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;">bacula-sd : 111.222.333.444</pre></div></div>

<p>do:</p>

<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;">$name-sd : 111.222.333.444</pre></div></div>

<p>where $name is the name you specified in the bacula-sd.conf</p>
<p>Most services that use tcpwrappers (tcpd) use the name of the service (bacula-sd in this case), but bacula has a cute approach to it that listens only to the name you defined for the service. As far as I can tell this applies only to bacula-sd, and not bacula-dir or bacula-fd.</p>
<p>So, say you would have the following config in bacula-sd.conf:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="ini" style="font-family:monospace;">Storage <span style="">&#123;</span>                             # definition of myself
  <span style="color: #000099;">Name</span> <span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"> foo.bar-sd</span>
  <span style="color: #000099;">SDPort</span> <span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"> 9103                  # Director's port</span>
  <span style="color: #000099;">WorkingDirectory</span> <span style="color: #000066; font-weight:bold;">=</span> <span style="color: #933;">&quot;/var/lib/bacula&quot;</span>
  Pid Directory <span style="color: #000066; font-weight:bold;">=</span> <span style="color: #933;">&quot;/var/run/bacula&quot;</span>
  Maximum Concurrent Jobs <span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"> 20</span>
<span style="">&#125;</span></pre></td></tr></table></div>

<p>then your /etc/hosts.allow would read:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="ini" style="font-family:monospace;">foo.bar-sd : 111.222.333.444</pre></td></tr></table></div>

<p>Please note that you will still need to take care of your passwords on both ends, any mismatches there will results in no backups being made. Be sure to test your backups regularly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kluner.net/2010/02/23/bacula-fatal-error-failed-to-authenticate-storage-daemon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

