Thursday, December 10, 2009

OBIEE: OEL Uninstall

I've been fighting with VirtualBox and OBIEE the last couple of days trying to get it installed. Finally resolved the issue early this morning with the help of a friend...post coming shortly.

Now I'm uninstalling it so I can repeat the process from this morning in a more lucid state.

I've found the documentation for OBIEE not quite as robust as the database documentation. Specifically, it's not HTML-ified. So direct linking is (near) impossible.

On page 97 of the Oracle Business Intelligence Infrastructure Installation and Configuration Guide are the uninstall directions. Nothing fancy mind you, but I've gotten in the habit lately of documenting everything I do, no matter how seemingly mundane.

In OracleBI_HOME there is a directory called...uninstall:
[root@localhost local]# ls -ltr OracleBI
total 96
-rwxr-x--- 1 oracle oracle 108 Dec 10 01:47 version.txt
drwxr-x--- 2 oracle oracle 4096 Dec 10 01:51 log
drwxr-x--- 3 oracle oracle 4096 Dec 10 01:51 Install_Backup
drwxr-x--- 4 oracle oracle 4096 Dec 10 01:51 oui
drwxr-x--- 2 oracle oracle 4096 Dec 10 01:51 index_bi_ee_files
drwxr-x--- 3 oracle oracle 4096 Dec 10 01:52 install
drwxr-x--- 17 oracle oracle 4096 Dec 10 01:52 oc4j_bi
drwxr-x--- 4 oracle oracle 4096 Dec 10 01:53 systemsmanagement
drwxr-x--- 4 oracle oracle 4096 Dec 10 01:57 odbc
drwxr-x--- 2 oracle oracle 4096 Dec 10 01:57 jdbc
drwxr-x--- 12 oracle oracle 4096 Dec 10 02:00 server
drwxr-x--- 10 oracle oracle 4096 Dec 10 02:03 corda50
drwxr-x--- 2 oracle oracle 4096 Dec 10 02:03 setup
drwxr-x--- 8 oracle oracle 4096 Dec 10 02:03 web
drwxr-x--- 4 oracle oracle 4096 Dec 10 02:08 office
drwxr-x--- 4 oracle oracle 4096 Dec 10 02:13 xmlp
-rwxr-x--- 1 oracle oracle 22546 Dec 10 02:17 index_bi_ee.html
drwxr-x--- 3 oracle oracle 4096 Dec 10 02:17 inventory
drwxr-x--- 4 oracle oracle 4096 Dec 10 02:18 uninstall
In that directory is setup.bin, run it.
[oracle@localhost local]$ ./OracleBI/uninstall/setup.bin -console
InstallShield Wizard

Initializing InstallShield Wizard...

Please wait...
I was running it in console mode (i.e. command line interface or CLI) because I've been having problems getting the GUI version to run. Since I'm somewhat lazy, I haven't bothered to figure out the cause (xterm and xclock do work though). Again, the documentation on OBIEE isn't as strong as it is for the database. Console works just fine though...
-------------------------------------------------------------------------------
Oracle Business Intelligence 10.1.3.4.1 will be uninstalled from the following
location:

/usr/local/OracleBI

with the following features:

Oracle Business Intelligence JDBC Driver
Oracle Business Intelligence Systems Management
Oracle Business Intelligence Server
Oracle Business Intelligence Cluster Controller
Oracle Business Intelligence Scheduler
Oracle Business Intelligence Client
Oracle Business Intelligence Presentation Services
Oracle Business Intelligence Presentation Services Plug-in and BI Office
Oracle Business Intelligence Publisher

Press 1 for Next, 3 to Cancel or 4 to Redisplay [1] 1
Select 1 and Enter. You'll then be prompted for the oc4jadmin password
-------------------------------------------------------------------------------
OC4J Administrator User Information

Enter the administrator user information for the Oracle Containers for J2EE
(OC4J) which is used by Oracle Business Intelligence.

Administrator username:
oc4jadmin

Administrator password:
Administrator password:
Administrator password:

