[Zope] rh9 + zope 2.6.1 = no response
Grzegorz Jasko
jasko@industriebrandpartners.de
Wed, 11 Jun 2003 15:50:31 +0200
Hi Zope Users!
After the upgrade of my box from redhat 8 to redhat 9 my zope 2.6.1 =
doesn't work any more. I didn't installed zope rpms, so all zope =
binaries are as beftore. The box is a smp i686 with 2.4.20-8smp kernel =
and glibc 2.3.2-11.9. When I connect to http://mybox:8080/ I got =
sometimes the 'zope welcome screen', but mostly not. Trying to access =
sth else the server does not answer as well - the browser is waiting =
infinitely for the server response. There is no error message in the =
logs or somewhere else.
Starting the server as user zope by call ./start & I can see followed =
processes:
[zope@mybox zope_dev]# ps auxf
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
zope 1305 0.0 0.2 4532 1392 pts/2 S 12:36 0:00 | \_ -bash
zope 1343 0.1 0.6 4364 3380 pts/2 S 12:36 0:00 | \_ =
/opt/zope_dev/bin/python /opt/zope_dev/z2.py=20
zope 1346 1.0 2.9 49632 15168 pts/2 S 12:36 0:05 | \_ =
/opt/zope_dev/bin/python /opt/zope_dev/z2.py
The output is the same as for working server under rh8, but a browser =
gets no response
making (as root) strace onto pid 1346 gives this:
...
gettimeofday({1055327969, 572131}, NULL) =3D 0
fcntl64(16, F_SETFD, FD_CLOEXEC) =3D 0
select(17, [9 13 14 15 16], [], [], {30, 0}) =3D 1 (in [16], left {30, =
0})
recv(16, "GET /manage HTTP/1.1\r\nAccept: im"..., 4096, 0) =3D 353
gettimeofday({1055327969, 574106}, NULL) =3D 0
futex(0x8bd83d4, FUTEX_WAKE, 1, {1, 1}) =3D 1
futex(0x8bd83c8, FUTEX_WAKE, 1, {0, 1}) =3D 1
futex(0x8bd667c, FUTEX_WAKE, 1, {1, 17}) =3D 1
futex(0x8bd6670, FUTEX_WAKE, 1, {0, 17}) =3D 1
futex(0x8bd8240, FUTEX_WAIT, 2, NULL) =3D -1 EAGAIN (Resource =
temporarily unavailable)
futex(0x8bd8240, FUTEX_WAKE, 1, NULL) =3D 0
select(17, [9 13 14 15 16], [], [], {30, 0}) =3D 0 (Timeout)
select(17, [9 13 14 15 16], [], [], {30, 0}) =3D 0 (Timeout)
select(17, [9 13 14 15 16], [], [], {30, 0}) =3D 0 (Timeout)
select(17, [9 13 14 15 16], [], [], {30, 0}) =3D 0 (Timeout)
select(17, [9 13 14 15 16], [], [], {30, 0}) =3D 0 (Timeout)
select(17, [9 13 14 15 16], [], [], {30, 0}) =3D 0 (Timeout)
select(17, [9 13 14 15 16], [], [], {30, 0}) =3D 0 (Timeout)
select(17, [9 13 14 15 16], [], [], {30, 0}) =3D 0 (Timeout)
select(17, [9 13 14 15 16], [], [], {30, 0}) =3D 0 (Timeout)
select(17, [9 13 14 15 16], [], [], {30, 0}) =3D 0 (Timeout)
Originally the server was started by root by calling zope8580 script =
(quite the same as 'start' script, but with extra -u zope parameter).=20
The process list is looking this way:
[root@mybox zope_dev]# ps auxf
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 18550 0.0 0.1 3752 708 pts/1 S 16:11 0:00 initlog -c =
/opt/zope_dev/zope8580 8580
root 18551 0.2 0.6 4368 3380 pts/1 S 16:11 0:00 \_ =
/opt/zope_dev/bin/python /opt/zope_dev/z2.py -u zope -P 8500 -D
zope 18557 1.5 2.9 49680 14896 pts/1 S 16:11 0:04 \_ [python]
=
^^^^^^^^^^^^ =20
making strace onto 18557 pid I get
[root@mybox zope_dev]# strace -p 18557
trace: ptrace(PTRACE_SYSCALL, ...): Operation not permitted
detach: ptrace(PTRACE_DETACH, ...): Operation not permitted
I've downloaded from ZopeSite and installed once more the linux binaries =
for 2.6.1 - the same result. I've downloaded 2.6.1 sources, compiled and =
installed - no success as well. Always no response from server without =
any error message. I ran out of ideas what could it be and how to fix =
it. I'm wondering if its the only case of strange behavior rh9+zope2.6.1
Any help or suggestions would be appreciated
Grzegorz