Arnt Gulbrandsen wrote:
I'd upgrade aox first, then see whether there's any reason to upgrade any of the other jigsaw puzzles.

Ah. That's a shame. I went with the PostgreSQL upgrade first, because I want it for other things too.

I have the old aox2 running on 9.0.4 now. But 3.1.3 doesn't start up for me. It doesn't seem to log why, which is perplexing, and it leaves its logd running but aox start just exits silently.

check config, show config seem OK.


I tried this and didn't really understand the output:

root@server:/usr/local/archiveopteryx# bin/aox tune database
aox: Unknown database mode.
Supported: mostly-writing, mostly-reading and advanced-reading


So I tried strace but that also gave little insight, it ends:

getpeername(3, {sa_family=AF_FILE, path="/var/run/postgresql/.s.PGS"}, [36]) = 0 getsockname(3, {sa_family=AF_FILE, path="/var/run/postgresql/.s.PGS"}, [2]) = 0 mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7160000
write(3, "\0\0\0=\0\3\0\0user\0aox\0database\0archiv"..., 61) = 61
time(NULL)                              = 1303675442
time(NULL)                              = 1303675442
select(4, [3], [], NULL, {0, 200000})   = 1 (in [3], left {0, 200000})
time(NULL)                              = 1303675442
time(NULL)                              = 1303675442
getsockopt(3, SOL_SOCKET, SO_RCVBUF, [111616], [4]) = 0
ioctl(3, FIONREAD, [314])               = 0
read(3, "R\0\0\0\10\0\0\0\0S\0\0\0\26application_name\0\0"..., 8184) = 314
read(3, 0xbfb98ce8, 8184) = -1 EAGAIN (Resource temporarily unavailable)
time(NULL)                              = 1303675442
time(NULL)                              = 1303675442
write(3, "P\0\0\0>\0select login from users wh"..., 100) = 100
time(NULL)                              = 1303675442
time(NULL)                              = 1303675442
select(4, [3], [], NULL, {0, 200000})   = 1 (in [3], left {0, 200000})
time(NULL)                              = 1303675442
time(NULL)                              = 1303675442
getsockopt(3, SOL_SOCKET, SO_RCVBUF, [111616], [4]) = 0
ioctl(3, FIONREAD, [61])                = 0
read(3, "1\0\0\0\0042\0\0\0\4T\0\0\0\36\0\1login\0\0\0@\323\0\2"..., 8184) = 61 read(3, 0xbfb98ce8, 8184) = -1 EAGAIN (Resource temporarily unavailable)
time(NULL)                              = 1303675442
time(NULL)                              = 1303675442
time(NULL)                              = 1303675442
chdir("/usr/local/archiveopteryx/sbin") = 0
open("/usr/local/archiveopteryx/lib/pidfiles/logd.pid", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=6, ...}) = 0
read(4, "17074\n", 6)                   = 6
close(4)                                = 0
kill(17074, SIG_0)                      = 0
open("/usr/local/archiveopteryx/lib/pidfiles/archiveopteryx.pid", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=6, ...}) = 0
read(4, "17273\n", 6)                   = 6
close(4)                                = 0
kill(17273, SIG_0)                      = -1 ESRCH (No such process)
unlink("/usr/local/archiveopteryx/lib/pidfiles/archiveopteryx.pid") = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb72e7708) = 17310
waitpid(17310, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 17310
--- SIGCHLD (Child exited) @ 0 (0) ---
time(NULL)                              = 1303675442
time(NULL)                              = 1303675442
time(NULL)                              = 1303675442
write(3, "X\0\0\0\4", 5)                = 5
exit_group(0)                           = ?
Process 17308 detached

Any ideas?

James

Reply via email to