Re: [Bacula-users] Can not update slots

2011-12-30 Thread ninyo
Yes. It works correctly on the old server with 5.0.2 version.

o_0'


On Thu, Dec 29, 2011 at 11:25 PM, Dan Langille d...@langille.org wrote:


 On Dec 29, 2011, at 2:48 PM, John Drescher wrote:

  On Thu, Dec 29, 2011 at 2:42 PM, ninyo ninyod...@gmail.com wrote:
  Hello
 
  Fresh Bacula 5.0.2 install from apt = same error
  Fresh Bacula 5.2.3 compiled from sources, with default conf files = same
  error
 
  Maybe i have to start thinking on library error? Anyone have an idea
 about
  how to test this?
 
 
  It is recommended that you use bar code labels on your autochanger if
  you have a changer with a barcode reader. I have seen reports of users
  working without barcodes in the past however I can not help with that.
  I have no experience with that type of setup.

 I am using a tape library with FreeBSD and Bacula 5.0.3

 Getting the library working can be tricky with respect to permissions.

 If I recall correctly, if you do not have a barcode reader, you must
 supply the
 list of volume names in a file, which is then used instead of the barcode
 reader.

 The details do not come to mind immediately.

 Has this ever worked for you before?

 I'll wait your answers before proceeding.

 --
 Dan Langille - http://langille.org


--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Can not update slots

2011-12-30 Thread ninyo
I look at the msl 2024 admin web and looks like it has barcode. No reason
for not using it. I will try to obtain a barcode sticker to make some
tests.

o_0'


On Thu, Dec 29, 2011 at 11:21 PM, Dan Langille d...@langille.org wrote:


 On Dec 29, 2011, at 7:55 AM, ninyo wrote:

 No. Im not working with barcodes
 o_0'


 Is this because there is no barcode reader or because you don't want to
 use the one that is there?



 On Thu, Dec 29, 2011 at 1:54 PM, John Drescher dresche...@gmail.comwrote:

 Wait a minute. incremental-03 does not seem possible as a barcode
 label since there are way too many characters. You do not have a
 barcode reader on your autochanger?

 John


 --
 Dan Langille - http://langille.org


--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Can not update slots

2011-12-30 Thread ninyo
Mtx status output again :)

root@WILLY-FOG:/etc/bacula# mtx status
  Storage Changer /dev/changer:1 Drives, 24 Slots ( 1 Import/Export )
Data Transfer Element 0:Full (Storage Element 1 Loaded)
  Storage Element 1:Empty
  Storage Element 2:Full
  Storage Element 3:Full
  Storage Element 4:Full
  Storage Element 5:Full
  Storage Element 6:Full
  Storage Element 7:Full
  Storage Element 8:Full
  Storage Element 9:Full
  Storage Element 10:Full
  Storage Element 11:Full
  Storage Element 12:Full
  Storage Element 13:Full
  Storage Element 14:Full
  Storage Element 15:Full
  Storage Element 16:Full
  Storage Element 17:Empty
  Storage Element 18:Full
  Storage Element 19:Full
  Storage Element 20:Full
  Storage Element 21:Full
  Storage Element 22:Full
  Storage Element 23:Full
  Storage Element 24 IMPORT/EXPORT:Empty


o_0'


2011/12/30 Dietz Pröpper di...@rotfl.franken.de

 Dan Langille:
  On Dec 29, 2011, at 7:55 AM, ninyo wrote:
   No. Im not working with barcodes
   o_0'
 
  Is this because there is no barcode reader or because you don't want to
  use the one that is there?

 He mailed the output of mtx status way up the thread, and it seems to me,
 that he does not use barcodes.
 Is mtx-changer supposed to work w/o barcodes anyway?

 regards,
Dietz


 --
 Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
 infrastructure or vast IT resources to deliver seamless, secure access to
 virtual desktops. With this all-in-one solution, easily deploy virtual
 desktops for less than the cost of PCs and save 60% on VDI infrastructure
 costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Can not update slots

2011-12-30 Thread ninyo
mtx.log output:

