【异常】[ERROR] The cloud assistant is not installed on the ECS, or the cloud assistant is unavailable. cloudassistant is uninstall
一、异常信息
[INFO] Deployment File is Uploading...
[INFO] IDE Version:IntelliJ IDEA 2019.1.
[INFO] Alibaba Cloud Toolkit Version:2019.7.
[INFO] Start upload base-eureka.jar
[INFO][##################################################] % (/)
[INFO] Succeed to upload, bytes have been uploaded.
[INFO] Upload Deployment File to OSS Success
[INFO] Target Deploy ECS: { 172.17.84.62 / 101.201.236.143 }
[INFO] Command: { source /etc/profile; cd /mnt/software; sh /mnt/software/base-eureka/restart-one.sh }
Tip: The deployment package will be temporarily stored in Alibaba Cloud Security OSS and will be
deleted after the deployment is complete. Please be assured that no one can access it except you. [ERROR] The cloud assistant is not installed on the ECS, or the
cloud assistant is unavailable. Please check and try again, reference https://help.aliyun.com/knowledge_detail/120568.html.
[ERROR] cloudassistant is uninstall
at com.alibabacloud.commons.ecs.service.CommandService.installCloudAssistant(CommandService.java:)
at com.alibabacloud.commons.ecs.service.CommandService.runAndDeleteCommand(CommandService.java:)
at com.alibabacloud.intellij.task.EcsDeployTask.runCreateUploadDirCmd(EcsDeployTask.java:)
at com.alibabacloud.intellij.task.EcsDeployTask.run(EcsDeployTask.java:)
at com.alibabacloud.intellij.runner.ecs.EcsRunProfileState$.run(EcsRunProfileState.java:)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$(CoreProgressManager.java:)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:)
at com.intellij.openapi.progress.impl.CoreProgressManager$.run(CoreProgressManager.java:)
at com.intellij.openapi.application.impl.ApplicationImpl$.run(ApplicationImpl.java:)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:)
at java.util.concurrent.FutureTask.run(FutureTask.java:)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:)
at java.lang.Thread.run(Thread.java:)
open terminal
二、解决办法
1)RPM包安装,适合CentOS、RHEL和SUSE Linux等操作系统:
1.远程连接Linux实例。
2.运行wget https://repo-aliyun-assist.oss-cn-beijing.aliyuncs.com/download/aliyun_assist.rpm下载云助手客户端rpm包
3.运行rpm -ivh aliyun_assist.rpm安装云助手客户端。
(仅经典网络类型实例)在云助手的安装目录下创建名为region-id的文件,在文件中填入ECS实例所属地域的ID,例如cn-hangzhou。更多取值请参见地域和可用区。
4.验证是否安装成功
aliyun-service -v
注意:
第3步,对于经典网络类型实例,需要在安装目录下创建名为region-id的文件
1.默认安装路径:
如果您选择默认安装路径,则客户端在Linux实例中的安装目录为:
- CoreOS操作系统:/opt/local/share/aliyun-assist/
- 其他操作系统(Ubuntu、Debian、Red Hat、SUSE Linux Enterprise Server、OpenSUSE和Aliyun Linux等):/usr/local/share/aliyun-assist/
2.查找ECS实例所属地域的ID
2)其他系统安装文档见:
https://help.aliyun.com/document_detail/64921.html?spm=a2c4g.11186623.2.11.50292ad8K65TED
【异常】[ERROR] The cloud assistant is not installed on the ECS, or the cloud assistant is unavailable. cloudassistant is uninstall的更多相关文章
- win8.1安装VMware Error:This product may not be installed on a comuputer that has Microsoft HyperV installed
之前用的win7,安装虚机没遇到这问题,换了win8.1后,再安装虚机,就会出现下面的错误.没办法,还是记录一下吧. Error:This product may not be installed o ...
- Mac解决:xcode-select: error: command line tools are already installed, use "Software Update" to install updates
1.因为node项目终端报错: No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'. No receipt for 'com ...
- spring boot 2.0.3+spring cloud (Finchley)7、服务链路追踪Spring Cloud Sleuth
参考:Spring Cloud(十二):分布式链路跟踪 Sleuth 与 Zipkin[Finchley 版] Spring Cloud Sleuth 是Spring Cloud的一个组件,主要功能是 ...
- Spring Cloud Netflix多语言/非java语言支持之Spring Cloud Sidecar
Spring Cloud Netflix多语言/非java语言支持之Spring Cloud Sidecar 前言 公司有一个调研要做,调研如何将Python语言提供的服务纳入到Spring Clou ...
- Spring Cloud与Dubbo的完美融合之手「Spring Cloud Alibaba」
很早以前,在刚开始搞Spring Cloud基础教程的时候,写过这样一篇文章:<微服务架构的基础框架选择:Spring Cloud还是Dubbo?>,可能不少读者也都看过.之后也就一直有关 ...
- Spring Cloud 升级之路 - 2020.0.x - 6. 使用 Spring Cloud LoadBalancer (1)
本项目代码地址:https://github.com/HashZhang/spring-cloud-scaffold/tree/master/spring-cloud-iiford 我们使用 Spri ...
- (3)java Spring Cloud+Spring boot+mybatis企业快速开发架构之SpringCloud-Spring Cloud和Dubbo的区别及各自的优缺点
我们先从 Nginx 说起,了解为什么需要微服务.最初的服务化解决方案是给相同服务提供一个统一的域名,然后服务调用者向这个域发送 HTTP 请求,由 Nginx 负责请求的分发和跳转. 这种架构存 ...
- Spring 异常:Error creating bean with name
异常信息:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xxx' 我今 ...
- Mac下Mysql启动异常["ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)"]
在mac下使用brew安装mysql,之前没有使用过,今天启动的时候发现启动不了 huijundeMacBook-Pro:bin huijunzhang$ mysql ERROR (HY000): C ...
随机推荐
- 奇技淫巧and板子
目录 求第\(k\)大的数 求长度不小于L的子段使之和最大 ST表 \(O(1)\)实现能查询栈中最小元素 二分 树和图的深度优先遍历和广度优先遍历 树的dfs序 求树的重心 图的联通块划分 拓扑排序 ...
- C语言博客作业2019-04--数组
0.展示PTA总分(0----2) 展示3张关于"数组题目集"分数截图. 1.本章学习总结(2分) 1.1 学习内容总结 整理数组这章学习主要知识点,必须包含内容有: 数组中如何查 ...
- haproxy 配置文件详解 之 backend
配置示例: backend htmpool mode http option redispatch option abortonclose balance static-rr cookie SESSI ...
- 【Gamma阶段】第六次Scrum Meeting
冰多多团队-Gamma阶段第六次Scrum会议 工作情况 团队成员 已完成任务 待完成任务 卓培锦 编辑器风格切换(添加夜间模式) UI界面手势切换 牛雅哲 语音输入shell应用:基于pytorch ...
- libevent笔记1:安装及DEMO
本篇简单记录了libevent的安装过程及基础的先进先出管道Demo,其中demo来自这篇博客,安装过程在这篇博客 实验环境 系统:Ubuntu 18.04.3 libevent版本:libevent ...
- 【K8S】Kubernetes: --image-pull-policy always does not work
https://stackoverflow.com/questions/45905999/kubernetes-image-pull-policy-always-does-not-work
- 【操作系统之六】Linux常用命令之less
一.概念less 工具也是对文件或其它输出进行分页显示的工具,是linux正统查看文件内容的工具,功能极其强大.less 的用法比起 more .tail更加的有弹性.在 more 的时候,我们并没有 ...
- 《Linux就该这么学》培训笔记_ch03_管道符、重定向与环境变量
<Linux就该这么学>培训笔记_ch03_管道符.重定向与环境变量 文章最后会post上书本的笔记照片. 文章主要内容: 输入输出重定向 管道命令符 命令行的通配符 常用的转义字符 重要 ...
- php form表单ajax上传图片方法
form表单ajax上传图片方法 先引用jquery.form.js 前台代码<pre><form id="form1"> <input id=&qu ...
- phpcms新建模板页教程
phpcms新建模板页教程1 直接去template文件夹里的复制的模板页 比方说list1.html2 去后台 界面模板风格 default 默认模板 点击详情列表 找到list1.htm 设置中文 ...