HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Relocating away from /usr/local
Operating System - Linux
1830901
Members
2069
Online
110017
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2009 01:00 PM
03-02-2009 01:00 PM
Relocating away from /usr/local
I am working on a new installation of Serviceguard 11.18.05 on RHEL5.2 x86_64. My customer does special things with /usr/local, so I need to relocate /usr/local/cmcluster to /opt/cmcluster (as is done in SLES). I have torn down the binary rmps and rebuilt them, altering file locations and script with the new directory. However, I'm getting unresolved symbols so far when running binaries.
I might yet find a solution to this, but thinking I may need to rebuild from src rpms. Might I be able to obtain these, or any ideas solving the ld problems?
Strangely, I think it is with sgcmomd that I see an unresolved symbol that is in fact within sgcmomd (shown with nm). Sorry, don't have the errors within reach at the moment.
By the way, this relocation was also done for an older cluster at this customer site by someone in XC or HPC engineering, but I believe she is long gone.
I might yet find a solution to this, but thinking I may need to rebuild from src rpms. Might I be able to obtain these, or any ideas solving the ld problems?
Strangely, I think it is with sgcmomd that I see an unresolved symbol that is in fact within sgcmomd (shown with nm). Sorry, don't have the errors within reach at the moment.
By the way, this relocation was also done for an older cluster at this customer site by someone in XC or HPC engineering, but I believe she is long gone.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2009 01:05 AM
03-03-2009 01:05 AM
Re: Relocating away from /usr/local
Firstly, what you are doing is completely unsupported. There could well be some redhat specific code which requires things to be in /usr/local.
You will not be able to get source rpms to re-build things but I am not sure that this is your problem anyway. It is possible that your problem is that you have not updated /etc/ld.so.conf to contain /opt/cmom/lib and
/opt/cmcluster/lib instead of /usr/local versions. You will also need to run ldconfig afterwards to update the cache. Check with ldconfig -p after doing this.
I suspect this will fix some things for you, but who knows if you will get bitten by a problem where something referecnes /usr/local which you only discover during a critical failover or similar. Therefore I cannot recommend you use a configuration like this.
You will not be able to get source rpms to re-build things but I am not sure that this is your problem anyway. It is possible that your problem is that you have not updated /etc/ld.so.conf to contain /opt/cmom/lib and
/opt/cmcluster/lib instead of /usr/local versions. You will also need to run ldconfig afterwards to update the cache. Check with ldconfig -p after doing this.
I suspect this will fix some things for you, but who knows if you will get bitten by a problem where something referecnes /usr/local which you only discover during a critical failover or similar. Therefore I cannot recommend you use a configuration like this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2009 07:14 AM
04-03-2009 07:14 AM
Re: Relocating away from /usr/local
Solutions found locally. Corrected conversion procedures. 11.18.05 in good shape in /opt on RHEL5.2 x86_64.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP