On Tue, Sep 15, 2009 at 10:46:06AM -0400, Adam Kocoloski wrote:
> The first thing I'd wonder is whether
> those couch-0.XX.0aXXXXXX were accidentally named in such a way (by us)
> that the Erlang code loader was searching older builds with higher
> priority
Unfortunately I didn't keep a copy of the directory listing. But I do have a
similar workstation that I hadn't updated. So I've just updated it, and it
suffers the same problem. Looking at its erlang lib dir:
$ ls /usr/local/lib/couchdb/erlang/lib/
couch-0.10.0a couch-0.10.0a787002 couch-0.9.0a766377
couch-0.10.0a767851 couch-0.10.0a787654 couch-0.9.0a766689
couch-0.10.0a768591 couch-0.10.0a790597 couch-0.9.0a767067
couch-0.10.0a769730 couch-0.11.0a815641 couch-0.9.0a767213
couch-0.10.0a769794 couch-0.9.0 erlang-oauth
couch-0.10.0a771737 couch-0.9.0a757147 ibrowse-1.4.1
couch-0.10.0a772530 couch-0.9.0a762247 ibrowse-1.5.2
couch-0.10.0a778641 couch-0.9.0a765499 mochiweb-r97
I have very little erlang fu, but I had a look at the OS level by adding
'strace' in front of '/usr/bin/erl' in the startup script. This gives the
following.
$ sudo -i -u couchdb /home/brian/svn/couchdb/start-couchdb 2>xxx
^C
$ grep couch- xxx
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0/ebin", W_OK) = -1 EACCES
(Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a767851/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a767851/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a767851/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a768591/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a768591/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a768591/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769730/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769730/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769730/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769794/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769794/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769794/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a771737/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a771737/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a771737/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a772530/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a772530/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a772530/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a778641/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a778641/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a778641/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787002/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787002/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787002/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787654/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787654/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787654/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a790597/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a790597/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a790597/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.11.0a815641/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.11.0a815641/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.11.0a815641/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a757147/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a757147/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a757147/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a762247/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a762247/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a762247/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a765499/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a765499/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a765499/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766377/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766377/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766377/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766689/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766689/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766689/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767067/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767067/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767067/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767213/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767213/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767213/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767213/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767213/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767213/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767067/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767067/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767067/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766689/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766689/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766689/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766377/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766377/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766377/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a765499/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a765499/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a765499/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a762247/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a762247/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a762247/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a757147/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a757147/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a757147/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.11.0a815641/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.11.0a815641/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.11.0a815641/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a790597/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a790597/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a790597/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787654/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787654/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787654/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787002/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787002/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787002/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a778641/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a778641/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a778641/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a772530/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a772530/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a772530/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a771737/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a771737/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a771737/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769794/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769794/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769794/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769730/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769730/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769730/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a768591/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a768591/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a768591/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a767851/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a767851/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a767851/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a/ebin", W_OK) = -1
EACCES (Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0/ebin",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0/ebin", R_OK) = 0
access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0/ebin", W_OK) = -1 EACCES
(Permission denied)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0.ez", 0xbfc88990) = -1
ENOENT (No such file or directory)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a.ez", 0xbfc88990) = -1
ENOENT (No such file or directory)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a767851.ez", 0xbfc88990)
= -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a768591.ez", 0xbfc88990)
= -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769730.ez", 0xbfc88990)
= -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769794.ez", 0xbfc88990)
= -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a771737.ez", 0xbfc88990)
= -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a772530.ez", 0xbfc88990)
= -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a778641.ez", 0xbfc88990)
= -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787002.ez", 0xbfc88990)
= -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787654.ez", 0xbfc88990)
= -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a790597.ez", 0xbfc88990)
= -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.11.0a815641.ez", 0xbfc88990)
= -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a757147.ez", 0xbfc88990) =
-1 ENOENT (No such file or directory)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a762247.ez", 0xbfc88990) =
-1 ENOENT (No such file or directory)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a765499.ez", 0xbfc88990) =
-1 ENOENT (No such file or directory)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766377.ez", 0xbfc88990) =
-1 ENOENT (No such file or directory)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766689.ez", 0xbfc88990) =
-1 ENOENT (No such file or directory)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767067.ez", 0xbfc88990) =
-1 ENOENT (No such file or directory)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767213.ez", 0xbfc88990) =
-1 ENOENT (No such file or directory)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767213/ebin/couch.beam",
0xbfc88974) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767213/ebin/couch.beam",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767067/ebin/couch.beam",
0xbfc88974) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767067/ebin/couch.beam",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766689/ebin/couch.beam",
0xbfc88974) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766689/ebin/couch.beam",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766377/ebin/couch.beam",
0xbfc88974) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766377/ebin/couch.beam",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a765499/ebin/couch.beam",
0xbfc88974) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a765499/ebin/couch.beam",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a762247/ebin/couch.beam",
0xbfc88974) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a762247/ebin/couch.beam",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a757147/ebin/couch.beam",
0xbfc88974) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a757147/ebin/couch.beam",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.11.0a815641/ebin/couch.beam",
{st_mode=S_IFREG|0644, st_size=960, ...}) = 0
open("/usr/local/lib/couchdb/erlang/lib/couch-0.11.0a815641/ebin/couch.beam",
O_RDONLY|O_LARGEFILE) = 8
open("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767213/ebin",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 8
stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767213/ebin/couch.app",
{st_mode=S_IFREG|0644, st_size=1119, ...}) = 0
open("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767213/ebin/couch.app",
O_RDONLY|O_LARGEFILE) = 8
$
Does this make any sense to you? It looks like it's reading couch.beam from
couch-0.11.0a815641 (correct), but couch.app from couch-0.9.0a767213 (?!).
At that point, it seems to die, because no further files are being loaded
from couch-* directories.
FYI, here are the available versions of those files:
$ find /usr/local/lib/couchdb/erlang/lib -name couch.beam
/usr/local/lib/couchdb/erlang/lib/couch-0.11.0a815641/ebin/couch.beam
$ find /usr/local/lib/couchdb/erlang/lib -name couch.app
/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a757147/ebin/couch.app
/usr/local/lib/couchdb/erlang/lib/couch-0.9.0/ebin/couch.app
/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a762247/ebin/couch.app
/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a765499/ebin/couch.app
/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766377/ebin/couch.app
/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766689/ebin/couch.app
/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767067/ebin/couch.app
/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767213/ebin/couch.app
/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a767851/ebin/couch.app
/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a768591/ebin/couch.app
/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769730/ebin/couch.app
/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769794/ebin/couch.app
/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a771737/ebin/couch.app
/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a772530/ebin/couch.app
/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a778641/ebin/couch.app
/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787002/ebin/couch.app
/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787654/ebin/couch.app
/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a790597/ebin/couch.app
/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a/ebin/couch.app
/usr/local/lib/couchdb/erlang/lib/couch-0.11.0a815641/ebin/couch.app
$
Any thoughts?
Brian.