User 33839140be
13-02-2015 04:54:05
G'day,
I am trying to license the ChemAxon collection for Pipeline Pilot on a server running AEP9.2 on Red Hat EL 6.6.
The server is running in impersonation mode.
I've successfully, installed and registered the collection. If I copy the license file to .chemaxon/license.cxl in my home directory then I can run the example protocols run successfully (but only I can).
Where I am having difficulty is setting CHEMAXON_LICENSE_URL globally so that all users can use the collection.
I have copied the license file to /apps/pp/licensing/Licenses/chemaxon_license.cxl. How do I set CHEMAXON_LICENSE_URL to the license path for all users?
I've tried the following:
- Append the following line to /etc/environment:
CHEMAXON_LICENSE_URL=/apps/pp/licensing/Licenses/chemaxon_license.cxl - Append the following line to /etc/security/pam_env.conf
CHEMAXON_LICENSE_URL DEFAULT=/apps/pp/licensing/Licenses/chemaxon_license.cxl - Created /etc/profile.d/chemaxon.sh and /etc/profile.d/chemaxon.csh to set CHEMAXON_LICENSE_URL
None of these methods has succeeded. In each case I see the error message given below.
How can I set CHEMAXON_LICENSE_URL globally on Red Hat so it will work with impersonation mode.
Thanks,
Chris.
Error report:
Fri Feb 13 05:48:52 CET 2015
No license file was found.
Product name: Structure to Name Plugin
Licenses are read from:
Please visit http://www.chemaxon.com/contact-us/ or contact sales _at_ chemaxon.com to obtain the corresponding license.
JChem version : 15.2.9.0
Component collection version : 15.2.9.0
JVM: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 1.7.0_15
Memory: 368.0 MB maximum 368.0 MB total 344.0 MB free
OS: amd64 Linux 2.6.32-504.el6.x86_64
Exception ID: E23211330
Current input structure:
No PP input structure found.
Stack trace:
chemaxon.license.LicenseException: No license file was found.
Product name: Structure to Name Plugin
Licenses are read from:
Please visit http://www.chemaxon.com/contact-us/ or contact sales _at_ chemaxon.com to obtain the corresponding license.
at chemaxon.license.LicenseHandler.checkLicense(LicenseHandler.java:810)
at chemaxon.license.LicenseHandler.checkLicense(LicenseHandler.java:786)
at chemaxon.marvin.io.formats.name.nameexport.IUPACNamer.checkLicense(IUPACNamer.java:40)
at chemaxon.marvin.io.formats.name.nameexport.IUPACNamer.generateName(IUPACNamer.java:34)
at chemaxon.marvin.io.formats.name.nameexport.NameExportModule.convert(NameExportModule.java:66)
at chemaxon.formats.MolExporter.exportToObject(MolExporter.java:1348)
at chemaxon.formats.MolExporter.exportToObject(MolExporter.java:1292)
at chemaxon.pp.MolConverter.export(MolConverter.java:218)
at chemaxon.pp.MolConverter.onProcessBody(MolConverter.java:167)
at chemaxon.pp.ChemAxonComponent.onProcess(ChemAxonComponent.java:54)
at com.scitegic.pilot.Pilot.callOnProcess(Pilot.java:443)
CTAB of current structure:
No PP input structure found.
---------------------------------