Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Import Macro Repair


Info

Broken Cron resulting in wrong group ownerships. The problem is fixed with Werk #9390 from the firmware version 1.4.9.

Status
colourGreen
titleLAST TESTED ON Appliance 1.4.9

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 clusters.

Code Block
languagebash
themeRDark
Cannot execute omd command omd start tkds: Creating temporary filesystem /omd/sites/tkds/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


Solution

To solve this problem, run the following commands:

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


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


Info

The problem is fixed with Werk #9390 from the firmware version 1.4.9. This will not happen after a fresh installation. 

If you do a firmware update from < 1.4.9, you may run into this problem. If this happens, you need to change the group permissions of cron. From that point, it will never happen again.

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

Page Properties
hiddentrue


Related issues