Home » Infrastructure » Linux » Oracle 8.1.7 installation on Mandrake 9.0 linux - is it possible ?
Oracle 8.1.7 installation on Mandrake 9.0 linux - is it possible ? [message #98754] Tue, 22 October 2002 06:25 Go to next message
Alex
Messages: 190
Registered: August 1999
Senior Member
Hello Linux Oracle experts,
I've got problem installing Oracle 8.1.7 on Mandrake 9.0 Linux... Oracle universal Installer failed even to start on this distribution. Before I was using Mandrake 8.0 and there was special patch for 2.2.2 glibc - that fixes that
problem but Mandrake 9.0 uses glic 2.2.5 and looks like problem have been reintroduced.
Any suggestion how this problem could fixed ?
Regards,
Alex
Re: Oracle 8.1.7 installation on Mandrake 9.0 linux - is it possible ? [message #98765 is a reply to message #98754] Mon, 02 December 2002 14:57 Go to previous messageGo to next message
Pam
Messages: 20
Registered: October 2000
Junior Member
Alex, I am having the same problem. Have you found any solutions?

I was able to get the runInstaller to work and install, but it hung on the net 8 configuration because of another runtime error. I can't run dbassist from the command line either...it hangs.

HELP!
Re: Oracle 8.1.7 installation on Mandrake 9.0 linux - is it possible ? [message #98781 is a reply to message #98765] Sun, 22 December 2002 21:33 Go to previous messageGo to next message
William Lovaton
Messages: 1
Registered: December 2002
Junior Member
Pam!

How did you get the runInstaller to work??

please tell me.

-William
Re: Oracle 8.1.7 installation on Mandrake 9.0 linux - is it possible ? [message #98787 is a reply to message #98765] Fri, 10 January 2003 07:02 Go to previous messageGo to next message
Nick Gibbs
Messages: 1
Registered: January 2003
Junior Member
Hi William,

I haven't got it to work either for Oracle 8.1.6 on Mandrake 9.0 (I haven't tried exporting LC_ALL=POSIX as stated in one of the replies). If you find out can you get it to work, please email me.

One other workround (or good practice anyway) I thought of was Installing Mandrake 8.1 with a 1GB partition for Oracle (e,g, /u01) and then Installing Oracle 8.1.6 or 8.1.7 (including glibc patch) on the /u01 partition.
e.g.
/u01/oracle <-- Oracle home
/u01/oraInventory <-- Ora Inventory directory
I then copy the files created under /usr/bin/local and /etc onto a temp area on /u01.
Once completed, you can the trash Mandrake 8.1 and install 9.0 (keeping the /u01 partition). Once installed, I create a new Oracle userid (including groups etc) and edit /etc/passwd and get oracle to point to /u01/oracle not /home/oracle (ie. home directory of Oracle) and do a chmod -R on /u01/oracle and /u01/oraInventory so that they are owned by Oracle
Also copy the /usr/local/bin and /etc files back to their rightful place.
After doing this (phew), Oracle works, however none of the fancy GUI tools work (they just hang like the runInstaller does).
What I think is good about installing it this way is that you can trash you Linux distribution as many times as you like without having to re-install Oracle (well in theory anyway!!)

Regards,
Nick
Re: Oracle 8.1.7 installation on Mandrake 9.0 linux - is it possible ? [message #98794 is a reply to message #98754] Thu, 23 January 2003 06:54 Go to previous messageGo to next message
Pop
Messages: 2
Registered: December 2002
Junior Member
This got the installer running for me:
1. Environment setup:
unset LANG;
export LD_ASSUME_KERNEL=2.2.5
and make sure you've set DISPLAY correctly (and xhost +localhost)
2. New JRE
Download IBM's JRE 1.1.8 and install into /usr/local/java
3. Change oraparam.ini
set JRE_LOCATION=/usr/local/java

The installer ran nicely all the way, but the database creation was broken; some makefiles need to be changed. Still working on this, so any input is appreciated.
Oracle 8.1.7 installation on Mandrake 9.0 linux - It Is POSSIBLE ! [message #98799 is a reply to message #98765] Mon, 03 February 2003 04:50 Go to previous messageGo to next message
Alex
Messages: 190
Registered: August 1999
Senior Member
William,
I've managed to install Oracle 8.1.7 on Mandrake Linux 9.0
using some of the hints from this thread and some other linux and oracle sources. This is what I've done:

1. Create oracle installation account (in my case 'ora817' and use 'dba' as primary group) As shell for this account I used 'bash'

2. Create all required directory struture for Oracle installation i.e.

ORACLE_BASE=/apps/ora_817
ORACLE_HOME=${ORACLE_BASE}/product/8.1.7

3. In home directory of ora817 use create / update file .bash_profile:

---.bash_profile---
# .bash_profile

# Get the aliases and functions
if [[ -f ~/.bashrc ]]; then
. ~/.bashrc
fi

# User specific environment and startup programs
#
# PATH=$PATH:$HOME/bin
#
# export PATH
#
# unset USERNAME

JAVA_HOME=/usr/local/java; export JAVA_HOME
CLASSPATH=${JAVA_HOME}/lib/classes.zip; export CLASSPATH
ORACLE_BASE=/apps/ora_817; export ORACLE_BASE
ORACLE_HOME=${ORACLE_BASE}/product/8.1.7; export ORACLE_HOME
PATH=${PATH}:${ORACLE_HOME}/bin; export PATH
NLS_LANG=AMERICAN_ARERICA.UTF8; export NLS_LANG
ORA_NLS333=${ORACLE_HOME}/ocommon/nls/admin/data; export ORA_NLS333

if [[${LD_LIBRARY_PATH} == ""]]
then
LD_LIBRARY_PATH=${ORACLE_HOME}/lib:/usr/lib:/usr/local/lib
else
LD_LIBRARY_PATH=${ORACLE_HOME}/lib:${LD_LIBRARY_PATH}
fi

export LD_LIBRARY_PATH
export LD_ASSUME_KERNEL=2.2.5

umask 002
unset LANG
unset LANGUAGE
---.bash_profile---

4. Update / create .bashrc file in the same directory:

---.bashrc---
# .bashrc

# User specific aliases and functions

# Source global definitions
if [[ -f /etc/bashrc ]]; then
. /etc/bashrc
fi

unset LANG
unset LANGUAGE
unset LC_MONETARY
unset LC_NUMERIC
unset LC_MESSAGES
unset LC_COLLATE
unset LC_CTYPE
unset LC_TIME

unset NLS_LANG
---.bashrc---

Then you would have to logout and login back so that changes take place and that's it - your Otacle Universal Insaller will start !!!

Few other notes:

Before installation you would have to make sure that you got Java JDK-1.1.8 - file should be called:

jdk118_v3-glibc-2.1.3.tar.bz2

You could find it on the net.

During installation there will be step when you would have to run file $ORACLE_HOME/root.sh - make sure that you edit this file before execution:

Line 102:

RMF=/bin/rm -f

is changed into

RMF="/bin/rm -f"

and line 156

RUID=`/usr/bin/id&#124$AWK -F( '{print $2}'&#124$AWK -F) '{print $1}`

is changed into

RUID=`/bin/id&#124$AWK -F( '{print $2}'&#124$AWK -F) '{print $1}'`

Please note that id command in Mandrake 9.0 linux located in /bin directory and not in /usr/bin !

After installation I suggest to unset LD_ASSUME_KERNEL
env variable and install and run glibc-2.1.3-stubs.tar.gz package that will relink modules for use with newer version of glibc. Copy this package to $ORACLE_HOME directory, untar it - i.e.
>tar -xvzf ./glibc-2.1.3-stubs.tar.gz

and then run ./setup_stubs.sh script. (make sure that you do so by the same user that was used during oracle installation)

This file you could get from oracle OTN web site.

Another hint is please do not use default installation option because oracle database creation (during installation) in that case will fail !

As you could see in this method no change of oracle files (i.e. suggested replacement of path to java files) needed !

Regards,
Alex
Re: Oracle 8.1.7 installation on Mandrake 9.0 linux - It Is POSSIBLE ! [message #98807 is a reply to message #98765] Thu, 13 February 2003 03:21 Go to previous messageGo to next message
act
Messages: 3
Registered: February 2003
Junior Member
Hi..Alex
I'm not good in english but i want to try it.
I've managed to install Oracle 8.1.7 on Mandrake Linux 9.0. I config like u. But I can't continue Net8 Configuration. It's inprogress at all time.

1. groupadd dba
2. adduser ora817 -g dba & I copy .bashrc & .bash_profile to user ora817
3. cp -r /mnt/cdrom/linux81701.tar /apps/
4. logout & login ora817 chown -R ora817:dba /apps
5. cd /apps/
6. tar -vxf linux81701.tar
7. tar -vxjf jdk118_v3-glibc-2.1.3.tar.bz2 & mv to /usr/local/java
8. cd /apps & mv Disk1 ora_817
9. cd /apps/ora_817 & ./runInstall It's work
10. cp -r glibc-2.1.3-stubs.tar.gz /apps/ora_817/
11. tar -vxzf ./glibc-2.1.3-stubs.tar.gz (oracle install too)
12. ./setup_stubs.sh script everything is ok.
But Net8 Configuration Assistant is not continue.

Thank you for your kindness.

AcT...
icq767636@hotmail.com
Re: Oracle 8.1.7 installation on Mandrake 9.0 linux - is it possible ? [message #98812 is a reply to message #98765] Wed, 19 February 2003 05:14 Go to previous messageGo to next message
act
Messages: 3
Registered: February 2003
Junior Member
William,
I've managed to install Oracle 8.1.7 on Mandrake Linux 9.0
using some of the hints from this thread and some other linux and oracle sources. This is what I've done:

1. Create oracle installation account (in my case 'ora817' and use 'dba' as primary group) As shell for this account I used 'bash'

2. Create all required directory struture for Oracle installation i.e.

ORACLE_BASE=/apps/ora_817
ORACLE_HOME=${ORACLE_BASE}/product/8.1.7

3. In home directory of ora817 use create / update file .bash_profile:

---.bash_profile---
# .bash_profile

# Get the aliases and functions
if [[ -f ~/.bashrc ]]; then
. ~/.bashrc
fi

# User specific environment and startup programs
#
# PATH=$PATH:$HOME/bin
#
# export PATH
#
# unset USERNAME

JAVA_HOME=/usr/local/java; export JAVA_HOME
CLASSPATH=${JAVA_HOME}/lib/classes.zip; export CLASSPATH
ORACLE_BASE=/apps/ora_817; export ORACLE_BASE
ORACLE_HOME=${ORACLE_BASE}/product/8.1.7; export ORACLE_HOME
###### New Path for run java
### PATH=${PATH}:${ORACLE_HOME}/bin; export PATH
PATH=/usr/local/java/bin:${PATH}:${ORACLE_HOME}/bin; export PATH
########
NLS_LANG=AMERICAN_ARERICA.UTF8; export NLS_LANG
ORA_NLS333=${ORACLE_HOME}/ocommon/nls/admin/data; export ORA_NLS333

if [[${LD_LIBRARY_PATH} == ""]]
then
LD_LIBRARY_PATH=${ORACLE_HOME}/lib:/usr/lib:/usr/local/lib
else
LD_LIBRARY_PATH=${ORACLE_HOME}/lib:${LD_LIBRARY_PATH}
fi

export LD_LIBRARY_PATH
export LD_ASSUME_KERNEL=2.2.5

umask 002
unset LANG
unset LANGUAGE
---.bash_profile---

4. Update / create .bashrc file in the same directory:

---.bashrc---
# .bashrc

# User specific aliases and functions

# Source global definitions
if [[ -f /etc/bashrc ]]; then
. /etc/bashrc
fi

unset LANG
unset LANGUAGE
unset LC_MONETARY
unset LC_NUMERIC
unset LC_MESSAGES
unset LC_COLLATE
unset LC_CTYPE
unset LC_TIME

unset NLS_LANG
---.bashrc---

Then you would have to logout and login back so that changes take place and that's it - your Otacle Universal Insaller will start !!!

Few other notes:

Before installation you would have to make sure that you got Java JDK-1.1.8 - file should be called:

jdk118_v3-glibc-2.1.3.tar.bz2

You could find it on the net.

During installation there will be step when you would have to run file $ORACLE_HOME/root.sh - make sure that you edit this file before execution:

Line 102:

RMF=/bin/rm -f

is changed into

RMF="/bin/rm -f"

and line 156

RUID=`/usr/bin/id&#124$AWK -F( '{print $2}'&#124$AWK -F) '{print $1}`

is changed into

RUID=`/bin/id&#124$AWK -F( '{print $2}'&#124$AWK -F) '{print $1}'`

Please note that id command in Mandrake 9.0 linux located in /bin directory and not in /usr/bin !

After installation I suggest to unset LD_ASSUME_KERNEL
env variable and install and run glibc-2.1.3-stubs.tar.gz package that will relink modules for use with newer version of glibc. Copy this package to $ORACLE_HOME directory, untar it - i.e.
>tar -xvzf ./glibc-2.1.3-stubs.tar.gz

and then run ./setup_stubs.sh script. (make sure that you do so by the same user that was used during oracle installation)

This file you could get from oracle OTN web site.

Another hint is please do not use default installation option because oracle database creation (during installation) in that case will fail !

As you could see in this method no change of oracle files (i.e. suggested replacement of path to java files) needed !

Regards,
Alex

//// All done. But now. I can't start oracle.
lsnrctl start OK.
svrmgrl OK.
connect internal not OK.
ORA-03114:not connected to ORACLE
open parameter file '?/dbs/init@.ora'
////// Can u help me Alex

From AcT icq767636@hotmail.com
Re: Oracle 8.1.7 installation on Mandrake 9.0 linux - It Is POSSIBLE ! [message #98813 is a reply to message #98765] Wed, 19 February 2003 05:15 Go to previous messageGo to next message
act
Messages: 3
Registered: February 2003
Junior Member
//// All done. But now. I can't start oracle.
lsnrctl start OK.
svrmgrl OK.
connect internal not OK.
ORA-03114:not connected to ORACLE
open parameter file '?/dbs/init@.ora'
////// Can u help me Alex

From AcT icq767636@hotmail.com
Re: Oracle 8.1.7 installation on Mandrake 9.0 linux - is it possible ? [message #98825 is a reply to message #98765] Tue, 04 March 2003 08:25 Go to previous messageGo to next message
John Smith
Messages: 25
Registered: February 2002
Junior Member
Thanks for your brilliant walkthrouh, Alex
I used it to install an Oracle Client on Mandrake 9.0

However, I could not get sqlplus to connect to a remote database
After entering my login/password, I got the following error :

ERROR:
ORA-12545: Connect failed because target host or object does not exist

I had to comment the following line out in .bash_profile in order to solve the problem :

> NLS_LANG=AMERICAN_ARERICA.UTF8; export NLS_LANG

It appears to work fine so far.
Re: Oracle 8.1.7 installation on Mandrake 9.0 linux - is it possible ? [message #98885 is a reply to message #98765] Mon, 23 June 2003 16:48 Go to previous message
Bambu
Messages: 1
Registered: June 2003
Junior Member
Hello,
I have a problem with Oracle 8.1.7 installation.
During installation of the Oracle client the
univarsal installer try to link the client and it returns an error.
In the make.log file I found this error message:
/usr/bin/ld: cannot find -lclntsh
What does it means?

Thank you for your help
Bambu

P.S. Sorry for my english
Previous Topic: Cannot install watchdog in linux7.1
Next Topic: oracle xml parser
Goto Forum:
  


Current Time: Thu Mar 28 07:13:29 CDT 2024