码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2017-08-09 17:26:23      阅读:460      评论:0      收藏:0      [点我收藏+]

标签:客户端   启动   warning   class   monit   阿里   monitor   exit   style   

如图报如下错误

[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,重启此服务就好了

 

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

标签:客户端   启动   warning   class   monit   阿里   monitor   exit   style   

原文地址:http://www.cnblogs.com/syaving/p/7326418.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!