XORMON failes to start from systemctl
System setup:
[root@ant-nagios httpd]# cat /etc/redhat-release
[root@ant-nagios httpd]# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
[root@ant-nagios httpd]# rpm -qa|grep xormon
xormon-1.0.0-1.noarch
lpar2rrd 7.10
stor2rrd 7.10
Start from systemctl and initlal status is fine then about 90 seconds later it quits.
Mar 11 09:48:27 ant-nagios systemd: Started XorMon webapp.
Mar 11 09:48:28 ant-nagios java: __ __
Mar 11 09:48:28 ant-nagios java: \ \ / /
Mar 11 09:48:28 ant-nagios java: \ V / ___ _ __ _ __ ___ ___ _ __
Mar 11 09:48:28 ant-nagios java: > < / _ \ | '__| | '_ ` _ \ / _ \ | '_ \
Mar 11 09:48:28 ant-nagios java: / . \ | (_) | | | | | | | | | | (_) | | | | |
Mar 11 09:48:28 ant-nagios java: /_/ \_\ \___/ |_| |_| |_| |_| \___/ |_| |_|
Mar 11 09:48:28 ant-nagios java: (vangular)
Mar 11 09:48:28 ant-nagios java: :: Spring Boot :: (v2.2.13.RELEASE)
Mar 11 09:48:31 ant-nagios influxd: [httpd] ::1 - admin [11/Mar/2021:09:48:31 -0500] "POST /write?db=njmon HTTP/1.1" 204 0 "-" "python-requests/2.22.0" d9291b17-8278-11eb-8e85-0050569d75a6 3995
Mar 11 09:48:33 ant-nagios influxd: [httpd] ::1 - admin [11/Mar/2021:09:48:32 -0500] "POST /write?db=njmon HTTP/1.1" 204 0 "-" "python-requests/2.22.0" d9fe903a-8278-11eb-8e86-0050569d75a6 4169
Mar 11 09:48:33 ant-nagios influxd: [httpd] ::1 - admin [11/Mar/2021:09:48:33 -0500] "POST /write?db=njmon HTTP/1.1" 204 0 "-" "python-requests/2.22.0" da55e7d0-8278-11eb-8e87-0050569d75a6 4878
Mar 11 09:48:34 ant-nagios systemd: xormon.service: main process exited, code=exited, status=1/FAILURE
Mar 11 09:48:34 ant-nagios systemd: Unit xormon.service entered failed state.
Mar 11 09:48:34 ant-nagios systemd: xormon.service failed.
Kinda stumped as the beta ran on this system until I stopped it a be ago.
If I run the command as root (the one from the service file) it runs fine. If I kick over to lpar2rrd and run the command then it acts in the same way. Not sure that I want to leave it running as a service as root but any thoughts would be appreciated.
Matthew
Comments
-
you can try to delete xormon db in <xormon_user_home>/xormon-data/db as you are upgrading from beta or show us log in xormon-data/logs/xormon.log to see more
-
So that worked!! thanks. Now on to the other issue that I have but I will open another Discussion item about that.
Howdy, Stranger!
Categories
- 1.6K All Categories
- 41 XORMON NG
- 25 XORMON
- 149 LPAR2RRD
- 13 VMware
- 16 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 6 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 122 STOR2RRD
- 19 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 12 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 1 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle