Bacula-users

Re: [Bacula-users] Bweb Configuration Problem

2009-05-13 08:06:13
Subject: Re: [Bacula-users] Bweb Configuration Problem
From: David Siegfried <david.siegfried AT uni-vechta DOT de>
To: Ulrich Leodolter <ulrich.leodolter AT obvsg DOT at>
Date: Wed, 13 May 2009 14:00:07 +0200
Hi,

thank you for your config.

Now it works with your config.

After I take your config he show me an error with a Permission Denied on 
bconsole.conf message.

I fixed it an now i can work with the webinterface.

Thank you!

Ulrich Leodolter schrieb:
> On Wed, 2009-05-13 at 12:38 +0200, David Siegfried wrote:
>> Yes, i have configure the /etc/sudoers but it doesn't work.
>>
>> If I try to configure the Autochanger (in the Webinterface), they show 
>> me an error which calls:
>>      
>>      Can't get autochanger name
>>
>> In the Job Selection is nothing. The selectbars are empty and the 
>> Storagelist too.
>>
>> But when I click on Media -> All Media than bweb show me the right 
>> media, which I label in the bconsole.
>>
>>
> 
> Hello,
> 
> I had also troubles to setup autochanger via webinterface,
> here is my handmade config (note: 'Tape' is the Storage Name,
> not the AutoChanger Name).  maybe this helps
> 
> Ulrich
> 
> 
> $VAR1 = bless( {
>   'enable_security' => 0,
>   'enable_security_acl' => 0,
>   'graph_font' => '/usr/share/fonts/bitstream-vera/Vera.ttf',
>   'config_file' => '/opt/bacula/etc/bweb.conf',
>   'password' => 'xxxxxx',
>   'dbi' => 'DBI:mysql:database=bacula',
>   'debug' => 0,
>   'user' => 'bacula',
>   'error' => '',
>   'achs' => [
>      {
>         'name' => 'Tape'
>      }
>   ],
>   'stat_job_table' => 'Job',
>   'display_log_time' => 0,
>   'lang' => 'en',
>   'wiki_url' => '',
>   'name' => undef,
>   'bconsole' => '/opt/bacula/sbin/bconsole -n -c 
> /opt/bacula/etc/bconsole.conf',
>   'ach_list' => {
>      'Tape' => bless( {
>         'info' => {
>           'drive' => 0,
>           'io' => 0,
>           'slot' => 0
>         },
>         'name' => 'Tape',
>         'bweb' => undef,
>         'device' => '/dev/changer',
>         'drive' => [],
>         'debug' => 0,
>         'label' => {},
>         'precmd' => 'sudo',
>         'io' => [],
>         'mtxcmd' => '/usr/sbin/mtx',
>         'drive_name' => [
>            'Tape',
>            'Tape'
>         ],
>         'slot' => [] }, 'Bweb::Autochanger' )
>   },
>   'fv_write_path' => '/var/spool/bweb',
>   'template_dir' => '/opt/bacula/share/bweb/tpl',
>   'email_media' => 'bacula@localhost',
>   'default_age' => '7d'
> }, 'Bweb::Config' );
> 
> 
>> Tanks!
>>
>>
>> Ulrich Leodolter schrieb:
>>> On Wed, 2009-05-13 at 10:34 +0200, David Siegfried wrote:
>>>> Hallo,
>>>>
>>>> I'm trying to install the Bacula-Webinterface and the install was
>>>> succesful. But I can't configurate my autochanger and the interface 
>>>> don't list my available Jobs.
>>>> I can see in the Inteface which jobs were running
>>>> correctly and so on. But I cant't mount tapes and configurate my
>>>> Autochanger and my tape libry.
>>>>
>>>> Here my bweb.conf! Has someone an idea!
>>>>
>>> Hallo,
>>>
>>> did u configure /etc/sudoers as noted in bweb/INSTALL?
>>>
>>>
>>>> $VAR1 = bless( {
>>>> 'enable_security' => 0,
>>>>   'graph_font' => '/usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf',
>>>>
>>>> 'config_file' => '/etc/bacula/bweb.conf',
>>>> 'password' => 'mypassword',
>>>> 'dbi' => 'DBI:mysql:database=bacula',
>>>> 'error' => '',
>>>> 'debug' => 0,
>>>> 'user' => 'bacula',
>>>> 'achs' => [
>>>> {
>>>>    'name' => 'Autochanger'
>>>> ],
>>>> 'stat_job_table' => 'Job',
>>>> 'display_log_time' => 0,
>>>> 'lang' => 'en',
>>>> 'wiki_url' => '',
>>>> 'name' => undef,
>>>>
>>>> 'bconsole' => '/usr/sbin/bacula-console -n -c /etc/bacula/bconsole.conf',
>>>>
>>>> 'ach_list' => {
>>>>    'Autochanger' => bless( {
>>>>         'info' => {
>>>>         'drive' => 0,
>>>>         'io' => 0,
>>>>         'slot' => 0
>>>>     },
>>>>    'name' => 'S1_L80',
>>>>    'device' => '/dev/sg5',
>>>>    'bweb' => undef,
>>>>    'drive' => [],
>>>>    'debug' => 0,
>>>>    'label' => {},
>>>>    'mtxcmd' => '/usr/sbin/mtx',
>>>>    'io' => [],
>>>>    'precmd' => 'sudo',
>>>>    'slot' => [],
>>>>    'drive_name' => [
>>>>                            '/dev/st0'
>>>> ]
>>>>   }, 'Bweb::Autochanger' )
>>>>                                 },
>>>>                   'fv_write_path' => '',
>>>>                   'template_dir' => '/usr/share/bweb/tpl',
>>>>                   'enable_security_acl' => 0,
>>>>                   'email_media' => 'myemal',
>>>>                   'default_age' => '7d'
>>>>                 }, 'Bweb::Config' );
>>>>
>>>>
>>>> Thank you!
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
>>>> production scanning environment may not be a perfect world - but thanks to
>>>> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK 
>>>> i700
>>>> Series Scanner you'll get full speed at 300 dpi even with all image 
>>>> processing features enabled. http://p.sf.net/sfu/kodak-com
>>>> _______________________________________________
>>>> Bacula-users mailing list
>>>> Bacula-users AT lists.sourceforge DOT net
>>>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
>>> production scanning environment may not be a perfect world - but thanks to
>>> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK 
>>> i700
>>> Series Scanner you'll get full speed at 300 dpi even with all image 
>>> processing features enabled. http://p.sf.net/sfu/kodak-com
>>> _______________________________________________
>>> Bacula-users mailing list
>>> Bacula-users AT lists.sourceforge DOT net
>>> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Freundliche Grüße

David Siegfried


Auszubildender Fachinformatiker - Fachrichtung Systemintegration
------------------------------------------------------------------
Telefon  :  04441 15-629
E-Mail   :  david.siegfried AT uni-vechta DOT de
Raum-Nr. :  E036a
Web      :  http://www.kiz.uni-vechta.de

Hochschule Vechta - Rechenzentrum KIZ
Driverstr.  22, D- 49377 Vechta (Germany)

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>