Re: [webmin-l] Bacula Module

Brian Blater <[email protected]>
Newsgroups gmane.comp.web.webmin.general
Message-ID <CALUF7=fuVniTD0o7DcSaxAzqPFxf=wxRhmVKCo9G9qHqSRxHDA@mail.gmail.com>
DirAddresses = {
        ip = {
                addr = 127.0.0.1
                port=9101
        }
        ip = {
                addr = 192.168.99.11
                port=9101
        }    #This is line 33

On Wed, Jun 21, 2017 at 2:47 AM, Jamie Cameron <[email protected]> wrote:

> What's on line 33?
>
> On 20/Jun/2017 06:20 Brian Blater <[email protected]> wrote ..
>
> Made the changes. Now I'm getting the following error:
>
> Error - Perl execution failed
>
> Too many section ends at line 33 at ./bacula-backup-lib.pl line 112.
>
> On Fri, Jun 16, 2017 at 9:30 PM, Jamie Cameron <[email protected]
> <http://reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom>> wrote:
>
>> Try changing the DirAddresses section to be like :
>>
>>   DirAddresses = {
>>
>>         ip = {
>>
>>             addr = 127.0.0.1
>>
>>              port=9101
>>
>>        }
>>
>>         ip = {
>>
>>              addr = 192.168.99.11
>>
>>              port=9101
>>
>>         }
>>
>>   }
>>
>> On 16/Jun/2017 05:13 Brian Blater <[email protected]
>> <http://reply_mail.cgi?new=1&to=brb%2Elists%40gmail%2Ecom>> wrote ..
>>
>> Here is the director block in the bacula-dir.conf file:
>>
>> Director {                            # define myself
>>   Name = bugatti-dir
>>   #DIRport = 9101                # where we listen for UA connections
>>   QueryFile = "/etc/bacula/scripts/query.sql"
>>   WorkingDirectory = "/var/lib/bacula"
>>   PidDirectory = "/var/run/bacula"
>>   Maximum Concurrent Jobs = 20
>>   Password = "*********"         # Console password
>>   Messages = Daemon
>>   #DirAddress = 127.0.0.1
>>   DirAddresses = {
>>         ip = { addr = 127.0.0.1; port=9101; }
>>         ip = { addr = 192.168.99.11; port=9101; }
>>   }
>> }
>>
>> Thanks,
>> Brian
>>
>> On Fri, Jun 16, 2017 at 12:51 AM, Jamie Cameron <[email protected]
>> <http://reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom>> wrote:
>>
>>> I mean everything from the "Director {" statement down to the closing "}"
>>>
>>> On 15/Jun/2017 11:31 Brian Blater <[email protected]
>>> <http://reply_mail.cgi?new=1&to=brb%2Elists%40gmail%2Ecom>> wrote ..
>>>
>>> Jamie,
>>>
>>> Can you be a little more specific on what you mean by "Director Block".
>>>
>>> Thanks
>>>
>>> On Wed, Jun 7, 2017 at 12:29 AM, Jamie Cameron <[email protected]
>>> <http://reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom>> wrote:
>>>
>>>> Can you post the whole Director block? I think that's what Webmin
>>>> is having trouble parsing.
>>>>
>>>> On 06/Jun/2017 10:09 Brian Blater <[email protected]
>>>> <http://reply_mail.cgi?new=1&to=brb%2Elists%40gmail%2Ecom>> wrote ..
>>>> > Here is what I have in the bacula-dir.conf:
>>>> >
>>>> >   DirAddresses = {
>>>> >         ip = { addr = 127.0.0.1; port=9101; }
>>>> >         ip = { addr = 192.168.99.11; port=9101; }
>>>> >   }
>>>> > }
>>>> >
>>>> > JobDefs {
>>>> >   Name = "DefaultJob"
>>>> >   Type = Backup
>>>> >
>>>> > Line 29 is the } before JobDefs and matches with it's { after the
>>>> Director
>>>> > statement.
>>>> >
>>>> > On Sun, Jun 4, 2017 at 3:21 PM, Jamie Cameron <[email protected]
>>>> <http://reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom>> wrote:
>>>> >
>>>> > > Sounds like Webmin can't parse your Bacula config. Can you post
>>>> what's on
>>>> > > and around line 29 ?
>>>> > >
>>>> > > On 02/Jun/2017 15:51 Brian Blater <[email protected]
>>>> <http://reply_mail.cgi?new=1&to=brb%2Elists%40gmail%2Ecom>> wrote ..
>>>> > > > I'm new to the list so if I'm doing something wrong here, just
>>>> let me
>>>> > > know
>>>> > > > and I'll adjust accordingly.
>>>> > > >
>>>> > > > I'm running Webmin version 1.840 on Ubuntu 16.04 and having some
>>>> trouble
>>>> > > > with the bacula module. When I first installed Bacula and
>>>> configured the
>>>> > > > module it wouldn't run as it had an error that I was able to fix
>>>> by
>>>> > > > downloading a package that now I can't remember what it was.
>>>> > > >
>>>> > > > Anyways, now I see the main bacula module screen but whenever I
>>>> click on
>>>> > > > something I get the following:
>>>> > > >
>>>> > > > Error - Perl execution failed
>>>> > > > Too many section ends at line 29 at ./bacula-backup-lib.pl line
>>>> 112.
>>>> > > >
>>>> > > > Any idea on what needs to be done to fix this problem or get the
>>>> bacula
>>>> > > > module working?
>>>> > > >
>>>> > > > Thanks,
>>>> > > > Brian
>>>> > >
>>>> > > ------------------------------------------------------------
>>>> > > ------------------
>>>> > > Check out the vibrant tech community on one of the world's most
>>>> > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>> > > -
>>>> > > Forwarded by the Webmin mailing list at webadmin-list@lists.
>>>> > > sourceforge.net
>>>> > > To remove yourself from this list, go to
>>>> > > http://lists.sourceforge.net/lists/listinfo/webadmin-list
>>>> > >
>>>>
>>>> ------------------------------------------------------------
>>>> ------------------
>>>> Check out the vibrant tech community on one of the world's most
>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>> -
>>>> Forwarded by the Webmin mailing list at [email protected]
>>>> e.net
>>>> <http://reply_mail.cgi?new=1&to=webadmin%2Dlist%40lists%2Esourceforge%2Enet>
>>>> To remove yourself from this list, go to
>>>> http://lists.sourceforge.net/lists/listinfo/webadmin-list
>>>>
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> -
>>> Forwarded by the Webmin mailing list at [email protected]
>>> e.net
>>> <http://reply_mail.cgi?new=1&to=webadmin%2Dlist%40lists%2Esourceforge%2Enet>
>>> To remove yourself from this list, go to
>>> http://lists.sourceforge.net/lists/listinfo/webadmin-list
>>>
>>>
>>
>>
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> -
>> Forwarded by the Webmin mailing list at [email protected]
>> e.net
>> <http://reply_mail.cgi?new=1&to=webadmin%2Dlist%40lists%2Esourceforge%2Enet>
>> To remove yourself from this list, go to
>> http://lists.sourceforge.net/lists/listinfo/webadmin-list
>>
>>
>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> -
> Forwarded by the Webmin mailing list at webadmin-list@lists.
> sourceforge.net
> To remove yourself from this list, go to
> http://lists.sourceforge.net/lists/listinfo/webadmin-list
>
>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

-
Forwarded by the Webmin mailing list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.