Versions Compared

Key

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


Info

A broken Cron resulted in wrong group ownerships. The problem is fixed with Werk #9390 and firmware version 1.4.8.

Status
colourGreen
titleLAST TESTED ON FIRMWARE 1.4.8


Panel
borderColorblack
bgColor#f8f8f8
titleTable of Contents

Table of Contents

Problem

Previous firmware versions contained an error that resulted in wrong group ownerships for e.g. /var/spool/cron/crontab. This resulted in broken cron handling and failing clusterscould result in the error below.

Code Block
languagebash
themeRDark
Cannot execute omd command omd start tkdsmysite: Creating temporary filesystem /omd/sites/tkdsmysite/tmp...Starting mkeventd...OK
Starting liveproxyd...OK
Starting mknotifyd...OK
Starting rrdcached...OK
Starting cmc...OK
Starting apache...OK
Starting dcd...OK
Starting stunnel...OK
Starting xinetd...OK
Initializing Crontab.../var/spool/cron/: mkstemp: Permission denied
close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr
ERROR
OK

To solve this problem run the following commands:


...

linenumberstrue

...

Solution

Info

The problem issue is fixed with Werk #9390 from the and firmware version 1.4.98 and above. This will not happen after on a fresh installation with firmware 1.4.8 or above.

If you do performed a firmware update from < to 1.4.9 7 or earlier, you may run into this problemissue. If In this happens case, you need to change the group permissions of cron. From that point it will never happen again.After applying the fix below, this issue will not resurface.


To solve this problem, run the following commands:

Code Block
languagebash
themeRDark
root@cma~# chgrp crontab /var/spool/cron/crontab


Code Block
languagebash
themeRDark
root@cma~# dpkg-reconfigure cron


Filter by label (Content by label)
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ( "firmware_1_4_8" , "cron" , "appliance" , "firmware_1_4_9" ) and type = "page" and space = "KB"
labelscron appliance firmware_1_4_8 firmware_1_4_9

...