I also had this problem, and I don't know *the* solution, but I know *a*
solution....I uninstalled libnss-db before compiling, and had no more
problems...(Which won't work if you use .db files for your passwd, shadow,
group or other naming databases, as they depend on this package) This is on
unstable (sid), so YMMV on potato & woody.
-
Josh
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Allan Rafuse
Sent: Wednesday, February 14, 2001 11:02
To: [EMAIL PROTECTED]
Subject: Can't run master on Cyrus 2.0.11
I'm trying to set up a test server on a Debian system. I had the
same trouble as a lot of people with the source tarball file so I grabbed
the CVS source. I get a little bit further with that. The tarball always
seg faulted on me. Now I get the following with the CVS build:
Heres my configure line:
./configure --with-cyrus-user=cyrus --with-cyrus-group=mail --without-krb --
with-auth=unix --with-dbdir=/usr/local/BerkeleyDB.3.2
Thanks
-Allan
A copy of strace from starting the master process.
----------------------------------------------------------------------------
----
read(6, "", 4096) = 0
open("/etc/cyrus.conf", O_RDONLY) = 7
fstat(7, {st_mode=S_IFREG|0644, st_size=937, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40015000
read(7, "# standard standalone server imp"..., 4096) = 937
read(7, "", 4096) = 0
open("/etc/cyrus.conf", O_RDONLY) = 8
fstat(8, {st_mode=S_IFREG|0644, st_size=937, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40016000
read(8, "# standard standalone server imp"..., 4096) = 937
read(8, "", 4096) = 0
rt_sigaction(SIGHUP, {0x8049e58, [], SA_RESTART|0x4000000}, NULL, 8) = 0
rt_sigaction(SIGALRM, {0x8049f04, [], SA_RESTART|0x4000000}, NULL, 8) = 0
rt_sigaction(SIGTERM, {0x8049e68, [], SA_RESTART|0x4000000}, NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x8049e48, [], SA_RESTART|SA_NOCLDSTOP|0x4000000},
NULL, 8) = 0
open("/etc/nsswitch.conf", O_RDONLY) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=465, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40017000
read(9, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 465
read(9, "", 4096) = 0
close(9) = 0
munmap(0x40017000, 4096) = 0
open("/usr/local/BerkeleyDB.3.2/lib/libnss_db.so.2", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/local/lib/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=21241, ...}) = 0
old_mmap(NULL, 21241, PROT_READ, MAP_PRIVATE, 9, 0) = 0x40197000
close(9) = 0
open("/lib/libnss_db.so.2", O_RDONLY) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=19608, ...}) = 0
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\26"..., 4096) =
4096
old_mmap(NULL, 22836, PROT_READ|PROT_EXEC, MAP_PRIVATE, 9, 0) = 0x4019d000
mprotect(0x401a2000, 2356, PROT_NONE) = 0
old_mmap(0x401a2000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 9,
0x4000) = 0x401a2000
close(9) = 0
open("/usr/local/BerkeleyDB.3.2/lib/libdb.so.3", O_RDONLY) = 9
fstat(9, {st_mode=S_IFREG|0755, st_size=686897, ...}) = 0
close(9) = 0
open("/usr/local/BerkeleyDB.3.2/lib/libnss_files.so.2", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/local/lib/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/lib/libnss_files.so.2", O_RDONLY) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=31084, ...}) = 0
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@ \0\000"..., 4096)
= 4096
old_mmap(NULL, 34384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 9, 0) = 0x401a3000
mprotect(0x401ab000, 1616, PROT_NONE) = 0
old_mmap(0x401ab000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 9,
0x7000) = 0x401ab000
close(9) = 0
munmap(0x40197000, 21241) = 0
write(2, "/usr/cyrus/bin/master", 21) = 21
write(2, ": error in loading shared librar"..., 37) = 37
write(2, "/lib/libnss_db.so.2", 19) = 19
write(2, ": ", 2) = 2
write(2, "symbol __nss_db_open, version GL"..., 95) = 95
write(2, "", 0) = 0
write(2, "", 0) = 0
write(2, "\n", 1) = 1
_exit(127) = ?
<- Allan Rafuse ->
Systems Administrator
Freeview Publishing Inc.
email: [EMAIL PROTECTED]
web: http://www.freeview.com