Percona-Server-shared-compat required for pt-deadlock-logger
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Invalid
|
Undecided
|
Unassigned |
Bug Description
We recently upgraded from Percona-Server 5.1 to 5.5. I noticed today that pt-deadlock-logger was not running. We have it deployed/daemonized to run every 30 seconds. On every server it was not running. Trying to restart it produce the following:
# pt-deadlock-logger --create-dest-table --dest D=admin,t=deadlocks h=127.0.0.1
Had to create DBD::mysql:
Had to create DBD::mysql:
Undefined subroutine &DBD::mysql:
#
This error seemed to indicate that authentication was failing however the users on the systems didn't change.
After a bit of thought i realized that previously I had the shared-compat package installed with Percona Server 5.1 and only installed the shared package with 5.5. Installing the shared-package resolved the issue.
Apparently something in the shared-
tags: | added: build pt-duplicate-key-checker |
tags: | added: deps |
Changed in percona-toolkit: | |
status: | New → Triaged |
tags: |
added: pkg removed: build |
Changed in percona-toolkit: | |
assignee: | nobody → Ignacio Nin (ignacio-nin) |
How did you install percona-toolkit? If you are using the files
directly then you can face this issue.
The reason being, the version of perl-DBD-MySQL you are having Server- shared- 51 or Percona- Server- shared- compat for Server- shared- 55 for newer
has dependencies which can be satisfied by
Percona-
older versions of DBD, Percona-
versions.