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

2009-03-16 Thread Andreas Schuldei
Hi!

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?

/andreas

--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2009-03-16 Thread John Drescher
On Mon, Mar 16, 2009 at 4:36 AM, Andreas Schuldei
schuldei+bacula-us...@spotify.com wrote:
 Hi!

 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.

John

--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2009-03-16 Thread Andreas Schuldei
On Mon, Mar 16, 2009 at 3:04 PM, John Drescher dresche...@gmail.com wrote:
 On Mon, Mar 16, 2009 at 4:36 AM, Andreas Schuldei
 schuldei+bacula-us...@spotify.com wrote:
 Hi!

 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?

--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2009-03-16 Thread Kevin Keane
Andreas Schuldei wrote:
 On Mon, Mar 16, 2009 at 3:04 PM, John Drescher dresche...@gmail.com wrote:
   
 On Mon, Mar 16, 2009 at 4:36 AM, Andreas Schuldei
 schuldei+bacula-us...@spotify.com wrote:
 
 Hi!

 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

before restarting? This will error-check your configuration file. It 
should simply return without printing anything. If it does print 
something, fix your configuration file. Then restart bacula-dir.

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

Do you see that pool listed?

-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. The information herein is 
intended only for use by the intended recipient(s) named above. If you have 
received this transmission in error, please notify the sender immediately and 
permanently delete the e-mail and any copies, printouts or attachments thereof.


--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2009-03-16 Thread Andreas Schuldei
On Mon, Mar 16, 2009 at 4:47 PM, Kevin Keane subscript...@kkeane.com wrote:
 Andreas Schuldei wrote:
 On Mon, Mar 16, 2009 at 3:04 PM, John Drescher dresche...@gmail.com wrote:

 On Mon, Mar 16, 2009 at 4:36 AM, Andreas Schuldei
 schuldei+bacula-us...@spotify.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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2009-03-16 Thread Kevin Keane
Andreas Schuldei wrote:
 On Mon, Mar 16, 2009 at 4:47 PM, Kevin Keane subscript...@kkeane.com wrote:
   
 Andreas Schuldei wrote:
 
 On Mon, Mar 16, 2009 at 3:04 PM, John Drescher dresche...@gmail.com wrote:

   
 On Mon, Mar 16, 2009 at 4:36 AM, Andreas Schuldei
 schuldei+bacula-us...@spotify.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?
   
And apparently the default pool is working quite well. I see that there 
are more than 1000 volumes in that pool, so you must have used it for a 
while, apparently successfully.

I'm not quite sure what you mean by FileStorage. Did you create a new 
Storage resource?

Storage is not the same as pool.

Storage accesses volumes. It doesn't know anything about which volumes 
exist, it just simply reads and writes them (and creates and labels them 
as well when told to do so).

Pools are collections of database entries for volumes.

A pool will usually indicate which storage resource to use for physical 
access to the volumes. The reverse is not true - a storage resource 
never knows which pool a volume belongs to.

I don't know enough about the internals of bacula, but my gut feeling is 
that there is some kind of database corruption. You may want to run dbcheck.

-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. The information herein is 
intended only for use by the intended recipient(s) named above. If you have 
received this transmission in error, please notify the sender immediately and 
permanently delete the e-mail and any copies, printouts or attachments thereof.


--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2009-03-16 Thread John Drescher
On Mon, Mar 16, 2009 at 12:35 PM, Andreas Schuldei
schuldei+bacula-us...@spotify.com wrote:
 On Mon, Mar 16, 2009 at 4:47 PM, Kevin Keane subscript...@kkeane.com wrote:
 Andreas Schuldei wrote:
 On Mon, Mar 16, 2009 at 3:04 PM, John Drescher dresche...@gmail.com wrote:

 On Mon, Mar 16, 2009 at 4:36 AM, Andreas Schuldei
 schuldei+bacula-us...@spotify.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?


A pool has no connection to storage and can be shared by multiple
storage daemons.

John

--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users