Can you put this into a test.pl file and execute it with the www-data user ? (chmod 755 test.pl ; ./test.pl)
-------------------8<---------------------------8<---------------------------8<------------------- #!/usr/bin/perl -w use strict; use Bconsole; my $c = new Bconsole(pref => { bconsole => '/opt/bacula/etc/bconsole -n -c /opt/bacula/etc/bconsole.conf', }, debug => 1); print "fileset : ", join(',', $c->list_fileset()), "\n"; print "job : ", join(',', $c->list_job()), "\n"; print "storage : ", join(',', $c->list_storage()), "\n"; print "status client :\n"; $c->send_cmd("status client=VU0EM004"); -------------------8<---------------------------8<---------------------------8<------------------- It could be also a good idea to open a bug on bugs.bacula.org. Bye Le Samedi 20 Janvier 2007 00:15, Ralf Gross a écrit : > Eric Bollengier schrieb: > > > If I then select VU0EM005 add click on 'Status', I immediately get this > > > error again: > > > > > > http://vu0em005/cgi-bin/bweb/bweb.pl?client=VU0EM005&action.x=23&action > > >.y=1 9&action=client_status > > > > > > [Fri Jan 19 17:35:01 2007] [error] [client 53.60.5.110] print() on > > > closed filehandle GEN0 at /usr/lib/perl/5.8/IO/Handle.pm line 147., > > > referer: http://vu0em005/cgi-bin/bweb/bweb.pl?action=client > > > > > > Then it takes some time and a nearly empty page is diplayed. > > > > This page use bconsole to get informations. Can you try this in a > > terminal (xterm) ? (with www-data) > > > > [EMAIL PROTECTED]:~$ /opt/bacula/etc/bconsole -n -c > > /opt/bacula/etc/bconsole.conf * st client=VU0EM005 > > I've done this for an other client, this one has already been backed up. > The output on the client status page is the same (empty). > > [EMAIL PROTECTED]:~$ /opt/bacula/etc/bconsole -n -c > /opt/bacula/etc/bconsole.conf Connecting to Director VU0EM005:9101 > 1000 OK: VU0EM005 Version: 2.0.1 (12 January 2007) > Enter a period to cancel a command. > *st client=VU0EM004 > Using Catalog "MyCatalog" > Connecting to Client VU0EM004 at VU0EM004-1:9102 > > VU0EM004 Version: 2.0.1 (12 January 2007) x86_64-unknown-linux-gnu debian > 4.0 Daemon started 17-Jan-07 09:52, 3 Jobs run since started. > Heap: bytes=25,204,944 max_bytes=25,205,083 bufs=135,840 max_bufs=135,841 > Sizeof: boffset_t=8 size_t=8 debug=105 trace=0 > > Running Jobs: > JobId 4 Job VU0EM004.2007-01-19_23.40.51 is running. > Backup Job started: 19-Jan-07 23:40 > Files=475,722 Bytes=25,236,423,357 Bytes/sec=27,401,111 > Files Examined=475,722 > Processing file: > /data/BackupPC/pc/hogwards/0/f%2fhome%2fhogwards%2fknfe%2fdata2/fincoming/f >vp0848_0445/fmac0080d90b02ed_v256_ARTWarnton-06-10-30-11-08-52.tgz > SDReadSeqNo=5 fd=5 > Director connected at: 19-Jan-07 23:56 > ==== > > Terminated Jobs: > JobId Level Files Bytes Status Finished Name > ====================================================================== > 1 Full 5,221 358.5 M Cancel 19-Jan-07 23:18 VU0EM004 > 2 Full 146,009 2.082 G OK 19-Jan-07 23:29 VU0EM004 > 3 Full 146,010 2.082 G OK 19-Jan-07 23:39 VU0EM004 > ==== > * > > > > If I add bweb.conf with the web config editor, I always get an error > > > about fv_write_path. > > > > > > An error has occurred : > > > > > > bad parameter : fv_write_path = [] > > > > You can set it to /tmp > > > > > > > The second problem are the png graphs. > > > > > > Maybe the png error only occurres because there have not been any > > > backups yet? > > > > Yes, to get graph, you must have data. > > Understood ;) I didn't know what I should see there, only stats or other > (static) png's too. > > Ralf -- "I like when it comes by night and sucks the vital essence from my ....computers." ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users