zkfan / tungsten-replicator

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

tungsten-installer installing into itself. #119

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. gunzip tungsten-replicator-2.0.X.tar.gz
2. ln -s tungsten-replicator-2.0.X tungsten
3. cd tungsten
3. run  .tools/tungsten-installer --master-slave 

What is the expected output?
A running master slave.

What do you see instead?
An error in trepsrv.log shows " ERROR replicator.conf.PropertiesManager Unable 
to find properties file: ../../tungsten-replicator/conf/services.properties"

What version of the product are you using?
2.0.3

On what operating system?
CentOS 5.6

Original issue reported on code.google.com by mark.grennan on 16 Jun 2011 at 4:57

GoogleCodeExporter commented 9 years ago
You need to specify a --home-directory, or else Tungsten will try to create an 
installation in the current directory.
A good choice for the --home-directory is the directory where you have expanded 
the tarball:

mkdir $HOME/mighty_warrior
cd $HOME/mighty_warrior
tar -xzf tungsten-replicator-2.0.3.tar.gz
cd tungsten-replicator.2.0.3
./tools/tungsten-installer \
  --master-slave \
  --home-directory=$HOME/mighty_warrior 
  ... more options ...

Besides, the command you entered cannot work.

./tools/tungsten-installer --master-slave
ERROR >> You must specify cluster-hosts
ERROR >> You must specify a master-host
ERROR >> You must specify a service-name
ERROR >> There are issues with the command options

Please provide the command that you have entered.

Original comment by g.maxia on 16 Jun 2011 at 5:50

GoogleCodeExporter commented 9 years ago
Have you had any success running the latest scripts with these options 
specified?

Original comment by jeffm...@gmail.com on 6 Jul 2011 at 2:00

GoogleCodeExporter commented 9 years ago

Original comment by jeffm...@gmail.com on 7 Jul 2011 at 4:08