Clouder Manager安装时出现please remove the following file: /etc/cloudera-scm-server/db.properties问题解决(图文详解)

简介:

 问题详情

bigdata@ubuntucmbigdata1:/opt/softwares/cm-5.6.0$ sudo ./cloudera-manager-installer.bin 

 

 

 

This installer always creates a new database, and will overwrite the existing database connection information for any existing installation. If you still want to use this installer, please remove the following file: /etc/cloudera-scm-server/db.properties

 

 

 

 

 

 

 

     解决办法

复制代码
bigdata@ubuntucmbigdata1:/etc/cloudera-scm-server$ pwd
/etc/cloudera-scm-server
bigdata@ubuntucmbigdata1:/etc/cloudera-scm-server$ ll
total 32
drwxr-xr-x   2 cloudera-scm cloudera-scm  4096 Jun 26 12:39 ./
drwxr-xr-x 137 root         root         12288 Jun 26 12:33 ../
-rw-------   1 cloudera-scm cloudera-scm  1471 Jun 26 11:16 db.mgmt.properties
-rw-r--r--   1 cloudera-scm cloudera-scm   328 Jun 26 11:16 db.properties
-rw-r--r--   1 cloudera-scm cloudera-scm   714 Jun 26 11:16 db.properties.20170626-111628
-rw-r--r--   1 cloudera-scm cloudera-scm  2229 May 26 05:39 log4j.properties
bigdata@ubuntucmbigdata1:/etc/cloudera-scm-server$ sudo mv db.properties db.properties1
bigdata@ubuntucmbigdata1:/etc/cloudera-scm-server$ ll
total 32
drwxr-xr-x   2 cloudera-scm cloudera-scm  4096 Jun 26 12:41 ./
drwxr-xr-x 137 root         root         12288 Jun 26 12:33 ../
-rw-------   1 cloudera-scm cloudera-scm  1471 Jun 26 11:16 db.mgmt.properties
-rw-r--r--   1 cloudera-scm cloudera-scm   328 Jun 26 11:16 db.properties1
-rw-r--r--   1 cloudera-scm cloudera-scm   714 Jun 26 11:16 db.properties.20170626-111628
-rw-r--r--   1 cloudera-scm cloudera-scm  2229 May 26 05:39 log4j.properties
bigdata@ubuntucmbigdata1:/etc/cloudera-scm-server$ 
复制代码

 

 


本文转自大数据躺过的坑博客园博客,原文链接:http://www.cnblogs.com/zlslch/p/7079974.html,如需转载请自行联系原作者

相关文章
|
SQL 关系型数据库 MySQL
Hive跨集群和版本迁移
Hive跨集群和版本迁移
地理编码与反地理编码
地理编码与反地理编码
757 0
地理编码与反地理编码
|
安全 算法 Java
剑指JUC原理-19.线程安全集合(上)
剑指JUC原理-19.线程安全集合
99 0
|
机器学习/深度学习 算法 PyTorch
【从零开始学习深度学习】38. Pytorch实战案例:梯度下降、随机梯度下降、小批量随机梯度下降3种优化算法对比【含数据集与源码】
【从零开始学习深度学习】38. Pytorch实战案例:梯度下降、随机梯度下降、小批量随机梯度下降3种优化算法对比【含数据集与源码】
|
网络协议 Shell 网络安全
ssh: connect to host github.com port 22: Connection refused
本文讨论了在使用Git命令操作GitHub时遇到的"ssh: connect to host github.com port 22: Connection refused"错误,分析了可能的原因,并提供了使用443端口或https协议作为解决方案,最终确定问题是由于DNS解析错误导致,通过修改hosts文件解决。
ssh: connect to host github.com port 22: Connection refused
|
KVM 虚拟化
KVM虚拟机的冷迁移
这篇文章详细描述了KVM虚拟机的冷迁移过程,包括无依赖环境迁移、有链接克隆虚拟机迁移、多块磁盘迁移的案例,以及可能遇到的错误和解决方案。
410 3
|
JavaScript
基于Vue2.X/Vue3.X对Monaco Editor在线代码编辑器进行封装与使用
这篇文章介绍了如何在Vue 2.X和Vue 3.X项目中封装和使用Monaco Editor在线代码编辑器,包括安装所需依赖、创建封装组件、在父组件中调用以及处理Vue 3中可能遇到的问题。
2632 1
基于Vue2.X/Vue3.X对Monaco Editor在线代码编辑器进行封装与使用
|
Kubernetes 容器 Perl
kubernetes强制删除pod、namespace等资源
kubernetes强制删除pod、namespace等资源
1272 0
|
XML JSON 算法
网络地图服务(WMS)详解
网络地图服务(WMS)详解
373 0