I love the Bacula webmin module. Very useful. I had to make a change to my director config file for Bacula to assign it multiple IP addresses for the 2 different domain that would be connecting to it on separate NICs.

 

The Director section looks like the following:

 

Director {                            # define myself

  Name = ubunback-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 = 1

  Password = "**********************"         # Console password

  Messages = Daemon

  DirAddresses = {

     ip = { addr = 192.9.200.97; port = 1901 }

     ip = { addr = 10.128.50.8; port = 1901 }

     }

}

 

 

The director restarts just fine and everything is running great except that this change breaks the webmin module. I get the following error:

 

The Bacula console command /usr/bin/bconsole could not communicate with the Bacula director. Make sure the password in /etc/bacula/bconsole.conf is correct.

HTTP/1.0 500 Perl execution failed Server: MiniServ/1.570 Date: Tue, 20 Dec 2011 18:14:18 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close

Error - Perl execution failed

Too many section ends at line 30 at ./bacula-backup-lib.pl line 102.

 

 

Line 30 is the “}” under the second IP address. If I change my director section back to:

 

#  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 = 1

  Password = "**********************"         # Console password

  Messages = Daemon

  DirAddress = 192.9.200.97

}

 

 

It works fine except no longer reachable by my other domain.

 

I am not a coder and not very fluent in Linux either but can follow directions well, so if anyone can help me out with some instructions on how to get the webmin console working, I’d really appreciate the help.

 

Ryan McGee  |  IT Specialist

 

Direct Marketing Solutions

8534 NE Alderwood Rd., Portland, OR 97220

 

503.896.9439 (cell) |  rmcgee@teamdms.com  |  www.teamdms.com

 

 

This E-mail is intended solely for the person or entity to which it is addressed and may contain confidential and / or privileged information. Any review, dissemination, copying, printing or other use of this E-mail by persons or entities other than the addressee is prohibited.  If you have received this E-mail in error, please contact the sender immediately and delete this e-mail from any and all computers.  Thank you.