Am 04.03.2015 um 16:36 schrieb [email protected]:
> 
> Zitat von Frank Bergkemper <[email protected]>:
> 
>> Hi altogether,
>>
>> a new version of bareos-webui (bareos-webui 14.2) has been published.
>>
>> For simplicity, we decided to keep versioning up with Bareos itself,
>> which is why we switched from 0.1 to 14.2.
>>
>> Most changes have taken place under the hood since the last update.
>> We've implemented native connectivity to the Bareos director, meaning
>> that the bconsole binary is no longer called. This is one major step
>> into the direction to fully drop the direct catalog database connection
>> and query the Bareos director itself to retrieve information stored in
>> the catalog.
>>
>> Another milestone was authentication and access control, which is now
>> done via the native director connection and restricted named consoles.
>> This allows you to configure different consoles with different ACL's. It
>> is also possible to use more than one director and the corresponding
>> catalog, now.
>>
>> As the new version allows a lot more flexibilty, the configuration
>> syntax had to change too. For detailed instruction about how to install
>> and configure bareos-webui see
>> https://github.com/bareos/bareos-webui/blob/master/doc/INSTALL.md .
>>
>> Packages are available at http://download.bareos.org/bareos/contrib/ .
>>
>> If you experience any problems, please let us know and report your
>> issues via our Mantis Bugtracker, see http://bugs.bareos.org/.
>>
>>
>> The Bareos Team
>>
> 
> Hello,
> 
> i tried it today but got the following:
> 
> Zend\ServiceManager\Exception\ServiceNotFoundException
> 
> File:
> 
>     /usr/share/php5/Zend/ServiceManager/ServiceManager.php:550
> 
> Message:
> 
>     Zend\ServiceManager\ServiceManager::get was unable to fetch or
> create an instance for localhost
> 
> 
> System is Ubuntu 12.04 installed from Repo, Database user is read-only
> and works fine from psql (PostgreSQL-DB). Any idea where to look.
> 
> Regards
> 
> Andreas
> 
> 
> 

Hi Andreas,

I guess it's a misconfiguration of your directors.ini file.

So, lets assume your bareos-dir, catalog-db (postgresql in your case)
and the webui are running on the same host.

If you only use one director as in this assumption, your
/etc/bareos-webui/directors.ini should look exactly like following, with
no more entries in it. Just edit the dbuser and dbpassword entries to
your needs and maybe dbname, if it differs from default.

;
; Section localhost-dir
;
[localhost-dir]
enabled = "yes"
dbdriver = "postgresql"
dbaddress = "localhost"
dbport = 5432
dbuser = "CHANGE_ME"
dbpassword = "CHANGE_ME"
dbname = "bareos"
diraddress = "localhost"
dirport = 9101
; Note: TLS has not been tested and documented, yet.
;tls_verify_peer = false
;server_can_do_tls = false
;server_requires_tls = false
;client_can_do_tls = false
;client_requires_tls = false
;ca_file = ""
;cert_file = ""
;cert_file_passphrase = ""
;allowed_cns = ""


I hope this helps. If not, let me know.

Regards
Frank

-- 
Frank Bergkemper                           [email protected]
dass IT GmbH                               Phone:  +49.221.3565666-94
http://www.dass-IT.de/                     Fax  : +49.221.3565666-10

Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRB52500
GF: Stephan Dühr, Maik Außendorf, Jörg Steffens, Philipp Storz

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to