Operating System - HP-UX
1753518 Members
5414 Online
108795 Solutions
New Discussion юеВ

Re: Memory Error / Bus Fault

 
Karl Myers_1
Occasional Advisor

Memory Error / Bus Fault

I am running HPUX 10.20 patched to December 2001 running Oracle 7.1.6 (I know all about the upgrade scenarios) that cannot be upgraded. The problems are - with a posix shell using su - oracle results in a Memory Fault but no core file, with a korn shell and su - oracle results in a Bus Error and with a C shell no errors.
If I just su oracle I can start / stop the databases etc without issue. Any help would be appreciated.
5 REPLIES 5
Sunil Sharma_1
Honored Contributor

Re: Memory Error / Bus Fault

Check the .profile of oracle user. It may be having soem command/script which causing this error.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Hoang Chi Cong_1
Honored Contributor

Re: Memory Error / Bus Fault

Hi man

Yep, let's check in the .profile file for the enviroment parameters.
Take a look with this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=670597

Goodluck!
HoangChiCong
Looking for a special chance.......
Peter Godron
Honored Contributor

Re: Memory Error / Bus Fault

Karl,
as ypu probably know the "-" means a new shell is started, as if the user had logged in from the login prompt.
Depending on the shell in /etc/passwd different scripts are executed after login.

As the C shell works for your problem I would use the C shell.

If you do want to investigate the errors have a look at .csh and .ksh scripts in the users home directory.

Regards
Karl Myers_1
Occasional Advisor

Re: Memory Error / Bus Fault

It turned out to be a permission error that was causing this.
Go figure ..... permissions wrong and you get memory faults.
Thank you all for your help.
Florian Heigl (new acc)
Honored Contributor

Re: Memory Error / Bus Fault

I think that the permission problem must somehow have ended up in inability to allocate memory - I know this on windows when trying to spawn a processes as a different user whose service account is missing.
strange anyhow :)
yesterday I stood at the edge. Today I'm one step ahead.