Bacula-users

Re: [Bacula-users] bweb : can t see page : "defined jobs" & "next jobs"

2008-06-17 02:44:58
Subject: Re: [Bacula-users] bweb : can t see page : "defined jobs" & "next jobs"
From: worm75011 <webmaster AT worm-fr DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 17 Jun 2008 08:44:45 +0200
Thomas Mueller a écrit :
> hi again
> 
>> try to execute the bconsole command as the web-server user. maybe you 
>> have to configure "sudo" for this user and the commands.
>>
>> i had to add this line to /etc/sudoers (!! start sudoers editor with 
>> visudo !!)
>>
>> www-data ALL= NOPASSWD: /usr/bin/bconsole
>>
>> (www-data == debian webserver user)
>>
> 
> ... and in bweb configuration 
> (bweb.pl?action.x=0&action.y=0&action=edit_conf) :
> 
> bconsole :     /usr/bin/sudo /usr/bin/bconsole -n -c 
> /etc/bacula/bconsole.conf
> 
> - Thomas
> 
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php

=>  i make the sudoers i can connect with bconsole with the www-data user :

<05:06:02 - root@web: /src/site/savesrv >
=> su www-data
sh-3.2$ /usr/bin/sudo /usr/bin/bconsole -n -c /etc/bacula/bconsole.conf
Connecting to Director savesrv.worm-fr.com:9101
1000 OK: savesrv-dir Version: 2.2.8 (26 January 2008)
Enter a period to cancel a command.
*status client
The defined Client resources are:
     1: savesrv-fd
     2: Messenger-fd
     3: Les-Experts-fd
     4: Mail-fd
     5: Nagios-fd
     6: SvnSrv-fd
     7: Dns-fd
     8: Dns-Slave-fd
     9: ManageMysql-fd
    10: ManageMysql1-fd
    11: MysqlSrv1-fd
    12: MysqlSrv2-fd
    13: Web-fd
    14: WindowsBoulot-fd
Select Client (File daemon) resource (1-14): 13
Connecting to Client Web-fd at web.worm-fr.com:9102

Web-fd Version: 2.2.8 (26 January 2008)  i486-pc-linux-gnu debian lenny/sid
Daemon started 28-mai-08 05:37, 49 Jobs run since started.
Heap: heap=704,512 smbytes=8,629 max_bytes=396,771 bufs=54 max_bufs=229
Sizeof: boffset_t=8 size_t=4 debug=0 trace=0

Running Jobs:
Director connected at: 17-jun-08 05:09
No Jobs running.
====

Terminated Jobs:
JobId  Level    Files      Bytes   Status   Finished        Name
======================================================================
     1  Full    436,551    333.8 G  OK       11-jun-08 12:43 Web
    29  Incr        198    8.543 M  OK       12-jun-08 04:46 Web
    49  Incr        152    8.352 M  OK       13-jun-08 00:07 Web
    68  Incr        323    8.478 M  OK       14-jun-08 07:13 Web
   100  Incr        686    3.599 M  OK       15-jun-08 01:07 Web
   124  Incr          4    123.4 K  Cancel   15-jun-08 10:03 Web
   126  Incr         58    455.8 K  Cancel   15-jun-08 10:11 Web
   128  Incr         68    8.475 M  OK       15-jun-08 10:18 Web
   143  Incr        105    49.24 M  OK       16-jun-08 01:11 Web
   158  Incr        261    14.60 M  OK       17-jun-08 00:53 Web
====
*  quit

and i have the same problem : i can t see the page and i can t choose on 
the list because it s empty

Thx for your help

Philippe


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users