> I bet you could strace the couch process when it starts and look at all
the fread calls to find out
what files its reading.
I had never heard of strace. It looks great. Unfortunately this is what I
got when I added strace to the beginning of a cmd line that worked. I
assume I'm not using it correctly.
$ strace /root/build-couchdb/build/bin/couchdb start
execve("/root/build-couchdb/build/bin/couchdb",
["/root/build-couchdb/build/bin/co"..., "start"], [/* 31 vars */]) = -1
ENOEXEC (Exec format error)
dup(2) = 3
fcntl64(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat64(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7741000
_llseek(3, 0, 0xbfd297f4, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: Exec format error\n", 32strace: exec: Exec format
error
) = 32
close(3) = 0
munmap(0xb7741000, 4096) = 0
exit_group(1) = ?