wayne collier
Wayne.Collier at noaa.gov
Fri Apr 11 11:58:47 EDT 2008
Hello all. I am having a heck of time getting a connection to a remote Oracle server from web application. >From my lInux prompt I am able to connect to the database with cx_Oracle with no probelm. However, when similar code is executed throught the web app (apache+mod_python+cx_Oracle) I keep getting DatabaseError: ORA-12541: TNS:no listener. Does this has anything to do with the permissions of the apache process on Oracle files? I have been able to set and read LD_LIBRARY_PATH, ORACLE_HOME and TNS_ADMIN within the web app code. As far as I know, my TNS_NAMES file is the same one used by root and web users. Is a such good assumption? Any help would be greatly appreciated! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20080411/82cc8642/attachment-0001.html
|