Unable to Start Netxms Server

Started by clifford, March 01, 2019, 09:10:29 AM

Previous topic - Next topic

clifford

Hi
We have upgraded Netxms Server from version 2.2.9 to 2.2.12.
Server was working fine till today but now Server is not starting. We have attached logs and Crash Dump attached below.

Server OS is Centos 7.

Thanks.




Victor Kirhenshtein

Hi,

this is a bug in delayed action execution. As temporary workaround you can find and delete in database scheduled tasks of type "Execute.Action". You can find them using the following query:

SELECT * FROM scheduled_tasks WHERE taskid='Execute.Action';

We will provide fix soon.

Best regards,
Victor

clifford

Hi Victor,

I have found output as mentioned below, Kindly suggest.

MariaDB [netxms]> SELECT * FROM scheduled_tasks WHERE taskid='Execute.Action';
+-----+----------------+----------+---------------------------------+----------------+---------------------+-------+-------+-----------+----------------------------------------------+----------+
| id  | taskId         | schedule | params                          | execution_time | last_execution_time | flags | owner | object_id | comments                                     | task_key |
+-----+----------------+----------+---------------------------------+----------------+---------------------+-------+-------+-----------+----------------------------------------------+----------+
| 161 | Execute.Action |          | action=4;event=27072333;alarm=0 |     1551441959 |                   0 |     8 |     0 |   2746274 | Delayed action execution for event SYS_IF_UP |          |
| 162 | Execute.Action |          | action=4;event=27072335;alarm=0 |     1551441959 |                   0 |     8 |     0 |   2746274 | Delayed action execution for event SYS_IF_UP |          |
| 163 | Execute.Action |          | action=4;event=27072336;alarm=0 |     1551441959 |                   0 |     8 |     0 |   2746274 | Delayed action execution for event SYS_IF_UP |          |
+-----+----------------+----------+---------------------------------+----------------+---------------------+-------+-------+-----------+----------------------------------------------+----------+
3 rows in set (0.00 sec)



Thank you

Victor Kirhenshtein

Hi,

try to delete them from database (can do that with query DELETE FROM scheduled_tasks WHERE taskid='Execute.Action';)

Best regards,
Victor



clifford

Thanks Victor

That Worked

Regards
Clifford Dsouza

clifford

Hi Victor

Has the bug "delayed action execution" been addressed in 2.2.13

I'm currently using 2.2.12 and my server crashes quite often, it only starts after i manually delete the tasks from the database. will the upgrade solve the issue

Regards

Clifford Dsouza

Victor Kirhenshtein

Hi,

yes, it was fixed in 2.2.13. We also plan release 2.2.14 next week.

Best regards,
Victor