0% found this document useful (0 votes)
182 views5 pages

Thread: Status Code 150 When Starting Apps?

The Oracle Apps installation is experiencing issues starting processes. Specifically, the OPMN managed Oracle HTTP Server (OHS) process is failing to start with a status code of 150 or 204. The log files for the startup scripts show the OHS process failed to start after reaching the maximum retry limit, but do not provide any additional details on the cause of the failure. The user has confirmed the java path and that networking is functioning properly.

Uploaded by

manjusleo
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
182 views5 pages

Thread: Status Code 150 When Starting Apps?

The Oracle Apps installation is experiencing issues starting processes. Specifically, the OPMN managed Oracle HTTP Server (OHS) process is failing to start with a status code of 150 or 204. The log files for the startup scripts show the OHS process failed to start after reaching the maximum retry limit, but do not provide any additional details on the cause of the failure. The user has confirmed the java path and that networking is functioning properly.

Uploaded by

manjusleo
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 5

Thread: Status code 150 when starting apps?

I am getting status 150 on four processes when I am starting Oracle Apps. The only thing weird in the system that i recently observed is when I type java on the prompt i get something
like this

[root@mecca ~]# java


/tmp/javaIl7810: line 2: /usr/bin/gij: No such file or directory
/tmp/javaIl7810: line 2: exec: /usr/bin/gij: cannot execute: No such file or directory
[root@mecca ~]#

Not sure what changed but something is throwing the starting of the apps server.. Any ideas?

I am enclosing the errors here. Looks like OPMN is started fine. I have included the copy of the netstat output as well

[applmgr@mecca scripts]$ ./adstrtal.sh


You are running adstrtal.sh version 120.13
Enter the APPS username: apps
Enter the APPS password:
Executing service control script:
/r12/oracle/VIS/inst/apps/VIS_mecca/admin/scripts/adopmnctl.sh start
script returned:
****************************************************
You are running adopmnctl.sh version 120.4
Starting Oracle Process Manager (OPMN) ...
adopmnctl.sh: exiting with status 0
adopmnctl.sh: check the logfile /r12/oracle/VIS/inst/apps/VIS_mecca/logs/appl/admin/log/adopmnctl.txt for more information ...
.end std out.
.end err out.
****************************************************

Executing service control script:


/r12/oracle/VIS/inst/apps/VIS_mecca/admin/scripts/adapcctl.sh start
script returned:
****************************************************
You are running adapcctl.sh version 120.6
Starting OPMN managed Oracle HTTP Server (OHS) instance ...
adapcctl.sh: exiting with status 150
adapcctl.sh: check the logfile /r12/oracle/VIS/inst/apps/VIS_mecca/logs/appl/admin/log/adapcctl.txt for more information ...
.end std out.
.end err out.
****************************************************

Executing service control script:


/r12/oracle/VIS/inst/apps/VIS_mecca/admin/scripts/adoacorectl.sh start
script returned:
****************************************************
You are running adoacorectl.sh version 120.11
Starting OPMN managed OACORE OC4J instance ...
adoacorectl.sh: exiting with status 150
adoacorectl.sh: check the logfile /r12/oracle/VIS/inst/apps/VIS_mecca/logs/appl/admin/log/adoacorectl.txt for more information ...
.end std out.
.end err out.
****************************************************
/r12/oracle/VIS/inst/apps/VIS_mecca/admin/scripts/adformsctl.sh start
script returned:
****************************************************
You are running adformsctl.sh version 120.12
Starting OPMN managed FORMS OC4J instance ...
adformsctl.sh: exiting with status 150
adformsctl.sh: check the logfile /r12/oracle/VIS/inst/apps/VIS_mecca/logs/appl/admin/log/adformsctl.txt for more information ...

[root@mecca ~]# netstat -anp | grep LISTEN | grep -i tcp