20111229-20:14:56 Parms: /dev/sg4 loaded 0 /dev/nst0 0
20111229-20:14:56 Doing mtx -f /dev/sg4 0 -- to find what is loaded
20111229-20:17:17 Parms: /dev/sg4 loaded 1 /dev/nst0 0
20111229-20:17:17 Doing mtx -f /dev/sg4 0 -- to find what is loaded
20111229-20:17:17 Parms: /dev/sg4 unload 20 /dev/nst0 0
20111229-20:17:17 Doing mtx -f /dev/sg4 unload 20 0
20111229-20:18:04 Parms: /dev/sg4 load 1 /dev/nst0 0
20111229-20:18:04 Doing mtx -f /dev/sg4 load 1 0
20111229-20:19:52 Parms: /dev/sg4 loaded 0 /dev/nst0 0
20111229-20:19:52 Doing mtx -f /dev/sg4 0 -- to find what is loaded
20111229-20:23:56 Parms: /dev/sg4 loaded 0 /dev/nst0 0
20111229-20:23:56 Doing mtx -f /dev/sg4 0 -- to find what is loaded
20111229-20:24:49 Parms: /dev/sg4 loaded 0 /dev/nst0 0
20111229-20:24:49 Doing mtx -f /dev/sg4 0 -- to find what is loaded
20111229-20:29:48 Parms: /dev/sg4 loaded 0 /dev/nst0 0
20111229-20:29:48 Doing mtx -f /dev/sg4 0 -- to find what is loaded
20111229-20:32:17 Parms: /dev/sg4 loaded 0 /dev/nst0 0
20111229-20:32:17 Doing mtx -f /dev/sg4 0 -- to find what is loaded
20111229-20:32:17 Parms: /dev/sg4 loaded 0 /dev/nst0 0
20111229-20:32:17 Doing mtx -f /dev/sg4 0 -- to find what is loaded
20111229-20:32:29 Parms: /dev/sg4 loaded 1 /dev/nst0 0
20111229-20:32:29 Doing mtx -f /dev/sg4 0 -- to find what is loaded
20111229-20:32:30 Parms: /dev/sg4 load 1 /dev/nst0 0
20111229-20:32:30 Doing mtx -f /dev/sg4 load 1 0
20111229-20:33:53 Parms: /dev/sg4 unload 1 /dev/nst0 0
20111229-20:33:53 Doing mtx -f /dev/sg4 unload 1 0
20111229-20:35:27 Parms: /dev/sg4 slots 0 /dev/nst0 0
20111229-20:35:27 Doing mtx -f /dev/sg4 -- to get count of slots
20111229-20:35:28 Parms: /dev/sg4 list 0 /dev/nst0 0
20111229-20:35:28 Doing mtx -f /dev/sg4 -- to list volumes
20111229-20:35:28 Parms: /dev/sg4 loaded 1 /dev/nst0 0
20111229-20:35:28 Doing mtx -f /dev/sg4 0 -- to find what is loaded
20111229-20:35:28 Parms: /dev/sg4 load 1 /dev/nst0 0
20111229-20:35:28 Doing mtx -f /dev/sg4 load 1 0
20111229-20:55:00 Parms: /dev/sg4 loaded 0 /dev/nst0 0
20111229-20:55:00 Doing mtx -f /dev/sg4 0 -- to find what is loaded
20111229-20:55:34 Parms: /dev/sg4 slots 0 /dev/nst0 0
20111229-20:55:34 Doing mtx -f /dev/sg4 -- to get count of slots
20111229-20:55:34 Parms: /dev/sg4 list 0 /dev/nst0 0
20111229-20:55:34 Doing mtx -f /dev/sg4 -- to list volumes
20111229-21:05:53 Parms: /dev/sg4 loaded 0 /dev/nst0 0
20111229-21:05:53 Doing mtx -f /dev/sg4 0 -- to find what is loaded






o_0'


On Fri, Dec 30, 2011 at 9:14 AM, ninyo ninyod...@gmail.com wrote:

 Mtx status output again :)

 root@WILLY-FOG:/etc/bacula# mtx status
   Storage Changer /dev/changer:1 Drives, 24 Slots ( 1 Import/Export )
 Data Transfer Element 0:Full (Storage Element 1 Loaded)
   Storage Element 1:Empty
   Storage Element 2:Full
   Storage Element 3:Full
   Storage Element 4:Full
   Storage Element 5:Full
   Storage Element 6:Full
   Storage Element 7:Full
   Storage Element 8:Full
   Storage Element 9:Full
   Storage Element 10:Full
   Storage Element 11:Full
   Storage Element 12:Full
   Storage Element 13:Full
   Storage Element 14:Full
   Storage Element 15:Full
   Storage Element 16:Full
   Storage Element 17:Empty
   Storage Element 18:Full
   Storage Element 19:Full
   Storage Element 20:Full
   Storage Element 21:Full
   Storage Element 22:Full
   Storage Element 23:Full
   Storage Element 24 IMPORT/EXPORT:Empty


 o_0'


 2011/12/30 Dietz Pröpper di...@rotfl.franken.de

 Dan Langille:
  On Dec 29, 2011, at 7:55 AM, ninyo wrote:
   No. Im not working with barcodes
   o_0'
 
  Is this because there is no barcode reader or because you don't want to
  use the one that is there?

 He mailed the output of mtx status way up the thread, and it seems to me,
 that he does not use barcodes.
 Is mtx-changer supposed to work w/o barcodes anyway?

 regards,
