?
Solved

MS Word on SAMBA 3.2.5 shared drive receiving the following message: "[filename] is locked for editing by 'another user'."

Posted on 2010-09-19
9
Medium Priority
?
732 Views
Last Modified: 2013-12-09
Hi All,

I'm having problem with the Samba 3.2.5 file share which host my MS-Word Document the user (user1) already restart her PC but still she cannot open the file from MS Word

here's the file and it's status on the samba drive:

any idea please in how to reset the Samba file locking mechanism ?

Thanks.
 
fuso:/export/client1/projects/P1999-FSDC/ProjectMgmt/Requirements/CES Web/Issue 2.7# lsof | grep P1999-ces-rs04-issue2.7.doc
fuso:/export/client1/projects/P1999-FSDC/ProjectMgmt/Requirements/CES Web/Issue 2.7# smbstatus

Samba version 3.2.5
PID     Username      Group         Machine
-------------------------------------------------------------------
2448      sysadmin        12212         __ffff_10.2.3.130 (::ffff:10.2.3.130)

Service      pid     machine       Connected at
-------------------------------------------------------
projects     2448   __ffff_10.2.3.130  Mon Sep 20 08:26:43 2010

No locked files

fuso:/export/client1/projects/P1999-FSDC/ProjectMgmt/Requirements/CES Web/Issue 2.7# ls -lap
total 47256
drwxrwsr-x  2 user1 12258     4096 2010-09-20 15:00 ./
drwxrwsr-x 18 boss1 12258     4096 2010-07-01 12:41 ../
-rwxrw-r--  1 user1 12258 48327168 2010-09-13 17:35 P1999-ces-rs04-issue2.7.doc
fuso:/export/client1/projects/P1999-FSDC/ProjectMgmt/Requirements/CES Web/Issue 2.7# lsof | grep P1999-ces-rs04-issue2.7.doc
fuso:/export/client1/projects/P1999-FSDC/ProjectMgmt/Requirements/CES Web/Issue 2.7# uname -a
Linux fuso 2.6.26-2-686 #1 SMP Sun Jun 21 04:57:38 UTC 2009 i686 GNU/Linux
fuso:/export/client1/projects/P1999-FSDC/ProjectMgmt/Requirements/CES Web/Issue 2.7#

Open in new window

0
Comment
Question by:jjoz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
  • +1
9 Comments
 
LVL 1

Expert Comment

by:Ravikiranpothana
ID: 33714219
Whats the message shown when your trying to open the Doc file from user1
0
 
LVL 1

Author Comment

by:jjoz
ID: 33714287
"[filename] is locked for editing by 'another user'."
0
 
LVL 6

Expert Comment

by:Jelcin
ID: 33714300
sorry for the dumb question but did you restart samba also?
0
Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

 
LVL 1

Author Comment

by:jjoz
ID: 33714301
no this is still running during the business hour, i don't want to cause bigger problem by restarting the samba file service.

is it by executing:


sudo /etc/init.d/samba reload

OR

sudo smbd reload

Open in new window

0
 
LVL 6

Accepted Solution

by:
Jelcin earned 1800 total points
ID: 33714361
depends on the Linux distribution

sudo /etc/init.d/samba restart
sudo service smbd restart

or in Ubuntu Lucid Lynx
sudo initctl restart smbd
0
 
LVL 1

Author Comment

by:jjoz
ID: 33714392
would that kill all of the user session temporarily ?
I'm worry if i do that then it would corrupt the other files opened by other user working in their MS Office application ?
0
 
LVL 30

Assisted Solution

by:Sudeep Sharma
Sudeep Sharma earned 200 total points
ID: 33721022
Is this happening when other user try to open the same file also?

Make sure there is no winword.exe opened in the backgronud of the user who is getting the error.

Sudeep
0
 
LVL 1

Author Comment

by:jjoz
ID: 33721267
the laptop has been restarted already, and yes only this particular user who got problem opening this file from the mapped network drive.
0
 
LVL 30

Expert Comment

by:Sudeep Sharma
ID: 33721325
So no other user get the error while opening this file?

Sudeep
0

Featured Post

How to Create Failover DNS Record Sets in Route 53

Route 53 has the ability to easily configure DNS record sets specifically for failover scenarios. These failover record sets can be configured to failover to full-blown deployments in other regions or to a static HTML page that informs your customers of the issue.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month10 days, 6 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question