zxs / tungsten-replicator

Automatically exported from code.google.com/p/tungsten-replicator
0 stars 0 forks source link

Multiple which failures looking for innobackupex, yet program is installed #1047

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Install xtrabackup package (includes innobackupex)
2. tpm install in master-master configuration
3. also found when calling tpm update

What is the expected output?

No which errors when tpm is installed or updated

What do you see instead?

which errors. Specifically: "which: no innobackupex-1.5.1 in 
(/usr/local/sbin:/usr/local/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr
/bin/vendor_perl:/usr/bin/core_perl)"

What version of the product are you using?

tungsten-replicator-2.2.1-403

When calling "innobackupex --version", it reports verison 1.5.1

On what operating system?

archlinux

Please provide any additional information below.

Notes:

Ran a "find" command to ensure innobackupex was installed. It was, at /usr/bin. 

Problem is that the which command includes the -1.5.1 string appended to the 
program so innobackupex is not found because that version string is omitted.

One possible solution is either to call which on innobackupex and (optionally) 
if found, look for version in the output. 

Another solution is to run "sudo ln -s /usr/bin/innobackupex 
/usr/bin/innobackupex-1.5.1", which no longer report innobackupex is missing.

Original issue reported on code.google.com by Initial....@gmail.com on 27 Oct 2014 at 6:26

Attachments:

GoogleCodeExporter commented 9 years ago
This has already been fixed in TR 3.0. Your solution is the recommended fix for 
previous versions of TR.

Original comment by jeff.m...@continuent.com on 27 Oct 2014 at 6:39