Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

strange file behavior

Status
Not open for further replies.

Headmaster

Technical User
Nov 27, 2002
79
US
Hi,
We are using SuSE PRO 8.1 and Samba 2.2.5. Have something very strange happening.

We copy data from our remote office to this office. It get's copied to our Samba server. When it gets here, our accountant has to run some reports so that he can 'pay the bills.'

He will log in to our software (custom software, runs on XP PRO), and run the report 2 or 3 times, and the reports will appear to be running off of the data from the previous day. Then all of the sudden, the report will run with the new data. It's like the data is getting cached but not written to the server until he finally 'shakes it loose'.

I've done a little bit of research and saw something about bdflush. Is that something I need to run(or something newer). Has anyone had this problem before? If somebody could shed some light on this, I'd be happy. Kind of creates a headache for me everyday!

TIA,
Scottm

Here's my config. The server is configured to as a PDC, but we are still just running peer-to-peer:

[global]
workgroup = DIVERSIFIEDTECH
netbios name = DIVERSIFIEDSERV
encrypt passwords = Yes
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
printcap name = CUPS
character set = ISO8859-15
os level = 64
preferred master = True
domain master = True
dns proxy = No
wins support = Yes
create mask = 0775
force create mode = 0775
force security mode = 0775
directory mask = 0775
force directory mode = 0775
force directory security mode = 0775
force unknown acl user = 0775
printing = cups
veto files = /*.nws/riched20.dll/*.{*}/

[scottm]
comment = Scott's home
path = /home/scottm
read only = No
guest ok = Yes


rest of the SHARES....
 
I suspect that the file is in use by some application at the time the new file is copied. This can lead to very strange behavior if the cached file is 'covered up' while still in use. Use 'fuser' to see if the file is open by any application before copying the new file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top