Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2698
  • Last Modified:

Oracle installation problems

Hello experts

I have the following schema:

1. SLES 10 SP2 running on a IBM zSeries based Linux (64 bit)
2. Downloaded Oracle Database 10gR2 for IBM zSeries based Linux

I installed the orarun package for SLES 10 as suggested in Novell docs (http://www.novell.com/coolsolutions/appnote/17778.html) so it would ease some steps like creating oracle users, oinstall groups, environment variables and install additional packages needed for the installation process.

I also installed the packages needed as the installation guide suggested (preinstallation tasks, http://download.oracle.com/docs/cd/B19306_01/install.102/b25400/pre_install.htm#sthref85), and validated all other steps in this guide

Unzipped the Oracle Database installation, and ran the runinstaller to begin installation
/opt/oracleInstall/database> ./runInstaller

Checking installer requirements...

Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
                                      Passed


All installer requirements met.

Checking Temp space: must be greater than 80 MB.   Actual 6215 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 1923 MB    Passed
Checking monitor: must be configured to display at least 256 colors.    Actual 16777216    Passed

Open in new window


Everything seems fine during the installation wizard, even the pre-requisite check step passed successfully except a warning suggesting to increase swap space (asking 4G instead of 2G allocated)

*** Product-Specific Prerequisite Checks Page***
INFO: Entry point:oracle.server_EE
INFO: Starting Prerequisite checks : Mon Apr 25 14:14:11 CDT 2011
INFO: Checking CertifiedVersions
         This is a prerequisite condition to test whether the Oracle software is certified on the current O/S.
INFO: Expected result: One of redhat-3,redhat-4,SuSE-9,asianux-1,asianux-2
Actual Result: SuSE-9
Check complete. The overall result of this check is: Passed

INFO: --------------------------------------------------------------------------------
INFO: Checking Packages
         This is a prerequisite condition to test whether the packages required for installing the product are available on the system.
INFO: Checking for make-3.79; found make-3.80-202.2.    Passed
Checking for binutils-2.14; found binutils-2.16.91.0.5-23.31.   Passed
Checking for gcc-3.2; found gcc-4.1.2_20070115-0.21.    Passed
Checking for libaio-0.3.96; found libaio-0.3.104-14.2.  Passed
Check complete. The overall result of this check is: Passed

INFO: --------------------------------------------------------------------------------
INFO: Checking Kernel
         This is a prerequisite condition to test whether the minimum required kernel parameters are configured.
INFO: Checking for semmsl=250; found semmsl=1250.       Passed
Checking for semmns=32000; found semmns=32000.  Passed
Checking for semopm=100; found semopm=100.      Passed
Checking for semmni=128; found semmni=256.      Passed
Checking for shmmax=536870912; found shmmax=3294967296. Passed
Checking for shmmni=4096; found shmmni=4096.    Passed
Checking for shmall=2097152; found shmall=2097152.      Passed
Checking for file-max=65536; found file-max=131072.     Passed
Checking for VERSION=2.6.5-7.97; found VERSION=2.6.16.60-0.21-default.  Passed
Checking for ip_local_port_range=1024 - 65000; found ip_local_port_range=1024 - 65000.  Passed
Checking for rmem_default=262144; found rmem_default=4194304.   Passed
Checking for rmem_max=262144; found rmem_max=4194304.   Passed
Checking for wmem_default=262144; found wmem_default=262144.    Passed
Checking for wmem_max=262144; found wmem_max=262144.    Passed
Check complete. The overall result of this check is: Passed

INFO: --------------------------------------------------------------------------------
INFO: Checking GLIBC
         This is a prerequisite condition to check whether the recommended glibc version is available on the system
INFO: Expected result: ATLEAST=2.3.3-98.28
Actual Result: 2.4-31.54
Check complete. The overall result of this check is: Passed

INFO: --------------------------------------------------------------------------------
INFO: Checking TotalMemory
         This is a prerequisite condition to test whether the system has sufficient physical memory.
INFO: Expected result: 922MB
Actual Result: 4008MB
Check complete. The overall result of this check is: Passed

INFO: --------------------------------------------------------------------------------
INFO: Checking SwapSpace
         This is a prerequisite condition to test whether the system has sufficient available swap space to perform the install.
INFO: Expected result: 4008MB
Actual Result: 1923MB
Check complete. The overall result of this check is: Failed <<<<

INFO: --------------------------------------------------------------------------------
INFO: Checking OracleBase
         This is a prerequisite condition to test whether the environment variable 'ORACLE_BASE' is set as a subdirectory of the Oracle home
INFO: Check complete. The overall result of this check is: Passed

INFO: --------------------------------------------------------------------------------
INFO: Checking OracleHomeSpace
         This is a prerequisite condition to check whether the specified Oracle Home contains any spaces in the path.
INFO: Check complete. The overall result of this check is: Passed

INFO: --------------------------------------------------------------------------------
INFO: Checking DetectAnyInvalidASMHome
         This is a prerequisite condition to test whether the system has been cleaned properly.
INFO: Checking the platform .......211
INFO: About to read /etc/oratab file .......
INFO: No /etc/oratab file. Clean System detected....
INFO: Check complete. The overall result of this check is: Passed

INFO: --------------------------------------------------------------------------------
INFO: Checking CompatibilityChecks
         This is a prerequisite condition to check whether the Oracle Home specified by the user already contains an installed product which is incompatible with the pr
oduct being installed.
INFO: Actual Result: NEW_HOME
Check complete. The overall result of this check is: Passed

INFO: --------------------------------------------------------------------------------

Open in new window



The strange errors occur during the next step, in the linking process:

INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'client_sharedlib' of makefile '/opt/oracle/product/10.2/db_1/network/lib/ins_net_client.mk'. See '/opt/oracle/oraInventory/l
ogs/installActions2011-04-25_02-11-09PM.log' for details.
Exception Severity: 1

Open in new window


If I select "Ignore", still many others follow. I re-checked all pre-requisites and they all seem to be fine.

The oracle installation is an Oracle Database 10gR2 for IBM zSeries based Linux, which is the same one I currently have, and according to the release notes, SLES 10 is supported (by passing through the no-verify option or changing the /etc/SuSE-release to 9 as a workaround, http://download.oracle.com/docs/cd/B19306_01/relnotes.102/b25399/toc.htm)

Any help is greatly appreciated, I can't get to it yet :S!!


0
Arrismog
Asked:
Arrismog
  • 4
  • 3
1 Solution
 
wesly_chenCommented:
Check
http://webcache.googleusercontent.com/search?q=cache:4K4B4FV8Z5IJ:www.ibm.com/developerworks/forums/thread.jspa%3FmessageID%3D14414880+oracle+10gR2+IBM+client_sharedlib&cd=1&hl=en&ct=clnk&gl=us&source=www.google.com
---- quote ----
Before starting with Oracle installer on LOP,
Set kernel parameters, correctly.
Also, go through the steps mentioned in
http://www.ibm.com/developerworks/wikis/display/LinuxP/Installing+Oracle+Database

Install XL C/C++ v9.0 available for the sles9 and rhel5, for sles10 you can install same rpms for sles9 using rpm commands --nodeps option.

Then one tricky thing you do is,
link your installed, v9.0 to v7.0 as below,

ln -s /opt/ibmcmp/vac/9.0 /opt/ibmcmp/vac/7.0
------------

0
 
ArrismogAuthor Commented:
@wesly_chen
Kernel parameters were already set according the documentation (http://download.oracle.com/docs/cd/B19306_01/install.102/b25400/pre_install.htm#BABCHAED) , some of them were adequated automatically with the orarun package

XL C/C++ v9.0 seems to be valid for Linux on Power Series I suppose?

Any ideas are greatly appreciated
0
 
wesly_chenCommented:
Sorry for mistaking zSeries with pSeries.

Here is the doc from IBM for Oracle 10g for zSeries
http://www.redbooks.ibm.com/redbooks/pdfs/sg246482.pdf
http://www.redbooks.ibm.com/redbooks/SG246482/  (Java HTML version)
chapter 2 and chapter 3
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
ArrismogAuthor Commented:
@wesly_chen
Hello, yes, already checked that doc, followed the pre-reqs check (which are similar in many ways from the oracle installation for IBM zSeries based Linux except from some steps that differ from the R2 i guess), but the same "make" error appear :S!!

Looked at the make.log file created, I'm attaching the error

/usr/bin/make -f ins_net_client.mk mkldflags ORACLE_HOME=/opt/oracle/product/10.2/db_1//usr/bin/make -f ins_net_client.mk ntcontab.o ORACLE_HOME=/opt/oracle/product/10.
2/db_1/rm -f ntcontab.*
(if [ "compile" = "compile" ] ; then \
  /opt/oracle/product/10.2/db_1/bin/gennttab > ntcontab.c ;\
  cc  -c ntcontab.c ;\
  rm -f /opt/oracle/product/10.2/db_1/lib/ntcontab.o ;\
  mv ntcontab.o /opt/oracle/product/10.2/db_1/lib/ ;\
          /usr/bin/ar rv /opt/oracle/product/10.2/db_1/lib/libn10.a /opt/oracle/product/10.2/db_1/lib/ntcontab.o ; fi)
r - /opt/oracle/product/10.2/db_1/lib/ntcontab.o
(if [ "compile" = "assemble" ] ; then \
  rm -f ntcontab.o ntcontab.s;\
  /opt/oracle/product/10.2/db_1/bin/gennttab > ntcontab.s ;\
  /usr/bin/as  -o ntcontab.o ntcontab.s ;\
  rm -f /opt/oracle/product/10.2/db_1/lib/ntcontab.o ;\
  mv ntcontab.o /opt/oracle/product/10.2/db_1/lib/ ;\
          /usr/bin/ar rv /opt/oracle/product/10.2/db_1/lib/libn10.a /opt/oracle/product/10.2/db_1/lib/ntcontab.o ; fi)
(if [ "compile" = "oratmp" ] ; then \
  /opt/oracle/product/10.2/db_1/bin/gennttab > ntcontab.c ;\
  /lib/idcpp ntcontab.c oratmp.c ;\
   -i oratmp.c -o oratmp.s -f ntcontab.c ;\
  /usr/bin/as -o ntcontab.o oratmp.s ;\
  rm -f oratmp.c oratmp.s ;\
  rm -f /opt/oracle/product/10.2/db_1/lib/ntcontab.o ;\
  mv ntcontab.o /opt/oracle/product/10.2/db_1/lib/ ;\
          /usr/bin/ar rv /opt/oracle/product/10.2/db_1/lib/libn10.a /opt/oracle/product/10.2/db_1/lib/ntcontab.o ; fi)
(if [ "compile" = "binary" ] ; then \
  /opt/oracle/product/10.2/db_1/bin/gennttab > ntcontab.c ;\
  TARGET_BINARY_INTERFACE= ;\
  export TARGET_BINARY_INTERFACE ;\
  cc  -c ntcontab.c ;\
  -rm -f /opt/oracle/product/10.2/db_1/lib/ntcontab.o ;\
  -mv ntcontab.o /opt/oracle/product/10.2/db_1/lib/ ;\
          /usr/bin/ar rv /opt/oracle/product/10.2/db_1/lib/libn10.a /opt/oracle/product/10.2/db_1/lib/ntcontab.o ; fi)
/usr/bin/make -f ins_net_client.mk nnfgt.o ORACLE_HOME =/opt/oracle/product/10.2/db_1/rm -f nnfgt.*
(if [ "compile" = "compile" ] ; then \
  /opt/oracle/product/10.2/db_1/bin/gennfgt > nnfgt.c ;\
  cc  -c nnfgt.c ;\
  rm -f /opt/oracle/product/10.2/db_1/lib/nnfgt.o ;\
  mv nnfgt.o /opt/oracle/product/10.2/db_1/lib/ ;\
  cc -m31 -c nnfgt.c ;\
  rm -f /opt/oracle/product/10.2/db_1/lib32/nnfgt.o ;\
  mv nnfgt.o /opt/oracle/product/10.2/db_1/lib32 ;\
          /usr/bin/ar rv /opt/oracle/product/10.2/db_1/lib32/libn10.a /opt/oracle/product/10.2/db_1/lib32/nnfgt.o ;\
          /usr/bin/ar rv /opt/oracle/product/10.2/db_1/lib/libn10.a /opt/oracle/product/10.2/db_1/lib/nnfgt.o ; fi)
r - /opt/oracle/product/10.2/db_1/lib32/nnfgt.o
r - /opt/oracle/product/10.2/db_1/lib/nnfgt.o
(if [ "compile" = "assemble" ] ; then \
  rm -f nnfgt.o nnfgt.s ;\
  /opt/oracle/product/10.2/db_1/bin/gennfgt > nnfgt.s ;\
  /usr/bin/as  -o nnfgt.o nnfgt.s ;\
  rm -f /opt/oracle/product/10.2/db_1/lib/nnfgt.o ;\
  mv nnfgt.o /opt/oracle/product/10.2/db_1/lib/ ;\
          /usr/bin/ar rv /opt/oracle/product/10.2/db_1/lib/libn10.a /opt/oracle/product/10.2/db_1/lib/nnfgt.o ; fi)
(if [ "compile" = "oratmp" ] ; then \
  /opt/oracle/product/10.2/db_1/bin/gennfgt > nnfgt.c ;\
  /lib/idcpp nnfgt.c oratmp.c ;\
   -i oratmp.c -o oratmp.s -f nnfgt.c ;\
  /usr/bin/as -o nnfgt.o oratmp.s ;\
  rm -f oratmp.c oratmp.s ;\
  rm -f /opt/oracle/product/10.2/db_1/lib/nnfgt.o ;\
  mv nnfgt.o /opt/oracle/product/10.2/db_1/lib/ ;\
          /usr/bin/ar rv /opt/oracle/product/10.2/db_1/lib/libn10.a /opt/oracle/product/10.2/db_1/lib/nnfgt.o ; fi)
(if [ "compile" = "binary" ] ; then \
  /opt/oracle/product/10.2/db_1/bin/gennfgt > nnfgt.c ;\
  TARGET_BINARY_INTERFACE= ;\
  export TARGET_BINARY_INTERFACE ;\
  cc  -c nnfgt.c ;\
  -rm -f /opt/oracle/product/10.2/db_1/lib/nnfgt.o ;\
  -mv nnfgt.o /opt/oracle/product/10.2/db_1/lib/ ;\
          /usr/bin/ar rv /opt/oracle/product/10.2/db_1/lib/libn10.a /opt/oracle/product/10.2/db_1/lib/nnfgt.o ; fi)
/usr/bin/make -f ins_net_client.mk client_sharedlib ORACLE_HOME=/opt/oracle/product/10.2/db_1//opt/oracle/product/10.2/db_1/bin/genclntsh
/usr/lib64/gcc/s390x-suse-linux/4.1.2/../../../../s390x-suse-linux/bin/ld: skipping incompatible /opt/oracle/product/10.2/db_1/lib/stubs/libdl.so when searching for -ld
l
/usr/lib64/gcc/s390x-suse-linux/4.1.2/../../../../s390x-suse-linux/bin/ld: skipping incompatible /opt/oracle/product/10.2/db_1/lib/stubs/libm.so when searching for -lm
/usr/lib64/gcc/s390x-suse-linux/4.1.2/../../../../s390x-suse-linux/bin/ld: skipping incompatible /opt/oracle/product/10.2/db_1/lib/stubs/libnsl.so when searching for -l
nsl
/usr/lib64/gcc/s390x-suse-linux/4.1.2/../../../../s390x-suse-linux/bin/ld: skipping incompatible /opt/oracle/product/10.2/db_1/lib/stubs/librt.so when searching for -lr
t
/usr/lib64/gcc/s390x-suse-linux/4.1.2/../../../../s390x-suse-linux/bin/ld: /opt/oracle/product/10.2/db_1/lib/libclient10.a(obindps.o): relocation R_390_PC32 against `oc
ibndps' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/gcc/s390x-suse-linux/4.1.2/../../../../s390x-suse-linux/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
genclntsh: Failed to link libclntsh.so.10.1
make: *** [client_sharedlib] Error 1

Open in new window

0
 
OP_ZaharinCommented:
- the error is likely or might be a linux x86 is being installed onto a linux x86_64 server which is not a supported/certified installation. not sure though if the Oracle Database 10gR2 for z/Linux installer is a x86 based or 64. will you try the Oracle Database 10gR2 (10.2.0.1.0) Enterprise/Standard Edition for Linux x86-64 instead? : http://www.oracle.com/technetwork/database/10201linx8664soft-092456.html
0
 
ArrismogAuthor Commented:
@OP_Zaharin

That's another thing that I was thinking, but something's a little strange:

I'm currently running a SLES 10 SP2 on a IBM zSeries based Linux (64bit). On the Oracle Download page, for "Oracle Database 10gR2", the only download available for my platform (http://www.oracle.com/technetwork/database/database10g/downloads/index.html) is:

Oracle Database 10g Release 2 (10.2.0.2) for z/Linux

According to the Oracle docs (http://www.oracle.com/pls/db102/homepage), the Linux distribution is fine but never clarifies the architecture, but the validation step during the installation process, where the platform, kernel, and distribution is validated, passes successfully :S!

I tried to check if this installation is for 64bit or 32bit, and found this link http://www.orafaq.com/node/2033 , obviously I can't use methods 1-3 because installation isn't complete yet, but method 4, which suggests to look for lib32 and lib folders, can be done (I guess) because the "copying files" step is successful. I checked the /opt/oracle/product/10.2/db_1 folder, where the installation resides, and yes, there's a lib32 and lib folder, which, according to the doc, suggests that this may be a 64bit installation...but if that's the case, can't seem why it's not working :S!!
0
 
wesly_chenCommented:
I compared the doc (SLES required packages)
http://download.oracle.com/docs/cd/B19306_01/relnotes.102/b25399/toc.htm#CHDFJCIG
with the one you post:
http://download.oracle.com/docs/cd/B19306_01/install.102/b25400/pre_install.htm#sthref85

The required packages list for SLES 10 are different from SLES 9.
Did you check the packages list for SLES 10?
0
 
ArrismogAuthor Commented:
Yes, seems that Oracle doesn't have a zLinux 64bit version for 10gr2, this one didn't specify which version was (only stated as "zLinux"), neither the documents nor manuals regarding this version stated if it was 32 or 64, and the worst part of all is that the pre-requisites check-step and the OS validation steps were all passed successfully (but still with the error). Installed 11gr2 (this version has a zLinux32 and zLinux64 stated in the download section) and works fine up to this point.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now