1
response

Hello,

I have this problem on the servers of one of my clients: nxlog receives a termination signal many times a day, and it closes. Then it restarts, sometimes instantly, other times after a random amount of time.
I can't identify the source of the signal, but this happens only on the servers of one of my clients. On the Windows eventviewer only show that nxlog service has stopped and then restarted.
I tried updating from 2.9.1716 to 3.0.2272, but this behaviour didn't change.

This is what I see in the nxlog.log everyday:
2022-02-07 00:25:12 WARNING stopping nxlog service
2022-02-07 00:25:12 WARNING nxlog-ce received a termination request signal, exiting...
2022-02-07 00:26:12 INFO nxlog-ce-3.0.2272 started
2022-02-07 01:59:14 WARNING stopping nxlog service
2022-02-07 01:59:14 WARNING nxlog-ce received a termination request signal, exiting...
2022-02-07 02:00:14 INFO nxlog-ce-3.0.2272 started
2022-02-07 03:49:15 WARNING stopping nxlog service
2022-02-07 03:49:15 WARNING nxlog-ce received a termination request signal, exiting...
2022-02-07 03:50:16 INFO nxlog-ce-3.0.2272 started
2022-02-07 05:42:17 WARNING stopping nxlog service
2022-02-07 05:42:17 WARNING nxlog-ce received a termination request signal, exiting...
2022-02-07 05:43:17 INFO nxlog-ce-3.0.2272 started
2022-02-07 07:34:18 WARNING stopping nxlog service
2022-02-07 07:34:18 WARNING nxlog-ce received a termination request signal, exiting...
2022-02-07 09:24:20 INFO nxlog-ce-3.0.2272 started

The last time it stopped this morning, it stayed off around 2 hours. I think it's the Windows service control that restarts it, but sometimes it fails or get delayed somehow, but I can't prove it: there's nothing on the windows logs apart from the service start/stop notice.

I searched the forums and see others have this problem, but cannot find a real solution or hint on where to search.

AskedFebruary 7, 2022 - 9:59am

Answer (1)

I tried installing the trial version but it seems it keeps restarting somehow:
2022-02-11 10:59:16 INFO [CORE|main] nxlog-5.4.7313-trial started on Windows
2022-02-11 10:59:16 INFO [om_udp|out] connecting to XXX.XXX.XXX.XXX:514
2022-02-11 10:59:16 INFO [om_udp|out] successfully connected to XXX.XXX.XXX.XXX:514
2022-02-11 12:44:17 WARNING [CORE|main] stopping nxlog service
2022-02-11 12:44:17 WARNING [CORE|main] nxlog received a termination request signal, exiting...
2022-02-11 12:44:18 INFO [CORE|main] nxlog-5.4.7313-trial started on Windows
2022-02-11 12:44:18 INFO [om_udp|out] connecting to XXX.XXX.XXX.XXX:514
2022-02-11 12:44:18 INFO [om_udp|out] successfully connected to XXX.XXX.XXX.XXX:514
2022-02-11 14:35:20 WARNING [CORE|main] stopping nxlog service
2022-02-11 14:35:20 WARNING [CORE|main] nxlog received a termination request signal, exiting...
2022-02-11 14:35:21 INFO [CORE|main] nxlog-5.4.7313-trial started on Windows
2022-02-11 14:35:21 INFO [om_udp|out] connecting to XXX.XXX.XXX.XXX:514
2022-02-11 14:35:21 INFO [om_udp|out] successfully connected to XXX.XXX.XXX.XXX:514
2022-02-11 16:31:22 WARNING [CORE|main] stopping nxlog service
2022-02-11 16:31:22 WARNING [CORE|main] nxlog received a termination request signal, exiting...
2022-02-11 16:31:23 INFO [CORE|main] nxlog-5.4.7313-trial started on Windows
2022-02-11 16:31:23 INFO [om_udp|out] connecting to XXX.XXX.XXX.XXX:514
2022-02-11 16:31:23 INFO [om_udp|out] successfully connected to XXX.XXX.XXX.XXX:514