On Thu, 2007-10-11 at 18:13 +0200, Lord Le wrote: > [Thu Oct 11 17:56:35 2007] [error] make_obcallback: could not import > mod_python.apache.\n > ImportError: No module named mod_python.apache > [Thu Oct 11 17:56:35 2007] [error] make_obcallback: Python path being > used "['/usr/lib/python24.zip', '/usr/lib/python2.4', > '/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk', > '/usr/lib/python2.4/lib-dynload', > '/usr/local/lib/python2.4/site-packages', > '/usr/lib/python2.4/site-packages']". > [Thu Oct 11 17:56:35 2007] [error] python_handler: no interpreter > callback found.
Inside the chroot directory, does /usr/lib/python2.4 exist? Using chroot usually means having to provide a fully functional environment inside that directory. I use the following technique: 1. Complete system install located at /opt/sandbox (which I set up using rpm --root=/opt/sandbox) 2. /opt/sandbox mounted as ~/.sys for every user, using mount --bind 3. symlinks from ~/.sys/bin to ~/bin, ~/.sys/lib to ~/lib, etc. This is so I only have to have one bind mount per account. Some kind of union mount would be ideal, but I haven't found a good solution for that yet. You could also just bind-mount the system /bin to <chroot>/bin and so forth, but that kind of defeats the point of using chroot. oh, btw, I also run mod_python and it works fine for me. -- Sean Gabriel Heacock Telana Internet Services http://www.telana.com/ _______________________________________________ Peruser mailing list [email protected] http://www.telana.com/mailman/listinfo/peruser
