tethys ocean wrote: > Hi all > > I have a problem, a freebsd box that is apache22 and python25-2.5.2_3, > mod_python-3.3.1_2 after upgrading phyton web site has stoped with this > error "Internal Server Error" [snip] > [Fri Oct 31 05:05:15 2008] [notice] Digest: done > [Fri Oct 31 05:05:16 2008] [notice] Apache/2.2.6 (FreeBSD) mod_ssl/2.2.6 > OpenSSL/0.9.7e-p1 mod_python/3.3.1 Python/2.4.4 PHP/5.2.4 with ^^^^^^^^^^^^ Well Apache seems to think it is still using Python 2.4.4.
> Suhosin-Patch configured -- resuming normal operations > [Fri Oct 31 10:06:21 2008] [error] [client 220.127.116.11] client sent > HTTP/1.1 request without hostname (see RFC2616 section 14.23): > /w00tw00t.at.ISC.SANS.DFind:) > [snip] I can't be of much help with this as I am not a Python expert by any means, but the first thing that occurs to me is to ask: did you rebuild/reinstall mod_python after you upgraded to python25? If not you might want to try that first. Restart Apache and see if it no longer shows the Python 2.4.4. As far as the Python environment(s), you may want to ensure that all vestiges of the old python24 are truly gone (especially prior to rebuilding mod_python). You may also try and find confirmation somehow whether or not the code that is failing on the web server is even compatible with python25. In such a case either update the failing code or downgrade back to python24. If the server is "production" and you just need it back up fast you may consider returning it to its pre-python25 upgrade condition. Then conduct your python25 experimentation on a non-production test box. Before any major change of this sort I _always_ do backup dumps of my server. So if something goes south I can immediately restore the server to the state it was in prior to mucking it up. -Mike _______________________________________________ email@example.com mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"