Confirm password:


Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1] 1
Enter it, enter 1 and enter Enter (couldn't resist).
Please wait while processes shutdown.


|-----------|-----------|-----------|------------|
0% 25% 50% 75% 100%
||||||||||||||||||||||||||||||||||||||||||||||||||

|-----------|-----------|-----------|------------|
0% 25% 50% 75% 100%
||||||||||||||||||||||||||||||||||||||||||||||||||
Please wait while processes shutdown.


|-----------|-----------|-----------|------------|
0% 25% 50% 75% 100%
||||||||||||||||||||||||||||||||||||||||||||||||||

Uninstalling the Oracle BI Server PerfMon counters...


Uninstalling the Oracle BI Presentation Services PerfMon counters...


Uninstalling Oracle Business Intelligence 10.1.3.4.1...

-------------------------------------------------------------------------------
The InstallShield Wizard has successfully uninstalled Oracle Business
Intelligence 10.1.3.4.1. Choose Finish to exit the wizard.

Press 1 for Next, 3 to Finish or 4 to Redisplay [1] 1
WARNING: could not delete locked file /usr/local/OracleBI/systemsmanagement/resources
WARNING: could not delete locked file /tmp/ismp001
WARNING: could not delete locked file /usr/local/OracleBI/server/Repository
WARNING: could not delete locked file /usr/local/OracleBI/server/Sample
WARNING: could not delete locked file /usr/local/OracleBI/systemsmanagement
WARNING: could not delete locked file /usr/local/OracleBI/Install_Backup
WARNING: could not delete locked file /usr/local/OracleBI/xmlp/XMLP/Admin/Security
WARNING: could not delete locked file /usr/local/OracleBI/server/Sample/paint
WARNING: could not delete locked file /usr/local/OracleBI/xmlp
WARNING: could not delete locked file /usr/local/OracleBIData/web/log
WARNING: could not delete locked file /usr/local/OracleBI/xmlp/XMLP
WARNING: could not delete locked file /usr/local/OracleBI/xmlp/XMLP/Admin
WARNING: could not delete locked file /usr/local/OracleBI/server/Bin
WARNING: could not delete locked file /usr/local/OracleBI/server/Sample/samplesales
WARNING: could not delete locked file /tmp/ismp001/5409220
WARNING: could not delete locked file /usr/local/OracleBIData/web
All done. Now a little cleanup:
[oracle@localhost local]$ rm -Rf OracleBI
rm: cannot remove directory `OracleBI': Permission denied
[oracle@localhost local]$ su root
Password:
[root@localhost local]# ls -ltr
total 80
drwxr-xr-x 2 root root 4096 Jan 8 2009 src
drwxr-xr-x 2 root root 4096 Jan 8 2009 sbin
drwxr-xr-x 2 root root 4096 Jan 8 2009 libexec
drwxr-xr-x 2 root root 4096 Jan 8 2009 lib
drwxr-xr-x 2 root root 4096 Jan 8 2009 include
drwxr-xr-x 2 root root 4096 Jan 8 2009 games
drwxr-xr-x 2 root root 4096 Jan 8 2009 etc
drwxr-xr-x 2 root root 4096 Jan 8 2009 bin
drwxr-xr-x 4 root root 4096 Dec 8 05:41 share
drwxr-x--- 3 oracle root 4096 Dec 10 09:12 OracleBIData
drwxr-x--- 2 oracle root 4096 Dec 10 09:13 OracleBI
[root@localhost local]# rm -Rf OracleBI
[root@localhost local]# rm -Rf OracleBIData/
[root@localhost local]# ls -ltr
total 72
drwxr-xr-x 2 root root 4096 Jan 8 2009 src
drwxr-xr-x 2 root root 4096 Jan 8 2009 sbin
drwxr-xr-x 2 root root 4096 Jan 8 2009 libexec
drwxr-xr-x 2 root root 4096 Jan 8 2009 lib
drwxr-xr-x 2 root root 4096 Jan 8 2009 include
drwxr-xr-x 2 root root 4096 Jan 8 2009 games
drwxr-xr-x 2 root root 4096 Jan 8 2009 etc
drwxr-xr-x 2 root root 4096 Jan 8 2009 bin
drwxr-xr-x 4 root root 4096 Dec 8 05:41 share
Done.

Now to reinstall for the last time.

2 comments:

Anonymous said...

Ouch, if you think the OBIEE documentation is weak, wait until you get to OBIA's .... :-/

oraclenerd said...

I've noticed it's a bit weak. I've read all yours posts like 12 times already. Maybe we can add to it?