Re: Problem while chroot python and modules in apache

2008-01-02 Thread Michael Bibby
Hi, all. Thanks Joerg, but it doesn't work yet. I copied all openldap-client files to chrooted apache dir, but it shown the same error. Am i missing something? Files i copied: # pkg_info -L openldap-client | grep -v '/man/' | \ grep -v '/share/' | \ grep '^/usr/local/' /usr/local/bin/l

Re: Problem while chroot python and modules in apache

2008-01-02 Thread Joerg Zinke
On Wed, 02 Jan 2008 10:59:27 +0800 Michael Bibby <[EMAIL PROTECTED]> wrote: > Hi, all. > > I use OpenBSD 4.2 -release and the default chrooted apache. > > I copied all files python needed, and it works. but the modules > py-ldap doesn't work. > > > # tail -f /var/www/logs/error_log > Trace

Problem while chroot python and modules in apache

2008-01-01 Thread Michael Bibby
Hi, all. I use OpenBSD 4.2 -release and the default chrooted apache. I copied all files python needed, and it works. but the modules py-ldap doesn't work. # tail -f /var/www/logs/error_log Traceback (most recent call last): File "/cgi-bin/msm/domain_list", line 5, in ? import ldapopera