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

Cron Error Cron <root@mydomain> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
pramathesh
Posts: 12
Joined: Mon May 01, 2017 8:38 am

Cron Error Cron <root@mydomain> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
  • Quote

Post by pramathesh » Sat Oct 21, 2017 1:14 pm

I'm getting this as an email daily at 6.25 my time. The message body is run-parts: /etc/cron.daily/ntpdate exited with return code 1

I can only send mails but no mails are being received. Can someone help resolve this, please?
Top

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

Os: Debian 8x
Web: apache + nginx
Re: Cron Error Cron <root@mydomain> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
  • Quote

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

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

Works to me!

Reply found in post: viewtopic.php?f=10&t=10007&p=54577&hili ... ate#p54577
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Server”



  • 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