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
  • Search

File System Quota

General questions about VestaCP
Post Reply
  • Print view
Advanced search
19 posts
  • Previous
  • 1
  • 2
skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: File System Quota
  • Quote

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

Felix wrote:But how do I check it is working in Vesta?
Report on all users over quota limits:

Code: Select all

quota -q
Quota summary report:

Code: Select all

repquota -a
Top

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

Re: File System Quota
  • Quote

Post by jonn » Sun Feb 07, 2016 9:07 pm

@skurudo

So does getting this in the cron.daily email mean the cp is not checking user quotas...

Code: Select all

run-parts: /etc/cron.daily/ntpdate exited with return code 1
/etc/cron.daily/quotacheck:
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
and on another server it sends this email and quotas are also enabled...

Code: Select all

run-parts: /etc/cron.daily/ntpdate exited with return code 1
/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
Top

chazm
Posts: 2
Joined: Sun Oct 19, 2014 9:25 am

Re: File System Quota
  • Quote

Post by chazm » Wed Aug 03, 2016 5:03 am

Hi there, I am getting email with the error everyday:

Sibject: test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
Message: run-parts: /etc/cron.daily/ntpdate exited with return code 1

I've got #!/bin/sh in the /etc/cron.daily/ntpdate script, not sure why it's happening.

Ubuntu 14.04. I've got same setup on other VPS hosting provider and it's not sending this error message. Is it related to the OS ISO?

Regards,

Alex.
Top

dpeca
VestaCP Team
Posts: 473
Joined: Wed Nov 25, 2015 7:30 pm

Re: File System Quota
  • Quote

Post by dpeca » Wed Aug 03, 2016 11:38 am

jonn wrote:

Code: Select all

run-parts: /etc/cron.daily/ntpdate exited with return code 1
/etc/cron.daily/quotacheck:
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

Code: Select all

run-parts: /etc/cron.daily/ntpdate exited with return code 1
/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
it's a bug.
if nobody reported it on https://bugs.vestacp.com/projects/vesta ... nel/issues then someone should report it.
I have the same issue on normal dedicated server (not a VPS), on Debian 8.
Top

mephivio
Posts: 198
Joined: Thu Mar 27, 2014 7:35 am

Os: Debian 8x
Web: nginx + php-fpm
Re: File System Quota
  • Quote

Post by mephivio » Tue Oct 04, 2016 6:37 am

i have the same error on Debian 8 : any soluce ?
Top

dpeca
VestaCP Team
Posts: 473
Joined: Wed Nov 25, 2015 7:30 pm

Re: File System Quota
  • Quote

Post by dpeca » Wed Oct 05, 2016 3:42 pm

I just commented quotacheck line in /etc/cron.daily/quotacheck

This way:

Code: Select all

#!/bin/sh
# quotacheck -um /
But I believe this is not a fix... this is just skipping quotacheck :/
Top

Leon99
Posts: 21
Joined: Wed Jun 15, 2016 4:36 pm

Re: File System Quota
  • Quote

Post by Leon99 » Sun Dec 18, 2016 9:15 am

Что бы исправить ошибку run-parts: /etc/cron.daily/ntpdate exited with return code 1
В ntpdate замените -s на -u
PS: скорее всего эта ошибка возникает из за того что по какой-то причине закрыт UDP порт 123
команда -u позволяет использовать другой ( а не конкретно 123) порт.
Top

Mr.Erbutw
Posts: 1040
Joined: Tue Apr 29, 2014 10:05 pm

Os: CentOS 6x
Web: apache + nginx
Re: File System Quota
  • Quote

Post by Mr.Erbutw » Sun Dec 18, 2016 10:09 am

Leon99 wrote:Что бы исправить ошибку run-parts: /etc/cron.daily/ntpdate exited with return code 1
В ntpdate замените -s на -u
PS: скорее всего эта ошибка возникает из за того что по какой-то причине закрыт UDP порт 123
команда -u позволяет использовать другой ( а не конкретно 123) порт.
Russian discussion in another topic
(Русская дискуссия совсем в другом топике) viewforum.php?f=27
Top

tkramer
Posts: 7
Joined: Thu Feb 15, 2018 12:28 pm

Os: Debian 8x
Web: apache + nginx
Re: File System Quota
  • Quote

Post by tkramer » Thu Mar 22, 2018 12:46 pm

Leon99 wrote: ↑
Sun Dec 18, 2016 9:15 am
Что бы исправить ошибку run-parts: /etc/cron.daily/ntpdate exited with return code 1
В ntpdate замените -s на -u
PS: скорее всего эта ошибка возникает из за того что по какой-то причине закрыт UDP порт 123
команда -u позволяет использовать другой ( а не конкретно 123) порт.
Thanks Leon99! Works!

translated message:
To fix the run-parts error: /etc/cron.daily/ntpdate exited with return code 1
In ntpdate, replace -s with -u
PS: most likely this error arises from the fact that for some reason the UDP port 123 is closed
the -u command allows you to use a different port (not 123 in particular).
Top


Post Reply
  • Print view

19 posts
  • Previous
  • 1
  • 2

Return to “General Discussion”



  • 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