Home » Infrastructure » Linux » Install Oracle 10g on Centos 5 - cannot stat ntcontab.o (Oracle 10g )
Install Oracle 10g on Centos 5 - cannot stat ntcontab.o [message #489759] Tue, 18 January 2011 21:48 Go to next message
didiera
Messages: 134
Registered: August 2007
Location: Mauritius
Senior Member
Hello,

During installation of Oracle on my PC running CentOS 5, at some point an error occurs. The last line in make.log states that "cannot stat ntcontab.o no such file or directory"

Here are the values of my environment variables prior to installation :

$ORACLE_BASE = /opt/Oracle/
$ORACLE_HOME = /opt/Oracle/product/10.1.0
$LD_LIBRARY_PATH = /opt/Oracle/product/10.1.0/lib32

When I investigated after the error occurred:

1/ Make looks for an ntcontab.o under $ORACLE_HOME/lib

2/ the only ntcontab.o I found was under $ORACLE_HOME/lib32

3/ I did set my $LD_LIBRARY_PATH to point to $ORACLE_HOME/lib32 (where the ntcontab.o file is found)

SO,

1/ Is this issue related to the $LD_LIBRARY_PATH as I thought in the first place.

2/ How comes this error keeps coming back though $LD_LIBRARY_PATH points to a directory where ntcontab.o exists.

thanks for your help,
Didier
Re: Install Oracle 10g on Centos 5 - cannot stat ntcontab.o [message #489765 is a reply to message #489759] Tue, 18 January 2011 22:57 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
post results of following OS commands

id
env | sort
Re: Install Oracle 10g on Centos 5 - cannot stat ntcontab.o [message #489768 is a reply to message #489765] Tue, 18 January 2011 23:25 Go to previous messageGo to next message
didiera
Messages: 134
Registered: August 2007
Location: Mauritius
Senior Member
Hi thanks, I will do that when I get home from work.


regards,
Didier
Re: Install Oracle 10g on Centos 5 - cannot stat ntcontab.o [message #489902 is a reply to message #489768] Wed, 19 January 2011 19:19 Go to previous messageGo to next message
didiera
Messages: 134
Registered: August 2007
Location: Mauritius
Senior Member
Hello,

sorry for the delay. So as you asked, here is the dumps for the commands :

1] id

uid=503(oracle) gid=501(dba) groups=501(dba) context=user_u:system_r:unconfined_t


2] env |sort

_=/bin/env
DISPLAY=:0.0
G_BROKEN_FILENAMES=1
HISTSIZE=1000
HOME=/home/oracle
HOSTNAME=HOMESERVER
INPUTRC=/etc/inputrc
LANG=en_US.UTF-8
LD_LIBRARY_PATH=/opt/Oracle/product/10.1.0/lib32
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=oracle
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
MAIL=/var/spool/mail/oracle
OLDPWD=/home/oracle
ORACLE_BASE=/opt/Oracle
ORACLE_HOME=/opt/Oracle/product/10.1.0
PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin
PWD=/home/oracle/database
SHELL=/bin/bash
SHLVL=1
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
TERM=xterm
USER=oracle


3] tail -15 $ORACLE_HOME/install/make.log

/usr/bin/make -f ins_net_client.mk mkldflags ORACLE_HOME=/opt/Oracle/product/10.1.0//usr/bin/make -f ins_net_client.mk ntcontab.o ORACLE_HOME=/opt/Oracle/product/10.1.0/rm -f ntcontab.*
(if [ "compile" = "compile" ] ; then \
          /opt/Oracle/product/10.1.0/bin/gennttab > ntcontab.c ;\
          gcc  -c ntcontab.c ;\
          rm -f /opt/Oracle/product/10.1.0/lib/ntcontab.o ;\
          mv ntcontab.o /opt/Oracle/product/10.1.0/lib/ ;\
          /usr/bin/ar rv /opt/Oracle/product/10.1.0/lib/libn10.a /opt/Oracle/product/10.1.0/lib/ntcontab.o ; fi)
gcc.bk: no input files
mv: cannot stat `ntcontab.o': No such file or directory
/usr/bin/ar: /opt/Oracle/product/10.1.0/lib/ntcontab.o: No such file or directory
make: *** [ntcontab.o] Error 1


4] Finally the contents of my .bash_profile (for user oracle)
# .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
ORACLE_BASE=/opt/Oracle
export ORACLE_BASE
ORACLE_HOME=/opt/Oracle/product/10.1.0
export ORACLE_HOME
LD_LIBRARY_PATH=/opt/Oracle/product/10.1.0/lib32
export LD_LIBRARY_PATH


thanks in advance,
Didier
Re: Install Oracle 10g on Centos 5 - cannot stat ntcontab.o [message #489904 is a reply to message #489902] Wed, 19 January 2011 20:46 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
is hardware 64 or 32 bit?
is OS 64 or 32 bit?
is Oracle s/w 64 or 32 bit?

are you sure that all the above are in synch?
Re: Install Oracle 10g on Centos 5 - cannot stat ntcontab.o [message #489905 is a reply to message #489904] Wed, 19 January 2011 20:48 Go to previous messageGo to next message
didiera
Messages: 134
Registered: August 2007
Location: Mauritius
Senior Member
Yes indeed. And everything is 32 bit Sad
Re: Install Oracle 10g on Centos 5 - cannot stat ntcontab.o [message #489906 is a reply to message #489905] Wed, 19 January 2011 20:56 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
Hmmm...
I don't have V10 & I don't have 32 bit system.
However I also don't have a directory named "lib32".
So I am left wondering why you have what you report?
Re: Install Oracle 10g on Centos 5 - cannot stat ntcontab.o [message #490080 is a reply to message #489905] Thu, 20 January 2011 20:44 Go to previous message
ebrian
Messages: 2794
Registered: April 2006
Senior Member
You may want to verify that you have installed ALL the required rpm's.
Previous Topic: Connecting to Oracle 10g on Linux (2 Merged)
Next Topic: erros when i connect to my database
Goto Forum:
  


Current Time: Wed Dec 11 16:19:49 CST 2024