Uninstall oracle9i fron RedHat linux 8

hi,
i want to uninstall oracle9i from redhat linux.can anyone plz give me the neccessary steps to uninstall.
thanks in advance

Since there is no registry to mess up, it's simple removes. Therefore the simplest way:
1) rm -rf $ORACLE_BASE # remember to check that $ORACLE_BASE is set properly
2) rm -rf {wherever your inventory is kept - see /etc/oraInst.loc)
3) rm -rf {all the Oracle Homes as seen in /etc/oratab)  # may have been included in 1)
4) rm /etc/oratab /etc/oraInst.loc
5) rm /usr/local/bin/*ora* /usr/local/bin/dbhome*
6) rm {any additional Oracle specific directories you added manually)
Don't forget to back up your system first ...
Message was edited by:
        forbrich
The above assumes you are not starting the database automatically via an init.d setting and you haven't loaded  .so libs manually.  I think you are left with a /etc/ld.so.preload entry as well.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Uninstall Oracle10g from RedHat Linux 5 Server and install Oracle11g

    Hi to all,
    I must uninstall Oracle 10g from Red Hat Linux 5 Server and then I must install Oracle 11g.
    How I can remove all things of Oracle10g for install after Oracle 11g?
    Thank you in advance,
    crystal

    crystal13 wrote:
    Hi to all,
    I must uninstall Oracle 10g from Red Hat Linux 5 Server and then I must install Oracle 11g.
    How I can remove all things of Oracle10g for install after Oracle 11g?
    Thank you in advance,
    crystalCheck the following link
    http://database.itags.org/oracle/267935/

  • Error on Install Oracle9i R2 on RedHat Linux 7.3

    When I have installed Oracle9i R2 on RedHat Linux 7.3,I reboot the machine,
    and then write this:
    sqlplus
    SQL> sys /change_on_install as sysdba
    SQL>Connect to Iddle
    SQL>startup
    SQL>sltln:environment variable cannot be evaluated
    What`s the matter?
    thanks

    Looks like some file that's present in tmp or
    /var/tmp during deployment cannot be overwritten
    because of permissions issue. Please make
    sure you don't have previous installation temp files
    in /var/tmp or /tmp before doing new installation or
    use the same use that installed the first instance.
    You can try cleaning up tmp and /var/tmp and retry.
    Also try setting umask 00 before installations.

  • Oracle9i Rel2 installation fails on Redhat linux 7.3

    Hello there.
    My m/c is Pentium III 500MHz m/c with 320MB physical RAM and it has Redhat Linux 7.3 installed.
    I'm trying to install oracle 9i and it fails in DB creation. The "dbca" shows an error message
    "ORA-27123: unable to attach to shared memory segment" when it is at 51% through.
    I have configured 1.9GB of swap space. The "ipcs" command do show some shared memory allocation under "oracle" user id with "0777" permission. I can't really figure where to start in analysing this problem. Your inputs are very much appreciated.
    Thank you.
    Vimala.
    31-Aug-2002

    You need to know that while installing Oracle software itself you must not invoke any wizard like adjusting Oracle network or creating databases , just finish of the Installation , restart machine and start configuring the network and databases , this approach was very successfull with Servers who have less than 1 G Ram.
    I have installed 9i R2 over 256M ram over Redhat 7.3 , no Problem JUST , if this problems happens after installing the Oracle software itself , it is reported by Oracle that it has bug in this version that happens for instance when you open a shell window , startup a database and exit SQL+ , when trying to shut it down from the same window it returns the same stated error before , I managed to solve it by ( from inside SQL+ ) giving :
    !ipcs oracle
    Then
    !ipcrm ****
    **** = the id numbers of Oracle processes for shared memory realm.
    Then exit SQl+ , open another shell window , start SQL+ and we are back on business again.
    This is all instead of resatrting the server.

  • Ora-01031 error while starting oracle9i server on linux advanced redhat 3.1

    I am encountering some errors while trying to start the oracle9i database on linux server.
    I am getting the error ora-01031 while trying to connect to the server as sysdba.
    I give the following commands
    sqlplus /nolog
    Sql> conn sys/xxxx as sysdba
    ERROR:
    ORA-01031: insufficient privileges
    The listener service is started. The user "oracle" belongs to the groups oinstall and dba on linux.
    When I try to connect to the sys account through enterprise manager console, it connects.
    But when I try to start the database it says
    ERROR:
    ORA-01031: insufficient privileges
    I am trying to solve this problem since the past two days but to no avail.
    The last time the database was used it was not shutdown properly (we had rebooted the linux server through command prompt).
    Might be this has caused some problem.
    I would be very grateful to you if you could spare some time and look into this problem.

    Listen Sheikh Abdullah, if u don't need remote access to that server over secure conn., don't use password file authentification but change REMOTE_LOGIN_PASSWORDFILE to NONE and when u conn thru OEM as sysdba try to change his pass and then try conn thru command promt(CP) usin that new pass.
    Or recreate pass file adding new pass in it, set REMOTE_LOGIN_PASSWORDFILE to exclusive or shared and conn thru CP using password file pass.
    Try this possible solutions in order u wish.

  • Succes installing 9iAS R2 (release 2) on RedHat Linux 7.3

    I had success installing 9iAS release 2 on RedHat Linux 7.3. I used the instructions on http://www.puschitz.com/OracleOnLinux.shtml.
    At first, I tried this on RedHat 8.0. Funny thing is: installation of infrastructure failed even though I followed the instructions. Then I downloaded 7.3, followed EXACTLY the same instructions and voila, works like a charm.
    Puschitz' instructions are for 9i and not for 9iAS though. Some additions:
    1) One of the pre-installation steps there says to set some environment variables, one of them being the SID. It's set to 'test', but of course with standard settings the sid of the database that comes along with 9iAS has a SID of 'iasdb'.
    2) Also what I did, was to downgrade the binutils package to the version provided by Oracle here: http://otn.oracle.com/software/products/oracle9i/files/binutils_readme.html. As an alternative, Puschitz says to change some makefiles. I didn't try this.
    3) I then installed the infrastructure. When finished, I exited the installation and rebooted. After the reboot:
    4) I changed to the /bin directory and typed (as root):
    ln -s /sbin/fuser
    5) Changed back to user 'oracle' and started the infrastructure with:
    $ORACLE_HOME/bin/sqlplus
    connect / as sysdba
    startup
    exit
    $ORACLE_HOME/bin/lsnrctl start
    $ORACLE_HOME/bin/oidmon connect=iasdb start
    $ORACLE_HOME/bin/oidctl connect=iasdb server=oidldapd instance=1 start
    $ORACLE_HOME/opmn/bin/opmnctl startall
    6) Then started the installer and did the middletier installation. Rebooted.

    Following your instructions i've also succesfull installation of ias9iR2 Infrastructure on Redhat7.3. Checked the database Iasdb and Enterprise Manager Website (on http://liminwang:1810), everything works fine. Hence i try to install Portal & Wireless on the same machine on a different Oracle_home (but on the same Oracle_base) according to the installation guide. The installation stuck when i've chosen the Portal and Wireless option. I get a warning that the Enterprise Manager Website Process is still running and it must be stopped to proceed the stallation. So i stopped this process by: $oracle_home/bin/emctl stop
    Still i get the same warning. Stopping the database also doesn't help. Even when i deinstalled the Enterprise Manager Website component i get the same warning.
    Please help!

  • Problems and solutions for 9i DB R2 install on Redhat Linux AS 2.1

    Installing 9iDB R2 9.2.0.1.0 on Redhat Linux Advanced Server 2.1 (aka Redhat Enterprise Linux (AS))
    and applying patchset 2 (9.2.0.3.0)
    This is a certified platform but I hit many problems getting the install to work. Here are the problems I hit and how I solved them.
    Note: This is not intended to be a install for dummies but just an account of all my problems and how I overcame them. I spent 10 hours on this certified install (mostly looking for solutions to the problems I was having)
    I had a Intel Pentium 3 with 512 Meg RAM. (test machine)
    1. Install Redhat Linux
    2. Install Sun JDK 1.3.1 (this is not actually required for this install. I installed it as I was planning to install 9iAS after this)
    3. Install binutils-2.11.90.0.8-13 (also not required. I installed it for 9iAS)
    All other components were ok on my Redhat Linux install (i.e. kernel version, glibc)
    4. Create oracle user with dba group
    5. Create oracle home and oracle base directories. Ensure these are owned by oracle with rwx
    6. Set kernel parameters and make sure that they are initialized every startup:
    I managed to locate this script in the Redhat document called
    "Deploying Oracle9iTM on Red Hat Enterprise Linux AS"
    create a file called oracle.sh in /etc and give it execute permissions
    oracle.sh
    #!/bin/bash
    # configures kernel and system parameters for Oracle9i R2
    # File handles
    echo 65536 > /proc/sys/fs/file-max
    ulimit -n 65536
    # Shared memory
    # The default SHMMAX value is too low and likely to cause a failure during
    # database creation. SHMMAX should be equal to half of your system's physical
    # RAM.
    # The default is for 512 MB of RAM. Replace the default value as appropriate
    # for the amount of memory in your system, i.e.,
    # 512 MB : 268435456
    # 1 GB : 536870912
    # 2 GB : 1073741824
    # 4 GB : 2147483648
    echo 268435456 > /proc/sys/kernel/shmmax
    # It is generally safe to leave these next two values as they are
    echo 4096 > /proc/sys/kernel/shmmni
    echo 2097152 > /proc/sys/kernel/shmall
    # Semaphores
    echo 250 32000 100 128 > /proc/sys/kernel/sem
    # Sockets
    echo 1024 65000 > /proc/sys/net/ipv4/ip_local_port_range
    # Processes
    ulimit -u 16384
    ----EOF---------
    then...
    # chmod +x /etc/oracle.sh    # make executable
    # . /etc/oracle.sh # apply changes now
    edit /etc/rc.local to ensure this is run on startup
    append to /etc/rc.local
    # configure system for Oracle9i R2
    bash /etc/oracle.sh
    --------EOF--------------------
    7. create a generic oracle environment setup script for all users to run
    create the file /etc/profile.d/oracleenv.sh
    be sure to change the variables to your environment (ORACLE_BASE, ORACLE_HOME and ORACLE_SID)
    oracleenv.sh
    # Configures the user's environment for Oracle9i R2
    ORACLE_BASE=/opt/oracle
    ORACLE_HOME=$ORACLE_BASE/product/9.2.0.1.0
    ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    ORACLE_SID=orcl
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
    PATH=$ORACLE_HOME/bin:$PATH
    export ORACLE_BASE ORACLE_HOME ORA_NLS33 ORACLE_SID LD_LIBRARY_PATH PATH
    ----EOF---------
    chmod 755 /etc/profile.d/oraclenv.sh
    This file will run when a user logs in.
    8. Install oracle DB
    This took me quite a few attempts.
    The first Install I did I received the error jre was not found. This issue seemed to be relating to the fact I was not installing on a Pentium 4. Oracle was looking for the jre in oracle.swd.jre/bin/i686 (and .../lib/i686) when some of the files were placed in i386 and java was looking in i386. This created a real mess. I had encountered a similar problem on a previous install on a different platform. I found articles of people that tried to just link the directories with symbolic links but this never worked. I tried my own version but also failed.
    The solution that worked for me was to de-install, remove all the oracle directories created by the install (this part I had always done) AND also delete the file /etc/oraInstl.loc. This makes the Installer truly believe this is the first time Oracle has been installed on this box. My jre problem disappeared after that. (I don't know why it just didn't work in the first place...)
    The next error I received was an ORA-03113 when creating the database (in the dbca). (It was actually at this point that I found the document from redhat as mentioned in my set 6 above) I also noticed that when running the install of the database, the default was for Oracle's SGA to use 70% of the available memory on my machine (I have 512M so that's 360M). Oracle instructed me to set shmmax to around 240M. This may be why the database creation failed as I thought the shmmax parameter needed to be larger that SGA. Anyway, I reduce the SGA to 50% and it worked.
    This error may also have been caused by the kernel parameters not being set properly after a reboot so if you implementing stop 6 above. You may never get this problem, hopefully.
    8. Install the universal Installer 2.2.0.18.0 (a prerequisite for installing the patchset 2)
    You will need this to install the patchset 2. You can get it from metalink by searching for the bug number in the patch area. Search for bug/patch number 2878462 in patches. (37Meg for linux intel)
    (Did you know that when oracle refer to a bug number, you should treat this as a patch number? General the bugs are not available for public viewing but oracle create a patch of the same number as a placeholder. So don't search for the bug in the site search or by doc id, go straight to the "patches" area and enter the bug number as a patch number, you'll have more success. - I only found that out today after struggling with metalink for the last 4 years)
    9. Install the patchset 2
    I downloaded patchset 2 (which will bring my DB version to 9.2.0.3.0) (220Meg). There is a special symbolic link command you'll need so make sure you remember to do this.
    i.e.
    $ cd $ORACLE_BASE/oui/bin/link
    $ ln -s libclntsh.so.9.0 libclntsh.so
    10. Migrate your database
    I could not get this to work. The docs says I need at least 150M shared_pool_size and 150M Java_pool_size before running the startup migrate. As I only have 512Meg RAM (and shmmax set to 230M) I did hold much hope that this would work. I started my DB without the migrate option just to see if it would actually open with 300M in my pools. It did, so I shut it down and restarted with the migrate option. After 5 minutes of heavy processing (I still have an empty database) my server appeared to hang. I decided to restart the machine and just re-create my DB with the new patchset already applied. I delete my $ORACLE_BASE/oradata/<sid> directory and remove the entry from /etc/oratab and re-created my DB. This worked fine :)
    I hope this document helps you for your install. Please drop me line if it does help and I'll endevour to write more documents like this one.
    Please drop me a quick line at [email protected] even just to say "thanks".
    I will include a few keywords here to help the searches find this document. (mainly the keywords I searched on and failed to find a doc like this one)
    ORA-03113 ORA-3113 03113 3113 jre was not found jre not found i686 i386 i586 9iDB R2 9.2.0.1.0 9.2.0.3.0 Redhat Advanced Server 2.1 AS Enterprise Linux (AS) RH install error installation errors oui dbca problem issue
    Good luck,
    Tim Daniell.

    The trick that worked for me was on a 2nd attempt. I installed once, let it fail with "jre was not found", de-install through the installer, delete all directories and files under $ORACLE_BASE (including $ORACLE_HOME), and also delete /etc/oraInst.loc.
    I don't know why it fixes itself with this. Oracle say this is an unresolved bug 2726268 that lies in the installer. This is still unresolved by Oracle (as at 02-June-03) therefore it is not a published bug/patch. If this doesn't work, I suggest you open an iTAR and see if Oracle has any more suggestions for you.
    Cheers,
    Tim.

  • Installing on Redhat Linux 7.1?

    Hello.
    I know Redhat Linux 7.1 is not officially supported, but I want to know if it's possible to install the Sun ONE Application Server 7 on this OS.
    The reason I ask this is that the installer is giving me problems. It stops during installation with the message "installation stopped or aborted". The logs show a package conflict between some of the packages from the App Server installation (no other packages are mentioned). The portions of the App Server that were installed are then automatically uninstalled.
    I'm using default install directories.
    Since other posters here seem to have trouble with the installer and other versions of Redhat, perhaps my problems are not OS related at all...
    Any ideas would be appreciated.
    --Andr�s.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Nicholas Waltham ([email protected]):
    I am currently trying to install Oracle 8.05 onto Redhat Linux 7.1. I can get part of the way through
    the installation, however, when it is installing the rdbms portion. I stops with an error about a failure
    during relinking. Here is the part of make.log which details what really happened. Could someone tell
    me how to proceed.
    Thank you,
    Nicholas Waltham
    --------------[ rdbms.ins 2618 ]<HR></BLOCKQUOTE>
    Well ,I tried to install Oracle 8.0.5 in Debian Potato. At end I desist.
    Oracle 8.0.5 works with glibc 5 and Debian Potato with glibc6 .
    I guess this is your problem.
    There are patches for this but i don't get
    to make work.
    Sorry for my english.
    Cisar

  • Why can't i start my oracle 9.2.0.1.0 under Redhat linux 8.0??

    When i installing oracle, after copying the files, it telled me "install successfully" , but when it in the procedure: "Linking Oracle9i Database 9.2.0.1.0", it stop and auto exit.
    But I think i should have installed finish. So I try to start it. As below:
    sqlplus /nolog
    SQL> connect / as sysdba
    ERROR:
    ORA-09925: Unable to create audit trail file
    Linux Error: 2: No such file or directory
    Additional information: 9925
    ORA-01031: insufficient privileges
    How can I start it?
    Is that because I hadn't set the value of "/proc/sys/kernel/sem" before I install oracle? It's original value is "250 3200 32 128", I don't know what it should be under Redhat Linux 8.0.
    Can anybody help me?
    thanks.

    I followed the directions here
    http://www.puschitz.com/OracleOnLinux.shtml
    Using this I was able to get 9201 installed on both SuSE8.1 and RedHat8.0.
    On RH8, You have to hand modify the ins_ctx.mk per his instructions and up the value in /proc/sys/kernel/shmmax per his instructions. I did not hit the binutils issue. Other failures are probably missing rpms, as he describes.

  • Where to download Oracle 9i client for Redhat Linux?

    We have our Oracle 9i database running on another UNIX machine and need to install Oracle 9i client with sqlplus to be installed on Redhat Linux. So, can someone tell me where I can download it?

    Hi,
    Please refer to:
    http://www.oracle.com/technology/software/products/oracle9i/index.html
    Best regards,
    Sipingal

  • Is there any Oracle client for RedHat Linux

    Hi,
    I m searching for the Oracle9i client for RedHat linux. Is it available free. If yes please tell the site name.
    thanx
    -biyat

    Which oracle version u have for Solaris intel
    [email protected]
    Hi,
    We have an oracle server (8i) running on Windows NT. I need a oracle client on Solaris Intel 8 to connect to the Oracle server running on NT.
    Thanks
    --John

  • Can any one help me. I tried to install Oracel 8.1.5 on RedHat Linux 7.0 and failed.

    I am running my system with RedHat Linux 7.0 and tried to install Oracle 8.1.5.
    I extracted jre required files and when i tried to start ./runIns.sh from install/linux directory it is giving me an error Unable to initalize threads: cannot find class Java/lang/Thread
    Could not create JVM
    i tried 3 times and i ended up here and i need instruction to sort out the problem as earlier as possible.pls do advice me in this.
    pls send the solution ASAP to my email id - ([email protected])

    Make sure you have IBM's Java 1.1.8 JRE/JDK installed on your server and $JAVA_HOME set. Check the Oracle installation instructions. One other problem with Red Hat 7.0. is that
    there is a libc library incompatibility problem with Red Hat linux 7.0 and Oracle 8i. The database will not start after you install it. Go to MetaLink (if you have support) and search for document # 121176.1. Basically, you have to download an older version of glibc, modify your Oracle link environment files, re-link the database executables and all will work normally. I did it on my Red Hat Linux 7.0 server two weeks ago and everything is working fine. Only other alternative is downgrade to Red Hat 6.2.

  • Do any one help me. I tried to install Oracel 8.1.5 on RedHat Linux 7.0 and failed.

    I am running my system with RedHat Linux 7.0 and tried to install Oracle 8.1.5.
    I extracted jre required files and when i tried to start ./runIns.sh from install/linux directory it is giving me an error Unable to initalize threads: cannot find class Java/lang/Thread
    Could not create JVM
    i tried 3 times and i ended up here and i need instruction to sort out the problem as earlier as possible.pls do advice me in this.

    Oracle 8i is not compile/link time compatible with glibc 2.2. It
    requires the glibc 2.1 compatibility SDK, i386-glibc-2.1-linux.tar.gz,
    to install under systems based on glibc 2.2, like RedHat 7.0.
    RedHat 7.0 ships with glibc 2.2. Oracle compiles with glibc 2.1. See the problem here? The good folks at valinux.com have created a compatiblitly SDK that will "fix" Redhat so you can install Oracle 8i. Go to the following link to learn more:
    http://ftp.valinux.com/pub/support/hjl/glibc/sdk/2.1/readme.Oracle8i - This is the instructions for installing the patch. Return to this document at Step 4, where they tell you to "Install Oracle 8i." http://ftp.valinux.com/pub/support/hjl/glibc/sdk/2.1/i386-glibc-2.1-linux.tar.gz - This is the actual SDK.
    null

  • Does any one help me. I tried to install Oracel 8.1.5 on RedHat Linux 7.0 and failed.

    I am running my system with RedHat Linux 7.0 and tried to install Oracle 8.1.5.
    I extracted jre required files and when i tried to start ./runIns.sh from install/linux directory it is giving me an error Unable to initalize threads: cannot find class Java/lang/Thread
    Could not create JVM
    i tried 3 times and i ended up here and i need instruction to sort out the problem as earlier as possible.pls do advice me in this.

    Vijaya zi,
    Are you still having problem..with this..let me know??
    first of all 8.1.7 , or 8.1.6. 8.1.5 neither one of these are certified to work with linux 7.0 Redhat.
    Secondly there is a work around you could try..assuming that you have set the enviroment varaible and JVM corrent..( let me know if you need help with this)
    here u go...
    There is this linux gnu lib file which oracle is looking for which was there in 6.x and not in 7.0.
    However if you have upgraded from 6.X linux to 7.0 then it will work..
    for some reason it is looking for this glibc file.
    either way the oracle message it is giving is not relavant...
    it is just not going to work...unless you find a way to implement that glibc file..
    I had link..which talk about the work around..
    RedHat 7.0 issues
    RedHat 7.0 ships with glibc 2.2. Oracle compiles with glibc 2.1. See the problem here? The good folks at valinux.com have created a compatiblitly SDK that will "fix" Redhat so you can install Oracle 8i. Go to the following link to learn more: http://ftp.valinux.com/pub/support/hjl/glibc/sdk/2.1/readme.Oracle8i -
    This is the instructions for installing the patch. Return to this document at Step 4, where they tell you to "Install Oracle 8i." http://ftp.valinux.com/pub/support/hjl/glibc/sdk/2.1/i386-glibc-2.1-linux.tar.gz -
    This is the actual SDK.
    WARNING! WARNING! WARNING!
    The procedure for RedHat 7.0 is not officially approved by Oracle. If you are putting a mchine into production, I would strongly recommend sticking with RedHat 6.2 instead (and patching the security holes in it). There are other problems with RedHat 7.0 that extend beyond Oracle. Personally, I'm waiting for 7.1 before I think hard about migrating
    hope this help...
    NOTE ---> ORACLE DOES NOT SUPPORT THIS METHOD.
    Good Luck
    Shah
    null

  • Oracle 8i Installation on Redhat Linux AS 3.0

    Hi guys,
    I am just doing some home work before installation of Oracle 8i Enterprise server on Redhat Linux AS 3.0. Before I started my work on this, I planned to install 8i on AIX 5L, which was a bad idea. Because 8i being a 32bit db and 5L being 64bit kernel, and also this combination is not supported. But with little tweeking and installing few patches, things should work.
    Anyway, I would like to know, if any of you have installed 8i on RH Linux AS 3.0, and do any of you think I need to worry about 32 & 64 bit? I am installing this combination on Compaq PL 6500 server, will there be any problem, because PL 6500 is 32 bit processor? Please pass on any information which can help me in a proper installtion, Thanks in Advance

    Joel,
    I am new to this company. This is my first year here, from last one and half year my company was trying to migrate from Informix to Oracle. After I joined I came to know that my predecessor started the project on 8i and left the project half way thru. Then I took over the project and completed the migration from Informix to Oracle. My company spent awful lot of money on this project due to lack technical know how and mislead by the technology staff who has no knowledge of oracle or UNIX (they are bunch of old NCR and Cobol guys here). So bottom line is if I submit a proposal to my boss of upgrading from 8i to 9i or 10g, which I will, probably won't be happy to see. But on the other hand we will loose support and left with no choice, I can only say that I am sorry for them.
    Anyway, this is just a part of disorganized IT shop we have here, it needs a major facelift, and I am just pushing one at a time. Thanks for your reply, I really appreciate.

Maybe you are looking for