crontab_setgid: you're not in /etc/cron.allow #1451
-
|
Hello, I am trying to install Naemon, which includes Thruk. Unfortunately, the installation of Thruk keeps failing. Please see error log. Thruk have been configured for xxxxxx.
The default user is 'thrukadmin' with password 'thrukadmin'. You can usually change that by 'htpasswd /etc/thruk/htpasswd thrukadmin'
[ERROR] cron_post_edit_cmd (/usr/bin/crontab /var/cache/thruk/thruk_cron.tmp && rm -f /var/cache/thruk/thruk_cron.tmp 2>>/var/lib/thruk/cron.log) exited with value 1: crontab_setgid: you're not in /etc/cron.allow |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
Thruk wants to create crontab entries. If you have some hardened linux, you need to make sure the thruk user (ex. apache) is allowed to do so. |
Beta Was this translation helpful? Give feedback.
-
|
Moved it to discussions. I don't think this is a thruk issue. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks @sni for your help. I've already run the following command, but the installation still fails. echo 'thruk' | sudo tee -a /etc/cron.allow
chmod 640 /etc/cron.allow |
Beta Was this translation helpful? Give feedback.
Fixed issue by adding
www-datato /etc/cron.allow