Page 1 of 3

sync problem between window 7 and linux

Posted: 2011/10/13 12:11:26
by cnt123
hi..iam working on a file server (samba server) which is on centos 5.4.client pc is window xp and 7
both...My document of windows7/xp are mapped with linux server.so data they save in my document is getting saved in home of user's in linux server or in shared directory of user in linux.

by changing the location in side property of My document.....Both user has same name and password in both server as well as their own pc..

so only authorized user can only access the share of linux.other use cannot..And Sync is Enable.

Now the is problem occurred with in few days...in windows 7 user's pc what ever data they saved in Mydocument,

if now we update the any doc or excel file,file in linux server is not getting save properly.in place of update file a 2SD51DF.tmp file is created in server.and in Mydocument it is updated...

some times sync show disconnected.but when connected it get sync but with error of conflict........

Iam not getting sync file..what is the solution....plz help me

sync problem between window 7 and linux

Posted: 2011/10/13 17:55:26
by pschaff
If you really mean the seriously obsolete CentOS-5.4 then I don't understand how Samba is working for Windows 7 at all. My understanding it that it requires samba3x which did not appear until [url=http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.5]CentOS-5.5[/url]. Have you checked the Samba logs and /var/log/messages for clues?

Please update to the current release [url=http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.7]CentOS-5.7[/url]. If the problem persists then please [url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=28723&forum=54]provide more information about your system[/url] by running "./getinfo.sh basic" and showing us the output file, as well as[code]rpm -qa samba\*[/code]

Re: sync problem between window 7 and linux

Posted: 2011/10/14 09:21:34
by cnt123
thanks for quick reply...

i wll update centos with latest version as per your suggestion....and i will post the result after that.....

in addition to that one more issue is.....

in my samba server my window client is sucessfully accessing their own shared samba dir of linux..but some time permission of file create some accessing problem...can you please help in regarding grouping and permision..of user...

now iam going to update my centos...

Re: sync problem between window 7 and linux

Posted: 2011/10/14 10:41:01
by cnt123
i check in Add/Remove software ...and searched samba..
it list of samba samba3x is not installed....if i installed in in place of update did it will work? or should i completely update..

Re: sync problem between window 7 and linux

Posted: 2011/10/14 13:18:54
by pschaff
In order to replace samba with samba3x you must first remove the original packages. I'd be prone to first do the update and test. If still having issues then install samba3x. As far as permission problems, in order for us to offer any well-informed advice you need to provide details of how permissions are defined for the directories/files and in the Samba configuration.

Re: sync problem between window 7 and linux

Posted: 2011/10/15 12:15:58
by cnt123
thanks again..

ok now finally i will update os..
and about file permission..scenario are as follows-

finance dept
1. upper level person has all permission on samba shared dir/file of all level person...
2. middle level can only access upper level shared..and have full writes over lover level..
3. lower level can share among all but doesnot have permission to access..it...

and all 3 level are in group.......


one more scenario..

besides of finance dept their are more dept....
so one dept cannot have permisasion to access other dept shared nor can see....means one deept cannot see other dept shared..in sharing...


can u give me this all permission..detail

Re: sync problem between window 7 and linux

Posted: 2011/10/15 13:05:22
by pschaff
We need to see your /etc/samba/smb.conf share definitions and the directory and file permissions as shown by [code]
ls -lsFZd /path/to/dir
ls -lsFZ /path/to/dir[/code]
for the directories in question. Please also, after upgrading, [url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=28723&forum=54]provide more information about your system[/url] by running "./getinfo.sh [b]basic[/b]" and showing us the output file. It might also be useful to see[code]
rpm -qa samba\*[/code]

Re: sync problem between window 7 and linux

Posted: 2011/10/17 04:31:24
by cnt123
smb.conf

workgruop = workgroup
server string = fileserver
host allow = 127. 172.16.
security = share
username map = /etc/samba/smbusers

[user1]

path = /home/user1/ //home dir of user 1..default name.
writable = yes
valid user = user1
veto file = /*.msi/*.exe/*.mp3/*.bat/*.com/*.dll/*.lnk/*.asd/*.shb/*.vb/*.wsf/*.wsh/*.pif/*.scr/*.chm/*.hta/*.shs/*.vbs/*.vbe/*.js/*.jse/*.wmv/*.3gp/*.avi/*.mp4/*.ini/*RECYCLER*/


[user2]
path = /home/user2
wirtable = yes
valid user = user2 user1 user3.. // who can access this shared dir.
veto file = /*.msi/*.exe/*.mp3/*.bat/*.com/*.dll/*.lnk/*.asd/*.shb/*.vb/*.wsf/*.wsh/*.pif/*.scr/*.chm/*.hta/*.shs/*.vbs/*.vbe/*.js/*.jse/*.wmv/*.3gp/*.avi/*.mp4/*.ini/*RECYCLER*/






every thing is working fine in windows xp only issue with windows 7...infact since last 4 month there is no issue with windows 7 also ...its all working fine....but only few days before issu started in windows seven.....

Re: sync problem between window 7 and linux

Posted: 2011/10/17 04:44:54
by cnt123
which command used to upgrade or update with latest version ....is this one is write command..

#yum -y update

any other command to update?

Re: sync problem between window 7 and linux

Posted: 2011/10/17 05:51:28
by cnt123
i run command

#yum update

gives list of package but there is problen in ftp link while opening x86_64 ...i checkd in browser is not opening in browser also...can is update to i386 ..while my installed centos is 64 bit..
so how can i update it to 16 bit....?


---> Package xorg-x11-drv-qxl.x86_64 0:0.0.12-2.el5 set to be updated
http://ftp.iitm.ac.in/centos/5.7/os/x86_64/repodata/filelists.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://centos.01link.hk/5.7/os/x86_64/repodata/filelists.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://mirrors.btte.net/centos/5.7/os/x86_64/repodata/filelists.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://mirror.vietoss.com/CentOS/5.7/os/x86_64/repodata/filelists.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://mirrors.163.com/centos/5.7/os/x86_64/repodata/filelists.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://centos.vr-zone.com/5.7/os/x86_64/repodata/filelists.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://centos.communilink.net/5.7/os/x86_64/repodata/filelists.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://centos.aol.in/5.7/os/x86_64/repodata/filelists.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://ftp.cuhk.edu.hk/pub/Linux/centos/5.7/os/x86_64/repodata/filelists.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://mirror-fpt-telecom.fpt.net/centos/5.7/os/x86_64/repodata/filelists.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://mirrors.sin1.sg.voxel.net/centos/5.7/os/x86_64/repodata/filelists.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://virror.hanoilug.org/centos/5.7/os/x86_64/repodata/filelists.xml.gz: [Errno 12] Timeout:
Trying other mirror.
ftp://ftp.oss.eznetsols.org/linux/centos/5.7/os/x86_64/repodata/filelists.xml.gz: [Errno 4] IOError: [Errno ftp error] timed out
Trying other mirror.
http://centos.ustc.edu.cn/centos/5.7/os/x86_64/repodata/filelists.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://mirror.averse.net/centos/5.7/os/x86_64/repodata/filelists.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://mirror.neu.edu.cn/centos/5.7/os/x86_64/repodata/filelists.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://mirror.nus.edu.sg/centos/5.7/os/x86_64/repodata/filelists.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://mirror.vpshosting.com.hk/pub/linux/centos/5.7/os/x86_64/repodata/filelists.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://mirrors.ispros.com.bd/centos/5.7/os/x86_64/repodata/filelists.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://mirrors.ta139.com/centos/5.7/os/x86_64/repodata/filelists.xml.gz: [Errno 12] Timeout:
Trying other mirror.
Error: failure: repodata/filelists.xml.gz from base: [Errno 256] No more mirrors to try.
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
[4]+ Killed yum update

root@myserver/]#

so how can i update it to 16 bit....?