4

I recently update my server from OpenBSD 6.0 to 6.1

Since this update, the python console is no longer available (I have version 2.7 and 3.6 installed, both have the same behavior)

when I try to launch a python console (either in version 2.7.13 or 3.6.0) it say 'Permission Denied':

$ python2.7
/usr/local/bin/python2.7: Permission denied.

I already checked the file permissions in /usr/local/bin but there is nothing wrong at is set as 'rwxr-xr-x root bin'

I tried to uninstall the python packages then reinstall them but it has not solved the problem.

Is there something I need to check?

1 Answer 1

4

Add wxallowed as mount option to /etc/fstab. You can see the real error in the dmesg.

2
  • yeah!!! I flag my /usr partition with wxallowed then the python console works again!!! but no errors appear in the dmesg... I also found this page: link Thanks a lot!
    – Silmaen
    Apr 18, 2017 at 6:00
  • If you remove wxallowed from fstab, reboot and run again python, you will see the errors in the dmesg. Something like python2.7(12345): mprotect W^X violation. Apr 18, 2017 at 10:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.