• 阿里云监控客户端无法启动


    如图报如下错误

    [root@004 ~]# /etc/init.d/cloudmonitor start
    Starting cloudmonitor...
    Waiting for cloudmonitor...............................................................................................................
    WARNING: cloudmonitor may have failed to start.

    查看日志发现

    DEBUG  | wrapperp | 2017/03/11 16:55:25 | Closing backend socket.
    STATUS | wrapper  | 2017/03/11 16:55:25 | JVM process is gone.
    DEBUG  | wrapper  | 2017/03/11 16:55:25 | JVM process exited with a code of 1, setting the wrapper exit code to 1.
    STATUS | wrapper  | 2017/03/11 16:55:25 | JVM exited after being requested to terminate.
    STATUS | wrapper  | 2017/03/11 16:55:25 | <-- Wrapper Stopped
    ERROR  | wrapper  | 2017/07/31 14:26:04 | 922 pid file, /usr/local/cloudmonitor/wrapper/bin/./cloudmonitor.pid, already exists.
    FATAL  | wrapper  | 2017/07/31 14:26:04 | ERROR: Could not write pid file /usr/local/cloudmonitor/wrapper/bin/./cloudmonitor.pid: Inval
    ERROR  | wrapper  | 2017/08/02 08:43:31 | 916 pid file, /usr/local/cloudmonitor/wrapper/bin/./cloudmonitor.pid, already exists.
    FATAL  | wrapper  | 2017/08/02 08:43:31 | ERROR: Could not write pid file /usr/local/cloudmonitor/wrapper/bin/./cloudmonitor.pid: Inval
    ERROR  | wrapper  | 2017/08/02 15:04:40 | 910 pid file, /usr/local/cloudmonitor/wrapper/bin/./cloudmonitor.pid, already exists.

    解决方法:

    原因是pid已存在,无法创建新的pid。删除旧的pid,重启此服务就好了

  • 相关阅读:
    记录优雅的pythonic代码
    记录python学习过程中的一些小心得
    关于理解python类的小题
    CSS3之属性选择器
    CSS3之初始
    HTML5+CSS3之离线web应用
    HTML5+CSS3之响应式视频以及iFrame下插入响应式视频的解决方案
    HTML5+CSS3之播放视频以及在IE8及以下的解决方案
    HTML5+CSS3响应式设计(二)
    HTML5+CSS3响应式设计(一)
  • 原文地址:https://www.cnblogs.com/syavingcs/p/7326418.html
Copyright © 2020-2023  润新知