Hi, /etc/init.d/samba start reports ok for both demons, but smbd isn't running. This is in log.smdb [2005/09/22 16:08:47, 0] groupdb/mapping.c:init_group_mapping(134) Failed to open group mapping database [2005/09/22 16:08:47, 0] groupdb/mapping.c:get_group_map_from_gid(275) failed to initialize group mapping [2005/09/22 16:08:47, 0] lib/account_pol.c:init_account_policy(52) Failed to open account policy database [2005/09/22 16:08:47, 0] lib/account_pol.c:init_account_policy(52) Failed to open account policy database [2005/09/22 16:08:47, 0] lib/account_pol.c:init_account_policy(52) Failed to open account policy database [2005/09/22 16:08:47, 0] lib/account_pol.c:init_account_policy(52) Failed to open account policy database [2005/09/22 16:08:47, 0] lib/account_pol.c:init_account_policy(52) Failed to open account policy database [2005/09/22 16:08:47, 0] lib/account_pol.c:init_account_policy(52) Failed to open account policy database [2005/09/22 16:08:47, 0] lib/messages.c:message_init(106) ERROR: Failed to initialise messages database It's a brand new install, this happened with 3.0.14a-r2 as well as 3.0.20-r1, can't work out why. [ebuild R ] net-fs/samba-3.0.20-r1 -acl -async -automount +cups -doc -kerberos +ldap -libclamav +mysql -oav +pam -postgres +python -quotas +readline (-selinux) +syslog -winbind -xml +xml2 0 kB emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1, 2.6.1 2-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -fomit-frame-pointer -march=athlon-tbird" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/ config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -fomit-frame-pointer -march=athlon-tbird" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://mirrors.blueyonder.co.uk/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage_mail" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi bitmap-fonts crypt cups eds emboss encode foomaticd b fortran gdbm gif gnome gpm gstreamer gtk2 imlib ipv6 jpeg kde ldap libg++ libw ww mad mikmod motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pdfl ib perl png python qt quicktime readline samba sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib userland_GNU kernel_linux el ibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS Reproducible: Always Steps to Reproduce: 1. 2. 3.
db repository error. Could you please attach the output file of 'testparm -v -s 2>&1 > ${file}'?
Sorry, I was doing a new install, adding to the default installed smb.conf, which had lock directory = /usr/local/samba/var/lock in it, a non-existant directory. I added the directory and smbd started up fine, then commented it out and deleted the /usr/local directory and smbd also worked fine. Thanks