Bug 175522 (orgchartperldap)
| Summary: | Org Chart tool doesn't work | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] 389 | Reporter: | Matteo Catanese <matteo> | ||||
| Component: | UI - Org Chart | Assignee: | Rich Megginson <rmeggins> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Viktor Ashirov <vashirov> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 1.0 | CC: | colintan | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i386 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-12-07 17:09:28 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 152373, 183369, 240316 | ||||||
| Attachments: |
|
||||||
|
Description
Matteo Catanese
2005-12-12 09:27:36 UTC
Created attachment 122124 [details]
put this in /etc/ld.so.conf.d, run ldconfig and it will (apparently) solve the problem
This is the second time someone has run into this problem. Are you a perl hacker? If so, can you take a look at the BEGIN section in clients/orgchart/bin/org? This is where we attempt to set the LD_LIBRARY_PATH env. var. so that it can find libldap50.so when it loads the perldap modules. For some reason, on some systems, you can set LD_LIBRARY_PATH in the BEGIN section and it works, and on other systems it doesn't. grazie Unfortunately im not a perl hacker.
But i saw org script and:
$ENV{LD_LIBRARY_PATH} .= "$sroot/shared/lib";
i think this is not enough
you should also put $sroot/client/lib
Ciao
*** Bug 175801 has been marked as a duplicate of this bug. *** The work around is to put SetEnv LD_LIBRARY_PATH /opt/fedora-ds/shared/lib near the top of admin-serv/config/admserv.conf then restart-admin. We are working on a better solution for an upcoming release. Use the latest perl from /usr/bin/. bash-3.00$ ls -al /usr/bin/perl* -rwxr-xr-x 2 root root 20736 Dec 20 17:17 /usr/bin/perl -rwxr-xr-x 2 root root 20736 Dec 20 17:17 /usr/bin/perl5.8.5 Now edit these two files: /opt/fedora-ds/clients/orgchart/bin/myorg /opt/fedora-ds/clients/orgchart/bin/org I didn't get to finish(In reply to comment #6) > Use the latest perl from /usr/bin/. > bash-3.00$ ls -al /usr/bin/perl* > -rwxr-xr-x 2 root root 20736 Dec 20 17:17 /usr/bin/perl > -rwxr-xr-x 2 root root 20736 Dec 20 17:17 /usr/bin/perl5.8.5 > > Now edit these two files: > /opt/fedora-ds/clients/orgchart/bin/myorg > /opt/fedora-ds/clients/orgchart/bin/org and point to the latest perl. For ex: #!/usr/bin/env /usr/bin/perl5.8.5 This works for me. Works aginst: 1195583609 redhat-ds-base-8.0.0-11.el5dsrv Tue Nov 20 2007 1195583611 redhat-ds-admin-8.0.0-1.15.el5dsrv Tue Nov 20 2007 1195583613 redhat-ds-console-8.0.0-8.el5dsrv Tue Nov 20 2007 1195583614 redhat-admin-console-8.0.0-9.el5dsrv Tue Nov 20 2007 To clarify, the org chart isn't included in DS8.0 Though the URL doesn't cause a internal server error. |