NetXMS Support Forum

Please login or register.

Login with username, password and session length

Author Topic: Unable to Start Netxms Server  (Read 297 times)

clifford

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
Unable to Start Netxms Server
« 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.



Logged

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 6533
    • View Profile
Re: Unable to Start Netxms Server
« Reply #1 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
Logged

clifford

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
Re: Unable to Start Netxms Server
« Reply #2 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
Logged

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 6533
    • View Profile
Re: Unable to Start Netxms Server
« Reply #3 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


Logged

clifford

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
Re: Unable to Start Netxms Server
« Reply #4 on: March 04, 2019, 02:00:16 pm »

Thanks Victor

That Worked

Regards
Clifford Dsouza
Logged

clifford

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
Re: Unable to Start Netxms Server
« Reply #5 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
Logged

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 6533
    • View Profile
Re: Unable to Start Netxms Server
« Reply #6 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
Logged