Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Problem

If you face this problem while acitvating changes:

Started at: 15:13:30. Finished at: 15:13:35.
Error running automation call restart (exit code 1),
Panel
bgColor#fff
Info
error: An error occurred: Other restart currently in progress. Aborting.

Table of Contents

Problem

If you face this problem while activating changes:

Image Added

Solution

Check the web.log, there should be something like this to be found also:

panel
Code Block
language
bash
bgColortheme#fffRDark
022-02-23 15:13:35,705 [30] [cmk.web.automations 7098] 'check_mk --automation restart' returned 'An error occurred: Other restart currently in progress. Aborting.
2022-02-23 15:13:35,705 [40] [cmk.web.automations 7098] Error running 'check_mk --automation restart' (exit code 1)
2022-02-23 15:13:35,706 [40] [cmk.web.site[<sitename>] 7098] error activating changes
Traceback (most recent call last):
File "/omd/sites/monimysite/lib/python3/cmk/gui/watolib/activate_changes.py", line 1388, in _do_run
configuration_warnings = self._do_activate()
File "/omd/sites/monimysite/lib/python3/cmk/gui/watolib/activate_changes.py", line 1651, in _do_activate
configuration_warnings = self._call_activate_changes_automation()
File "/omd/sites/monimysite/lib/python3/cmk/gui/watolib/activate_changes.py", line 1661, in _call_activate_changes_automation
return execute_activate_changes(domains)
File "/omd/sites/monimysite/lib/python3/cmk/gui/watolib/activate_changes.py", line 1792, in execute_activate_changes
warnings = domain_class().activate()
File "/omd/sites/monimysite/lib/python3/cmk/gui/watolib/config_domains.py", line 60, in activate
return check_mk_local_automation(config.wato_activation_method)
File "/omd/sites/monimysite/lib/python3/cmk/gui/watolib/automations.py", line 143, in check_mk_local_automation
raise _local_automation_failure(command=command,
cmk.utils.exceptions.MKGeneralException: Error running automation call <tt>restart</tt> (exit code 1), error: <pre>An error occurred: Other restart currently in progress. Aborting.

...

Log on via SSH and become site user. Then do (one step after another):

...

bgColor#fff

...

  • Stop the site
Code Block
languagebash
themeRDark
OMD[mysite]:~$ omd stop


  • Reload the config
Code Block
languagebash
themeRDark
OMD[mysite]:~$ cmk -O


  • Start the site again
Code Block
languagebash
themeRDark
OMD[mysite]:~$ omd start


Filter by label (Content by label)
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("troubleshooting","activate_changes") and type = "page" and space = "KB"
labelstroubleshooting activate_changes

...

Page Properties
hiddentrue


Related issues