[Moin-user] moin.cgi hangs on "Save Changes", odd network connection

Bob Apthorpe apthorpe+moin at cynistar.net
Tue Dec 14 22:26:04 EST 2004


Hi,

I'm running MoinMoin 1.2.4 under SuSE 9.1 with Apache2 and Python 2.3.3. 
The system was running fine until today. When I've edited a page, 
moin.cgi stalls when I hit the "Save Changes" button and eventually dies 
in a server error. Login and preview works fine. I've restarted Apache, 
logged out and back in, and changed themes to no avail.

The MoinMoin error log contains:

1099330321 *BadContent too old, have to check for an update...
master: 60 mine: 1098900321
1099516405 *BadContent too old, have to check for an update...
master: 66 mine: 1098900321
1099517456 *BadContent too old, have to check for an update...
master: 66 mine: 1098900321
1099517563 *BadContent too old, have to check for an update...
master: 66 mine: 1098900321
/usr/lib/python2.3/site-packages/MoinMoin/theme/classic.py:245: 
DeprecationWarning: calling themes without correct request
   warnings.warn("calling themes without correct request", 
DeprecationWarning)
1101768307 *BadContent too old, have to check for an update...
master: 1101766812 mine: 1098900321
Fetching page from master...
/usr/lib/python2.3/site-packages/MoinMoin/theme/classic.py:245: 
DeprecationWarning: calling themes without correct request
   warnings.warn("calling themes without correct request", 
DeprecationWarning)
/usr/lib/python2.3/site-packages/MoinMoin/theme/classic.py:245: 
DeprecationWarning: calling themes without correct request
   warnings.warn("calling themes without correct request", 
DeprecationWarning)

The timestamp is meaningless to me (I'm GMT-0500, too lazy to do the 
conversion or sort out if the timestamp is gmtime or localtime.) I am 
using the following themes:
   rightsidebar (default)
   classic
   starshine
   leftsidebar2.py
   nillo.py
   tagol.py

The Apache2 error log shows
[Tue Dec 14 23:46:52 2004] [error] [client 66.143.181.11] Premature end 
of script headers: moin.cgi, referer: 
http://wiki.austinimprov.com/aiwiki/BobApthorpe

Now the weird thing is that I'm finding a TCP connection from moin.cgi 
to 83.137.100.43:8000 (host43.thinkmo.de) from my webserver which 
appears to be someone else's MoinMoin installation. Why is my system 
touching this remote system? Template weirdness? Could this connection 
be timing out and causing my moin.cgi to die? Freak permissions issue? 
See gory details from ps, lsof below.

Any ideas on what's going on here? I haven't touched the wiki in a month 
or so, though I've updated SuSE's RPMs and rebooted. The content is 
essentially read-only at this point; I have been able to update 
UserPreferences but nothing else and I have no clue as to how to debug 
this further.

Thanks,

-- Bob

# ps -fu wwwrun
UID        PID  PPID  C STIME TTY          TIME CMD
<bunch of Apache2 processes snipped>
wwwrun   26053 26004  0 23:46 ?        00:00:00 python 
/srv/www/vhosts/wiki.austinimprov.com/aiwiki/moin.cgi

