Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion Debian/Ubuntu
  • Search

Cron quotacheck

Debian/Ubuntu related topics
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
Fortron
Posts: 10
Joined: Tue Oct 27, 2015 5:10 pm

Cron quotacheck
  • Quote

Post by Fortron » Mon Nov 30, 2015 8:15 am

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?
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Cron quotacheck
  • Quote

Post by skurudo » Thu Jan 21, 2016 8:23 am

Fortron 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
viewtopic.php?f=10&t=10007
Fortron wrote:Is there any harm in adding the -f parameter?
It can be.
Top

jonn
Posts: 72
Joined: Sun Jun 08, 2014 12:18 pm

Re: Cron quotacheck
  • Quote

Post by jonn » Sat Feb 06, 2016 11:52 pm

I'm also curious at why /etc/cron.daily/quotacheck is running quotacheck -um / everyday and sending a error 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
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.
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Debian/Ubuntu”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password