Hi, I just upgraded from bacula 1.36 to 1.38.2 and noticed that the chio-changer script doesnt seem to work anymore. More specifically the "update slots scan" command proclaimed I had 0 slots. It seems the output of "wc -l" is not good enough for bacula anymore, so here is the patch for examples/autochangers/chio-changer to fix the problem:
--- chio-changer Thu Jan 5 18:46:32 2006 +++ chio-changer.new Thu Jan 5 18:45:47 2006 @@ -119,7 +119,7 @@ ;; slots) - ${MTX} -f $CHANGER status slot | wc -l + ${MTX} -f $CHANGER status slot | wc -l|bc ;; esac Kind regards, Alex. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users