一、异常信息

[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

https://help.aliyun.com/document_detail/40654.html?spm=a2c4g.11186623.2.18.46074da1o3bEaR#concept-h4v-j5k-xdb

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的更多相关文章

  1. 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 ...

  2. 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 ...

  3. spring boot 2.0.3+spring cloud (Finchley)7、服务链路追踪Spring Cloud Sleuth

    参考:Spring Cloud(十二):分布式链路跟踪 Sleuth 与 Zipkin[Finchley 版] Spring Cloud Sleuth 是Spring Cloud的一个组件,主要功能是 ...

  4. Spring Cloud Netflix多语言/非java语言支持之Spring Cloud Sidecar

    Spring Cloud Netflix多语言/非java语言支持之Spring Cloud Sidecar 前言 公司有一个调研要做,调研如何将Python语言提供的服务纳入到Spring Clou ...

  5. Spring Cloud与Dubbo的完美融合之手「Spring Cloud Alibaba」

    很早以前,在刚开始搞Spring Cloud基础教程的时候,写过这样一篇文章:<微服务架构的基础框架选择:Spring Cloud还是Dubbo?>,可能不少读者也都看过.之后也就一直有关 ...

  6. Spring Cloud 升级之路 - 2020.0.x - 6. 使用 Spring Cloud LoadBalancer (1)

    本项目代码地址:https://github.com/HashZhang/spring-cloud-scaffold/tree/master/spring-cloud-iiford 我们使用 Spri ...

  7. (3)java Spring Cloud+Spring boot+mybatis企业快速开发架构之SpringCloud-Spring Cloud和Dubbo的区别及各自的优缺点

    ​ 我们先从 Nginx 说起,了解为什么需要微服务.最初的服务化解决方案是给相同服务提供一个统一的域名,然后服务调用者向这个域发送 HTTP 请求,由 Nginx 负责请求的分发和跳转. 这种架构存 ...

  8. Spring 异常:Error creating bean with name

    异常信息:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xxx' 我今 ...

  9. 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 ...

随机推荐

  1. 【斜率优化】【P5468】 [NOI2019]回家路线

    Description 给定 \(n\) 点,这 \(n\) 个点由 \(m\) 班列车穿插连结.对于第 \(i\) 班列车,会在 \(p_i\) 时刻从 \(x_i\) 站点出发开向 \(y_i\) ...

  2. BootStrap Table 合并单元格

    为了更直观展示表格的一大堆乱七八糟的数据,合并单元格就派上用场: 效果: 贴上JSON数据(后台查询数据一定要对合并字段排序): [ { "city": "广州市&quo ...

  3. WGS 全基因组测序数据分析

    1. DNA测序技术 https://www.jianshu.com/p/6122cecec54a 2.FASTA和FASTQ文件格式 https://www.jianshu.com/p/50ff30 ...

  4. git 学习网站

    GitBook  :https://git-scm.com/book/zh/v2 Git 教程 廖雪峰 :https://www.liaoxuefeng.com/wiki/89604348802960 ...

  5. 一个web请求的全过程

    参考文档:http://www.mamicode.com/info-detail-1357508.html 名词解释DNS: DNS(Domain Name System,域名系统),因特网上作为域名 ...

  6. PR代码提交规范

    1.在提交pull request之前,先要把 master上面的合并到 这个分支上面,看看是不是有冲突,然后在提交pr

  7. Java四则运算——图形化界面

    一.前提 (1)作业来源:https://edu.cnblogs.com/campus/gzcc/GZCC-16SE1/homework/2213 (2)GitHub地址:https://github ...

  8. 【Activiti学习之六】BPMN任务

    环境 JDK 1.8 MySQL 5.6 Tomcat 7 Eclipse-Luna activiti 6.0 一.任务任务表示流程中将要完成的工作. 1.任务继承 2.任务类型Service Tas ...

  9. POJ-图论-最小生成树模板

    POJ-图论-最小生成树模板 Kruskal算法 1.初始时所有结点属于孤立的集合. 2.按照边权递增顺序遍历所有的边,若遍历到的边两个顶点仍分属不同的集合(该边即为连通这两个集合的边中权值最小的那条 ...

  10. [转帖]spring、springMvc、springBoot和springCloud的联系与区别

    spring.springMvc.springBoot和springCloud的联系与区别 -- :: 尘光掠影 阅读数 文章标签: springspringmvcspringbootspringCl ...