Samba can't find file locking on Sol 2.6

Samba can't find file locking on Sol 2.6

Post by John McCo » Wed, 12 Apr 2000 04:00:00



Samba Version 2.0.6
When running ./configure I get this:

checking for fcntl locking... no
<<SNIP>>
checking if large file support can be enabled
no
checking configure summary
ERROR: No locking available. Running Samba would be unsafe
configure: error: summary failure. Aborting config

This is on a (sparq 10)box running Solaris 2.6 (not sure of patch level)
it runs :
Oracle 7.3.4
Developer 2000 1.3.2

/usr/lib/nfs/lockd is running with no switches

I have another box also running Sol 2.6 it worked just fine. I have
installed Samba on every Sol box I can find and never get that response.
I've been searching the samba archives with no luck, same for Oracle and
Sun. The box is currently running Samba 1.9.17p4, smbstat shows a lot of
exports and a lot of file locks.

kaos-root  /usr/local/samba/bin$ smbstatus
Samba version 1.9.17p4
Service      uid      gid      pid     machine
----------------------------------------------
forms        ebbarry  userprod 25357   pc       (144.91.229.55) Mon Apr 10
12:51:19 2000
forms        rming    userprod  7129   pc1391   (144.91.49.100) Mon Apr 10
21:05:42 2000
dbrin        dbrin    userprod  1441   pc2101   (144.91.229.53) Wed Apr  5
23:02:15 2000
ebbarry      ebbarry  userprod 25357   pc       (144.91.229.55) Mon Apr 10
12:51:19 2000
<<Snip>>
Locked files:
Pid    DenyMode   R/W     Name
------------------------------
1441   DENY_WRITE RDONLY  sct2/shwhnt32.dll   Mon Apr 10 18:13:42 2000
1441   DENY_NONE  RDONLY  sct2/shwhnt32.dll   Mon Apr 10 18:13:42 2000
14785  DENY_NONE  RDONLY  sct1/aoaiden.fmx   Tue Apr 11 12:08:44 2000
15160  DENY_WRITE RDONLY  ban_doc30/bkshlf3x.pdf   Tue Apr 11 09:40:06 2000
28916  DENY_NONE  RDONLY  sct2/goqrpls.plx   Tue Apr 11 14:10:53 2000
1441   DENY_NONE  RDONLY  sct2/goqrpls.plx   Mon Apr 10 18:13:09 2000
<<SNIP>>

HELP!!! Please, at least point down the road of salvation.
Thanks

--
********************************************
John McCoy, Jr
Systems Administrator
Central Systems, Mills College

510-430-3321
***********************************************

 
 
 

Samba can't find file locking on Sol 2.6

Post by David Collier-Brow » Thu, 13 Apr 2000 04:00:00



> When running ./configure I get this:
> checking for fcntl locking... no
> <<SNIP>>
> checking if large file support can be enabled
> no
> checking configure summary
> ERROR: No locking available. Running Samba would be unsafe
> configure: error: summary failure. Aborting config

        Something failed in configure, and it mis-diagnosed
        it as no locking.  I managed to mess it up with
        a verbose-warnings option to Sun cc.

--dave
--
David Collier-Brown in Boston
Phone: (781) 442-0734, Room BUR03-3632

 
 
 

1. modem locked but I can't find the lock file

I tried to use kermit just a couple hours ago and 8-( suprise 8-(, it
says that the modem line is not defined (BS !) or busy (?). I couldn't
find the lock file where I guessed it should be. Further I (as root)
tried to `find` it down from the root directory and nothing (BTW, I'm
looking for a file LCK..modem, anyway I asked `find` for \*LCK\*). No
luck. I had to boot my DOS to get my modem under it, so the modem board
is not the problem. I went back to Linux and no modem still (!). So,
here I am, back to MeSSy DOS asking for any help on this matter. Thanks
a lot.


2. 486 MP3 player

3. disable Auto screen Lock w/CDE & Sol 2.6

4. problem with rexec() and passwd

5. Disable Auto Screen Lock w/CDE & Sol 2.6

6. Trouble with video card

7. SunOS 4.1 can't lock file on Solaris 2.6

8. PCI card on a host having its own processor

9. qfull-retries/qfull-retry-interval in Sol 2.5.1 and Sol 2.6

10. Upgrade Sol 2.5.1 to Sol 2.6

11. Sol 2.5.1 and Sol 2.6 compatiblity

12. Max files size on Sol 2.6 - Lotus Domino

13. Sol. 2.6. Kernel Patch dosen't apply