Bacula-users

Re: [Bacula-users] Attribute create error: "Pool record not found in Catalog."

2009-03-16 12:45:47
Subject: Re: [Bacula-users] Attribute create error: "Pool record not found in Catalog."
From: Andreas Schuldei <schuldei+bacula-users AT spotify DOT com>
To: Kevin Keane <subscription AT kkeane DOT com>
Date: Mon, 16 Mar 2009 17:35:58 +0100
On Mon, Mar 16, 2009 at 4:47 PM, Kevin Keane <subscription AT kkeane DOT com> 
wrote:
> Andreas Schuldei wrote:
>> On Mon, Mar 16, 2009 at 3:04 PM, John Drescher <drescherjm AT gmail DOT com> 
>> wrote:
>>
>>> On Mon, Mar 16, 2009 at 4:36 AM, Andreas Schuldei
>>> <schuldei+bacula-users AT spotify DOT com> wrote:
>>>> when using a new pool (file storage, is that the same?) for the first
>>>> time i get this error:
>>>>
>>>> Fatal error: catreq.c:487 Attribute create error. Pool record not
>>>> found in Catalog.
>>>>
>>>> do i have to initiate the pool? how do i do that?
>>>>
>>>>
>>> Bacula is supposed to do that automatically when it finds a new pool
>>> in the bacula-dir.conf and you either restarted bacula-dir or had it
>>> reload the config file with the reload command.
>>>
>>
>> i certainly restarted and reloaded it since. can i somehow force it to
>> label the pool or can i label it manually?
>>
> The only way to force creating a pool is by restarting bacula-dir.
>
> By the way - did you remember to run
>
> bacula-dir -t

that finishes just fine, without output.

> Next, let's take a step back and analyze the problem. Let's see what
> bacula-dir thinks its pools are. Open bconsole, and type the command
>
> list pools

*list pools
Automatically selected Catalog: backup
Using Catalog "backup"
+--------+------------+---------+---------+----------+-------------------------+
| poolid | name       | numvols | maxvols | pooltype | labelformat             |
+--------+------------+---------+---------+----------+-------------------------+
|      2 | AFS        |      10 |       0 | Backup   | AFS-${NumVols:p/8/0/r}  |
|      4 | Tape       |       4 |       0 | Backup   | *                       |
|      5 | Tape-Index |       1 |       0 | Backup   | *                       |
|      6 | Default    |   1,011 |       0 | Backup   | File-${NumVols:p/8/0/r} |
+--------+------------+---------+---------+----------+-------------------------+


> Do you see that pool listed?

The backups should go to the Default pool.

but i dont see any connection to the FileStorage i configured/changed.

can i see where that pool thinks it lives?

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users