HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 21155 bus error
Operating System - HP-UX
1834169
Members
2850
Online
110064
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
Go to solution
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
11-25-2003 07:38 AM
11-25-2003 07:38 AM
I'm getting this bus error when running an executable. The executable runs ok under
root, but gets this error from another login.
any way to get more info on this bus error?
for example, can I force that a core file
be generated. currently no core file is being
generated. I'm no HPUX admin guru, but can
something be done to get more diagnostics?
thanks.
root, but gets this error from another login.
any way to get more info on this bus error?
for example, can I force that a core file
be generated. currently no core file is being
generated. I'm no HPUX admin guru, but can
something be done to get more diagnostics?
thanks.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 07:52 AM
11-25-2003 07:52 AM
Solution
Assuming your using posix shell (/usr/bin/sh), adjust the ulimit to allow core dumps for the non-root user:
# ulimit -c
A bus error could be I/O related. Root may have read/write permission to IO (i.e. device file permissions) but the non-root user may not. Could also be a illeagal memory reference as well.
# ulimit -c
A bus error could be I/O related. Root may have read/write permission to IO (i.e. device file permissions) but the non-root user may not. Could also be a illeagal memory reference as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2003 03:52 AM
11-26-2003 03:52 AM
Re: 21155 bus error
Jorge,
What are the permissions on this executable? Is it a SUID program? If so, is it SUID to root? The reason I ask is that SUID executables are not allowed to dump core files. This is a security feature and there is no current way to disable it.
If the executable is not SUID, then a core dump should be created. In that case I would look to see what the executable's current working directory is, and then check to see if the user that is running the program has permissions to create/write a new file in that directory.
The rule with programs dumping core is, create a core file if you can. If permissions don't allow it or it is a SUID program, then don't create a core and don't produce an error message to that fact.
JL
What are the permissions on this executable? Is it a SUID program? If so, is it SUID to root? The reason I ask is that SUID executables are not allowed to dump core files. This is a security feature and there is no current way to disable it.
If the executable is not SUID, then a core dump should be created. In that case I would look to see what the executable's current working directory is, and then check to see if the user that is running the program has permissions to create/write a new file in that directory.
The rule with programs dumping core is, create a core file if you can. If permissions don't allow it or it is a SUID program, then don't create a core and don't produce an error message to that fact.
JL
Wild turkey surprise? I love wild turkey surprise!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 02:22 AM
12-01-2003 02:22 AM
Re: 21155 bus error
James, this exe is an suid root program.
I suppose I could drop the s-bit, and
rerun it and see if I get a core dump?
it seems to be failing during program load, we spit out a version banner early on in main...don't even see that.
thanks.
I suppose I could drop the s-bit, and
rerun it and see if I get a core dump?
it seems to be failing during program load, we spit out a version banner early on in main...don't even see that.
thanks.
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