Wanted to check again to see if anyone has any thoughts on this.

JJ

From: Jeremiah D. Jester [mailto:jj...@u.washington.edu]
Sent: Friday, August 20, 2010 9:59 AM
To: bacula-users
Subject: [Bacula-users] bscan mysql authorization error

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. 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>
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to