Complete.Org: Mailing Lists: Archives: gopher: December 2004:
[gopher] Re: pygopherd & scriptexec

[gopher] Re: pygopherd & scriptexec

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: gopher@xxxxxxxxxxxx
Subject: [gopher] Re: pygopherd & scriptexec
From: John Goerzen <jgoerzen@xxxxxxxxxxxx>
Date: Fri, 24 Dec 2004 08:51:13 -0600
Reply-to: gopher@xxxxxxxxxxxx

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/", 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

[Prev in Thread] Current Thread [Next in Thread]