[Samba] Problems with Share Modes "fill_share_mode_lock failed"
Jeremy Allison
jra at samba.org
Mon Oct 6 23:48:10 GMT 2008
On Fri, Oct 03, 2008 at 08:05:05AM -0300, Ricardo Santos wrote:
> Hi, my details:
>
> Server: 3.2.3
> Client: win2k8
>
> When I try list contents of a shared directory through an ASP script
> (win2k8 is the client), it's take much time and on samba I saw many
> times (4 times for each file) the same error: "fill_share_mode_lock
> failed"
>
> I tried "shares mode = No" but no success
>
> It's the log:
>
> ...:49, 3] locking/locking.c:fetch_share_mode_unlocked(857)
> fill_share_mode_lock failed
> ...:49, 3] smbd/process.c:process_smb(1549)
> Transaction 50769 of length 142 (0 toread)
> ...:49, 3] smbd/process.c:switch_message(1361)
> switch message SMBtrans2 (pid 22032) conn 0xb846b478
> ...:49, 3] smbd/trans2.c:call_trans2qfilepathinfo(3932)
> call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
> ...:49, 3] smbd/vfs.c:check_reduced_name(854)
> reduce_name [web/xml/myfile.xml] [/web_virtual/domain]
> ...:49, 3] smbd/vfs.c:check_reduced_name(963)
> reduce_name: web/xml/myfile.xml reduced to
> /web_virtual/domain/web/xml/myfile.xml
> ...:49, 3] locking/locking.c:fetch_share_mode_unlocked(857)
> fill_share_mode_lock failed
> ...:49, 3] smbd/trans2.c:call_trans2qfilepathinfo(4006)
> call_trans2qfilepathinfo web/xml/myfile.xml (fnum = -1) level=1004
> call=5 total_data=0
> ...:49, 3] smbd/process.c:process_smb(1549)
> Transaction 50770 of length 142 (0 toread)
> ...:49, 3] smbd/process.c:switch_message(1361)
> switch message SMBtrans2 (pid 22032) conn 0xb846b478
> ...:49, 3] smbd/trans2.c:call_trans2qfilepathinfo(3932)
> call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1005
> ...:49, 3] smbd/vfs.c:check_reduced_name(854)
> reduce_name [web/xml/myfile.xml] [/web_virtual/domain]
> ...:49, 3] smbd/vfs.c:check_reduced_name(963)
> reduce_name: web/xml/myfile.xml reduced to
> /web_virtual/domain/web/xml/myfile.xml
> ...:49, 3] locking/locking.c:fetch_share_mode_unlocked(857)
> fill_share_mode_lock failed
>
> Anyone could help me ?
That shouldn't happen. Please post your smb.conf and
also a debug level 10 log.
Jeremy.
More information about the samba
mailing list