is00hcw / tungsten-replicator

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

Tungstun tpm command is not working and showing ruby related error #1110

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
i tried to install tpm with following commands

sudo ./tpm install  --master-slave --advanced --master-host=127.0.0.1 
--datasource-type=mysql --datasource-port=3306 --datasource-user=root 
--datasource-password=myroot --service-name=replicator 
--cluster-hosts=127.0.0.1 --home-directory=/opt/tungsten/extractor 
--rmi-port=10001 --thl-port=12001 --skip-validation-check=MySQLPermissionsCheck 
--skip-validation-check=InstallerMasterSlaveCheck --java-file-encoding=UTF8 
--mysql-enable-settostring=true --mysql-enable-enumtostring=true 
--mysql-use-bytes-for-string=false --svc-parallelization-type=none 
--start-and-report

And i am getting the following error.

=============================================================
ERROR:  Unable to load required Ruby module: ifconfig
Please ensure Ruby system modules are properly installed
=============================================================

Full error and stack trace follows...
./ruby-tpm/system_require.rb:14:in `system_require': (eval):1:in `require': no 
such file to load -- ifconfig (LoadError)
    from (eval):1:in `system_require'
    from ./ruby-tpm/configurator.rb:21:in `eval'
    from ./ruby-tpm/system_require.rb:14:in `system_require'
    from ./ruby-tpm/configurator.rb:21
    from ruby-tpm/configure.rb:21:in `require'
    from ruby-tpm/configure.rb:21

What version of the product are you using?

...
Operating system : Ubuntu 14.04 LTS

Tungsten: Tungsten-replicator-3.0.1-64-src

Ruby i tried 1.9.3 and 1.8.7 versions still same problem i don't know this 
tungsten problem or ruby .
...

Please provide any additional information below.

Notes:

I check this  post issues and tried but no result

https://code.google.com/p/tungsten-replicator/issues/detail?id=212

...

Original issue reported on code.google.com by javvadil...@gmail.com on 24 Mar 2015 at 10:09

GoogleCodeExporter commented 9 years ago
Please try the installation command without sudo, using an installation 
directory accessible by the current user.
Also, try using the machine hostname instead of 127.0.0.1

Original comment by g.maxia on 24 Mar 2015 at 10:15