Pfunk Mallone wrote:
Hello,

On a new setup of Bacula (1.38.9), when using the bacula-tray-monitor I get the following error 
when viewing the DIR server: 'You must specify a "use <catalog-name>" command 
before continuing.'.  I've successfully run several backups, but I can't see the status using 
the tray-monitor tool.

Accessing the status via the bconsole program and issuing a "status dir" works 
as expected.

Anyone have any ideas?

Yes, the restricted console that is provided by default for this purpose has inadequate permissions. I struggled with this for a bit, and may well be granting greater permissions that is required, but this is what I wound up with:

#
# Restricted console used by tray-monitor to get the status of the director
#
Console {
 Name = sweety-mon
 Password = "<some password here>"
 CommandACL = status, .status
 CatalogACL = Catalog
 StorageACL = *all*
 ScheduleACL = *all*
 PoolACL = *all*
 JobACL = *all*
}

I don't recall what the original set of ACLs were, but I believe previously, it only had the CommandACL. Perhaps only the CatalogACL was needed as an addition, I'm not sure.

-se


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to