免责声明:我对Cassandra和Linux都是一个彻头彻尾的noobie。
您好, 我已经使用Ubuntu 14.04在VM(使用Windows 10上的HyperV创建)上安装了Cassandra Datastax Enterprise。 在同一台虚拟机上,我还安装了OpsCenter。我们称之为 VM1 。
在另一台Ubuntu虚拟机中,这次是在Mac上使用Parallels创建的,我已经安装了Cassandra Datastax Enterprise的另一个实例。我们称之为 VM2 。
在VM2上安装Datastax期间,我使用VM1的IP地址设置种子IP选项。已为OpsCenter IP设置了相同的值。 我还在VM2上设置了VM1的相同群集名称。
我可以使用DevCenter连接到两个节点,但是当我尝试将节点添加到OpsCenter时,操作总是失败。 通常我会成功通过这些步骤:
但是当涉及到“安装包裹”时,它总是会失败。步骤,特别是 dse-libhadoop_4.8.1-1_all.deb 包。
此处有错误详情
Install Errored: 'apt-get install' failed
exit status: 100
stdout:
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
dse dse-demos dse-full dse-hive dse-libcassandra dse-libhadoop
dse-libhadoop-native dse-libhive dse-liblog4j dse-libmahout dse-libpig
dse-libsolr dse-libspark dse-libsqoop dse-libtomcat dse-pig
0 upgraded, 16 newly installed, 0 to remove and 9 not upgraded.
Need to get 0 B/528 MB of archives.
After this operation, 612 MB of additional disk space will be used.
Selecting previously unselected package dse-libhadoop.
(Reading database ... 227579 files and directories currently installed.)
Preparing to unpack .../dse-libhadoop_4.8.1-1_all.deb ...
/usr/share/dse/backups exists, indicating a prior standalone installation. Please remove that first
Selecting previously unselected package dse-libhadoop-native.
Preparing to unpack .../dse-libhadoop-native_4.8.1-1_amd64.deb ...
/usr/share/dse/backups exists, indicating a prior standalone installation. Please remove that first
Selecting previously unselected package dse-libcassandra.
Preparing to unpack .../dse-libcassandra_4.8.1-1_all.deb ...
/usr/share/dse/backups exists, indicating a prior standalone installation. Please remove that first
Selecting previously unselected package dse.
Preparing to unpack .../archives/dse_4.8.1-1_all.deb ...
/usr/share/dse/backups exists, indicating a prior standalone installation. Please remove that first
Selecting previously unselected package dse-libhive.
Preparing to unpack .../dse-libhive_4.8.1-1_all.deb ...
/usr/share/dse/backups exists, indicating a prior standalone installation. Please remove that first
Selecting previously unselected package dse-hive.
Preparing to unpack .../dse-hive_4.8.1-1_all.deb ...
/usr/share/dse/backups exists, indicating a prior standalone installation. Please remove that first
Selecting previously unselected package dse-demos.
Preparing to unpack .../dse-demos_4.8.1-1_all.deb ...
/usr/share/dse/backups exists, indicating a prior standalone installation. Please remove that first
Selecting previously unselected package dse-libpig.
Preparing to unpack .../dse-libpig_4.8.1-1_all.deb ...
/usr/share/dse/backups exists, indicating a prior standalone installation. Please remove that first
Selecting previously unselected package dse-pig.
Preparing to unpack .../dse-pig_4.8.1-1_all.deb ...
/usr/share/dse/backups exists, indicating a prior standalone installation. Please remove that first
Selecting previously unselected package dse-libtomcat.
Preparing to unpack .../dse-libtomcat_4.8.1-1_all.deb ...
/usr/share/dse/backups exists, indicating a prior standalone installation. Please remove that first
Selecting previously unselected package dse-libsolr.
Preparing to unpack .../dse-libsolr_4.8.1-1_all.deb ...
/usr/share/dse/backups exists, indicating a prior standalone installation. Please remove that first
Selecting previously unselected package dse-libsqoop.
Preparing to unpack .../dse-libsqoop_4.8.1-1_all.deb ...
/usr/share/dse/backups exists, indicating a prior standalone installation. Please remove that first
Selecting previously unselected package dse-liblog4j.
Preparing to unpack .../dse-liblog4j_4.8.1-1_all.deb ...
/usr/share/dse/backups exists, indicating a prior standalone installation. Please remove that first
Selecting previously unselected package dse-libmahout.
Preparing to unpack .../dse-libmahout_4.8.1-1_all.deb ...
/usr/share/dse/backups exists, indicating a prior standalone installation. Please remove that first
Selecting previously unselected package dse-libspark.
Preparing to unpack .../dse-libspark_4.8.1-1_all.deb ...
/usr/share/dse/backups exists, indicating a prior standalone installation. Please remove that first
Selecting previously unselected package dse-full.
Preparing to unpack .../dse-full_4.8.1-1_all.deb ...
/usr/share/dse/backups exists, indicating a prior standalone installation. Please remove that first
stderr:
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
dpkg: error processing archive /var/cache/apt/archives/dse-libhadoop_4.8.1-1_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
dpkg: error processing archive /var/cache/apt/archives/dse-libhadoop-native_4.8.1-1_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
dpkg: error processing archive /var/cache/apt/archives/dse-libcassandra_4.8.1-1_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
dpkg: error processing archive /var/cache/apt/archives/dse_4.8.1-1_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
No apport report written because MaxReports is reached already
dpkg: error processing archive /var/cache/apt/archives/dse-libhive_4.8.1-1_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
No apport report written because MaxReports is reached already
dpkg: error processing archive /var/cache/apt/archives/dse-hive_4.8.1-1_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
No apport report written because MaxReports is reached already
dpkg: error processing archive /var/cache/apt/archives/dse-demos_4.8.1-1_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
No apport report written because MaxReports is reached already
dpkg: error processing archive /var/cache/apt/archives/dse-libpig_4.8.1-1_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
No apport report written because MaxReports is reached already
dpkg: error processing archive /var/cache/apt/archives/dse-pig_4.8.1-1_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
No apport report written because MaxReports is reached already
dpkg: error processing archive /var/cache/apt/archives/dse-libtomcat_4.8.1-1_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
No apport report written because MaxReports is reached already
dpkg: error processing archive /var/cache/apt/archives/dse-libsolr_4.8.1-1_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
No apport report written because MaxReports is reached already
dpkg: error processing archive /var/cache/apt/archives/dse-libsqoop_4.8.1-1_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
No apport report written because MaxReports is reached already
dpkg: error processing archive /var/cache/apt/archives/dse-liblog4j_4.8.1-1_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
No apport report written because MaxReports is reached already
dpkg: error processing archive /var/cache/apt/archives/dse-libmahout_4.8.1-1_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
No apport report written because MaxReports is reached already
dpkg: error processing archive /var/cache/apt/archives/dse-libspark_4.8.1-1_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
No apport report written because MaxReports is reached already
dpkg: error processing archive /var/cache/apt/archives/dse-full_4.8.1-1_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
No apport report written because MaxReports is reached already
Errors were encountered while processing:
/var/cache/apt/archives/dse-libhadoop_4.8.1-1_all.deb
/var/cache/apt/archives/dse-libhadoop-native_4.8.1-1_amd64.deb
/var/cache/apt/archives/dse-libcassandra_4.8.1-1_all.deb
/var/cache/apt/archives/dse_4.8.1-1_all.deb
/var/cache/apt/archives/dse-libhive_4.8.1-1_all.deb
/var/cache/apt/archives/dse-hive_4.8.1-1_all.deb
/var/cache/apt/archives/dse-demos_4.8.1-1_all.deb
/var/cache/apt/archives/dse-libpig_4.8.1-1_all.deb
/var/cache/apt/archives/dse-pig_4.8.1-1_all.deb
/var/cache/apt/archives/dse-libtomcat_4.8.1-1_all.deb
/var/cache/apt/archives/dse-libsolr_4.8.1-1_all.deb
/var/cache/apt/archives/dse-libsqoop_4.8.1-1_all.deb
/var/cache/apt/archives/dse-liblog4j_4.8.1-1_all.deb
/var/cache/apt/archives/dse-libmahout_4.8.1-1_all.deb
/var/cache/apt/archives/dse-libspark_4.8.1-1_all.deb
/var/cache/apt/archives/dse-full_4.8.1-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
我尝试多次卸载并重新安装Datastax Enterprise,但我的结果总是如此。
我也试图从头开始重新创建VM2,希望第一个VM完全搞砸了,但它没有帮助。
任何帮助都非常感激。
谢谢!