首页 > 代码库 > 阿里云监控客户端无法启动
阿里云监控客户端无法启动
如图报如下错误
[root@004 ~]# /etc/init.d/cloudmonitor startStarting 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 StoppedERROR | 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: InvalERROR | 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: InvalERROR | wrapper | 2017/08/02 15:04:40 | 910 pid file, /usr/local/cloudmonitor/wrapper/bin/./cloudmonitor.pid, already exists.
解决方法:
原因是pid已存在,无法创建新的pid。删除旧的pid,重启此服务就好了
阿里云监控客户端无法启动
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。