What happens if you import RDKit into a regular python shell without mod_wsgi
on this computer? If this works than the mod_wsgi python maybe runs on another
python interpreter.



On Tue, 10 Sep 2013 16:08:24 -0400, Michał Nowotka <mmm...@gmail.com> wrote:

Believe me, I restarted it many times :)


On Tue, Sep 10, 2013 at 10:06 PM, Igor Filippov <igor.v.filip...@gmail.com> wrote:
Maybe move the rdkit libs into some folder within apache DocumentRoot?
Did you restart apache after syncing the libraries?


On Tue, Sep 10, 2013 at 3:58 PM, Michał Nowotka <mmm...@gmail.com> wrote:
Yes, I mean even RDKit.

No, the trouble maker has exactly the same system. The only difference is that in order to install my app on other machines I was using fabric and on the problematic machines I just rsynced directories from working machines.

The only error in error_log is:

ImportError: libRDGeneral.so.1: cannot open shared object file: No such file or directory





On Tue, Sep 10, 2013 at 9:47 PM, Markus Sitzmann <sitzm...@helix.nih.gov> wrote:
So you mean, you have even RDKit running with this setup on other machines
or just the other libraries.

If "other machines" vs the trouble maker machine includes a change from RH5 
to RH6 than indeed I would suspect SELinux as Igor suggested. Don't ask me
for a solution except for switching it off.

Is there anything (else) in /var/log/httpd/error_log?

Markus

On Tue, 10 Sep 2013 15:36:27 -0400, Michał Nowotka <mmm...@gmail.com> wrote:

Yes, I can. What is more important I successfully managed to run other libraries with extensions in C (indigo toolkit, cx_Oracle). What is even more important the same configuration (at least it seems to be the same) works on other machines. Unfortunately I don't know how to debug to find source of my problems....


On Tue, Sep 10, 2013 at 9:32 PM, Markus Sitzmann <sitzm...@helix.nih.gov> wrote:
How far is your setup working so far? Can you already run python scripts
via mod_wsgi without importing rdkit? 




On Tue, 10 Sep 2013 15:29:07 -0400, Michał Nowotka <mmm...@gmail.com> wrote:

Yes: python, mod_wsgi, vitualenv, RHEL


On Tue, Sep 10, 2013 at 9:22 PM, Markus Sitzmann <sitzm...@helix.nih.gov> wrote:
Are you trying to use it with python/mod_wsgi? Your description so far is a bit vague :-)

Markus

On Tue, 10 Sep 2013 15:00:55 -0400, Michał Nowotka <mmm...@gmail.com> wrote:

Thanks for advices. Unfortunately I can't do anything system-wide as I don't have administrator privileges on the server. Than also means I can't switch selinux.


On Tue, Sep 10, 2013 at 7:59 PM, Igor Filippov <igor.v.filip...@gmail.com> wrote:
Some kind of an answer seems to be already given at Stackoverflow.
I would add two comments:
1) Unless there are some specific problems with this you can add new library system-wide through ld.so.conf
2) You did not mention what your log files say but I would experiment with Selinux switched off.



On Tue, Sep 10, 2013 at 1:51 PM, Michał Nowotka <mmm...@gmail.com> wrote:
I have some problems with configuring apache to use rdkit,  this is described in SO question:

http://stackoverflow.com/questions/2550504/setting-ld-library-path-in-apache-passenv-setenv-still-cant-find-library

Any help would be appreciated!

Regards,
Michał Nowotka

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
















------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss






------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to