[Server] Problemi Installazione Oracle 9.2.0 su Ubuntu 7.10
Inviato: venerdì 9 novembre 2007, 17:23
Ho problemi nell'installare la versione Oracle 9.2.0.4 su Ubuntu 7.10
Premetto che ho installato la versione XE (10g) tutto ok, tramite apt-get.
Per far partire, si fa per dire, l'installazione ho dovuto modificare il file "runInstaller" nel seguente modo:
#!/bin/sh
# The environment variable $SRCHOME cannot be set during the installation
unset SRCHOME
# The environment variable $JAVA_HOME cannot be set during the installation
unset JAVA_HOME
# The environment variable $THREADS_FLAG cannot be set during installation
unset THREADS_FLAG
#The environment variable $DISPLAY has to be set
if [ ! "$DISPLAY" ]; then
echo "DISPLAY not set!"
echo "Please set DISPLAY and try again."
exit 1
fi
CMDDIR=/home/oracle/Disk1
#Check for Alpha chipset
cd $CMDDIR
#./check_chipset
if [ $? = -1 ]
then
echo "Installation cannot proceed. Alpha Chipset should be EV5.6 or above."
exit;
fi
if [ x${PATH} != x ] ; then
PATH=/usr/bin:/usr/ccs/bin:/bin:$PATH
export PATH
else
PATH=/usr/bin:/usr/ccs/bin:/bin
export PATH
fi
if [ x${LD_LIBRARY_PATH} != x ] ; then
LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
else
LD_LIBRARY_PATH=/usr/lib
export LD_LIBRARY_PATH
fi
cd $CMDDIR/install/linux
./runInstaller $* &
Eseguendo il file, dopo aver settato correttamente il DISPLAY, ottengo il seguente errore.
Initializing Java Virtual Machine from /tmp/OraInstall2007-11-09_05-17-34PM/jre/bin/java. Please wait...
/tmp/OraInstall2007-11-09_05-17-34PM/jre/bin/i386/native_threads/java: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory
Ho letto da qualche parte che bisogna creare il seguente
ln -s /usr/lib/libstdc++-libc6.1-2.so.3 /usr/lib/libstdc++-libc6.1-1.so.2
ma non ha funzionato.
A questo punto mi è sorto un dubbio atroce .... ma non è che la versione rilasciata da Oracle è solo per RedHat ? Tant'è che l'ho installata senza alcun problema.
Grazie dell'aiuto !!
Premetto che ho installato la versione XE (10g) tutto ok, tramite apt-get.
Per far partire, si fa per dire, l'installazione ho dovuto modificare il file "runInstaller" nel seguente modo:
#!/bin/sh
# The environment variable $SRCHOME cannot be set during the installation
unset SRCHOME
# The environment variable $JAVA_HOME cannot be set during the installation
unset JAVA_HOME
# The environment variable $THREADS_FLAG cannot be set during installation
unset THREADS_FLAG
#The environment variable $DISPLAY has to be set
if [ ! "$DISPLAY" ]; then
echo "DISPLAY not set!"
echo "Please set DISPLAY and try again."
exit 1
fi
CMDDIR=/home/oracle/Disk1
#Check for Alpha chipset
cd $CMDDIR
#./check_chipset
if [ $? = -1 ]
then
echo "Installation cannot proceed. Alpha Chipset should be EV5.6 or above."
exit;
fi
if [ x${PATH} != x ] ; then
PATH=/usr/bin:/usr/ccs/bin:/bin:$PATH
export PATH
else
PATH=/usr/bin:/usr/ccs/bin:/bin
export PATH
fi
if [ x${LD_LIBRARY_PATH} != x ] ; then
LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
else
LD_LIBRARY_PATH=/usr/lib
export LD_LIBRARY_PATH
fi
cd $CMDDIR/install/linux
./runInstaller $* &
Eseguendo il file, dopo aver settato correttamente il DISPLAY, ottengo il seguente errore.
Initializing Java Virtual Machine from /tmp/OraInstall2007-11-09_05-17-34PM/jre/bin/java. Please wait...
/tmp/OraInstall2007-11-09_05-17-34PM/jre/bin/i386/native_threads/java: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory
Ho letto da qualche parte che bisogna creare il seguente
ln -s /usr/lib/libstdc++-libc6.1-2.so.3 /usr/lib/libstdc++-libc6.1-1.so.2
ma non ha funzionato.
A questo punto mi è sorto un dubbio atroce .... ma non è che la versione rilasciata da Oracle è solo per RedHat ? Tant'è che l'ho installata senza alcun problema.
Grazie dell'aiuto !!