On 8/20/2010 12:58 PM, Jeremiah D. Jester wrote: > Hello, > > I am trying to wipe one of my tapes that would not allocate to a pool > upon labeling. The tape is loaded in the drive and I’ve stopped > bacula-sd. However, when I attempt to issue the bscan command below it > tells me it cannot access the mysql server.
You do not have to use bscan to wipe a tape. Why are you doing this? > I’ve tested with the > password located in my bacula-dir.conf files and it works just fine. Any > ideas? Is there a bscan config file that I should have that may be missing? > > Thanks, > > JJ > > BSCAN ERROR > > [r...@scrappy bacula]# ./bin/bscan -V 000006L4 -v -s -m -c > bacula-sd.conf /dev/nst0 > > bscan: butil.c:281 Using device: "/dev/nst0" for reading. > > 20-Aug 09:49 bscan JobId 0: Invalid slot=0 defined in catalog for Volume > "000006L4" on "Drive1" (/dev/nst0). Manual load may be required. > > 20-Aug 09:49 bscan JobId 0: 3301 Issuing autochanger "loaded? drive 0" > command. > > 20-Aug 09:49 bscan JobId 0: 3302 Autochanger "loaded? drive 0", result > is Slot 16. > > 20-Aug 09:49 bscan JobId 0: Ready to read from volume "000006L4" on > device "Drive1" (/dev/nst0). > > 20-Aug 09:50 bscan: ERROR TERMINATION at bscan.c:304 > > mysql.c:194 Unable to connect to MySQL server. > > Database=bacula User=bacula > > MySQL connect failed either server not running or your authorization is > incorrect. > > TESTING BACULA CREDENTIALS – WORKS! > > [r...@scrappy bacula]# mysql -u bacula -p bacula > > Enter password: > > Reading table information for completion of table and column names > > You can turn off this feature to get a quicker startup with -A > > Welcome to the MySQL monitor. Commands end with ; or \g. > > Your MySQL connection id is 17 > > Server version: 5.0.77 Source distribution > > Type 'help;' or '\h' for help. Type '\c' to clear the buffer. > > mysql> -- Dan Langille - http://langille.org/ ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users