LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices


Reply
  Search this Thread
Old 01-02-2010, 05:03 AM   #1
nishith
Member
 
Registered: Aug 2008
Posts: 148

Rep: Reputation: 15
Smile OC4J instance restarts automatically after 10 seconds.


Hello Friends,IT System Administrators,

I am using Oracle Application Server 10.1.2 on IBM AIX 5.3 Platform. Since many days, my "OC4J" service restarts automatically in 10 seconds. By counting error logs in /ORACLE_HOME/opmn/logs/ipm.log,i have found below errors.
---------------------------------------------------------------
10/01/01 15:05:20 [4] Process Crashed: OC4J~WEBVAT~default_island~1 (864289932:626744) - Restarting
10/01/01 15:05:22 [4] Starting Process: OC4J~WEBVAT~default_island~1 (864289933:0)
10/01/01 15:05:29 [4] Process Alive: OC4J~WEBVAT~default_island~1 (864289933:729570)
10/01/01 15:28:29 [3] libopmnoc4j Could not connect to socket while pinging an OC4J process
10/01/01 15:28:29 [4] libopmnoc4j Process Ping Failed: OC4J~WEBVAT~default_island~1 (864289933:729570)
10/01/01 15:28:29 [4] Job 0 9969720 result:
ias_admin.gjvatwb1~OC4J~WEBVAT~default_island~864289933:729570
Status: Alive
Operation: internal (Connection refused)
ErrFile: /oracle/ora10gas/opmn/logs/OC4J~WEBPROBE~default_island~1
---------------------------------------------------------------

Kindly help me out to sort out this issue.

Nishith Vyas
 
Old 01-02-2010, 10:19 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

That's a very common error in AIX 5.3. It's just IBM's way of telling you that you should have purchased WebSphere instead of OC4J

Just kidding

ANYWAY -

It *IS* a relatively common error, with several potential root causes.

Google for "libopmnoc4j Could not connect to socket" and you'll find many hits. For example:

http://kr.forums.oracle.com/forums/t...hreadID=666949
Quote:
OK, there may be a reason for opmn to "think" your instance is dead. One reason is that the instance is so busy that it can't respond to opmn's requests.

For this case see : http://download-west.oracle.com/docs....htm#sthref946

--olaf
... and ...
Quote:
Please check the crrectness of the values in your servers conf file.
There might be an error in it.
Therefore you can have a look to the log file in opmn/logs/OC4J~OC4J...
if there is a configuration error -

for example:
Whitespace required
<repserver>.conf couldn't be parsed
at line: xxx : column: yyy
Expected name instead of "/"

When I adjusted my path for sourceDir and restarted the repserver the error was disappeared.
'Hope that helps .. PSM
 
Old 01-02-2010, 11:52 PM   #3
nishith
Member
 
Registered: Aug 2008
Posts: 148

Original Poster
Rep: Reputation: 15
Thumbs up replaced PING value from 4 to 5.

Hi "paulsm4",

I have just modified below line.
"log-file path="$ORACLE_HOME/opmn/logs/ipm.log" level="5""

Previously, it was aving value of "4" instead of "5". After that,i have restarted "opmnctl reload" & by measuring the ipm.log, i haven't found those messages i had received previously. Now, I am getting below messages.

Is it fine with the configuration?
------------------------------------------------------------------
10/01/03 11:22:33 [5] [libopmnoc4j] Ping succeeded for proc: 1692271770
10/01/03 11:22:44 [5] [libopmnoc4j] Received notification from proc: 1692271770
10/01/03 11:22:47 [5] [libopmnoc4j] Received notification from proc: 864289916
10/01/03 11:22:48 [5] [libopmnoc4j] Received notification from proc: 864289915
10/01/03 11:22:53 [5] [libopmnoc4j] Pinging proc: 864289916
10/01/03 11:22:53 [5] [libopmnoc4j] Ping succeeded for proc: 864289916
10/01/03 11:22:53 [5] [libopmnoc4j] Pinging proc: 864289915
10/01/03 11:22:53 [5] [libopmnoc4j] Pinging proc: 1692271770
10/01/03 11:22:53 [5] [libopmnoc4j] Ping succeeded for proc: 864289915
10/01/03 11:22:53 [5] [libopmnoc4j] Ping succeeded for proc: 1692271770
------------------------------------------------------------------

Guide me if the logs are saying different story. For Your Information that "website is running very fine" now. Though today is SUNDAY in india,i can check the website load on monday onwards.

I will revert back to you very soon.

Nishith Vyas
 
Old 01-03-2010, 03:53 AM   #4
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

It sounds like you were getting bona fide errors, and I don't think simply changing the log level from 4 to 5 would make them go away. I suspect that simply rebooting was what helped - and the problem might well start occurring again.

Please read through the example link I cited, and the links it cited. Please do your own Google search as I suggested, and see what else you find might be interesting. By all means, contact Oracle support (if your organization has it).

Good luck .. PSM

Last edited by paulsm4; 01-06-2010 at 06:42 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
System restarts automatically banskt Linux - Hardware 7 06-26-2009 10:24 AM
Server's getting attacked, httpd doesn't stop! (restarts itself after a few seconds) Seregwethrin Linux - Server 4 05-24-2009 07:20 AM
How to re-run a command every x seconds automatically? Akhran Linux - Newbie 4 08-22-2006 10:58 PM
logout out automatically after a couples of seconds yenonn Linux - Security 6 05-09-2005 03:43 AM
Starting a vncserver instance automatically at startup paul.nel Linux - General 6 01-08-2004 08:24 PM

LinuxQuestions.org > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 12:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration