./deinstall: Exited from program error


 
Thread Tools Search this Thread
Operating Systems Solaris ./deinstall: Exited from program error
# 1  
Old 05-16-2014
./deinstall: Exited from program error

I am wondering if I can get some help here.

I am deinstalling Oracle home on solaris. Downloaded deintsall zip file from oracle and then ran ./deinstall -home (Full Path)

10 seconds later I get this: Any idea how to resolve this issue?

Code:
$ ./deinstall -home /space/u01/app/oracle/product/11.2.0/dbhome_1
Location of logs /space/home/oracle/oraInventory/logs/

############ ORACLE DEINSTALL & DECONFIG TOOL START ############


######################### CHECK OPERATION START #########################
## [START] Install check configuration ##


Checking for existence of the Oracle home location /space/u01/app/oracle/product/11.2.0/dbhome_1
Oracle Home type selected for deinstall is: Oracle Single Instance Database
Oracle Base selected for deinstall is: /space/u01/app/oracle
Checking for existence of central inventory location /space/home/oracle/oraInventory
Checking for sufficient temp space availability on node(s) : 'idmux01'

Exited from program.

# 2  
Old 05-16-2014
You can go to the $ORACLE_HOME/oui/bin and run ./detachHome.sh which will remove the Oracle home from the inventory. Which looks like what you did. You would then need to delete the directory for the Oracle home. At that point you can reinstall Oracle. Are you having an issue with installing the Oracle database software?
# 3  
Old 05-16-2014
Quote:
Originally Posted by gandolf989
You can go to the $ORACLE_HOME/oui/bin and run ./detachHome.sh which will remove the Oracle home from the inventory. Which looks like what you did. You would then need to delete the directory for the Oracle home. At that point you can reinstall Oracle. Are you having an issue with installing the Oracle database software?
Hey there.

Well there is already an Oracle Home in my environment but It's looks messy (means all the files all over the place) There is dbhome_1 in 3 different location (copied to a different location manually which kind of messed up everything)

Let's say if I install new Oracle_home and follow all the directions which were given to me by you. Will I be changing the .profile as well.
problem is that there is so much to keep up. (setting path, setting Oracle _home and all that, bash profile etc) It's a good learning experience for me to deal with this but its actually giving me migraine.

This is what I was planning on doing: Deinstall Oracle_home and all the associated dir and then just start a little fresh by installing new home so I am not going in circles wondering what happened now?
# 4  
Old 05-16-2014
You need to create a script for setting the Oracle Environment variables.

Code:
# on both the database server and the app server
export ORACLE_BASE=/space/u01/app/oracle/product
export ORACLE_HOME=/space/u01/app/oracle/product/11.2.0/dbhome_1
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=$ORACLE_HOME/bin:$PATH

# On the database server you also need:
export ORACLE_SID=<your_sid_name>

You can set this in your .profile but you should have a script that sets the variables depending what is in the /etc/oratab file. The /etc/oratab file would have an entry for each database plus one entry for +ASM, if you use ASM.

Setting up your environment variables is necessary for installing Oracle. As for files being all over the place, you have an Oracle home, diag directory, oraInventory. The network directory is under the ORACLE_HOME at $ORACLE_HOME/network/admin.
# 5  
Old 05-16-2014
Quote:
Originally Posted by gandolf989
You need to create a script for setting the Oracle Environment variables.

Code:
# on both the database server and the app server
export ORACLE_BASE=/space/u01/app/oracle/product
export ORACLE_HOME=/space/u01/app/oracle/product/11.2.0/dbhome_1
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=$ORACLE_HOME/bin:$PATH

# On the database server you also need:
export ORACLE_SID=<your_sid_name>

You can set this in your .profile but you should have a script that sets the variables depending what is in the /etc/oratab file. The /etc/oratab file would have an entry for each database plus one entry for +ASM, if you use ASM.

Setting up your environment variables is necessary for installing Oracle. As for files being all over the place, you have an Oracle home, diag directory, oraInventory. The network directory is under the ORACLE_HOME at $ORACLE_HOME/network/admin.
Thanks for replying. This is what I have:
I have 2 db entries in my Oratab file but those DB don't exist anymore. I was under the impression that Oratab gets updated automatically when you create or delete the DB but it wasn't updated. Someone recommended me to deattach Oracle home and delete it manually but I don't want to do it since I don't how true that is. I will just try to create a DB in a silent mode so it doesn't give me the font error I was getting and let's see what happens.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

RHEL6 : Remote process exited without returning status

Hi All, I am using RHEL 6 linux in my lab server and I am new to RHEL6 features. lab1:root> uname -a Linux lab1 2.6.32-358.18.1.el6.x86_64 #1 SMP Fri Aug 2 17:04:38 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux I am facing a peculiar issue in my lab machine. When I connected via Opsware Global... (0 Replies)
Discussion started by: go2suresh1979
0 Replies

2. AIX

Deactivating HACMP without deinstall

Looking at the configuration of the cluster from clshowres it seems to be have 3 nodes but one acting as a backup. Version of HACMP is 5.2 Node A --> Node C Node B --> Node C However, looking at the current services running from clshowsrv -a, I can only see clcomd running. clstrmgrES,... (4 Replies)
Discussion started by: depam
4 Replies

3. Solaris

Solaris 10 flash installation - fatal error. Solaris installation program exited.

Not very helpful to say the least. Seems to read the flar file and go through the upgrade and then come up with this error. Any ideas? (1 Reply)
Discussion started by: psychocandy
1 Replies

4. UNIX for Dummies Questions & Answers

WARNING: init(1M) exited on fatal signal 9: restarting automatically

Have you ever got these : WARNING: init(1M) exited on fatal signal 9: restarting automatically and how did you solve it? (3 Replies)
Discussion started by: anaABB
3 Replies

5. Shell Programming and Scripting

Need help with program error

#!/bin/csh # # Time of day greeting # # usage: greet # if ($#argv == 0) then set hour = ‘date +%H’ else set hour = $argv endif # if ($hour < 12) then echo "Good Morning\!" else if ($hour < 18) then echo "Good Afternoon\!" ... (2 Replies)
Discussion started by: glock1800
2 Replies

6. Programming

Program exited with code 01: does it indicate unsuccessful compilation?

(gdb) r --------------------- enter Breakpoint 1, 0x0000000000409d40 in main () (gdb) n Single stepping until exit from function main, which has no line number information. Find_Cmd_Option: found option no. 2: seed (s) Find_Cmd_Option: found option no. 5: dfile (c) Initial no. div... (1 Reply)
Discussion started by: cdbug
1 Replies

7. Programming

little program error.

I am trying to work this little program, its not working.. int main() { FILE *fp; char *args; pid_t child, exited_pid; int status = 0; *args = "less"; fp = popen("ls", "r"); child =... (4 Replies)
Discussion started by: joey
4 Replies

8. AIX

deinstall devices.fcp.disk.array.rte

Hello, I am trying to "deinstall devices.fcp.disk.array.rte" fileset from an AIX5.3 box. Have been unsuccessful so far. "smit remove" threw the below error: FAILURES -------- Filesets listed in this section failed pre-deinstall verification and will not be removed. ... (2 Replies)
Discussion started by: ronykris
2 Replies

9. UNIX for Advanced & Expert Users

rerun a script if aborted and exited

Hello, When I run a script, the script sometimes exited. I need to re-run it automatically again. Currently I am using crontab to run the script each 5 minutes. However, I need to have a better solution. Any idea what to do? thanks (3 Replies)
Discussion started by: melanie_pfefer
3 Replies

10. AIX

Program Error

Hi, my IBM 9117-570 model (mounting SF230_126 firmware version) gives an errpt like the following. The problem is that no SRC code found at IBM information center web site. Some ideas where are those SRC searchable ? O.S. is AIX 5.2- tkx E18E984F 1119200506 P S SRC ... (0 Replies)
Discussion started by: Carmen123
0 Replies
Login or Register to Ask a Question