tcp 0 0 127.0.0.1:6500 0.0.0.0:* LISTEN 5111/opmn
tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 4626/vino-server
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 3070/portmap
tcp 0 0 0.0.0.0:1521 0.0.0.0:* LISTEN 4945/tnslsnr
tcp 0 0 127.0.0.1:6100 0.0.0.0:* LISTEN 5111/opmn
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 3215/cupsd
tcp 0 0 127.0.0.1:6200 0.0.0.0:* LISTEN 5111/opmn
tcp 0 0 0.0.0.0:728 0.0.0.0:* LISTEN 3090/rpc.statd
tcp 0 0 0.0.0.0:1626 0.0.0.0:* LISTEN 5321/tnslsnr
tcp 0 0 127.0.0.1:25500 0.0.0.0:* LISTEN 7628/java
tcp 0 0 ::ffff:127.0.0.1:32928 :::* LISTEN 6097/java
tcp 0 0 ::ffff:127.0.0.1:32961 :::* LISTEN 6044/java
tcp 0 0 ::ffff:127.0.0.1:32933 :::* LISTEN 6062/java
tcp 0 0 ::ffff:127.0.0.1:32968 :::* LISTEN 6072/java
tcp 0 0 ::ffff:127.0.0.1:32970 :::* LISTEN 6068/java
tcp 0 0 ::ffff:127.0.0.1:32947 :::* LISTEN 6019/java
tcp 0 0 :::22 :::* LISTEN 3269/sshd
tcp 0 0 ::ffff:127.0.0.1:12345 :::* LISTEN 6121/java
tcp 0 0 ::ffff:127.0.0.1:32954 :::* LISTEN 6036/java
tcp 0 0 ::ffff:127.0.0.1:32956 :::* LISTEN 6055/java
tcp 0 0 ::ffff:127.0.0.1:32958 :::* LISTEN 6112/java
tcp 0 0 ::ffff:127.0.0.1:32926 :::* LISTEN 6031/java
tcp 0 0 ::ffff:127.0.0.1:32927 :::* LISTEN 6121/java
Re: Status code 150 when starting apps?    Reply
Posted: Aug 10, 2007 10:46 AM     in response to: sury

If you type env as applmgr, do you see all of the product tops shown as environment variables?

What do the logfiles listed show?

Have you satisfied all of the OS prerequisites?

Oracle Applications Installation and Upgrade Notes Release 12 (12.0) for Linux (64-bit)
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=416305.1

Oracle Applications Installation and Upgrade Notes Release 12 (12.0) for Linux (32-bit)
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=402310.1

Do you have an ethernet interface up? Type ifconfig as root and see if any of the interfaces are up.

Re: Status code 150 when starting apps?    Reply


Posted: Aug 10, 2007 11:44 AM     in response to: mdtaylor

What do you get if you type:

$ which java

and ..

$ echo $PATH

Re: Status code 150 when starting apps?    Reply


Posted: Aug 12, 2007 11:50 PM     in response to: hsawwan

/r12/oracle/VIS/inst/apps/VIS_mecca/logs/appl/admin/log/adapcctl.txt for more information ... .end std out. .end err
out

Can see or show what is the latest informationin this log file...
If so we can try to solve ur problem.

Re: Status code 150 when starting apps?    Reply


Posted: Aug 14, 2007 12:40 AM     in response to: mdtaylor

hmm...if i login as applmgr../sbin is not in the path. but ifconfig shows the interfaces properly.

eth0 Link encap:Ethernet HWaddr 00:19:D1:78:89:CC


inet addr:192.168.0.111 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::219:d1ff:fe78:89cc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:22066 errors:0 dropped:0 overruns:0 frame:0
TX packets:12262 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:5095864 (4.8 MiB) TX bytes:3574751 (3.4 MiB)
Base address:0x20c0 Memory:e0300000-e0320000

lo Link encap:Local Loopback


inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:588660 errors:0 dropped:0 overruns:0 frame:0
TX packets:588660 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:207296008 (197.6 MiB) TX bytes:207296008 (197.6 MiB)

My EBS suite was running fine until early last week . Something changed (not sure who who did what unfortunately) that is causing this....

Re: Status code 150 when starting apps?    Reply


Posted: Aug 14, 2007 12:42 AM     in response to: hsawwan

[applmgr@mecca ~]$ which java


/usr/bin/java
[applmgr@mecca ~]$

