Professional Documents
Culture Documents
Ravi 11g Installation Errors
Ravi 11g Installation Errors
Ravi 11g Installation Errors
If you dont have any additional disks, you can create a file somewhere on your filesystem, and use that file for swap space. The following dd command example creates a swap file with the name myswapfile under /root directory with a size of 1024MB (1GB).
# dd if=/dev/zero of=/root/myswapfile bs=1M count=1024 1024+0 records in 1024+0 records out # ls -l /root/myswapfile -rw-r--r-1 root root 1073741824 Aug 14 23:47 /root/myswapfile
Change the permission of the swap file so that only root can access it.
# chmod 600 /root/myswapfile
To make this swap file available as a swap area even after the reboot, add the following line to the /etc/fstab file.
# vi /etc/fstab /root/myswapfile 0 0 swap swap defaults
Page 1
Verify whether the newly created swap area is available for your use.
# swapon -s Filename Priority/dev/sda2 1/root/myswapfile # free -k total Mem: Swap: 3082356 5241524 -/+ buffers/cache: used 3022364 323836 0 free 59992 2758520 5241524 shared 0 buffers 52056 cached 2646472 file Type Size partition Used 4192956 0 1048568 0 -2 -
Note: In the output of swapon -s command, the Type column will say file if the swap space is created from a swap file.
TO SOLVE THE ERROR OS Kernel Parameter: semopm
The semop system call (function) provides the ability to do operations for multiple semaphores with one semop system call. A semaphore set can have the maximum number of SEMMSL semaphores per semaphore set and is therefore recommended to set SEMOPM equal to SEMMSL. Oracle recommends setting the SEMOPM to a value of no less than 100. When you need to change the semopm value you can do the following: echo "kernel.sem=250 32000 100 128" >> /etc/sysctl.conf sysctl -p /etc/sysctl.conf This should solve this issue and you should be able to install the database.
Page 2
After you have done so you will have to activate the new file-max setting. One can do so by a reboot or you can do it on the fly by executing the following command: sysctl -p /etc/sysctl.conf This should have resolved your issue. You can check it by executing the oracle database installer or you can directly check from the command line by executing the following command: cat /proc/sys/fs/file-max The result of this should now list 6815744
Yes, the keys in the /etc/sysctl.conf file are incorrect. your entries to read: net.core.rmem_default = 262144 net.core.rmem_max = 262144 net.core.wmem_default = 262144 net.core.wmem_max = 262144
Modify
Page 3
RPM PACKAGE STORAGE #mkdir dvd #mount /dev/hdc /dvd #cd root/dvd/Server #ls - packagename -* :- to list the package
Page 4
Page 5
AFTER INSTALLING ORACLE 11G TO CHECK #hostname :- to find the host name of the server # su - oracle :- switch to oracle user
$cd /u01/app/oracle/ $ls $cd product/11.2.0/db_1/ $ls $sqlplus (if we get shared library error go to se linux doc and find error log and execute it
Page 6
Page 7
Page 8
The error message ORA-12162 "TNS:net service name is incorrectly specified", is very misleading. It suggests that there is a problem with the tnsnames.ora file contents, but in reality the message ORA-12162 "TNS:net service name is incorrectly specified" results from improperly setting your ORACLE_SID value. To fix this error in Windows, set your $ORACLE_HOME: c:> set ORACLE_SID=fred In Linux, these commands sets ORACLE_HOME and $ORACLE_SID as follows: $ export ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1 $ export ORACLE_SID=orcl
Page 9