Cron quotacheck
Cron quotacheck
When manually running cron it returns:
executing /etc/cron.daily/quotacheck
/etc/cron.daily/quotacheck:
run-parts: failed to exec /etc/cron.daily/quotacheck: Exec format error
run-parts: /etc/cron.daily/quotacheck exited with return code 1
Adding t#!/bin/sh to /etc/cron.daily/quotacheck solved this part.
Next it retuns this:
quotacheck: Quota for users is enabled on mountpoint / so quotacheck might damage the file.
Please turn quotas off or use -f to force checking.
run-parts: /etc/cron.daily/quotacheck exited with return code 6
Is there any harm in adding the -f parameter?
executing /etc/cron.daily/quotacheck
/etc/cron.daily/quotacheck:
run-parts: failed to exec /etc/cron.daily/quotacheck: Exec format error
run-parts: /etc/cron.daily/quotacheck exited with return code 1
Adding t#!/bin/sh to /etc/cron.daily/quotacheck solved this part.
Next it retuns this:
quotacheck: Quota for users is enabled on mountpoint / so quotacheck might damage the file.
Please turn quotas off or use -f to force checking.
run-parts: /etc/cron.daily/quotacheck exited with return code 6
Is there any harm in adding the -f parameter?
Re: Cron quotacheck
viewtopic.php?f=10&t=10007Fortron wrote: quotacheck: Quota for users is enabled on mountpoint / so quotacheck might damage the file.
Please turn quotas off or use -f to force checking.
run-parts: /etc/cron.daily/quotacheck exited with return code 6
It can be.Fortron wrote:Is there any harm in adding the -f parameter?
Re: Cron quotacheck
I'm also curious at why /etc/cron.daily/quotacheck is running quotacheck -um / everyday and sending a error email..
running it from the command line produces that warning quotacheck: Quota for users is enabled on mountpoint / so quotacheck might damage the file.Please turn quotas off or use -f to force checking., so why do we need the cron running if we already know quotas are on, am i missing the point of the email.
Code: Select all
/etc/cron.daily/quotacheck:
run-parts: failed to exec /etc/cron.daily/quotacheck: Exec format error
run-parts: /etc/cron.daily/quotacheck exited with return code 1