[PLUG] Samba newbie smbstatus problem
Rick Konold
cccs at teleport.com
Mon Apr 8 17:02:20 UTC 2002
On Monday 08 April 2002 09:38, you hammered the keyboard to write:
> > > Failed to open byte range locking database
> > > ERROR: Failed to initialise locking database
> > > Can't initialise locking module - exiting
> >
> > I took a look at the smbstatus command, and it
> > appears to only tell you what
> > ACTIVE connections you have. If you are not
> > connected via smbclient to some
> > directory on the other end, it will not be doing any
> > file locking, and will
> > not report any active user. This may explain your
> > error if you are just
> > checking smbstatus without any active client
> > connected.
>
> Mine reports like so when I have no active
> connections:
>
> Samba version 2.2.3a
> Service uid gid pid machine
> ----------------------------------------------
>
> No locked files
>
>
> So whatever error that is, it isn't about a lack a
> clients :)
Odd, when I do smbstatus on my Workstation running RH7.2 with samba 2.2.1a I
get the same as you show above. When I do it on my Server running RH6.2 with
samba 2.0.6-9, I get "couldn't open status file /var/lock/samba/STATUS..LCK".
I checked /var/lock/samba and there is no such file there. Then I tried to
compare /var/lock/samba on the RH7.2 workstation, and there is no such
directory at all, the files are in different locations there. I don't know
if this means different versions do things differently, or if there may be a
problem with the setup on my server. [are they both saying there are no
locked files in a different way?] Functionally they both work fine, and
have for at least a year now. I use them both to browse and copy files with
a W98 box on the network. Of course on a single user network, a lack of file
locking may not cause problems. I will compare the smb.conf files later to
see if there are any diff's. Thanks for pointing that out.
--
<><><><><><><><><><><><><><><><><><><><><><><><><><>
Rick Konold ~~ Linux Advocate
In a world without fences we don't need Gates.
This message brought to you by KMail on Linux RedHat 7.2
<><><><><><><><><><><><><><><><><><><><><><><><><><>
More information about the PLUG
mailing list