[ic] Server Move

Joshua Benjamin jbenjamin@biznesshosting.com
Mon, 5 Feb 2001 22:38:54 -0500


Wee.
I've recently moved Interchange to a new server and moved a catalog with it.
Not when going to the URL for the catalog I get "Undefined catalog:
/unusualsilver" -- There's a lot of differences in this server from the old
like a new Apache and su_exec stuff (finally ironned it I think) -- but
anyway here is strace output of the interchange process when I access the
CGI.

open("/var/run/interchange", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 12
fstat(12, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl(12, F_SETFD, FD_CLOEXEC)          = 0
[root@optimus interchange]# strace -p 23968
select(16, [10 11], NULL, NULL, {1, 860000}) = 0 (Timeout)
time(NULL)                              = 981429804
open("/var/run/interchange", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 12
fstat(12, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl(12, F_SETFD, FD_CLOEXEC)          = 0
getdents(12, /* 8 entries */, 3933)     = 176
getdents(12, /* 0 entries */, 3933)     = 0
close(12)                               = 0
time(NULL)                              = 981429804
select(16, [10 11], NULL, NULL, {3, 0}) = 1 (in [10], left {2, 810000})
accept(10, {sin_family=AF_UNIX, path=@
@}, [2]) = 12
fcntl(12, F_GETFL)                      = 0x2 (flags O_RDWR)
fstat64(0xc, 0xbffff70c)                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x4027a000
_llseek(12, 0, 0xbffff74c, SEEK_CUR)    = -1 ESPIPE (Illegal seek)
fcntl(12, F_GETFL)                      = 0x2 (flags O_RDWR)
fstat64(0xc, 0xbffff704)                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x4027b000
_llseek(12, 0, 0xbffff744, SEEK_CUR)    = -1 ESPIPE (Illegal seek)
fork()                                  = 23986
close(12)                               = 0
munmap(0x4027b000, 4096)                = 0
close(12)                               = -1 EBADF (Bad file descriptor)
munmap(0x4027a000, 4096)                = 0
wait4(-1, 0xbffff8b8, 0, NULL)          = ? ERESTARTSYS (To be restarted)
--- SIGUSR1 (User defined signal 1) ---
sigreturn()                             = ? (mask now [])
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 9], 0, NULL) = 23986
--- SIGCHLD (Child exited) ---
time(NULL)                              = 981429804
select(16, [10 11], NULL, NULL, {3, 0}) = ? ERESTARTNOHAND (To be restarted)
--- SIGUSR2 (User defined signal 2) ---
sigreturn()                             = ? (mask now [])
time(NULL)                              = 981429804
select(16, [10 11], NULL, NULL, {3, 0} <unfinished ...>

--
 -----==-                     Joshua Benjamin josh@biznesshosting.com|
 ----==-- _                   Chief Operations Officer               |
 ---==---(_)__  __ ____  __   Biznesshosting, Inc.                   |
 --==---/ / _ \/ // /\ \/ /   Your business: online faster, cheaper. |
 -=====/_/_//_/\_,_/ /_/\_\   http://www.biznesshosting.com          |
The choice of a GNU generation                                       |
---------------------------------------------------------------------+