- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- chatr Fails to requadrant executable
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО11-10-2006 07:33 AM
тАО11-10-2006 07:33 AM
chatr Fails to requadrant executable
chatr(error): cannot set/reset text rewrite flag for program - /usr/local/bin/rlog
But on a another machine with exact same OS and patches, etc... it works...
Any clues?
I am sure /usr/local/bin/rlog is not in use at the time I am performing chatr.
- Tags:
- chatr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2006 07:46 AM
тАО11-10-2006 07:46 AM
Re: chatr Fails to requadrant executable
Technical Knowledge Base document #8606465533
seems to fit your description, if this is for HP-UX 11.11 with an "old" binary.
What happens if you copy the failing binary file to one of your other "equivalent" servers?
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2006 07:50 AM
тАО11-10-2006 07:50 AM
Re: chatr Fails to requadrant executable
Same executable copied over and chatr enabled.
Can I simply copy back that executable back?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2006 08:06 AM
тАО11-10-2006 08:06 AM
Re: chatr Fails to requadrant executable
If it works on an "equivalent" server, one would guess 'chatr' is different. Do :
# what `whence chatr`
...and compare versions.
You could certainly try copied a modified binary back to the server on which you want to test it to see if it works. Of course, you might want to keep an unmodified version too.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2006 10:28 AM
тАО11-10-2006 10:28 AM
Re: chatr Fails to requadrant executable
cc -Ae -Wl,-N -o myprog myprog.c
Note there is no space in "_Wl,-N"
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2006 01:49 PM - edited тАО10-23-2011 06:34 PM
тАО11-10-2006 01:49 PM - edited тАО10-23-2011 06:34 PM
Re: chatr Fails to requadrant executable
Is rlog writable by the current user?
(I guess that gives: chatr(error): cannot open file for writing .../rlog) Bill Hassell
>Bill: Check to see that the failing binary is created with EXEC_MAGIC capability before using chatr.
This (-N) is only needed for IPF.
>Note there is no space in "-Wl,-N"
There is no need to use -Wl, since -N is a full fledged driver option.
And the ld man page says that -N is needed for -Wl,+as,mpas.
- Tags:
- -N
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2006 03:08 PM
тАО11-10-2006 03:08 PM
Re: chatr Fails to requadrant executable
cc -Ae -Wl,+as,mpas -o myprog myprog.c
In one step, the 32bit program can now access up to 3800 megs.
Bill Hassell, sysadmin