Configuring 2.2.2 (or 2.0.7) on Digital Unix 4.0f fails - "No locking"

Chris Tooley ctooley at amoa.org
Wed Nov 7 08:52:04 GMT 2001


I had this same problem under RedHat 6.2 Linux.  I posted several times
to no avail, and finally had to reboot the box.  After the reboot it
worked somewhat ok, now I've got other issues.

Chris

On Wed, 2001-11-07 at 10:17, samba-admin at lists.samba.org wrote:
> When I run configure on either a DU server running 4.0f or a DU client
> running 4.0d, I receive the following error:
> 
> ERROR: No locking available. Running Samba would be unsafe
> configure: error: summary failure. Aborting config
> 
> Most directories are mounted using nfs v2 or nfs v3.  rpc.lockd and
> rpc.statd are running on servers and clients.  The rpcinfo -p command shows
> nlockmgr and llockmgr running on both systems. Other than configure's
> failure to find fcntl or fnctl64 (see below) I can't figure out what might
> be wrong.  Attempting to configure samba 2.0.7 fails with the same error.
> 
> Anyone have any ideas?
> 
> TIA.
> 
> don
> 
> --------------  Configure results -----------------------
> 
> loading cache ./config.cache
> checking for gcc... gcc
> checking whether the C compiler (gcc -O  ) works... yes
> checking whether the C compiler (gcc -O  ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking for a BSD compatible install... ./install-sh -c
> checking for mawk... no
> checking for gawk... gawk
> checking whether gcc and cc understand -c and -o together... yes
> checking that the C compiler understands volatile... yes
> checking host system type... alphaev56-dec-osf4.0f
> checking target system type... alphaev56-dec-osf4.0f
> checking build system type... alphaev56-dec-osf4.0f
> checking config.cache system type... same
> checking for inline... inline
> checking how to run the C preprocessor... gcc -E
> checking for ANSI C header files... yes
> checking for dirent.h that defines DIR... yes
> checking for opendir in -ldir... no
> checking whether time.h and sys/time.h may both be included... yes
> checking for sys/wait.h that is POSIX.1 compatible... yes
> checking for arpa/inet.h... yes
> checking for sys/fcntl.h... yes
> checking for sys/select.h... yes
> checking for fcntl.h... yes
> checking for sys/time.h... yes
> checking for sys/unistd.h... no
> checking for unistd.h... yes
> checking for utime.h... yes
> checking for grp.h... yes
> checking for sys/id.h... yes
> checking for limits.h... yes
> checking for memory.h... yes
> checking for net/if.h... yes
> checking for compat.h... no
> checking for rpc/rpc.h... yes
> checking for rpcsvc/nis.h... no
> checking for rpcsvc/yp_prot.h... yes
> checking for rpcsvc/ypclnt.h... yes
> checking for sys/param.h... yes
> checking for ctype.h... yes
> checking for sys/wait.h... (cached) yes
> checking for sys/resource.h... yes
> checking for sys/ioctl.h... yes
> checking for sys/ipc.h... yes
> checking for sys/mode.h... yes
> checking for sys/mman.h... yes
> checking for sys/filio.h... no
> checking for sys/priv.h... no
> checking for sys/shm.h... yes
> checking for string.h... yes
> checking for strings.h... yes
> checking for stdlib.h... yes
> checking for sys/socket.h... yes
> checking for sys/mount.h... yes
> checking for sys/vfs.h... no
> checking for sys/fs/s5param.h... no
> checking for sys/filsys.h... yes
> checking for termios.h... yes
> checking for termio.h... yes
> checking for sys/termio.h... yes
> checking for sys/statfs.h... no
> checking for sys/dustat.h... no
> checking for sys/statvfs.h... yes
> checking for stdarg.h... yes
> checking for sys/sockio.h... no
> checking for security/pam_modules.h... no
> checking for security/_pam_macros.h... no
> checking for shadow.h... no
> checking for netinet/ip.h... yes
> checking for netinet/tcp.h... yes
> checking for netinet/in_systm.h... yes
> checking for netinet/in_ip.h... no
> checking for nss.h... no
> checking for nss_common.h... no
> checking for sys/security.h... yes
> checking for security/pam_appl.h... no
> checking for security/pam_modules.h... (cached) no
> checking for stropts.h... yes
> checking for poll.h... yes
> checking for sys/capability.h... no
> checking for syscall.h... yes
> checking for sys/syscall.h... yes
> checking for sys/acl.h... yes
> checking for sys/cdefs.h... no
> checking for glob.h... yes
> checking for utmp.h... yes
> checking for utmpx.h... yes
> checking for lastlog.h... yes
> checking for sys/fs/vx_quota.h... no
> checking size of int... 4
> checking size of long... 8
> checking size of short... 2
> checking for working const... yes
> checking for inline... (cached) inline
> checking whether byte ordering is bigendian... no
> checking whether char is unsigned... no
> checking return type of signal handlers... void
> checking for uid_t in sys/types.h... yes
> checking for mode_t... yes
> checking for off_t... yes
> checking for size_t... yes
> checking for pid_t... yes
> checking for st_rdev in struct stat... yes
> checking for d_off in dirent... no
> checking for ino_t... yes
> checking for loff_t... no
> checking for offset_t... no
> checking for ssize_t... yes
> checking for wchar_t... yes
> checking for httpConnect in -lcups... no
> checking for dlopen in -ldl... no
> checking for unix domain sockets... yes
> checking for socklen_t type... no
> checking for sig_atomic_t type... yes
> checking for errno declaration... yes
> checking for setresuid declaration... no
> checking for setresgid declaration... no
> checking for asprintf declaration... no
> checking for vasprintf declaration... no
> checking for vsnprintf declaration... no
> checking for snprintf declaration... no
> checking for real setresuid... no
> checking for real setresgid... no
> checking for 8-bit clean memcmp... yes
> checking whether to use readline... yes
> checking for readline.h... no
> checking for history.h... no
> checking for readline/readline.h... yes
> checking for readline/history.h... yes
> checking for readline.h... (cached) no
> checking for readline/readline.h... (cached) yes
> checking for tgetent in -lncurses... no
> checking for tgetent in -lcurses... yes
> checking for rl_callback_handler_install in -lreadline... yes
> checking for connect... yes
> checking for yp_get_default_domain... yes
> checking for execl... yes
> checking for waitpid... yes
> checking for getcwd... yes
> checking for strdup... yes
> checking for strtoul... yes
> checking for strerror... yes
> checking for chown... yes
> checking for fchown... yes
> checking for chmod... yes
> checking for fchmod... yes
> checking for chroot... yes
> checking for fstat... yes
> checking for strchr... yes
> checking for utime... yes
> checking for utimes... yes
> checking for getrlimit... yes
> checking for fsync... yes
> checking for bzero... yes
> checking for memset... yes
> checking for memmove... yes
> checking for vsnprintf... no
> checking for snprintf... no
> checking for asprintf... no
> checking for vasprintf... no
> checking for setsid... yes
> checking for glob... yes
> checking for strpbrk... yes
> checking for pipe... yes
> checking for crypt16... yes
> checking for getauthuid... no
> checking for strftime... yes
> checking for sigprocmask... yes
> checking for sigblock... yes
> checking for sigaction... yes
> checking for sigset... yes
> checking for innetgr... yes
> checking for setnetgrent... yes
> checking for getnetgrent... yes
> checking for endnetgrent... yes
> checking for initgroups... yes
> checking for select... yes
> checking for poll... yes
> checking for rdchk... no
> checking for getgrnam... yes
> checking for getgrent... yes
> checking for pathconf... yes
> checking for setpriv... no
> checking for setgidx... no
> checking for setuidx... no
> checking for setgroups... yes
> checking for sysconf... yes
> checking for mktime... yes
> checking for rename... yes
> checking for ftruncate... yes
> checking for stat64... no
> checking for fstat64... no
> checking for lstat64... no
> checking for fopen64... no
> checking for atexit... yes
> checking for grantpt... yes
> checking for dup2... yes
> checking for lseek64... no
> checking for ftruncate64... no
> checking for readdir64... no
> checking for fseek64... no
> checking for fseeko64... no
> checking for ftell64... no
> checking for ftello64... no
> checking for setluid... no
> checking for getpwanam... no
> checking for setlinebuf... yes
> checking for srandom... yes
> checking for random... yes
> checking for srand... yes
> checking for rand... yes
> checking for setenv... yes
> checking for usleep... yes
> checking for strcasecmp... yes
> checking for fcvt... yes
> checking for fcvtl... no
> checking for symlink... yes
> checking for readlink... yes
> checking for syscall... yes
> checking for _dup... no
> checking for _dup2... no
> checking for _opendir... no
> checking for _readdir... no
> checking for _seekdir... no
> checking for _telldir... no
> checking for _closedir... no
> checking for __dup... yes
> checking for __dup2... yes
> checking for __opendir... yes
> checking for __readdir... yes
> checking for __seekdir... yes
> checking for __telldir... yes
> checking for __closedir... yes
> checking for __getcwd... yes
> checking for _getcwd... no
> checking for __xstat... no
> checking for __fxstat... no
> checking for __lxstat... no
> checking for _stat... no
> checking for _lstat... no
> checking for _fstat... no
> checking for __stat... yes
> checking for __lstat... yes
> checking for __fstat... yes
> checking for _acl... no
> checking for __acl... no
> checking for _facl... no
> checking for __facl... no
> checking for _open... yes
> checking for __open... yes
> checking for _chdir... no
> checking for __chdir... yes
> checking for _close... no
> checking for __close... yes
> checking for _fchdir... no
> checking for __fchdir... yes
> checking for _fcntl... no
> checking for __fcntl... yes
> checking for getdents... no
> checking for _getdents... no
> checking for __getdents... no
> checking for _lseek... no
> checking for __lseek... yes
> checking for _read... no
> checking for __read... yes
> checking for _write... no
> checking for __write... yes
> checking for _fork... yes
> checking for __fork... yes
> checking for _stat64... no
> checking for __stat64... no
> checking for _fstat64... no
> checking for __fstat64... no
> checking for _lstat64... no
> checking for __lstat64... no
> checking for __sys_llseek... no
> checking for llseek... no
> checking for _llseek... no
> checking for __llseek... no
> checking for readdir64... (cached) no
> checking for _readdir64... no
> checking for __readdir64... no
> checking for pread... yes
> checking for _pread... no
> checking for __pread... yes
> checking for pread64... no
> checking for _pread64... no
> checking for __pread64... no
> checking for pwrite... yes
> checking for _pwrite... no
> checking for __pwrite... yes
> checking for pwrite64... no
> checking for _pwrite64... no
> checking for __pwrite64... no
> checking for open64... no
> checking for _open64... no
> checking for __open64... no
> checking for creat64... no
> checking for stat64 in <sys/stat.h>... no
> checking for lstat64 in <sys/stat.h>... no
> checking for fstat64 in <sys/stat.h>... no
> checking for putprpwnam in -lsecurity... yes
> checking for putprpwnam... yes
> checking for putprpwnam... (cached) yes
> checking for set_auth_parameters... yes
> checking for set_auth_parameters... (cached) yes
> checking for getspnam in -lgen... no
> checking for getspnam... no
> checking for getspnam... (cached) no
> checking for getspnam... (cached) no
> checking for bigcrypt... yes
> checking for bigcrypt... (cached) yes
> checking for getprpwnam... yes
> checking for getprpwnam... (cached) yes
> checking whether gcc accepts -fpic... yes
> checking for long long... yes
> checking for LL suffix on long long integers... yes
> checking for 64 bit off_t... yes
> checking for off64_t... no
> checking for 64 bit ino_t... no
> checking for ino64_t... no
> checking for struct dirent64... no
> checking for unsigned char... no
> checking for sin_len in sock... no
> checking whether seekdir returns void... no
> checking for __FILE__ macro... yes
> checking for __FUNCTION__ macro... yes
> checking if gettimeofday takes tz argument... yes
> checking for C99 vsnprintf... no
> checking for broken readdir... no
> checking for utimbuf... yes
> checking for pututline... yes
> checking for pututxline... yes
> checking for updwtmp... no
> checking for updwtmpx... no
> checking for getutmpx... no
> checking for ut_name in utmp... yes
> checking for ut_user in utmp... yes
> checking for ut_id in utmp... yes
> checking for ut_host in utmp... yes
> checking for ut_time in utmp... yes
> checking for ut_tv in utmp... no
> checking for ut_type in utmp... yes
> checking for ut_pid in utmp... yes
> checking for ut_exit in utmp... yes
> checking for ut_addr in utmp... no
> checking whether pututline returns pointer... yes
> checking for ut_syslen in utmpx... no
> checking for Linux kernel oplocks... no
> checking for kernel change notify support... no
> checking for kernel share modes... yes
> checking for IRIX kernel oplock type definitions... no
> checking for irix specific capabilities... no
> checking for int16 typedef included by rpc/rpc.h... no
> checking for uint16 typedef included by rpc/rpc.h... no
> checking for int32 typedef included by rpc/rpc.h... yes
> checking for uint32 typedef included by rpc/rpc.h... yes
> checking for conflicting AUTH_ERROR define in rpc/rpc.h... no
> checking for test routines... yes
> checking for ftruncate extend... yes
> checking for broken getgroups... no
> checking whether getpass should be replaced... no
> checking for broken inet_ntoa... no
> checking for secure mkstemp... yes
> checking for sysconf(_SC_NGROUPS_MAX)... yes
> checking for root... yes
> checking for iface AIX... no
> checking for iface ifconf... got 2 interfaces:
> lo0        IP=127.0.0.1 NETMASK=255.0.0.0
> tu0        IP=152.19.100.32 NETMASK=255.255.0.0
> yes
> checking for setresuid... no
> checking for setreuid... OK
> yes
> checking for working mmap... yes
> checking for ftruncate needs root... no
> checking for fcntl locking... no
> checking for broken (glibc2.1/x86) 64 bit fcntl locking... no
> checking for 64 bit fcntl locking... no
> checking for broken nisplus include files... no
> checking whether to use smbwrapper... no
> checking whether to use AFS... no
> checking whether to use DCE/DFS auth... no
> checking whether to use Kerberos IV... no
> checking whether to use Kerberos 5... no
> checking whether to use AUTOMOUNT... no
> checking whether to use SMBMOUNT... no
> checking whether to use PAM password database... no
> checking for pam_get_data in -lpam... no
> checking whether to use pam_smbpass... no
> checking for crypt... yes
> checking for a crypt that needs truncated salt... yes
> checking whether to use TDB SAM database... no
> checking whether to use LDAP SAM database... no
> checking whether to use NISPLUS SAM database... no
> checking whether to use traditional smbpasswd file... yes
> checking whether to use NISPLUS_HOME... no
> checking whether to use SSL... no
> checking whether to use syslog logging... no
> checking whether to use profiling... no
> checking whether to support disk-quotas... no
> checking whether to support utmp accounting... no
> checking whether to support Microsoft Dfs... no
> checking whether to support the experimantal Samba vfs... no
> checking whether to build the libsmbclient shared library... no
> checking how to get filesystem space usage
> checking statvfs64 function (SVR4)... no
> checking statvfs function (SVR4)... yes
> checking checking if large file support can be enabled... yes
> checking whether to support ACLs... no
> checking whether to build winbind... no, unsupported on osf4.0f
> checking configure summary
> ERROR: No locking available. Running Samba would be unsafe
> configure: error: summary failure. Aborting config
> 
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba






More information about the samba mailing list