Linux installation Oracle 11g FAQ

Source: Internet
Author: User
Installing Oracle Software

[Root@redhat ~]# Su-l Oracle

[Oracle@redhat ~]$ CD database/

[Oracle@redhat database]$./runinstaller

This error may occur here:

Invalid source path '. /stage/components/oracle.swd.oui/11.2.0.1.0/1/datafiles ' specified for unzip. Unzip command failed. Please check oraparam.ini and specify a valid source path.
: No such file or directory.

The reason can refer to the end paragraph of this article http://space.itpub.net/16396821/viewspace-678802

Probably is LINUX.X64_11GR2_DATABASE_1OF2 and linux.x64_11gr2_database_2of2 these two downloads the package first not to extract to the system and then together decompression can solve this problem.

About uploading to the system. I start with these two compression package put in U disk, and then Mount U disk, found that the file name is shortened, and then uploaded to the Oracle user FTP, file name on the display is normal, anyway, since the U-disk mount on a simple say U disk mount method. http://linzhanghui.iteye.com/blog/1166311

About decompression. Two compressed packets are in zip format, so separate unzip file.zip is OK. After decompression, there is also a database directory.

This time again,/runinstaller ... If you install the Linux Fashion graphics interface that congratulations, if not, a bit of trouble, if found not even yum, it is even more trouble.

Install graphics interface or use Yum Bar, because the three orders are finished, that Yum installation.

http://blog.csdn.net/lincy100/article/details/6803855 look at the first paragraph is good.

Http://wenku.baidu.com/view/1ed0b024192e45361066f5fb.html with the same, but there are pictures, a little more detailed.

I was able to do the fourth step is a bit disturbing, because one said to Vi/etc/yum.repos.d/rhel-debuginfo.repo, one has not said exactly is to change which, moreover my/etc/ YUM.REPOS.D below no Rhel-debuginfo.repo, after reading some material, decided to change this vi/etc/yum.repos.d/rhel-source.repo, according to the second introduction to change on the top. Try yum clean all and then yum install GCC.

Now that the Yum is installed, the graphical interface

Yum Install xorg*

Yum Groupinstall "X Window System"

Yum Groupinstall Desktop

Yum Groupinstall "Desktop Platform"

The above 4 steps are the machine to install itself, need some time.

Graphical interface after the good, finally can

[Oracle@redhat database]$./runinstaller

There is also an error:

DISPLAY has not been set. Please set DISPLAY and try again.
Depending on the Unix Shell you use, you can use one of the following examples to set the DISPLAY environment variable:
-For CSH:% setenv DISPLAY 192.168.1.128:0.0
-For SH, ksh and bash: $ display=192.168.1.128:0.0; Export DISPLAY
Use the following command to view the shell you are using:
Echo $SHELL
Use the following command to view the current DISPLAY environment variable settings:
Echo $DISPLAY
-Make sure that the client user has access to the X server.
To allow client users access to the X server, open xterm, Dtterm, or XConsole as the user who initiates the session, and type the following command:
% xhost +
To test whether the DISPLAY environment variable is set correctly, run a X11 based program from the native operating system, such as ' xclock ':
% <xclock full path. See below >
If you are unable to successfully run Xclock, contact your pc-x server or operating system vendor for assistance.
The typical path for xclock is:/usr/openwin/bin/xclock
http://shuhui018125.blog.163.com/blog/static/7711050201002792325362/follow this article to do is no problem.
If your Linux system still does not appear in the interface or Xhost or error
You can download the Vnc-4_1_2-x86_win32_viewer software.
And then follow the http://blog.sina.com.cn/s/blog_49c306b201011had.html article.
Using VNC to practice your Linux interface, the corresponding graphical interface will appear.
Again [Oracle@redhat database]$./runinstaller

Finally can enter the graphical interface to install Oracle, but garbled.

http://www.examw.com/oracle/zhonghe/147029/the latter part of the article.



Then use NETCA, DBCA to create the listener and create the database.

Http://www.linuxidc.com/Linux/2011-09/43920p2.htm This is the total flow.

However, you may have an error when executing NETCA:

Command not found

Http://blog.sina.com.cn/s/blog_62200f0e0100jl2j.html suggest to see this first, understand.

http://victorwmh.iteye.com/blog/1074854 real change. Bash_profile in accordance with this 3rd kind of change, remember to change the end to let it take effect.

My path is in/u01/oracle/product/orahome/bin.

OK, netca command, enter NETCA carriage return.

and the error:

Oracle Net Services Configuration:
Xlib:connection to ': 0.0 ' refused by server
XLIB:NO protocol specified
Error:null
For more information, check the trace file:/oradata/oracle/cfgtoollogs/netca/trace_oradb11g_home1-1204115 afternoon 2740.log
Oracle Net Services configuration failed. Exit code is 1
Http://www.cnblogs.com/lanzi/archive/2012/04/12/2443639.html Perfect solution.

After performing the DBCA create the database, test it out.

Telnet with an Oracle user, and then

$ sqlplus/nolog

Sql> Conn/as SYSDBA

Connected to a idle instance.

Sql> startup;
Ora-01078:failure in processing system parameters
Lrm-00109:could not open parameter file '/oracle/product/11.1.0/dbs/initorcl.ora '

Http://wenku.baidu.com/view/b7980269561252d380eb6e71.html Perfect Solution

Although this article is not 11g, the directory mentioned is different, but generally similar, my directory is under the/u01/oracle seems to have admin, and then step by step to find.

Solve this and try again startup, again to the error

Ora-00845:memory_target not supported on this system

http://ibmcn.blog.51cto.com/510174/766996 a little more serious look at it to understand.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.