christopher23
New member
- Joined
- Feb 16, 2010
- Messages
- 3
Hello everybody,
I'm new to the forum and believe to have a small problem with the custombuild jail on one of my user accounts.
I edited the files.list from the curstombuild jail to include the following line:
/usr/local/bin/python
and I re run the jail_user.sh command like so:
/usr/local/directadmin/custombuild/jail/jail_user.sh username
but when I login with that user and try to enter the python shell I get the following error:
Could not find platform independent libraries <prefix>
Could not fin platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
Python 2.5.4 (r254:67916, May 4 2009, 19:52:05)
[GCC 4.1.2 20070626 (Red Hat 4.1.2-14)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
I believe this has something to do with all the modules that can't be loaded since i'm not including the following folder into the files.list:
/usr/local/lib/python2.5
which holds all the modules for python. But i'm not sure about this.. And I do not wan't to add code into the files.list without knowing what's it's going to do.
Hopefully somebody could help me out on this one.
I'm new to the forum and believe to have a small problem with the custombuild jail on one of my user accounts.
I edited the files.list from the curstombuild jail to include the following line:
/usr/local/bin/python
and I re run the jail_user.sh command like so:
/usr/local/directadmin/custombuild/jail/jail_user.sh username
but when I login with that user and try to enter the python shell I get the following error:
Could not find platform independent libraries <prefix>
Could not fin platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
Python 2.5.4 (r254:67916, May 4 2009, 19:52:05)
[GCC 4.1.2 20070626 (Red Hat 4.1.2-14)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
I believe this has something to do with all the modules that can't be loaded since i'm not including the following folder into the files.list:
/usr/local/lib/python2.5
which holds all the modules for python. But i'm not sure about this.. And I do not wan't to add code into the files.list without knowing what's it's going to do.
Hopefully somebody could help me out on this one.