pt-agent --uninstall fails if agent is running
Bug #1251726 reported by
Daniel Nichter
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Fix Released
|
Medium
|
Daniel Nichter |
Bug Description
"""
# sudo ./pt-agent --uninstall
Uninstalling pt-agent...
2013-10-21T10:03:11 WARNING Sorry, an error occured while getting the pt-agent PID: Use of uninitialized value $pid in pattern match (m//) at ./pt-agent line 8297.
2013-10-21T10:03:11 INFO Removing all services from crontab...
2013-10-21T10:03:11 FATAL Failed to stop pt-agent.
"""
Related branches
lp:~percona-toolkit-dev/percona-toolkit/pt-agent-fixes
- Daniel Nichter: Approve
-
Diff: 719 lines (+254/-147)4 files modifiedbin/pt-agent (+190/-144)
lib/Cxn.pm (+8/-1)
lib/Percona/Agent/Logger.pm (+2/-2)
t/lib/Cxn.t (+54/-0)
Changed in percona-toolkit: | |
status: | Confirmed → In Progress |
Changed in percona-toolkit: | |
status: | In Progress → Fix Committed |
Changed in percona-toolkit: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PT-632