Installation problem of oracle 10g on rhel5
Hi,
I'm new to linux i'm using rhel5. I'm using mysql database on my machine. On the same OS i tried to install oracle10g. I googled and i followed the following steps. Here i'm mentioning the steps i followed clearly. REQUIREMENTS Hardware Requirements • 1 GB RAM (RECOMENDED) • 1.5 GB of swap space • 500 MB of disk space in the /tmp directory • 2-4 GB disk space for the Oracle software • 1.2 GB for the precongured database (optional) • 2.4 GB for the ash recovery area (optional) Software Requirements Make sure that you have the following librarypackages : libXp, compat-libstdc++ It is required to have the following packages which you can check with the following command: rpm -q binutils compat-db control-center gcc gcc-c++ glibc glibc-common gnome-libs libstdc++ libstdc++-devel make pdksh sysstat xscreensaver Changing the Red Hat Release As RHEL5 has been released after Oracle 10g was, Oracle 10g does not support RHEL5 ocially. The latest version 10g supports in RHEL4. So we have to get round it by changing the release conguration: echo “rhel4″ > /etc/redhat-release Creating the oracle user account We need to create oinstall and dba groups and an oracle account belonging to them. When logged as root user, /usr/sbin/groupadd oinstall /usr/sbin/groupadd dba /usr/sbin/useradd -m -g oinstall -G dba oracle Set the password for the oracle user: passwd oracle You can set “oracle” as the password too Creating the Installation Path and Setting the Permissions mkdir -p /u01/app/oracle chown -R oracle:oinstall /u01/app/oracle chmod -R 775 /u01/app/oracle Conguring Kernel Parameters Add the following set of kernel parameters in /etc/sysctl.conf : kernel.shmall = 2097152 kernel.shmmax = 536870912 kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 fs.file-max = 658576 net.ipv4.ip_local_port_range = 1024 65000 net.core.rmem_default = 262144 net.core.wmem_default = 262144 net.core.rmem_max = 1048536 net.core.wmem_max = 1048536 Activate the modification in kernel parameters with the following command: /sbin/sysctl -p CONFIGURING SHELL LIMITS Add the following lines in /etc/security/limits.conf : oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536 Add the line below in /etc/pam.d/login : session required /lib/security/pam_limits.so Add the following profile setting s in /etc/profile : if [ \$USER = "oracle" ]; then if [ \$SHELL = "/bin/ksh" ]; then ulimit -p 16384 ulimit -n 65536 else ulimit -u 16384 -n 65536 fi umask 022 fi Add the following login setting in /etc/csh.login : if ( \$USER == “oracle” ) then limit maxproc 16384 limit descriptors 65536 umask 022 endif CONFIGURE HANGCHECK TIMER Add the following line in /etc/rc.d/rc.local : modprobe hangcheck-timer hangcheck_tick=30 hangcheck_margin=180 ENVIRONMENT SETTINGS FOR ORACLE USER Login as oracle user : su - oracle To set the environment variables, append the following lines in /home/oracle/.bash_prole: # User specific environment and startup programs umask 022 PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin export LD_LIBRARY_PATH=/usr/lib:/usr/X11R6/lib export ORACLE_BASE=/u01/app/oracle export ORACLE_HOME=\$ORACLE_BASE/product/10.2.0/db_1 export ORACLE_SID=orcl PATH=\$ORACLE_HOME/bin:\$ORACLE_HOME/jdk/jre/lib/i386/server:\ \$ORACLE_HOME/rdbms/lib:\$ORACLE_HOME/lib:\$LD_LIBRARY_PATH:\ /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/sbin:\ /usr/sbin:/root/bin:\$PATH PATH=\$PATH:\$HOME/bin export PATH unset USERNAME Activate these variables and the paths with: source ~/.bash_profile INSTALLATION Running the Installer in a root terminal : ########################## #xhost + access control disabled, clients can connect from any host ########################### su – oracle Extract the 10201_database_linux32.zip le into /u01, or somewhere else where oracle user can access : unzip 10201_database_linux32.zip -d /u01 cd /u01/database ./runInstaller The installation dialog will now start. If you face errors about some libs are not found, consider installing the following packages: libXp compat-libstdc++ from http://www.rpmnd.net OR http://rpm.pbone.net INSTALLAION STEPS 1. Select “Advanced Installation” and click Next. 2. Leave “Inventory directory path” and “group name” as it is and click Next. 3. Leave “Enterprise Edition” selected and click Next. 4. Verify that the following information is true: Name: OraDb10g_home1 Path: /u01/app/oracle/product/10.2.0/db_1 AT product specific prerequisite checks i got 1 warning, 3 requirements to be verified. Checking operating system requirements ... Expected result: One of redhat-3,redhat-4,SuSE-9,asianux-1,asianux-2 Actual Result: redhat-#Red Hat Enterprise Linux Server release 5 (Tikanga) Check complete. The overall result of this check is: Failed <<<< Problem: Oracle Database 10g is not certified on the current operating system. Recommendation: Make sure you are installing the software on the correct platform. ======================================================================= Checking operating system package requirements ... Check complete. The overall result of this check is: Not executed <<<< OUI-18001: The operating system 'Linux Version redhat-#Red Hat Enterprise Linux Server release 5 (Tikanga)' is not supported. Recommendation: Install the required packages before continuing with the installation. ======================================================================= Checking kernel parameters Check complete. The overall result of this check is: Not executed <<<< OUI-18001: The operating system 'Linux Version redhat-#Red Hat Enterprise Linux Server release 5 (Tikanga)' is not supported. Recommendation: Perform operating system specific instructions to update the kernel parameters. ======================================================================= Checking Recommended glibc version Check complete. The overall result of this check is: Not executed <<<< OUI-18001: The operating system 'Linux Version redhat-#Red Hat Enterprise Linux Server release 5 (Tikanga)' is not supported. Recommendation: You may actually have installed packages which have obsoleted these, in which case you can successfully continue with the install. If you have not, it is recommended that you do not continue. Refer to the readme to find out how to get the missing packages. ======================================================================= Checking physical memory requirements ... Expected result: 922MB Actual Result: 1000MB Check complete. The overall result of this check is: Passed ======================================================================= Checking available swap space requirements ... Expected result: 1500MB Actual Result: 1965MB Check complete. The overall result of this check is: Passed ======================================================================= Checking Network Configuration requirements ... Check complete. The overall result of this check is: Passed ======================================================================= Validating ORACLE_BASE location (if set) ... Check complete. The overall result of this check is: Passed ======================================================================= Checking Oracle Home path for spaces... Check complete. The overall result of this check is: Passed ======================================================================= Checking for proper system clean-up.... Check complete. The overall result of this check is: Passed ======================================================================= Checking for Oracle Home incompatibilities .... Actual Result: NEW_HOME Check complete. The overall result of this check is: Passed ======================================================================= after that i click on next i got a warning some recommanded prerequisites checks have failed you might get errors during installation. Do you want to proceed. I clicked yes. Leave “Create a database” selected and click Next. 7. Select Advanced and click Next. 8. Click Install and it will install the database system. Then DBCA starts automatically, conguring the components you installed so far. 9. Select General Purpose and click Next. 10. Set orcl for Database Name and SID and click Next. 11. Leave “Congure the Database with Enterprise” checkbox selected and click Next. 12. Assisgn a common password for SYS account, such as “oracle” and click next. 13. Select Filesystem and click Next. 14. Select “Oracle-Managed Files” and click Next. 15. Leave recovery area as it is and click Next. 16. If you face a “Database Content” dialog, click Next with no additiona setting. 17. Set Use Unicode (AL32UTF8) as Database Character set and UTF16 as National Character Set on the “Character Sets” tab. 18. Click Next and OK until you get a conrmation to create the database. 19. Close the information after the database is created. Click Exit. 20. The “Conguration assistant”s will start the components you installed earlier. 21. You will face a dialog which wants you to execute two sh scripts. Open a new terminal (as root) and run those scripts: sh /u01/app/oracle/oraInventory/orainstRoot.sh sh /u01/app/oracle/product/10.2.0/db_1/root.sh 22. Click OK after you run the scripts. 23. Click Exit. Then in a terminal logined as a oracle user #su - oracle #sqlplus / as sysdba command not found #whereis sqlplus sqlplus: In my machine i was getting sqlite3 Even in graphical environment also i was not able view sql logo. Can any one suggest me have i made any mistakes in installation, if not so how can i move further. Thanks in advance... |
Without wanting to start a war, why are you installing Oracle 10g on an OS which doesn't support it? Can you not just install 11g on this host?
|
works great
thanks the instructions worked perfectly. ;):D:cool:
saved me a bunch of time. I was getting a ora-27102 out-of-memory error and after setting a bunch of parameters was still getting it. it boiled down to the following two kernel.shmall = 2097152 kernel.shmmax = 536870912 this did the trick. Thanks a bunch. 10g rel 2 on rhel 5.1 (tikanga) |
All times are GMT -5. The time now is 09:45 PM. |