[applmgr@mecca ~]$ echo $PATH


/usr/kerberos/bin:/opt/CollabNet_Subversion/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/applmgr/bin

Re: Status code 150 when starting apps?    Reply


Posted: Aug 14, 2007 12:43 AM     in response to: sury

if i type java on the prompt.....

[applmgr@mecca ~]$ java


Usage: gij [OPTION] ... CLASS [ARGS] ...
to invoke CLASS.main, or
gij -jar [OPTION] ... JARFILE [ARGS] ...
to execute a jar file
Try `gij --help' for more information.
[applmgr@mecca ~]$

Re: Status code 150 when starting apps?    Reply


Posted: Aug 14, 2007 12:53 AM     in response to: sury

[applmgr@mecca scripts]$ ./adstrtal.sh apps/apps

You are running adstrtal.sh version 120.13

Executing service control script:

/r12/oracle/VIS/inst/apps/VIS_mecca/admin/scripts/adopmnctl.sh start
script returned:

****************************************************

You are running adopmnctl.sh version 120.4

Starting Oracle Process Manager (OPMN) ...

adopmnctl.sh: exiting with status 0

adopmnctl.sh: check the logfile 

/r12/oracle/VIS/inst/apps/VIS_mecca/logs/appl/admin/log/adopmnctl.txt for more information ...

****************************************************

Executing service control script:

/r12/oracle/VIS/inst/apps/VIS_mecca/admin/scripts/adapcctl.sh start

script returned:

****************************************************

You are running adapcctl.sh version 120.6

Starting OPMN managed Oracle HTTP Server (OHS) instance ...

adapcctl.sh: exiting with status 204

adapcctl.sh: check the logfile 

/r12/oracle/VIS/inst/apps/VIS_mecca/logs/appl/admin/log/adapcctl.txt for more information ...

.end std out.

.end err out.

****************************************************

Log file 
08/14/07-13:05:32 :: adapcctl.sh version 120.6
08/14/07-13:05:32 :: adapcctl.sh: stopping OPMN managed OHS instance

opmnctl: opmn is not running.

08/14/07-13:05:32 :: adapcctl.sh: exiting with status 0

================================================================================

08/14/07-13:05:50 :: adapcctl.sh version 120.6


08/14/07-13:05:50 :: adapcctl.sh: starting OPMN if it is not running

opmnctl: opmn is already running.

08/14/07-13:05:50 :: adapcctl.sh: starting OPMN managed OHS instance

opmnctl: starting opmn managed processes...


================================================================================
opmn id=mecca.gaea.com:6200
0 of 1 processes started.

ias-instance id=VIS_mecca.mecca.gaea.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

ias-component/process-type/process-set:
HTTP_Server/HTTP_Server/HTTP_Server/

Error
--> Process (index=1,uid=546577736,pid=29584)
failed to start a managed process after the maximum retry limit
Log:
/r12/oracle/VIS/inst/apps/VIS_mecca/logs/ora/10.1.3/opmn/HTTP_Server~1
08/14/07-13:05:56 :: adapcctl.sh: exiting with status 204

================================================================================

Re: Status code 150 when starting apps?    Reply


Posted: Aug 14, 2007 12:58 AM     in response to: sury

Please run the following to determine the version of JDK that is used by your R12 E-Business Suite Installation:

sh -c "`awk -F= '$1 ~ /^JSERVJAVA.*$/ {print $2}' $ADMIN_SCRIPTS_HOME/java.sh` -version;"

You may also try the following:

- Open a new shell and set your apps environment


- cd $ADMIN_SCRIPTS_HOME
- adopmnctl.sh stop
- Check if it is really down: ps -ef | grep -i opm
- Delete the following:

$ rm -fr $INST_TOP/ora/10.1.3/j2ee/oacore/persistence/*
$ rm -fr $INST_TOP/ora/10.1.3/j2ee/oafm/persistence/*
$ rm -fr $INST_TOP/ora/10.1.3/j2ee/forms/persistence/*

- Run "adopmnctl.sh start"


- Check if the issue has been resolved: "adapcctl.sh status"
Re: Status code 150 when starting apps?    Reply
Posted: Aug 14, 2007 1:29 AM     in response to: hsawwan

weird..that the APPS*.env file is not setting the env variables at all. I logged in as both root/applmgr but its the same
so...

sh -c "`awk -F= '$1 ~ /^JSERVJAVA.*$/ {print $2}' $ADMIN_SCRIPTS_HOME/java.sh` -version;"

is throwing this

[applmgr@mecca ~]$ sh -c "`awk -F= '$1 ~ /^JSERVJAVA.*$/ {print $2}'


