LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-08-2009, 07:21 AM   #1
tatacalu
LQ Newbie
 
Registered: Apr 2006
Posts: 25

Rep: Reputation: Disabled
File change notification every time I write to a network drive


Hello!

I have a relatively common problem, but I don't seem to identify it's source.
I have a SAMBA server on my LAN to which there are mapped a few shares as network drives in windows xp (as Y and mounted as CIFS in linux [as /y].

The problem is that every time I save a file [either windows xp or linux] on the mapped drive / mounted folder, our IDEs alert us that the file changes right after the save.

I am running SAMBA 3.3.2.

Does anyone please have any idea ?
 
Old 09-09-2009, 08:26 AM   #2
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
I'd guess you have clock skew between your machines and your server.
 
Old 09-09-2009, 08:41 AM   #3
tatacalu
LQ Newbie
 
Registered: Apr 2006
Posts: 25

Original Poster
Rep: Reputation: Disabled
NTP?

THANK YOU SO MUCH !!!!

I would have never thought about that, you are a lifesaver!

I opened the services GUI and I saw that on the client machine the ntpd wasn't started.

I also saw that there are 2 services:
ntpd => /etc/init.d/ntpd
ntpdate => /etc/init.d/ntpdate

Can anybody tell me what is the difference between them ? [or maybe point me to a link where that is explained?]
As far as i know, ntpd is the NTP daemon, so ntpdate is.... another daemon ?

Thank you again !!!
 
Old 09-09-2009, 08:48 AM   #4
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
ntpdate is for one-shot updates to your clock, generally run before starting ntpd since ntpd doesn't keep a clock in sync if it is already outside its acceptable differential. You can also run ntpdate manually doing something like ntpdate -u name.or.ip.of.ntp_server
 
Old 09-09-2009, 08:51 AM   #5
tatacalu
LQ Newbie
 
Registered: Apr 2006
Posts: 25

Original Poster
Rep: Reputation: Disabled
ok, I knew taht you could manually call ntpdate to keep the clock in sync, but what I don't understand is why there is a daemon [service] ntpdate... if it is used for one-shot updates.
 
Old 09-09-2009, 12:12 PM   #6
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
On your system it probably has a service entry so that your clock gets in sync before the ntp daemon is started.
 
  


Reply

Tags
samba



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba V3 - File Change Notification not working David_Campen Linux - Networking 0 10-24-2006 11:03 AM
Can't write to network file... Caballero Linux - Networking 6 06-21-2006 12:49 PM
LQ: Email-notification deactivates from time to time meldar LQ Suggestions & Feedback 2 03-14-2004 03:30 PM
need multiple users to have read/write access to a Quickbooks file at the same time. rbelknap Linux - Security 2 10-14-2003 10:52 PM
Network Issue - Must change IP every time TotalNoob Linux - Networking 6 03-21-2003 02:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration