Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-25-2005, 10:48 PM   #1
LQ Newbie
Registered: Dec 2001
Distribution: SlackWare 9.1
Posts: 14

Rep: Reputation: 0
SAMBA 2.2.5 - File locks


I am having a hard time with samba on a Red-Hat server.

1- I noticed I was unable to restart de smb deamons /etc/init.d/smb restart
2- while investigating I stumble accross this:
[root@docsux var]# smbstatus

Samba version 2.2.5
Service uid gid pid machine

Locked files:
Pid DenyMode Access R/W Oplock Name
19981 DENY_WRITE 0x20089 RDONLY EXCLUSIVE+BATCH /filename1 Tue Apr 19 02:00:26 2005
20021 DENY_WRITE 0x20089 RDONLY EXCLUSIVE+BATCH /filename2 Tue Apr 19 02:00:26 2005

I have killed every smb process including the nmbd, and I am still unable to start smb back again.

I was wondering if these two files (I changed the names to filename1 & 2) that are locked would have anything to do with this. I looked for the relevant process PID but could not find any. This server does not run many things so it waas pretty easy narrowing down which rocess to kill.

I have been looking every where, you are my only hope


Last edited by syx; 05-25-2005 at 10:49 PM.
Old 05-27-2005, 09:23 AM   #2
Registered: Aug 2003
Location: NY
Distribution: RH9, RH8, Slack, Vector
Posts: 497

Rep: Reputation: 31
are they files that you have shared, or are they files outside of the share?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
WinXP locks opening Samba filesystem edge1492 Linux - Networking 2 12-10-2004 03:00 AM
windows locks up while accessing samba shares Ogi Linux - Software 0 09-30-2004 06:28 AM
Oplocks and locks in Samba flashingcurser Linux - Networking 2 08-17-2004 07:42 PM
samba opportunistic locks vmejia77 Linux - Networking 0 03-30-2004 06:57 PM
Samba locks when Internet is down nottawiz Linux - Networking 5 04-15-2002 09:46 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:25 AM.

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