- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- memory fault
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
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
тАО09-18-2007 07:14 AM
тАО09-18-2007 07:14 AM
memory fault
we have an oracle.rc script that runs during boot up and works just fine on our 11.11 boxes. But on 11.23 boxes, it creates a memory fault.
/sbin/rc4.d/S400oracle.rc[130]: 7862 Memory fault
that line of code is the following:
su "${ORAUSER}" -c "${ORACLE_HOME}/bin/orastart
as I test I put in another simple su command which also produced a memory fault.
TIA
CRS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2007 08:08 AM
тАО09-18-2007 08:08 AM
Re: memory fault
I've always hard coded the username but I know of know bug in this functionality.
Put a set -x in the oracle startup script, the one that S400oracle.rc points to and put the output in a file. You will likely find the line number that is giving you trouble. Put a set -x in orastart as well.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2007 08:29 AM
тАО09-18-2007 08:29 AM
Re: memory fault
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2007 08:36 AM
тАО09-18-2007 08:36 AM
Re: memory fault
the missing " was a copy/paste error in this thread.
I just want to note that once the system comes up, if I log in as root and run /sbin/rc4.d/S400oracle.rc start that it runs successfully and our oracle instance and listener start without issue.
I have vreifies that the orastart script never gets run which is why I have determined that is is a problem with the "su" command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2007 09:04 AM
тАО09-18-2007 09:04 AM
Re: memory fault
You might try putting a set -x in your rc script so that you can see the arguments.
On my 11.23 box, even su "" -c "" doesn't dump core so I don't think that the problem is directly related to su. By any chance, are you running something other than the POSIX shell?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2007 12:24 PM
тАО09-18-2007 12:24 PM
Re: memory fault
here is the output with the set -x
-CRS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2007 12:34 PM
тАО09-18-2007 12:34 PM
Re: memory fault
However, this exact script works on 11.11 where the oracle user is setup to use bash. so I wonder what the difference is, or maybe its an issue with the version of bash 11.23 is using.
The problem is I need to get around this problem without changing the default shell for the oracle user.
any ideas?
-CRS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2007 12:51 PM
тАО09-18-2007 12:51 PM
Re: memory fault
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2007 01:36 PM
тАО09-18-2007 01:36 PM
Re: memory fault
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2007 02:43 PM
тАО09-18-2007 02:43 PM
Re: memory fault
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2007 02:52 PM
тАО09-18-2007 02:52 PM
Re: memory fault
Is there a core directory in ~${ORAUSER}?
Or ulimit -c in .profile there?