Lamar.Saxon@americredit.com
2005-Nov-09 21:56 UTC
[Samba] Samba 3.0.20b / AIX 5.3 / VFS Modules
Has anyone successfully gotten the VFS modules to work under AIX 5.3 and Samba 3.0.x ? I have no problem compiling Samba 3.0.x and having it working; but when I set up a VFS module the following occurs: 1. In the log file I see: [2005/11/09 15:45:02, 0] lib/fault.c:fault_report(36) ==============================================================[2005/11/09 15:45:02, 0] lib/fault.c:fault_report(37) INTERNAL ERROR: Signal 11 in pid 13020 (3.0.20b) Please read the Trouble-Shooting section of the Samba3-HOWTO [2005/11/09 15:45:02, 0] lib/fault.c:fault_report(39) From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf [2005/11/09 15:45:02, 0] lib/fault.c:fault_report(40) ==============================================================[2005/11/09 15:45:02, 0] lib/util.c:smb_panic2(1548) PANIC: internal error 2. A core file is created and dbx shows: /usr/local/samba/var:> dbx ../sbin/smbd core Type 'help' for help. warning: The core file is not a fullcore. Some info may not be available. [using memory image in core] reading symbolic information ... IOT/Abort trap in raise.raise [/usr/lib/libc.a] at 0xd1b81ffc 0xd1b81ffc (raise+0x40) 80410014 lwz r2,0x14(r1) (dbx) I get the same messages compiling with IBM C ( v5 ) or GCC ( v4.0 ). I also tried to compile it with static vs. shared libraries with no success. I compiled the torture files and try loading it with the vfstest tool and get similar issues as below: /usr/local/samba/torture:> ./vfstest -d10 Initialising default vfs hooks vfstest $> load audit Initialising custom vfs hooks from [audit] Probing module 'audit' Probing module 'audit': Trying to load from /usr/local/samba/lib/vfs/audit.so Segmentation fault(coredump) /usr/local/samba/torture:> dbx vfstest core Type 'help' for help. [using memory image in core] reading symbolic information ... Segmentation fault in audit_connect at 0xd00db9a0 0xd00db9a0 (audit_connect+0xa4) 800c0000 lwz r0,0x0(r12) My configure looks like this: ./configure --with-configdir=/usr/local/samba/etc --with-krb5=/usr/local/kerberos --with-syslog --with-utmp --with-libsmbclient --with-readline=/usr/local --with-libiconv=/usr/local/special --with-aio-support I am using GNU libiconv since the AIX version does not seem to work with Samba. My build looks like: Build environment: Built by: lsaxon1@aoctoolbox Built on: Wed Nov 9 14:39:37 CST 2005 Built using: cc Build host: AIX aoctoolbox 3 5 000448784C00 SRCDIR: /usr/sys/inst.images/Samba/samba-3.0.20b/source BUILDDIR: /usr/sys/inst.images/Samba/samba-3.0.20b/source Paths: SBINDIR: /usr/local/samba/sbin BINDIR: /usr/local/samba/bin SWATDIR: /usr/local/samba/swat CONFIGFILE: /usr/local/samba/etc/smb.conf LOGFILEBASE: /usr/local/samba/var LMHOSTSFILE: /usr/local/samba/etc/lmhosts LIBDIR: /usr/local/samba/lib SHLIBEXT: so LOCKDIR: /usr/local/samba/var/locks PIDDIR: /usr/local/samba/var/locks SMB_PASSWD_FILE: /usr/local/samba/private/smbpasswd PRIVATE_DIR: /usr/local/samba/private System Headers: HAVE_SYS_ACL_H HAVE_SYS_CDEFS_H HAVE_SYS_FILSYS_H HAVE_SYS_ID_H HAVE_SYS_IOCTL_H HAVE_SYS_IPC_H HAVE_SYS_MMAN_H HAVE_SYS_MODE_H HAVE_SYS_PARAM_H HAVE_SYS_PRIV_H HAVE_SYS_RESOURCE_H HAVE_SYS_SELECT_H HAVE_SYS_SHM_H HAVE_SYS_SOCKET_H HAVE_SYS_STATFS_H HAVE_SYS_STATVFS_H HAVE_SYS_STAT_H HAVE_SYS_SYSLOG_H HAVE_SYS_SYSMACROS_H HAVE_SYS_TERMIO_H HAVE_SYS_TIME_H HAVE_SYS_TYPES_H HAVE_SYS_UIO_H HAVE_SYS_UN_H HAVE_SYS_VFS_H HAVE_SYS_WAIT_H Headers: HAVE_AIO_H HAVE_ALLOCA_H HAVE_ARPA_INET_H HAVE_CTYPE_H HAVE_DIRENT_H HAVE_DLFCN_H HAVE_FCNTL_H HAVE_GLOB_H HAVE_GRP_H HAVE_INT16_FROM_RPC_RPC_H HAVE_INT32_FROM_RPC_RPC_H HAVE_INTTYPES_H HAVE_LANGINFO_H HAVE_LIMITS_H HAVE_LOCALE_H HAVE_MEMORY_H HAVE_MNTENT_H HAVE_NETINET_IN_SYSTM_H HAVE_NETINET_IP_H HAVE_NETINET_TCP_H HAVE_NET_IF_H HAVE_POLL_H HAVE_READLINE_HISTORY_H HAVE_READLINE_READLINE_H HAVE_RPCSVC_NIS_H HAVE_RPCSVC_YPCLNT_H HAVE_RPCSVC_YP_PROT_H HAVE_RPC_NETTYPE_H HAVE_RPC_RPC_H HAVE_SECURITY_PAM_APPL_H HAVE_SECURITY_PAM_MODULES_H HAVE_STDARG_H HAVE_STDINT_H HAVE_STDLIB_H HAVE_STRINGS_H HAVE_STRING_H HAVE_STROPTS_H HAVE_SYSLOG_H HAVE_TERMIOS_H HAVE_TERMIO_H HAVE_UNISTD_H HAVE_UTIME_H UTMP Options: HAVE_UTMPX_H HAVE_UTMP_H HAVE_UT_UT_EXIT HAVE_UT_UT_HOST HAVE_UT_UT_ID HAVE_UT_UT_NAME HAVE_UT_UT_PID HAVE_UT_UT_TIME HAVE_UT_UT_TYPE HAVE_UT_UT_USER PUTUTLINE_RETURNS_UTMP WITH_UTMP HAVE_* Defines: HAVE_AIOCB64 HAVE_AIO_CANCEL HAVE_AIO_CANCEL64 HAVE_AIO_ERROR HAVE_AIO_ERROR64 HAVE_AIO_FSYNC HAVE_AIO_FSYNC64 HAVE_AIO_READ HAVE_AIO_READ64 HAVE_AIO_RETURN HAVE_AIO_RETURN64 HAVE_AIO_SUSPEND HAVE_AIO_SUSPEND64 HAVE_AIO_WRITE HAVE_AIO_WRITE64 HAVE_ATEXIT HAVE_C99_VSNPRINTF HAVE_CHMOD HAVE_CHOWN HAVE_CHROOT HAVE_CLOSEDIR64 HAVE_COMPILER_WILL_OPTIMIZE_OUT_FNS HAVE_CONNECT HAVE_CREAT64 HAVE_CRYPT HAVE_DEV64_T HAVE_DLCLOSE HAVE_DLERROR HAVE_DLOPEN HAVE_DLSYM HAVE_DUP2 HAVE_ENDMNTENT HAVE_ENDNETGRENT HAVE_ERRNO_DECL HAVE_EXECL HAVE_EXPLICIT_LARGEFILE_SUPPORT HAVE_FCHMOD HAVE_FCHOWN HAVE_FCNTL_LOCK HAVE_FCVT HAVE_FOPEN64 HAVE_FSEEKO64 HAVE_FSTAT HAVE_FSTAT64 HAVE_FSYNC HAVE_FTELLO64 HAVE_FTRUNCATE HAVE_FTRUNCATE64 HAVE_FTRUNCATE_EXTEND HAVE_FUNCTION_MACRO HAVE_GETCWD HAVE_GETDIRENTRIES HAVE_GETGRENT HAVE_GETGRNAM HAVE_GETMNTENT HAVE_GETNETGRENT HAVE_GETRLIMIT HAVE_GETTIMEOFDAY_TZ HAVE_GLOB HAVE_GRANTPT HAVE_ICONV HAVE_IFACE_AIX HAVE_INITGROUPS HAVE_INNETGR HAVE_INO64_T HAVE_LIBPAM HAVE_LIBREADLINE HAVE_LINK HAVE_LLSEEK HAVE_LONGLONG HAVE_LSEEK64 HAVE_LSTAT64 HAVE_MEMMOVE HAVE_MEMSET HAVE_MKNOD HAVE_MKTIME HAVE_MMAP HAVE_NANOSLEEP HAVE_NATIVE_ICONV HAVE_NL_LANGINFO HAVE_NO_ACLS HAVE_OFF64_T HAVE_OPEN64 HAVE_OPENDIR64 HAVE_PATHCONF HAVE_PIPE HAVE_POLL HAVE_PRCTL HAVE_PREAD HAVE_PREAD64 HAVE_PUTUTLINE HAVE_PUTUTXLINE HAVE_PWRITE HAVE_PWRITE64 HAVE_RAND HAVE_RANDOM HAVE_READDIR64 HAVE_READLINK HAVE_REALPATH HAVE_RENAME HAVE_REWINDDIR64 HAVE_ROOT HAVE_SECURE_MKSTEMP HAVE_SEEKDIR64 HAVE_SELECT HAVE_SENDFILE HAVE_SETBUFFER HAVE_SETENV HAVE_SETGIDX HAVE_SETGROUPS HAVE_SETLINEBUF HAVE_SETLOCALE HAVE_SETMNTENT HAVE_SETNETGRENT HAVE_SETPGID HAVE_SETPRIV HAVE_SETSID HAVE_SETUIDX HAVE_SHMGET HAVE_SHM_OPEN HAVE_SIGACTION HAVE_SIGBLOCK HAVE_SIGPROCMASK HAVE_SIGSET HAVE_SIG_ATOMIC_T_TYPE HAVE_SNPRINTF HAVE_SNPRINTF_DECL HAVE_SOCKLEN_T_TYPE HAVE_SOCK_SIN_LEN HAVE_SRAND HAVE_SRANDOM HAVE_STAT64 HAVE_STAT_ST_BLKSIZE HAVE_STAT_ST_BLOCKS HAVE_STRCASECMP HAVE_STRCHR HAVE_STRDUP HAVE_STRERROR HAVE_STRFTIME HAVE_STRNDUP HAVE_STRNLEN HAVE_STRPBRK HAVE_STRTOUL HAVE_STRUCT_DIR64 HAVE_STRUCT_DIRENT64 HAVE_STRUCT_FLOCK64 HAVE_STRUCT_SECMETHOD_TABLE_METHOD_ATTRLIST HAVE_STRUCT_SECMETHOD_TABLE_METHOD_VERSION HAVE_STRUCT_STAT_ST_RDEV HAVE_STRUCT_TIMESPEC HAVE_ST_RDEV HAVE_SYMLINK HAVE_SYSCONF HAVE_SYSLOG HAVE_TELLDIR64 HAVE_UNIXSOCKET HAVE_UNSIGNED_CHAR HAVE_UPDWTMP HAVE_USLEEP HAVE_UTIMBUF HAVE_UTIME HAVE_UTIMES HAVE_VA_COPY HAVE_VOLATILE HAVE_VSNPRINTF HAVE_VSNPRINTF_DECL HAVE_WAITPID HAVE_YP_GET_DEFAULT_DOMAIN HAVE__LSEEK HAVE__READDIR HAVE__READDIR64 HAVE___FCNTL HAVE___FORK --with Options: WITH_AIO WITH_SENDFILE WITH_SYSLOG WITH_UTMP WITH_WINBIND Build Options: AIX AIX_SENDFILE_API BROKEN_STRNDUP BROKEN_STRNLEN COMPILER_SUPPORTS_LL DEFAULT_DISPLAY_CHARSET DEFAULT_DOS_CHARSET DEFAULT_UNIX_CHARSET PACKAGE_BUGREPORT PACKAGE_NAME PACKAGE_STRING PACKAGE_TARNAME PACKAGE_VERSION REPLACE_GETPASS RETSIGTYPE SEEKDIR_RETURNS_VOID SIZEOF_INT SIZEOF_LONG SIZEOF_SHORT STAT_STATVFS64 STAT_ST_BLOCKSIZE STDC_HEADERS STRING_STATIC_MODULES SYSCONF_SC_NGROUPS_MAX TIME_WITH_SYS_TIME USE_SETREUID WITH_AIO WITH_SENDFILE WITH_SYSLOG WITH_WINBIND WORDS_BIGENDIAN _POSIX_C_SOURCE _POSIX_SOURCE charset_CP437_init charset_CP850_init inline loff_t static_init_auth static_init_charset static_init_idmap static_init_pdb static_init_rpc static_init_vfs vfs_audit_init vfs_cap_init vfs_default_quota_init vfs_expand_msdfs_init vfs_extd_audit_init vfs_fake_perms_init vfs_full_audit_init vfs_netatalk_init vfs_readonly_init vfs_recycle_init vfs_shadow_copy_init Type sizes: sizeof(char): 1 sizeof(int): 4 sizeof(long): 4 sizeof(uint8): 1 sizeof(uint16): 2 sizeof(uint32): 4 sizeof(short): 2 sizeof(void*): 4 Builtin modules: pdb_smbpasswd pdb_tdbsam pdb_guest rpc_lsa rpc_reg rpc_lsa_ds rpc_wks rpc_svcctl rpc_net rpc_dfs rpc_srv rpc_spoolss rpc_eventlog rpc_s amr idmap_tdb auth_rhosts auth_sam auth_unix auth_winbind auth_server auth_domain auth_builtin Any help is greatly appreciated. Trying to get Samba VSCAN working and the problems seem to be with the VFS module support under AIX. Lamar Saxon Lamar.Saxon@americredit.com pSeries / AIX Operations Manager 817-525-7122 //AmeriCredit 4001 Embarcadero Arlington ,TX 76014 Privileged and Confidential. This e-mail, and any attachments there to, is intended only for use by the addressee(s) named herein and may contain privileged or confidential information. If you have received this e-mail in error, please notify me immediately by a return e-mail and delete this e-mail. You are hereby notified that any dissemination, distribution or copying of this e-mail and/or any attachments thereto, is strictly prohibited.
Seemingly Similar Threads
- Samba 3.0.25c and Samba 3.0.26a on AIX 5.3 - Windows Service Accounts & smbclient issues...
- 2nd try: Lots of RPC-related compile errors (conflicting types, too many arguments, ...) trying to update Samba from 3.5 to 4.6
- Successful compile / i686 "LARGEFILE64" question (was: Lots of RPC-related compile errors trying to update Samba from 3.5 to 4.6)
- 2nd try: Lots of RPC-related compile errors (conflicting types, too many arguments, ...) trying to update Samba from 3.5 to 4.6
- imap process consuming 100% CPU (Dovecot 1.0.3)