linux - System time and file system time are not the same -


i met strange problem on 1 cluster 10 nodes.

on node, file operation makes access/modification/change time of file in future 1min52s after current system time obtained date. makes make command cannot work correctly.

following command tested: touch x, echo 123456 > x, using utimes(x,null) , utime(x,null) c program. of them can reproduce problem.

is there anyway solve problem? thanks.

the usual way address synchronize clocks on of machines common time reference using ntp (usually reliable time server). the ntp faq , howto place start.

for linux servers, installing ntp package takes halfway. may need customize configuration file (usually /etc/ntp.conf), enable service ntpd (the ntp daemon).


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -