Welcome

Welcome to HandsonERP.com

This site provides video based training of Oracle Financials.
Learn concepts and functionality in a step by step manner.

Login

HandsonERP - Oracle E-Business Suite Training
Welcome, Guest
Please Login or Register.    Lost Password?
Please post inquiries related to lessons content here. All questions and inquiries related to the website should be submitted directly using Contact form in the top menu.
Go to bottom Post Reply Favoured: 0
TOPIC: Re:adstrtal.sh: Exiting with status 4
#2512
tomanishsingh (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
adstrtal.sh: Exiting with status 4 12 Years, 2 Months ago  
I installed R12.1.1 and after installation I started database listener, database and application tier with start up scripts but adstrtal.sh exited with status 4 and some of the subscripts exit with status 150. How can I proceed with this failure. Can anyone of you guide me.
Basically list of failed jobs .adstrtal.sh: Exiting with status 4
adapcctl.sh: exiting with status 150
adoacorectl.sh: exiting with status 150
adformsctl.sh: exiting with status 150
adoafmctl.sh: exiting with status 150 .Attached is log file for your perusal.
File Attachment:
File Name: script_fail.txt
File Size: 4622
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2516
handsonerp (Admin)
Admin
Posts: 1989
graph
User Offline Click here to see the profile of this user
Re:adstrtal.sh: Exiting with status 4 12 Years, 2 Months ago  
First make sure your database service and database listener is up and running before running adstrtal.sh
For each service that is failed you are given the log file name. That should be the starting point for the investigation. For example:
/home/oracle/PROD/inst/apps/PROD_linux/logs/appl/admin/log/adopmnctl.txt
You might have to dig into more log files but start with the ones listed in the output.

You are running adopmnctl.sh version 120.6

Starting Oracle Process Manager (OPMN) ...

adopmnctl.sh: exiting with status 0

adopmnctl.sh: check the logfile /home/oracle/PROD/inst/apps/PROD_linux/logs/appl/admin/log/adopmnctl.txt for more information ...
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2519
tomanishsingh (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Re:adstrtal.sh: Exiting with status 4 12 Years, 2 Months ago  
Hi Hasan ,I am able to start SQLPLUS and can do some query .so it means my database is up running .Looking to Previous thread with User "Jon" i tried to ping linux.server and it is getting proper reply .tried to start Opmnctl manually
Opmnctl: opmn is already running.
[oracle@linux bin]$ opmnctl startproc type=ohs
opmnctl: starting opmn managed processes...
================================================================================
opmn id=linux.server:6200
no processes or applications matched this request


Please let me know if i missing any step
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2520
handsonerp (Admin)
Admin
Posts: 1989
graph
User Offline Click here to see the profile of this user
Re:adstrtal.sh: Exiting with status 4 12 Years, 2 Months ago  
For each service that is failed you are given the log file name. That should be the starting point for the investigation. For example:
/home/oracle/PROD/inst/apps/PROD_linux/logs/appl/admin/log/adopmnctl.txt
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2540
tjedwin (User)
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
Re:adstrtal.sh: Exiting with status 4 12 Years, 2 Months ago  
I have the same problems. It’s urgent and need help.
The Oracle R12 cannot be connected from both local and from my client machine.
I have the same error as the post describe.
Please let me know if you have the solutions.
However, I was able to connect Oracle R12 once.
I moved my notebook alot from home to office. The local machine’s IP address keeps changing.
And, I changed the window's host file accordingly.
Thanks in advance.
 
Report to moderator   Logged Logged  
 
Last Edit: 2012/01/09 22:31 By tjedwin.
  The administrator has disabled public write access.
#2543
tomanishsingh (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Re:adstrtal.sh: Exiting with status 4 12 Years, 2 Months ago  
I am able to resolve "adstrtal.sh: Exiting with status 4" issue after some work around,
Shutting down middle tier means whole application tier issuing adstpall.sh stop and then do changes.
# ./adstpall.sh apps/apps
1. Shutdown all Middle tier services. Make sure no defunct processes exist
# ps -ef | grep apps
If you find any, kill these processes.
2. Navigate to $INST_TOP/ora/10.1.3/opmn/logs/states directory. It contains hidden file .opmndat
# ls -lrt .opmndat
3. Delete this file .opmndat
# rm .opmndat
4. Restart services
5. Re-test the issue
Please let me know if you are facing any issue.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2545
tjedwin (User)
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
Re:adstrtal.sh: Exiting with status 4 12 Years, 2 Months ago  
I followed your suggested steps.
On step 2. I used File Browser and manually deleted.
Then, I restart the whole application services and issues command:
./adstrtal.sh apps/apps
I still got the message “adstrtal.sh: Exiting with status 4.
I already tried several times by combinations reboot the VMWare LINUX.
Please help.
Many thanks in advance.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2546
tjedwin (User)
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
Re:adstrtal.sh: Exiting with status 4 12 Years, 2 Months ago  
Questions:
when I entered a command "ps ux"
A message: bash: fork: Resource temporary unavailble.

My LINUX server has 4 GB memory and the host notebook has 8 GB RAM.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2547
handsonerp (Admin)
Admin
Posts: 1989
graph
User Offline Click here to see the profile of this user
Re:adstrtal.sh: Exiting with status 4 12 Years, 2 Months ago  
If a service is failing to start successfully (status is not 0) then we need to find out what is causing the issue. And for that we need to pull up the log files for that service as a starting point. There could be many reasons for status 4.
If the problem is trivial, related to system resources, it usually goes away by starting all services (adstrtal.sh) and stopping all services (adstpall.sh) and then re-starting all services.
Also apache service is usually thrown off if IP address is changing all the times. See if the you can make your IP static using the tool:
/usr/sbin/system-config-network
Use the same IP as you have in your Windows host file.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2552
tjedwin (User)
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
Re:adstrtal.sh: Exiting with status 4 12 Years, 2 Months ago  
I setup a Static IP Address. The Hostname is grey out (disable).
Will this (Hostname disabled) impact the Oracle R12 existing configurations?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2553
tjedwin (User)
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
Re:adstrtal.sh: Exiting with status 4 12 Years, 2 Months ago  
Now, I got adstrtal.sh: Exiting with status 1 after changed the IP address 10.10.0.20
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2554
tomanishsingh (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Re:adstrtal.sh: Exiting with status 4 12 Years, 2 Months ago  
My suggestion would be .
1.Re Start Linux machine.
2.Start DB and listner
3.Go and check if ..opmndat file exist than delete it .
4.Start apps services
In my case first time i didn't stopped services and deleted said file so it was failing again. Please share log file.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2555
tomanishsingh (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Re:adstrtal.sh: Exiting with status 4 12 Years, 2 Months ago  
Please check if you can connect to SQLPLUS:
sqlplus apps/apps

if you are able to connect please run
[scripts]$ ./adautocfg.sh and check if it throwing any information also share with us adautocfg.log file.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2556
tjedwin (User)
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
Re:adstrtal.sh: Exiting with status 4 12 Years, 2 Months ago  
I connected to sqlplus and run the ./adautocfg.sh command. Enclosed are screens captured of the output and my network ip address configuration environment.
Many thanks in advance for your help.
 
Report to moderator   Logged Logged  
 
Last Edit: 2012/01/11 15:59 By tjedwin.
  The administrator has disabled public write access.
#2557
tjedwin (User)
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
Re:adstrtal.sh: Exiting with status 4 12 Years, 2 Months ago  
File Attachment
File Attachment:
File Name: Output_file_networkIP_address.doc
File Size: 292352
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2558
handsonerp (Admin)
Admin
Posts: 1989
graph
User Offline Click here to see the profile of this user
Re:adstrtal.sh: Exiting with status 4 12 Years, 2 Months ago  
To rule out hostname and ip related issues you can perform two tests:

1) Enter the command hostname on Linux it should produce the output: linux.server
2) Enter: ping linux.server
It should resolve to 127.0.0.1 (local host)

Again, I will repeat: in order to trouble shoot issues related to service not starting successfully you begin by looking at the log file. That is why the log file is there.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2562
tjedwin (User)
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
Re:adstrtal.sh: Exiting with status 4 12 Years, 2 Months ago  
Many thanks for your prompts.
I decided to delete my Oracle VM and started with a fresh install.
But I am encountering with the post install check – login page error as checking URL = http://linux.server:8000/OA_HTML/AppsLogin RW
50016: Error –{0} was not created File = {1}.
I performed some research and found previous post on the similar problems.
However, I did not fully understand the solutions on these problems.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2576
handsonerp (Admin)
Admin
Posts: 1989
graph
User Offline Click here to see the profile of this user
Re:adstrtal.sh: Exiting with status 4 12 Years, 2 Months ago  
Various issues could cause this error:
For example if your apps account is locked and if Oracle user does not have permissions on env files and so on.
I would start by running AutoConfig and checking if that fixes the problem first.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop