sync problem between window 7 and linux

Installing, Configuring, Troubleshooting server daemons such as Web and Mail

sync problem between window 7 and linux

Postby cnt123 » 2011/10/13 12:11:26

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
cnt123
 
Posts: 15
Joined: 2011/08/29 10:31:42

sync problem between window 7 and linux

Postby pschaff » 2011/10/13 17:55:26

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 CentOS-5.5. Have you checked the Samba logs and /var/log/messages for clues?

Please update to the current release CentOS-5.7. If the problem persists then please provide more information about your system by running "./getinfo.sh basic" and showing us the output file, as well as
Code: Select all
rpm -qa samba\*
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: sync problem between window 7 and linux

Postby cnt123 » 2011/10/14 09:21:34

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...
cnt123
 
Posts: 15
Joined: 2011/08/29 10:31:42

Re: sync problem between window 7 and linux

Postby cnt123 » 2011/10/14 10:41:01

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..
cnt123
 
Posts: 15
Joined: 2011/08/29 10:31:42

Re: sync problem between window 7 and linux

Postby pschaff » 2011/10/14 13:18:54

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.
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: sync problem between window 7 and linux

Postby cnt123 » 2011/10/15 12:15:58

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
cnt123
 
Posts: 15
Joined: 2011/08/29 10:31:42

Re: sync problem between window 7 and linux

Postby pschaff » 2011/10/15 13:05:22

We need to see your /etc/samba/smb.conf share definitions and the directory and file permissions as shown by
Code: Select all
ls -lsFZd /path/to/dir
ls -lsFZ /path/to/dir

for the directories in question. Please also, after upgrading, provide more information about your system by running "./getinfo.sh basic" and showing us the output file. It might also be useful to see
Code: Select all
rpm -qa samba\*
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: sync problem between window 7 and linux

Postby cnt123 » 2011/10/17 04:31:24

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.....
cnt123
 
Posts: 15
Joined: 2011/08/29 10:31:42

Re: sync problem between window 7 and linux

Postby cnt123 » 2011/10/17 04:44:54

which command used to upgrade or update with latest version ....is this one is write command..

#yum -y update

any other command to update?
cnt123
 
Posts: 15
Joined: 2011/08/29 10:31:42

Re: sync problem between window 7 and linux

Postby cnt123 » 2011/10/17 05:51:28

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 ... sts.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://centos.01link.hk/5.7/os/x86_64/r ... sts.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://mirrors.btte.net/centos/5.7/os/x ... sts.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://mirror.vietoss.com/CentOS/5.7/os ... sts.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://mirrors.163.com/centos/5.7/os/x8 ... sts.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://centos.vr-zone.com/5.7/os/x86_64 ... sts.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://centos.communilink.net/5.7/os/x8 ... sts.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://centos.aol.in/5.7/os/x86_64/repo ... sts.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://ftp.cuhk.edu.hk/pub/Linux/centos ... sts.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://mirror-fpt-telecom.fpt.net/cento ... sts.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://mirrors.sin1.sg.voxel.net/centos ... sts.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://virror.hanoilug.org/centos/5.7/o ... sts.xml.gz: [Errno 12] Timeout:
Trying other mirror.
ftp://ftp.oss.eznetsols.org/linux/cento ... sts.xml.gz: [Errno 4] IOError: [Errno ftp error] timed out
Trying other mirror.
http://centos.ustc.edu.cn/centos/5.7/os ... sts.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://mirror.averse.net/centos/5.7/os/ ... sts.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://mirror.neu.edu.cn/centos/5.7/os/ ... sts.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://mirror.nus.edu.sg/centos/5.7/os/ ... sts.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://mirror.vpshosting.com.hk/pub/lin ... sts.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://mirrors.ispros.com.bd/centos/5.7 ... sts.xml.gz: [Errno 12] Timeout:
Trying other mirror.
http://mirrors.ta139.com/centos/5.7/os/ ... sts.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....?
cnt123
 
Posts: 15
Joined: 2011/08/29 10:31:42

Next

Return to CentOS 5 - Server Support

Who is online

Users browsing this forum: No registered users and 0 guests