On Wednesday 15 March 2006 17:15, Stephen Warren wrote:
> Eric Knudstrup wrote:
> > On Wednesday 15 March 2006 16:32, Stephen Warren wrote:
> >> Is Apache running chroot'd?
> >
> > No, stock SuSE 9.2 rpm install.  Is there any way I can attach a debugger
> > to the CGI?
>
> Is SELinux interfering? You should be getting a ton of console (or
> /var/log/messages or ...) printouts if it is, I think.
>
> To debug, you can always run "gdb -p pid_of_cgi_script" to attach to it
> dynamically. The trick would be getting the CGI to hang around long
> enough to attach to it. Perhaps you could hack the code to detect when a
> failed config file access was made, then make it sleep(60) to give you
> time to attach to it...

I do get the following in my Apache error log:

[Wed Mar 15 17:32:36 2006] [error] [client 64.81.246.232] tmda-cgi.py:39: 
DeprecationWarning: Non-ASCII character '\\x80' in file /var/tmda/Unicode.py 
on line 35, but no encoding declared; see 
http://www.python.org/peps/pep-0263.html for details, referer: 
https://knudstrup.org/cgi-bin/tmda.cgi?cmd=outgoing&SID=CtWL1uy5
[Wed Mar 15 17:32:36 2006] [error] [client 64.81.246.232]   return 
OldImport(name, globals, locals, fromlist), referer: 
https://knudstrup.org/cgi-bin/tmda.cgi?cmd=outgoing&SID=CtWL1uy5

My Python is version:
Python 2.3.4 (#1, Feb  7 2005, 15:50:45)

Eric
-- 
Nature is a mother.
_____________________________________________
tmda-users mailing list (tmda-users@tmda.net)
http://tmda.net/lists/listinfo/tmda-users

Reply via email to