Troubleshooting Debian

Test cx_Oracle in Python

Use the following instructions to test the installaion of cx_Oracle

Login as peek and run:


Run the following commands in Python:

import cx_Oracle
con = cx_Oracle.connect('username/password@hostname/instance')
print con.version
# Expcect to see ""

OSError: inotify instance limit reached

To solve this problem, run the following command as root

echo "fs.inotify.max_user_instances=2048" >> /etc/sysctl.conf
sysctl -p