[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[gopher] Re: pygopherd & scriptexec



On Thu, Dec 23, 2004 at 08:23:35PM -0600, Aaron J. Angel wrote:
> I'm trying out this scriptexec stuff in pygopherd, but I get an error:
> 
>    File "/usr/lib/python2.2/site-packages/pygopherd/pipe.py", line 43, in
> pipedata_unix

That line is:

            os.execve(file, args, environ)

I might suggest running strace -f on the pygopherd process to see just
what it is trying to exec.  That would be a useful first step anyway.

Oh, if you're running chroot -- you likely have no /bin in your
chroot, let alone a /bin/sh.

-- 
John Goerzen
Author, Foundations of Python Network Programming
http://www.amazon.com/exec/obidos/tg/detail/-/1590593715



Reply to: