zoukankan      html  css  js  c++  java
  • 【异常】[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.1
    [INFO] Alibaba Cloud Toolkit Version:2019.7.2
    [INFO] Start upload base-eureka.jar
    [INFO][##################################################] 100% (44715050/44715050)
    [INFO] Succeed to upload, 44715050 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:399)
        at com.alibabacloud.commons.ecs.service.CommandService.runAndDeleteCommand(CommandService.java:78)
        at com.alibabacloud.intellij.task.EcsDeployTask.runCreateUploadDirCmd(EcsDeployTask.java:239)
        at com.alibabacloud.intellij.task.EcsDeployTask.run(EcsDeployTask.java:160)
        at com.alibabacloud.intellij.runner.ecs.EcsRunProfileState$1.run(EcsRunProfileState.java:88)
        at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:731)
        at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:164)
        at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:586)
        at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:532)
        at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:86)
        at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:151)
        at com.intellij.openapi.progress.impl.CoreProgressManager$4.run(CoreProgressManager.java:403)
        at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:311)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
    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

  • 相关阅读:
    中毒了
    【工具】Intel HLS工具介绍
    【教程】OpenVINO 入门
    【教程】RISCV 处理器入门 在Intel FPGA 上的设计与实现 零基础 手把手教程
    多进程任务状态原理
    汇编指令集合大全 收藏
    教你如何用PQ魔法师调整硬盘分区大小【图解教程】
    8259A初始化编程
    eflags 详解
    网络分析 论坛
  • 原文地址:https://www.cnblogs.com/756623607-zhang/p/11442791.html
Copyright © 2011-2022 走看看