NFS & File Locking on FBSD 5.3

Gerard Samuel fbsd-questions at
Tue Jan 11 12:38:10 PST 2005

Gerard Samuel wrote:

> Whats needed to enable file locking on FBSD 5.3?
> I already had NFS running, so I added this to the
> server's rc.conf file ->
> rpc_lockd_enable="YES"
> and rebooted.
> Im just checking to see if that is all that I should be doing.
> Thanks for your time 

I just noticed this in the logs ->
Jan 11 15:23:37 hivemind rpcbind: cannot create socket for udp6
Jan 11 15:23:38 hivemind rpc.lockd: 100024 RPC: Program not registered

I've googled a bit, and Im coming up with references that
IP6 doesn't have to built into the kernel, of which I do not have it
built in the kernel anyway.
Im not sure of what else to do to get lockd running.
Any advise would be appreciated.

Here is my rc.conf file
ifconfig_bge0="inet  netmask"
ntpd_flags="-c /etc/ntp.conf -p /var/run/ -g"

Here is my kernel config
machine         i386
cpu             I686_CPU
ident           HIVEMIND

options         SCHED_4BSD              # 4BSD scheduler
options         INET                    # InterNETworking
options         FFS                     # Berkeley Fast Filesystem
options         SOFTUPDATES             # Enable FFS soft updates support
options         UFS_ACL                 # Support for access control lists
options         UFS_DIRHASH             # Improve performance on big 
options         NFSSERVER               # Network Filesystem Server
options         GEOM_GPT                # GUID Partition Tables.
options         COMPAT_43               # Compatible with BSD 4.3 [KEEP 
options         COMPAT_FREEBSD4         # Compatible with FreeBSD4
options         SCSI_DELAY=8000         # Delay (in ms) before probing SCSI

# PostgreSQL stuff
options         SYSVSHM                 # SYSV-style shared memory
options         SYSVMSG                 # SYSV-style message queues
options         SYSVSEM                 # SYSV-style semaphores
options         SHMMAXPGS=65536
options         SEMMNI=40
options         SEMMNS=240
options         SEMUME=40
options         SEMMNU=120

options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev

# Bus support.  Do not remove isa, even if you have no isa slots
device          isa
device          pci

# Floppy drives
device          fdc

# ATA and ATAPI devices
device          ata
device          atadisk         # ATA disk drives
options         ATA_STATIC_ID   # Static device numbering

# SCSI Controllers
device          ahc             # AHA2940 and onboard AIC7xxx devices

# SCSI peripherals
device          scbus           # SCSI bus (required for SCSI)
device          da              # Direct Access (disks)
device          pass            # Passthrough device (direct SCSI access)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device          atkbdc          # AT keyboard controller
device          atkbd           # AT keyboard

device          vga             # VGA video card driver

# syscons is the default console driver, resembling an SCO console
device          sc

# Floating point support - do not disable.
device          npx

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device          miibus          # MII bus support
device          bge             # Broadcom BCM570xx Gigabit Ethernet

# Pseudo devices.
device          loop            # Network loopback
device          mem             # Memory and kernel memory devices
device          io              # I/O device
device          random          # Entropy device
device          ether           # Ethernet support
device          pty             # Pseudo-ttys (telnet etc)
device          ccd             # Concatenated disk driver

More information about the freebsd-questions mailing list