Bacula-users

Re: [Bacula-users] bscan mysql authorization error

2010-08-23 14:10:53
Subject: Re: [Bacula-users] bscan mysql authorization error
From: "Jeremiah D. Jester" <jjest AT u.washington DOT edu>
To: "Jeremiah D. Jester" <jjest AT u.washington DOT edu>, bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Mon, 23 Aug 2010 11:02:32 -0700

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


JJ

 

From: Jeremiah D. Jester [mailto:jjest AT u.washington DOT 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

 

[root@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!

 

[root@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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>