- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: 64 bit vs 32 bit environment
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
тАО03-31-2008 06:22 AM
тАО03-31-2008 06:22 AM
Isn't there a command that needs to be issued on a 64 bit machine that will allow the scripts to run?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2008 07:41 AM
тАО03-31-2008 07:41 AM
Re: 64 bit vs 32 bit environment
know what you mean by "scripts" and "don't
run". What, exactly, fails, and how?
> Isn't there a command that needs to be
> issued on a 64 bit machine that will allow
> the scripts to run?
I can't imagine what that command might be,
but I also can't imagine what's failing in
your scripts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2008 08:59 AM
тАО03-31-2008 08:59 AM
Re: 64 bit vs 32 bit environment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2008 11:37 AM
тАО03-31-2008 11:37 AM
Re: 64 bit vs 32 bit environment
If you can provide no useful information,
then a call to a psychic hotline might be
more productive than a posting here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2008 12:10 PM
тАО03-31-2008 12:10 PM
SolutionBy my experience, "script" is usually something that is run through an interpreter, so in a 64-bit environment a script might be using the environment's native script interpreter. So the interpreter should be 64-bit-compatible by default.
One possible source of errors could then be that the script does not get the response it expects from the system. For example, if the script is using "uname -m" or something similar to identify the architecture and does not know about the new 64-bit architectures (x86_64 or ia64), it will return an error.
There *is* a command that allows the system to "lie" about its architecture identifier to a given process and all its children. It is useful only on systems that have some multi-architecture capability. That command is "setarch".
On my home machine (Debian Etch, x86_64) I can do this:
$ uname -m
x86_64
$ setarch i386 uname -m
i686
You can also use just the name of the desired architecture as a command. This invokes "setarch" through a symbolic link. Setarch does the right thing automatically:
$ uname -m
x86_64
$ i386 uname -m
i686
Apparently you can also use the setarch command to escape from the fake 32-bit mode, if necessary:
$ i386 bash
$ uname -m
i686
$ setarch x86_64 uname -m
x86_64
$ x86_64 uname -m
x86_64
If running the script with "setarch i386" makes it work, it might be easy to modify the script to automatically identify the compatible 64-bit architectures.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2008 01:24 PM
тАО03-31-2008 01:24 PM
Re: 64 bit vs 32 bit environment
Apparently Steven, the only thing YOU have to offer this site is your POMPOUS IGNORANCE. I suggest you take it elsewhere.
Matti, on the other hand, provided me with the info I needed to actually SOLVE the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2008 01:28 PM
тАО03-31-2008 01:28 PM
Re: 64 bit vs 32 bit environment
CHEERS to Matti, the "Problem Solver"!
JEERS to Steven, the "Problem Child".
Thanks again, Matti!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2008 01:33 PM
тАО03-31-2008 01:33 PM
Re: 64 bit vs 32 bit environment
Feel free to enlighten me (and any future
readers of this thread) by explaining exactly
what the actual problem was, and what you did
to solve it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2008 02:13 PM
тАО03-31-2008 02:13 PM
Re: 64 bit vs 32 bit environment
Matti solved the issue. The user's machine, which I didn't have access to in the TS Clearance lab, was Debian.
But I wouldn't call you a nuisance... It's too gentile a word. If we ever have the opportunity to speak face2face, I'll be happy to explain it to you publicly, using words similar to your own, so you'll understand them, you know... the mono-syllabic variety.
In the meantime, go polish you crystal ball and leave the problem solving to Matti!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2008 07:08 PM
тАО03-31-2008 07:08 PM
Re: 64 bit vs 32 bit environment
Thanks for clarifying that. I was in some
doubt before.