# lsof -n -p 26053
COMMAND   PID   USER   FD   TYPE DEVICE    SIZE   NODE NAME
python  26053 wwwrun  cwd    DIR   3,66     344 228111 
/srv/www/vhosts/wiki.austinimprov.com/aiwiki
python  26053 wwwrun  rtd    DIR   3,66     512      2 /
python  26053 wwwrun  txt    REG   3,66    5796 114080 /usr/bin/python2.3
python  26053 wwwrun  mem    REG   3,66  104484   5134 /lib/ld-2.3.3.so
python  26053 wwwrun  mem    REG   3,66 1064033 114081 
/usr/lib/libpython2.3.so.1.0
python  26053 wwwrun  mem    REG   3,66   88272   5162 
/lib/tls/libpthread.so.0
python  26053 wwwrun  mem    REG   3,66   13647   5143 /lib/libdl.so.2
python  26053 wwwrun  mem    REG   3,66   10797   5158 /lib/libutil.so.1
python  26053 wwwrun  mem    REG   3,66  965717   9011 
/usr/lib/libstdc++.so.5.0.5
python  26053 wwwrun  mem    REG   3,66  170563   5161 /lib/tls/libm.so.6
python  26053 wwwrun  mem    REG   3,66   40171   5188 /lib/libgcc_s.so.1
python  26053 wwwrun  mem    REG   3,66 1349081   5160 /lib/tls/libc.so.6
python  26053 wwwrun  mem    REG   3,66   19517 114833 
/usr/lib/python2.3/lib-dynload/time.so
python  26053 wwwrun  mem    REG   3,66   25514 114829 
/usr/lib/python2.3/lib-dynload/strop.so
python  26053 wwwrun  mem    REG   3,66   52260 114793 
/usr/lib/python2.3/lib-dynload/_socket.so
python  26053 wwwrun  mem    REG   3,66   19489 114794 
/usr/lib/python2.3/lib-dynload/_ssl.so
python  26053 wwwrun  mem    REG   3,66   19958 114808 
/usr/lib/python2.3/lib-dynload/fcntl.so
python  26053 wwwrun  mem    REG   3,66   78438 114801 
/usr/lib/python2.3/lib-dynload/cPickle.so
python  26053 wwwrun  mem    REG   3,66   20923 114802 
/usr/lib/python2.3/lib-dynload/cStringIO.so
python  26053 wwwrun  mem    REG   3,66  221953  62017 
/usr/lib/libssl.so.0.9.7
python  26053 wwwrun  mem    REG   3,66 1127119  35908 
/usr/lib/libcrypto.so.0.9.7
python  26053 wwwrun  mem    REG   3,66   14276 114828 
/usr/lib/python2.3/lib-dynload/sha.so
python  26053 wwwrun  mem    REG   3,66   19249 114791 
/usr/lib/python2.3/lib-dynload/_locale.so
python  26053 wwwrun  mem    REG   3,66   25598 114830 
/usr/lib/python2.3/lib-dynload/struct.so
python  26053 wwwrun  mem    REG   3,66   20598 114799 
/usr/lib/python2.3/lib-dynload/binascii.so
python  26053 wwwrun  mem    REG   3,66   17404 114813 
/usr/lib/python2.3/lib-dynload/math.so
python  26053 wwwrun  mem    REG   3,66   11889 114792 
/usr/lib/python2.3/lib-dynload/_random.so
python  26053 wwwrun  mem    REG   3,66   20714 114817 
/usr/lib/python2.3/lib-dynload/operator.so
python  26053 wwwrun  mem    REG   3,66  190650 122337 
/usr/lib/python2.3/lib-dynload/pyexpat.so
python  26053 wwwrun  mem    REG   3,66   41737   5149 
/lib/libnss_files.so.2
python  26053 wwwrun  mem    REG   3,66   17722   5148 /lib/libnss_dns.so.2
python  26053 wwwrun  mem    REG   3,66   74342   5155 /lib/libresolv.so.2
python  26053 wwwrun    0r  FIFO    0,7         323294 pipe
python  26053 wwwrun    1w  FIFO    0,7         323295 pipe
python  26053 wwwrun    2w  FIFO    0,7         323296 pipe
python  26053 wwwrun    3w   REG   3,66    7964 228561 
/srv/www/vhosts/wiki.austinimprov.com/aiwiki/data/error.log
python  26053 wwwrun    4u  IPv4 323303            TCP 
66.143.181.10:esnm-zoning->83.137.100.43:irdmi (ESTABLISHED)

# netstat -nt  | egrep 83.137.100.43
tcp        0      0 66.143.181.10:4023      83.137.100.43:8000 
ESTABLISHED




More information about the Moin-user mailing list