Garbled characters during oracle Installation

Source: Internet
Author: User

Oracle Installation Error
Preparing to launch Oracle Universal Installer from/tmp/OraInstall2011-11-03_12-53-01PM. please wait... [oracle @ localhost database] $ Exception in thread "main" java. lang. unsatisfiedLinkError:/tmp/OraInstall2011-11-03_12-53-01PM/jre/1.4.2/lib/i386/libawt. so: libXp. so.6: cannot open shared object file: No such file or directory
MT-bvp & R0 at java. lang. ClassLoader $ NativeLibrary. load (Native Method)
* Q GqX5g9X/r0 at java. lang. ClassLoader. loadLibrary0 (Unknown Source)
# FY | DZ5OjEC0 at java. lang. ClassLoader. loadLibrary (Unknown Source) ITPUB personal space G. | QBK
At java. lang. Runtime. loadLibrary0 (Unknown Source) ITPUB personal space V g JYz % vX
At java. lang. System. loadLibrary (Unknown Source) ITPUB personal space iD; N [W '\
At sun. security. action. LoadLibraryAction. run (Unknown Source)
U + w'vd 'Ef0 at java. security. AccessController. doPrivileged (Native Method) ITPUB personal space Ie4h o m & y3E
At sun. awt. NativeLibLoader. loadLibraries (Unknown Source) ITPUB personal space, Yp \, I "zcb
At sun. awt. DebugHelper. <clinit> (Unknown Source) ITPUB personal space M & @ 1uZ "\
At java. awt. Component. <clinit> (Unknown Source)
L] 5QF 'l8oiu0
I found the information on the Internet, saying that the installation package is missing.
#./The following error message appears after runInstaller:
Install Oracle1020 on RedHat AS5 x86
Exception in thread "main" java. lang. UnsatisfiedLinkError:
/Tmp/OraInstall2007-12-03_09-02-02AM/jre/1.4.2/lib/i386/libawt. so: libXp. so.6: cannot open shared object file:
No such file or directory
At java. lang. ClassLoader $ NativeLibrary. load (Native Method)
At java. lang. ClassLoader. loadLibrary0 (Unknown Source)
At java. lang. ClassLoader. loadLibrary (Unknown Source)
At java. lang. Runtime. loadLibrary0 (Unknown Source)
At java. lang. System. loadLibrary (Unknown Source)
At sun. security. action. LoadLibraryAction. run (Unknown Source)
At java. security. AccessController. doPrivileged (Native Method)
At sun. awt. NativeLibLoader. loadLibraries (Unknown Source)
At sun. awt. DebugHelper. (Unknown Source)
At java. awt. Component. (Unknown Source)

For solution, see Error 2.
Oo? G D0 Error 1:
/Tmp/OraInstall2007-12-30_02-16-11PM/jre/1.4.2/lib/i386/libawt. so: libXp. so.6: cannot open shared object file: No such file or directory occurred ..
The reason is: the graphical dynamic link library libXp. so.6 that supports printing is missing
This error is due to the lack of the system installation package, in versions earlier than RHEL5, just install the xorg-x11-deprecated-libs package, this installation package can be found in the third Disk of the system Cd (for RedHat as4.2, redhat as4.4 is the fourth installation disc)
Xorg-x11-deprecated-libs-6.8.2-31.i386.rpm

Error 2:
Exception: java. lang. unsatisfiedLinkError:/usr/java/j2sdk1.4.2 _ 06/jre/lib/i386/libawt. so: libXt. so.6: cannot open shared object file: No such file or directory
K5H5YN? A1CW $ F0 this error is also caused by the lack of the system installation package, just install the XFree86-libs package, this installation package can be found in the system disk.
If the preceding two errors occur in RedHat as5, the solution is as follows:
The above package in RHEL5 is replaced by libXp, so the rpm-ivh libXp-1.0.0-8.i386.rpm can solve the problem after marking the package.

Error 3:
Error while loading shared libraries: libstdc ++-libc6.1-1. so.2
Only perform the following operations
# Cd/usr/lib
# Ln-s libstdc ++-libc6.2-2. so.3 libstdc ++-libc6.1-1. so.2

Reference Cases
Case 1:
Test and install oracle10g on RHEL5. First, the system reports an error when running runInstaller:
You do not have sufficient permissions to access the inventory '/oracle11g/oraInventory '. installation cannot continue. make sure that you have read/write permissions to the inventory directory and restart the installer.: Permission denied
Here we use the method of creating a 10g user so that 10g and 11g coexist. In fact, when starting the installation program, oracle will go to/etc/oraInst. loc and oratab files (hp is/var/opt/oracle)
In oraInst. loc, The inventory_loc location and inst_group are defined. Because an 11g instance has been installed before, the definition in it is set for 11g users, so an error is reported. The solution is to run the runInstaller-invPtrLoc/oracle10g/oraInst. loc command to bypass it. oracle will create a new loc file.
After the previous step is successfully passed, the following error is reported:
Exception java. lang. unsatisfiedLinkError:/tmp/OraInstall2007-08-30_02-16-11PM/jre/1.4.2/lib/i386/libawt. so: libXp. so.6: cannot open shared object file: No such file or directory occurred ..
# Y7c, Oy. v [) Nv & r # ^ 0java. lang. unsatisfiedLinkError:/tmp/OraInstall2007-08-30_02-16-11PM/jre/1.4.2/lib/i386/libawt. so: libXp. so.6: cannot open shared object file: No such file or directory
This error before RHEL5 was caused by the lack of a XFree86-libs or one of the two packages (different versions of different packages), and the package before RHEL5 was replaced by libXp, therefore, the rpm-ivh libXp-1.0.0-8.i386.rpm resolves the problem after packaging.

Case 2:
The following error occurs when you start installation:
Error while loading shared libraries: libstdc ++-libc6.1-1. so.2ITPUB personal space D $ j1? 7' "jG * j
Solution:
# Cd/usr/libITPUB personal space. k6O]; Q "A; [f
# Ln-s libstdc ++-libc6.2-2. so.3 libstdc ++-libc6.1-1. so.2
-B [-q8o "o? U0ITPUB personal space C % W5Pne # y, O
Exception: java. lang. unsatisfiedLinkError:/usr/java/j2sdk1.4.2 _ 06/jre/lib/i386/libawt. so: libXp. so.6: cannot open shared object file: No such file or directory
I2B zZ3ZO 'o0 solution is ITPUB personal space a "h H0U9t % I?
Apt-get install libXp. so.6ITPUB personal space z1 | d' (C ~ H
Apt-get install libXt. so.6
| V-s $ dz3O4Zw1x $ MX0apt-get install libxtst6

Case 3:
When JasperReport is used as the report engine on RH Linux7.3, the same problem occurs: ITPUB personal space) t J PDU
Exception: java. lang. unsatisfiedLinkError:/usr/java/j2sdk1.4.2 _ 06/jre/lib/i386/libawt. so: libXt. so.6: cannot open shared object file: No such file or directory
The reason is: the graphical dynamic link library libXp. so.6 that supports printing is missing (there may be other related libraries)
K ^. dU, DF0V0 solution:
Download and install the XFree86-libs-4.2.0-8.i386.rpm,/usr/X11R6/lib will appear in the libXp. so.6.2
Attached to a XFree86-libs-4.2.0-8.i386.rpm:
F % k_C of0ftp: // ftp. nluug. nl/vol/1/schoollan/OS/linux/RPMS/XFree86-libs-4.2.0-8.i386.rpm

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.