NetXMS Support Forum

English Support => General Support => Topic started by: clifford on March 01, 2019, 09:10:29 AM

Title: Unable to Start Netxms Server
Post by: clifford on March 01, 2019, 09:10:29 AM
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.



Title: Re: Unable to Start Netxms Server
Post by: Victor Kirhenshtein on March 01, 2019, 01:03:36 PM
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
Title: Re: Unable to Start Netxms Server
Post by: clifford on March 04, 2019, 06:34:24 AM
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
Title: Re: Unable to Start Netxms Server
Post by: Victor Kirhenshtein on March 04, 2019, 11:01:31 AM
Hi,

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

Best regards,
Victor


Title: Re: Unable to Start Netxms Server
Post by: clifford on March 04, 2019, 02:00:16 PM
Thanks Victor

That Worked

Regards
Clifford Dsouza
Title: Re: Unable to Start Netxms Server
Post by: clifford on April 22, 2019, 02:26:49 PM
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
Title: Re: Unable to Start Netxms Server
Post by: Victor Kirhenshtein on April 25, 2019, 10:30:18 AM
Hi,

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

Best regards,
Victor