一、异常信息

  1. [INFO] Deployment File is Uploading...
  2. [INFO] IDE Version:IntelliJ IDEA 2019.1.
  3. [INFO] Alibaba Cloud Toolkit Version:2019.7.
  4. [INFO] Start upload base-eureka.jar
  5. [INFO][##################################################] % (/)
  6. [INFO] Succeed to upload, bytes have been uploaded.
  7. [INFO] Upload Deployment File to OSS Success
  8. [INFO] Target Deploy ECS: { 172.17.84.62 / 101.201.236.143 }
  9. [INFO] Command: { source /etc/profile; cd /mnt/software; sh /mnt/software/base-eureka/restart-one.sh }
  10. Tip: The deployment package will be temporarily stored in Alibaba Cloud Security OSS and will be
  11. deleted after the deployment is complete. Please be assured that no one can access it except you.
  12.  
  13. [ERROR] The cloud assistant is not installed on the ECS, or the
  14. cloud assistant is unavailable. Please check and try again, reference https://help.aliyun.com/knowledge_detail/120568.html.
  15. [ERROR] cloudassistant is uninstall
  16. at com.alibabacloud.commons.ecs.service.CommandService.installCloudAssistant(CommandService.java:)
  17. at com.alibabacloud.commons.ecs.service.CommandService.runAndDeleteCommand(CommandService.java:)
  18. at com.alibabacloud.intellij.task.EcsDeployTask.runCreateUploadDirCmd(EcsDeployTask.java:)
  19. at com.alibabacloud.intellij.task.EcsDeployTask.run(EcsDeployTask.java:)
  20. at com.alibabacloud.intellij.runner.ecs.EcsRunProfileState$.run(EcsRunProfileState.java:)
  21. at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:)
  22. at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$(CoreProgressManager.java:)
  23. at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:)
  24. at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:)
  25. at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:)
  26. at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:)
  27. at com.intellij.openapi.progress.impl.CoreProgressManager$.run(CoreProgressManager.java:)
  28. at com.intellij.openapi.application.impl.ApplicationImpl$.run(ApplicationImpl.java:)
  29. at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:)
  30. at java.util.concurrent.FutureTask.run(FutureTask.java:)
  31. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:)
  32. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:)
  33. at java.lang.Thread.run(Thread.java:)
  34. 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. Huffman树与Huffman编码

    1.Huffman树 今天复习Huffman树.依稀记得自己被Huffman树虐的经历.还记得是7月份,我刚开始看数据结构与算法,根本看不懂Huffman树的操作.后来我终于悟出了Huffman树是怎 ...

  2. iptables man手册翻译

    概要 iptables [-t table] -[AD] chain rule-specification [options]iptables [-t table] -I chain [rulenum ...

  3. Hadoop Capacity调度器概念及配置

    在Yarn框架中,调度器是一块很重要的内容.有了合适的调度规则,就可以保证多个应用可以在同一时间有条不紊的工作.最原始的调度规则就是FIFO,即按照用户提交任务的时间来决定哪个任务先执行,但是这样很可 ...

  4. org.Hs.eg.db

    bioconduction 主页 http://www.bioconductor.org/packages/release/data/annotation/html/org.Hs.eg.db.html ...

  5. PatchMatch小详解

    最近发了两片patch match的,其实自己也是有一些一知半解的,找了一篇不知道谁的大论文看了看,又回顾了一下,下面贴我的笔记. The PatchMatch Algorithm patchmatc ...

  6. Calculation 2

    Calculation 2 Given a positive integer N, your task is to calculate the sum of the positive integers ...

  7. QFIL软件烧写镜像

    1.准备好需要烧写的文件 烧写之前,需要先准备好需要的文件,如下: 2.打开QFIL程序 接下来运行QFIL程序,如下: 3.选择端口 程序运行后,选择合适的端口,如下: 点击端口选择,然后选择Por ...

  8. CSS3移动端vw+rem不依赖JS实现响应式布局

    1.前言 (1)vw/vh介绍 在使用之前,我们先简单了解一下什么是vw和rem以及它们的作用,vw是css3出现的一个新单位,它是"view width"缩写,定义为把当前屏幕分 ...

  9. Python3+WebSockets实现WebSocket通信

    一.说明 1.1 背景说明 前段时间同事说云平台通信使用了个websocket的东西,今天抽空来看一下具体是怎么个通信过程. 从形式上看,websocket是一个应用层协议,socket是数据链路层. ...

  10. CentOS6.5 更新gcc-7.3.0

    # [1]查看当前版本 gcc --version # 显示4.8.3 # [2]下载更新版本包 # 经实测,本地下载包很慢,建议用迅雷下载(新建任务,输入下载地址:https://ftp.gnu.o ...