-
Notifications
You must be signed in to change notification settings - Fork 31
Description
Hi,
We have observed that starting lmd service getting failed when we start with omd start lmd command.
Please find below logs from /omd/sites/frontend/var/log/lmd.log
[WARN] lmd failed to start, you may find details in the lmd.log or in /omd/sites/frontend/tmp/thruk/lmd/startup.log
FAILED - starting lmd failed
sh: -c: line 1: syntax error near unexpected token (' sh: -c: line 1: lmd -pidfile /omd/sites/frontend/tmp/thruk/lmd/pid -config "/omd/sites/frontend/tmp/thruk/lmd/lmd.ini" -config "/omd/sites/frontend/etc/thruk/lmd.ini" ARRAY(0x559493705e68) >/omd/sites/frontend/tmp/thruk/lmd/startup.log 2>&1 &'
Note: /omd/sites/frontend/tmp/thruk/lmd/startup.log file is empty
When we run lmd with below command line it is working
lmd -pidfile /omd/sites/frontend/tmp/thruk/lmd/pid -config "/omd/sites/frontend/tmp/thruk/lmd/lmd.ini" -config "/omd/sites/frontend/etc/thruk/lmd.ini"
Please find below entries from lmd.log
[2025-02-21 19:46:36.801][Warn][pid:12242][peer:335] [sample] initializing objects failed: connection error dial unix /omd/sites/sample/tmp/run/live: connect: no such file or directory: dial unix /omd/sites/sample/tmp/run/live: connect: no such file or directory
OK - lmd started
[2025-02-21 19:54:14.519][Warn][pid:33221][peer:335] [sample] initializing objects failed: connection error dial unix /omd/sites/sample/tmp/run/live: connect: no such file or directory: dial unix /omd/sites/sample/tmp/run/live: connect: no such file or directory
OK - lmd started
[2025-02-22 03:20:52.460][Warn][pid:968959][peer:335] [sample] initializing objects failed: connection error dial unix /omd/sites/sample/tmp/run/live: connect: no such file or directory: dial unix /omd/sites/sample/tmp/run/live: connect: no such file or directory
OK - lmd started
[2025-02-22 03:44:53.401][Warn][pid:968959][client_con:194] [@->/omd/sites/sample/tmp/thruk/lmd/live.sock][r:5c6dfa] huge query finished after 2.13933365s, response size: 106.2MiB
GET log
ResponseHeader: fixed16
OutputFormat: json
Columns: class time type state host_name service_description plugin_output message options state_type contact_name peer_key
Backends: ed635
Filter: time >= 1740006000
Filter: time < 1740265200
Kindly advice what we are missing when we start lmd with omd start lmd command.