1. Unable to use command/usr/bin/xdpyinfo to automatically check the display color
Install oracle11g under Linux AS5, the environment is all configured! When running./runinstaller cannot eject the installed graphical interface I almost used the site to mention all the methods! 1.xhost +ip2.su-oracle3.export display=ip:0.0 can still appear the following error check temporary space: must be greater than MB. Actual 1223 MB by checking swap space: must be greater than. Actual 3098 MB by Check Monitor: Monitor configuration must display at least 256 colors >>> cannot use command/usr/bin/xdpyinfo to automatically check the display color. Check to see if the DISPLAY variable is set. Failed <<<< failed to pass some requirements check. These requirements must be met before you can proceed with the installation, which will be re-examined. Do you want to continue? (y/n) [n] y is re-examining the setup requirements .... Prepare to start Oracle Universal installer/tmp/orainstall2008-02-25_06-12-03pm from the following address. Please wait ... [[email protected] oracle11g]$ Exception in thread "main" Java.lang.InternalError:Can ' t connect to X11 Window server Using ' 192.168.1.125:0.0 ' as the value of the DISPLAY variable. At Sun.awt.X11GraphicsEnvironment.initDisplay (Native Method) at sun.awt.x11graphicsenvironment.access$000 ( x11graphicsenvironment.java:53) at Sun.awt.x11graphicsenvironment$1.run (x11graphicsenvironment.java:142) at Java.security.AccessController.doPrivileged (Native Method) at sun.awt.x11graphicsenvironment.<clinit> ( X11graphicsenvironment.java:131) at JAVA.LANG.CLASS.FORNAME0 (Native Method) at Java.lang.Class.forName (class.java:164) at Java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment (graphicsenvironment.java:68) at Java.awt.Window.init ( window.java:270) at java.awt.window.<init> (window.java:318) at java.awt.frame.<init> (Frame.java:419) at Oracle.ewt.popup.popupframe.<init> (Unknown Source) at oracle.ewt.lwawt.bufferedframe.<init> (Unknown Source) at oracle.sysman.oio.oioc.oioconeclickinstaller.<init> (oioconeclickinstaller.java:328) at Oracle.sysman.oio.oioc.oioconeclickinstaller.<clinit> (oioconeclickinstaller.java:168) Workaround: Under Root, execute " Xhost + "can
2.ORACLE Installation Prerequisite check failed:
1. kernel parameter setting nonconformance
2. The required package is not fully installed
3. Swap Space swap is not enough
4.maximum Open File descriptors
The following one by one resolves
1. Kernel parameter issues
This is Oracle the name of the parameter supplied by the Setup program. # after the Oracle expectation
OS Kernel Parameter:sem OPM #100
OS Kernel Parameter:file-max #6815744
OS Kernel parameter:ip_local_port_range #between 9000 & 65500
OS Kernel Parameter:rmem_default #262144
OS Kernel Parameter:rmem_max #4194304
OS Kernel Parameter:wmem_default #262144
OS Kernel Parameter:wmem_max #10488576
OS Kernel Parameter:aio-max-nr #1048576
Modify/etc/sysctl.conf file. Add the following statement:
kernel.sem= 250 32000 100 128
fs.file-max=6815744
Net.ipv4.ip_local_port_range = 9000 65500
Net.core.rmem_default = 262144
Net.core.rmem_max = 4194304
Net.core.wmem_default = 262144
Net.core.wmem_max = 10488576
FS.AIO-MAX-NR = 10488576
Save exit when finished.
sysctl–p make changes effective immediately
PS: if the Oracle your kernel needs are not the same as mine. operation is as follows
1.sysctl–a | The grep parameter keyword finds the system's current settings.
2. copy him into the sysctl.conf .
3. the value is modified to what Oracle expects.
4. Save the exit. and make the changes effective immediately.
2. The problem of the required package is not fully installed.
Which one is missing from the disc. download online without a CD
My advice is best to install via CD. the internet is not necessarily easy to find.
Some packages are associated with many packages. one by one finding consumes a lot of time
RPM-IVH rpm_name.rpm
The package you need after the installation is complete.
here's My. for reference only. (mine is 64bit. ) )
RPM-IVH compat-libstdc-33-3.2.3-61.x86_64.rpm
RPM-IVH compat-libstdc-33-3.2.3-61.i386.rpm
RPM-IVH elfutils-libelf-devel-0.137-3.el5.x86_64.rpm
RPM-IVH elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm
RPM-IVH elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm elfutils-libelf-devel-0.137-3.el5.x86_64.rpm
RPM-IVH glibc-devel-2.5-42.x86_64.rpm
RPM-IVH libaio-devel-0.3.106-3.2.x86_64.rpm
RPM-IVH libaio-devel-0.3.106-3.2.i386.rpm
RPM-IVH sysstat-7.0.2-3.el5.x86_64.rpm
RPM-IVH unixodbc-2.2.11-7.1.x86_64.rpm
RPM-IVH unixodbc-2.2.11-7.1.i386.rpm
RPM-IVH unixodbc-devel-2.2.11-7.1.x86_64.rpm
RPM-IVH unixodbc-devel-2.2.11-7.1.i386.rpm
RPM-IVH glibc-devel-2.5-42.x86_64.rpm
RPM-IVH glibc-devel-2.5-42.i386.rpm
3. Error 6 initializing Sql*plus
Message file SP1<LANG>.MSB not found
Sp2-0750:you need to set Oracle_home to your ORACLE software directory
Problem: oracle10g installed in the WindowsXP, was built two database instances, NEWJW, ORCL, instance NEWJW now basically no, has been using ORCL;
Because there are multiple instances, each time you connect to the database, you execute:
Set ORACLE_HOME=ORCL
Sqlplus/nolog
Conn/as SYSDBA
Shutdown immediate
Startup
Wait for this sequence of commands; (mostly the SET command is more input than an instance)
Yesterday, after set, do sqlplus/nolog work, error:
C:\Documents and Settings\zhaohuan>sqlplus/[[email Protected]]nolog[/email]
Error 6 Initializing Sql*plus
Message file SP1<LANG>.MSB not found
Sp2-0750:you need to set Oracle_home to your ORACLE software directory
A different method:
C:\Documents and Settings\zhaohuan>sqlplus [[email Protected]][email protected][/email]
Error 6 Initializing Sql*plus
Message file SP1<LANG>.MSB not found
Sp2-0750:you need to set Oracle_home to your ORACLE software directory
Or an error, the evil door! There was a lot of information on the Internet, and no one answered the question.
It is said that the environment variable setting problem, I in DOS under the path, look at the environment variables, display:
Path=d:\oracle\product\10.2.0\db_1\bin; C:\Program Files\Common Files\netsarang; C:\WINDOWS\system32; C:\WINDOWS; C:\WINDOWS\System32\Wbem
Check out the installation path for Oracle, yes! Depressed while I went to the bin directory to find Sqlplus.exe file, execution, found that can connect on ORCL, so, I put the absolute path of the bin to the path, note, here is a little bit of difference, Oracle Bin directory is capitalized bin, environment variables inside the lower case bin,
The difference! Change it in uppercase, OK!
Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\zhaohuan>sqlplus [[email Protected]][email protected][/email]
Sql*plus:release 10.2.0.1.0-production on Wednesday April 1 10:03:36 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter Password:
Connect to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0-production
With the partitioning, OLAP and Data Mining options
Sql> Conn/as SYSDBA
is connected.
Sql>
Problem solving.
WORKAROUND: Reset the environment variables.
4 , Linux Boot start [[email protected]] become bash-3.2# solution
Add Comment June 2, 2010 Maple
This is the starting mode of the problem, specifically how to do I do not know.
I just record the order, I can enter this to get it done.
source. BASHRC
Login As:root
[Email protected]*****218 ' s password:
Last Login:thu Jul 1 22:06:47 from 110.203.60.70
-bash-3.2# COPY/ETC/SKEL/.BASHRC ~
-bash:copy:command not found
-bash-3.2# CP/ETC/SKEL/.BASHRC ~
-bash-3.2# Source ~/.BASHRC
[[Email protected]**** ~]#
Export Ps1=[\\[email protected]\\h\ \\w]#
5, a shared library problem caused Sqlplus to use the solution!
[Email protected] ~]# su-oracle
[Email protected] ~]$ Sqlplus/as SYSDBA
Sqlplus:error while loading shared libraries:/oracle/ora11gr2/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1:cannot Restore segment prot after Reloc:permission denied
Edit/etc/sysconfig/selinux to find:
# This file controls the state of the SELinux on the system.
# selinux= can take one of these three values:
# Enforcing-selinux security policy is enforced.
# Permissive-selinux Prints warnings instead of enforcing.
# Disabled-selinux is fully disabled.
Selinux=enforcing
If SELINUX is already selinux=disabled, then you don't have to change it, or you can comment out the selinux=enforcing and add a new line:
Selinux=disabled
Save, exit.
If you encounter other similar hints:
Cannot restore segment prot after Reloc:permission denied
Which should be the selinux problem, you can consider turning it off.
Next:
[Email protected] ~]# Vi/etc/selinux/config
[Email protected] ~]# su-oracle
[Email protected] ~]$ Sqlplus/nolog
Sqlplus:error while loading shared libraries:/oracle/ora11gr2/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1:cannot Restore segment prot after Reloc:permission denied
[Email protected] ~]$ chcon-t texrel_shlib_t/oracle/ora11gr2/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1
[Email protected] ~]$ Sqlplus/nolog
Sql*plus:release 11.2.0.1.0 Production on Sat 12 16:43:38 2009
Copyright (c) 1982, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0-production
With the partitioning, OLAP, Data Mining and Real application testing options
Sql>
Installation documentation for installing ORACLE11G on Linux systems, with some questions answered