NFS File Locking on FBSD 5.3
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS File Locking on FBSD 5.3
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. Thanks Here is my rc.conf file - defaultrouter=xxx.xxx.xxx.xxx hostname=name.domain.tld ifconfig_bge0=inet xxx.xxx.xxx.xxx netmask 255.255.255.0 keyrate=fast sshd_enable=YES sendmail_enable=NONE inetd_enable=YES mysql_enable=YES apache2_enable=YES ntpd_enable=YES ntpd_flags=-c /etc/ntp.conf -p /var/run/ntpd.pid -g samba_enable=YES rpcbind_enable=YES nfs_server_enable=YES mountd_flags=-r rpc_lockd_enable=YES 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 directories options NFSSERVER # Network Filesystem Server options GEOM_GPT# GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS File Locking on FBSD 5.3
Gerard Samuel wrote: 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. 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. Well, I guess google haven't searched the archives resently. I wrote just yesterday (NFS export of evolution-thread) that you need to enable statd _and_ lockd. lockd will not start without statd enabled. You don't need to reboot, just /etc/rc.d/nfslocking restart rpcbind_enable=YES nfs_server_enable=YES mountd_flags=-r rpc_lockd_enable=YES I don't see you have enabled mountd, but you had nfs running and mounted succesfully? - or maybe just a typo copy/paste? Cheers, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS File Locking on FBSD 5.3
Erik Norgaard wrote: Gerard Samuel wrote: 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. 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. Well, I guess google haven't searched the archives resently. I wrote just yesterday (NFS export of evolution-thread) that you need to enable statd _and_ lockd. lockd will not start without statd enabled. You don't need to reboot, just /etc/rc.d/nfslocking restart Thanks for the tip. It seems to be running now. $ ps aux | grep lockd root 361 0.0 0.2 1632 1292 ?? Ss4:23PM 0:00.01 /usr/sbin/rpc.lockd daemon372 0.0 0.2 1632 1292 ?? S 4:23PM 0:00.00 /usr/sbin/rpc.lockd rpcbind_enable=YES nfs_server_enable=YES mountd_flags=-r rpc_lockd_enable=YES I don't see you have enabled mountd, but you had nfs running and mounted succesfully? - or maybe just a typo copy/paste? The config is correct, according to the manual. Never had a problem with it (knocks on wood) Now to go test if php will work now... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]