Dietz


 --
 Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
 infrastructure or vast IT resources to deliver seamless, secure access to
 virtual desktops. With this all-in-one solution, easily deploy virtual
 desktops for less than the cost of PCs and save 60% on VDI infrastructure
 costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox

 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users



--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! 

Re: [Bacula-users] Bacula and PostgreSQL in UTF8

2011-12-30 Thread Adrian Reyer
On Mon, Dec 26, 2011 at 09:54:58AM -0430, reynie...@gmail.com wrote:
 psql: FATAL: role root does not exist.

By default your database user is the unix(/linux user you are connecting
as. As you seemingly work as 'root', that one is used.
Postgres comes with user 'postgres' presetup and connectable from unix
user 'postgres'. You could e.g. connect by becoming user postgres first:
  su postgres
  psql
I'd advise you to create an extra user for your bacula database using
'createuser' and a database belonging to that user with 'createdb',
parameters '-E' and '-l' should be helpful.

 So my question here is: it's posibble to use this PgSQL to store Bacula
 Catalog? Then here I have two problems: one for the role root which not
 exists in my PgSQL and the other for the encoding then which are the steps
 I must follow in order to get this work?

My catalog is in postgres, however, as I migrated from MySQL i never
used the original initdb scripts for postgres and had a completly
different set of troubles during migration.

Regards,
Adrian
-- 
LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart
Fon: +49 (7 11) 78 28 50 90 - Fax:  +49 (7 11) 78 28 50 91
Mail: li...@lihas.de - Web: http://lihas.de
Linux, Netzwerke, Consulting  Support - USt-ID: DE 227 816 626 Stuttgart

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Can not update slots

2011-12-30 Thread Dan Langille

On Dec 29, 2011, at 9:48 PM, Dietz Pröpper wrote:

 Dan Langille:
 On Dec 29, 2011, at 7:55 AM, ninyo wrote:
 No. Im not working with barcodes
 o_0'
 
 Is this because there is no barcode reader or because you don't want to
 use the one that is there?
 
 He mailed the output of mtx status way up the thread, and it seems to me, 
 that he does not use barcodes.
 Is mtx-changer supposed to work w/o barcodes anyway?


It can, if you provide the labels via a file… I've read about it in the script, 
if I recall correctly.

-- 
Dan Langille - http://langille.org


--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Can not update slots

2011-12-30 Thread Dan Langille
Placing your reply AFTER the question enables reading of the thread without 
scrolling up and down and up and down…

On Dec 30, 2011, at 3:14 AM, ninyo wrote:

 2011/12/30 Dietz Pröpper di...@rotfl.franken.de
 Dan Langille:
  On Dec 29, 2011, at 7:55 AM, ninyo wrote:
   No. Im not working with barcodes
   o_0'
 
  Is this because there is no barcode reader or because you don't want to
  use the one that is there?
 
 He mailed the output of mtx status way up the thread, and it seems to me,
 that he does not use barcodes.
 Is mtx-changer supposed to work w/o barcodes anyway?

On Dec 30, 2011, at 3:14 AM, ninyo wrote:

 Mtx status output again :)
 
 root@WILLY-FOG:/etc/bacula# mtx status
   Storage Changer /dev/changer:1 Drives, 24 Slots ( 1 Import/Export )
 Data Transfer Element 0:Full (Storage Element 1 Loaded)
   Storage Element 1:Empty
   Storage Element 2:Full
   Storage Element 3:Full
   Storage Element 4:Full
   Storage Element 5:Full
   Storage Element 6:Full
   Storage Element 7:Full
   Storage Element 8:Full
   Storage Element 9:Full
   Storage Element 10:Full
   Storage Element 11:Full
   Storage Element 12:Full
   Storage Element 13:Full
   Storage Element 14:Full
   Storage Element 15:Full
   Storage Element 16:Full
   Storage Element 17:Empty
   Storage Element 18:Full
   Storage Element 19:Full
   Storage Element 20:Full
   Storage Element 21:Full
   Storage Element 22:Full
   Storage Element 23:Full
   Storage Element 24 IMPORT/EXPORT:Empty

Given that your tapes do not have barcodes, this output is expected.  There is 
no way for
Bacula to know the labels without barcodes.

That said, I do recall some mechanism for manually creating a file which 
contains the labels…

I do not recall where I saw that reference..
-- 
Dan Langille - http://langille.org


--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users