[Samba] tdb database problems on mipsel-linux
Daniel S. Haischt
me-dated-1093092104.df2259 at daniel.stefan.haischt.name
Mon Aug 16 12:41:25 GMT 2004
Hello,
I am trying to compile Samba 3.0.5 on a Playstation 2 running a
BlackRhino GNU/Linux system. The Samba sources where compiled
with ...
-> build system type: mipsel-unknown-linux-gnu
-> host system type: ditto
-> target system type: ditto
Every time I try to execute '/usr/local/sbin/smbd -d 5 -i' I am
getting the following result:
--------8<----------8<----------8<----------8<---------8<--------
added interface ip=192.168.121.2 bcast=192.168.121.255 nmask=255.255.255.0
Hash size = 521.
Netbios name list:-
my_netbios_names[0]="PS2"
loaded services
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
tdb(/var/db/samba/share_info.tdb): tdb_oob len 1111638618 beyond eof at 8192
Opening cache file at /var/db/samba/gencache.tdb
namecache_enable: enabling netbios namecache, timeout 660 seconds
tdb(/var/db/samba/registry.tdb): tdb_oob len 1111638618 beyond eof at 8192
init_registry: Failed to initiailize data in registry!
init_registry: failed to initialize the registry tdb!
-------->8---------->8---------->8---------->8--------->8--------
I tried the smb.conf.default file that is included in the samba tarball
and a custom smb.conf file - both leading to the same result.
Additionally I deleted each *.tdb file in /var/db/samba, but I am
still getting the above error message.
As a side not - I am able to run nmbd but not smbd.
Did I compile the Samba sources with the wrong host type? Can you give
me any pointers on how to solve this issue?
Additional Information:
--------8<----------8<----------8<----------8<---------8<--------
uname output:
Linux ps2.abyssworld.de 2.2.26-xr1 #1 Fri Aug 13 17:00:22 UTC 2004 mips
unknown unknown GNU/Linux
configure options:
./configure --prefix=/usr/local --exec-prefix=/usr/local
--localstatedir=/var --with-configdir=/etc/samba
--with-libdir=/usr/local/lib/samba --with-swatdir=/usr/local/share/swat
--with-piddir=/var/run --with-lockdir=/var/db/samba
--with-private dir=/usr/local/samba/private
--with-logfilebase=/var/log/samba --with-manpages-langs=en,de
--with-libiconv=/usr --with-pam --with-readline --with-sendfile-support
--enable-cups --with-syslog --with-quotas --with-msdfs --with-winbind
--with-xml-prefix=/usr/local --with-mysql-prefix=/usr/local
--with-pgsql-prefix=/usr/local --with-ldapsam --with-pam_smbpass
--with-acl-support --with-ads --with-krb5=/usr/local --with-ldap
-------->8---------->8---------->8---------->8--------->8--------
Regards
Daniel S. Haischt
--
More information about the samba
mailing list