XORMON failes to start from systemctl

System setup:

[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. 


Sign In or Register to comment.