couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hahn <m...@hahnca.com>
Subject Re: duplicate lines in futon config screen
Date Wed, 01 Feb 2012 03:28:48 GMT
>   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)                           = ?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message