$ADMIN_SCRIPTS_HOME/java.sh` -version;"

awk: cmd. line:2: fatal: cannot open file `/java.sh' for reading (No such file or directory)

sh: -version: command not found


Will try the second option..

Re: Status code 150 when starting apps?    Reply


Posted: Aug 14, 2007 1:35 AM     in response to: sury

[applmgr@mecca scripts]$ ./adopmnctl.sh start

You are running adopmnctl.sh version 120.4

Starting Oracle Process Manager (OPMN) ...

adopmnctl.sh: exiting with status 0

adopmnctl.sh: check the logfile /r12/oracle/VIS/inst/apps/VIS_mecca/logs/appl/admin/log/adopmnctl.txt for more


information ...

[applmgr@mecca scripts]$ ./adapcctl.sh status

You are running adapcctl.sh version 120.6

Checking status of OPMN managed Oracle HTTP Server (OHS) instance ...

Processes in Instance: VIS_mecca.mecca.gaea.com


-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
OC4J | oafm | N/A | Down
OC4J | forms | N/A | Down
OC4J | oacore | N/A | Down
HTTP_Server | HTTP_Server | N/A | Down
ASG | ASG | N/A | Down

Seems like I am getting the same message. Is it a problem with java? why do we need gij? I don't remember seeing
that package installed. Do you think that this is the problem?

Re: Status code 150 when starting apps?    Reply


Posted: Aug 14, 2007 2:17 AM     in response to: sury

I suspect that this is a java issue. Could you please run the following again but replace $ADMIN_SCRIPTS_HOME with
the absolute path of java.sh before (i.e. $oracle/<SID>/inst/apps/<SID>_<hostname>/admin/scripts/)

sh -c "`awk -F= '$1 ~ /^JSERVJAVA.*$/ {print $2}' $ADMIN_SCRIPTS_HOME/java.sh` -version;"

Re: Status code 150 when starting apps?    Reply


Posted: Aug 14, 2007 2:18 AM     in response to: sury

ok..this is weird and I think there is something wrong in the env??? just to try this out. i navigated into $ADMIN_SCRIPT_HOME and ran ./adstrtall.sh. All the services started fine? so
seems like some perms issue with applmgr at the env level?

Re: Status code 150 when starting apps?    Reply


Posted: Aug 14, 2007 2:24 AM     in response to: sury

Could be 

What is the status of OPMN managed processes? All Up? If so, then I guess you have no issue.

You may change the permission using:

$ chmod -R 755 <list of directories>


$ chown -R applmgr:dba <list of directories>

You may also run AutoConfig, it would fix other issues with your startup scripts.

Re: Status code 150 when starting apps?    Reply


Posted: Aug 14, 2007 10:30 AM     in response to: sury

Hi all,

Just a quick note...I've noticed this behavior intermittently on my R12 systems. All 4 components controlled by OPMN report status 150 on startup via adstrtal.sh. When I run
'adopmnctl.sh status' after adstrtal.sh, however, it shows that those services are either started or starting. I had written it off as a timing issue. 

I don't know if this is consistent with what you're seeing. If the forms and web services are not usable after you see these startup errors, then your situation is certainly different.  

Regards,

John P.

Re: Status code 150 when starting apps?    Reply


Posted: Apr 4, 2008 3:17 AM     in response to: jpiwowar

I am alos getting same problem, but if I start servcies indiviually it works fine. Not sure if that helps!

Regards,
Hemant.

Re: Status code 150 when starting apps?    Reply


Posted: Apr 4, 2008 3:45 AM     in response to: he****

Do you have the latest AutoConfig patch applied?

You might also like