Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Help on Oracle 9i install on Debian (Woody) Linux
Oracle doesn't support Debian. In fact Oracle only supports Red Hat
Enterprise Linux, SuSE Linux Enterprise Server (SLES), and United
Linux. Debian is never mentioned on Oracle Ceertification page. Oracle
can be made to run on other versions of Red Hat and SuSE.
People have installed Oracle on Debian, here is some info from Oracle Metalink, I am just quoting what I found there. Some of them are from Oracle support and some are from users:
If you change *any* component that Oracle depends on (and a Linux distro contains *thousands* of "components") Oracle will not work, or will not work well. This is why Oracle 9.2 seems to (mostly) work on Redhat Linux 7.2 -- which is almost identical to one of the "supported" distributions -- but does not work on red 7.1 or 7.3. (Even worse with Redhat 8.0; Oracle 9.2 seems to install and link, and you can even create databases, but *lots* of features don't work.)
3. The problem is your updated glibc. You're probably using the "testing" or "unstable" release. If you use stable, then it's easy to set up Oracle 9i on Debian. It's just Linux. There are a couple of things to change as far as path names, but the libraries and kernels are the same regardless of distro (some people seem to think that their distro's kernel is somehow different or special....victims of marketing).
Anyway, I have installed Oracle 9i on Debian with no problems. When I have upgraded to "testing" or "unstable," however, it breaks Oracle in exactly the fashion you describe. I haven't quite solved this one, but then it's what you should expect when you're effectively using a beta (or alpha) release. Using these beta libraries, it would happen with *any* distro of Linux. So use the very conservative "stable" release and you shouldn't have any problems.
4. (My favorite! ) From: Mark Brinsmead, Oracle 21-Jan-03 19:52 Subject: Re : Debian Linux Installation Fails - at final steps
Why do you want to make this work on Debian?
Oracle is supported on Suse Linux Enterprise Server and on Redhat Advanced Server. Okay, these cost money, but if you want a supported environment, you must use one of them.
If you're choosing between the "Enterprise" versions of these products (SuSe vs. Redhat), there is no "simple" answer. Both are supported.
SuSe is European (Germany), and Redhat is American. If you plan to get actual support from the vendor, your best bet is to pick the one whose timezone is closest to yours. Even if you've purchased "24x7" support, your likely to get best response to problems submitted during the vendor's "prime time" hours.
If timezone/geography is not a consideration for you, you may want to go with whichever is cheapest.
If you are looking for freeware near-equivalents (e.g., Redhat 7.2 in place of Redhat Advanced Server 2.1) then pick whichever one you "like" the most.
Personally, being in North America, I would say that Redhat is the best bet, however, your personal perspective (and geography) may lead you to other choices.
(Please note that I do not currently run either of these "enterprise" flavours of Linux because they are both too darned expensive; this is especially true when paying with Canadian dollars!)
5. Debian? I wouldn't even bother to try.
Good luck, please update us on your progress.
K.
On 17 Feb 2004 19:28:33 -0800, mfabache_at_yahoo.com (MF) wrote:
>(cross posted on linux.debian.user only)
>
>Hello and Ugh!
>
>I've gotten so far, but am stuck with errors on the final link and am
>destitute.
>(All my machine specifics are listed below)
>
>I have search high and low for the answer(s). Here is where I have
>searched to find anwsers to no avail:
>
>1.)google (of course)
>2.)http://www.puschitz.com/InstallingOracle9i.shtml
>3.)http://www.the-love-shack.net/oracle-on-sid.shtml
>4.)http://forums.oracle.com/forums/search.jsp?search=true&q=debian&forums=135&date=any&user=&range=10
>5.)metalink
>6.)http://polydistortion.net/monkey/archives/2003/05/22/001730.html#001730
>and others...
>
>I must be retarded, eh?
>
>=========================================================
>My issue on linking is this:
>gcc: /u01/oracle/product/9iR2/rdbms/lib/opimai.o: No such file or
>directory
>gcc: /u01/oracle/product/9iR2/rdbms/lib/ssoraed.o: No such file or
>directory
>
>[full text]
>oracle_at_syrinx:/u01/oracle/product/9iR2/rdbms/lib$ make -f ins_rdbms.mk
>install
>chmod 755 /u01/oracle/product/9iR2/bin
>rm -f oracle mig dbv tstshm maxmem orapwd dbfsize cursize genoci
>extproc extproc32 hsalloci hsots hsdepxa dgmgrl dumpsga mapsga osh
>sbttest imp exp sqlldr rman avmurout avmping avligmsg
>avmumon nid /u01/oracle/product/9iR2/rdbms/lib/ksms.s
>/u01/oracle/product/9iR2/rdbms/lib/ksms.o
>
> - Linking Oracle
>rm -f /u01/oracle/product/9iR2/rdbms/lib/oracle
>gcc -o /u01/oracle/product/9iR2/rdbms/lib/oracle
>-L/u01/oracle/product/9iR2/rdbms/lib/ -L/u01/oracle/product/9iR2/lib/
>-L/u01/oracle/product/9iR2/lib/stubs/ -Wl,-E `test -f
>/u01/oracle/product/9iR2/rdbms/lib/skgaioi.o && echo
>/u01/oracle/product/9iR2/rdbms/lib/skgaioi.o`
>/u01/oracle/product/9iR2/rdbms/lib/opimai.o
>/u01/oracle/product/9iR2/rdbms/lib/ssoraed.o
>/u01/oracle/product/9iR2/rdbms/lib/ttcsoi.o
>/u01/oracle/product/9iR2/lib/nautab.o
>/u01/oracle/product/9iR2/lib/naeet.o
>/u01/oracle/product/9iR2/lib/naect.o
>/u01/oracle/product/9iR2/lib/naedhs.o
>/u01/oracle/product/9iR2/rdbms/lib/config.o -lserver9 -lodm9 -lskgxp9
>-lskgxn9 -lclient9 -lvsn9 -lwtcserver9 -lcommon9 -lgeneric9
>/u01/oracle/product/9iR2/rdbms/lib/defopt.o -lknlopt `if /usr/bin/ar
>tv /u01/oracle/product/9iR2/rdbms/lib/li 10:04pma | grep xsyeolap.o >
>/dev/null 2>&1 ; then echo "-loraolap9" ; fi` `if /usr/bin/ar tv
>/u01/oracle/product/9iR2/rdbms/lib/libknlopt.a | grep dmwdm.o >
>/dev/null 2>&1; then echo "-ldm9"; fi` -lslax9 -lpls9 -lplp9
>-lserver9 -lclient9 -lvsn9 -lwtcserver9 -lcommon9 -lgeneric9 -lknlopt
>-lslax9 -lpls9 -lplp9 -ljox9 -lserver9 -locijdbcst9 -lwwg9 `cat
>/u01/oracle/product/9iR2/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9
>-lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/oracle/product/9iR2/lib/ldflags`
> -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lmm -lnls9 -lcore9
>-lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat
>/u01/oracle/product/9iR2/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9
>-lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/oracle/product/9iR2/lib/ldflags`
> -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -ltrace9 -lnls9
>-lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `if
>/usr/bin/ar tv /u01/oracle/product/9iR2/rdbms/lib/libknlopt.a | grep
>"kxmnsd.o" > /dev/null 2>&1 ; then echo " " ; else echo "-lordsdo9";
>fi` -lctxc9 -lctx9 -lzx9 -lgx9 -lctx9 -lzx9 -lgx9 -lordimt9 -lnls9
>-lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lsnls9
>-lunls9 -lxsd9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9
>-lunls9 -lnls9 `cat /u01/oracle/product/9iR2/lib/sysliblist`
>-Wl,-rpath,/u01/oracle/product/9iR2/lib:/lib:/usr/lib -lm `cat
>/u01/oracle/product/9iR2/lib/sysliblist` -ldl -lm `test -f
>/u01/oracle/product/9iR2/rdbms/lib/skgaioi.o && echo -laio`
>gcc: /u01/oracle/product/9iR2/rdbms/lib/opimai.o: No such file or
>directory
>gcc: /u01/oracle/product/9iR2/rdbms/lib/ssoraed.o: No such file or
>directory
>make: *** [/u01/oracle/product/9iR2/rdbms/lib/oracle] Error 1
>oracle_at_syrinx:/u01/oracle/product/9iR2/rdbms/lib$
>==========================================================================
>****
>the opimai.o, ssoread.o and ttcsoi.o files are no where to be found.
>I can find these on my redhat server, but for some reason, it is not
>on the 9.2 release I just downloaded (or something in my Debian
>configuration is misfiring...)
>(I've ar -tv libk* and the libdbtools*.a files - they do not have
>those files as well.
>
>Can anybody send me those three files, please? :)
>
>Anyway, if anybody can point me toward the right direction, I would
>appreciate it!
>
>===========================================================================
>Machine specifics and envrionment
>oracle_at_syrinx:/u01/oracle/product/9iR2/rdbms/lib$ env
>PWD=/u01/oracle/product/9iR2/rdbms/lib
>ORACLE_SID=SPXS
>LD_ASSUME_KERNEL=2.4.24
>HZ=100
>LD_LIBRARY_PATH=/u01/oracle/product/9iR2/lib:/lib:/usr/lib
>CLASSPATH=/u01/oracle/product/9iR2/JRE:/u01/oracle/product/9iR2/jlib:/u01/oracle/product/9iR2/rdbms/jlib:/u01/oracle/product/9iR2/network/jlib
>OH=/u01/oracle/admin/SPXS
>PS1=\[\]\u\[\]@\h:\w$
>USER=oracle
>SQLPATH=/u01/oracle/admin/SPXS/SQL:/SQL:/home/mfabache/Hemispheres/Oracle/SQL
> 10:08pm_FLAG=native
>MAIL=/var/mail/oracle
>OLDPWD=/u01/oracle/product/9iR2
>S=/u01/SPXS
>EDITOR=/usr/bin/vim
>ORACLE_BASE=/u01/oracle
>ORACLE_HOME=/u01/oracle/product/9iR2
>ORACLE_TERM=xterm
>DISPLAY=:0.0
>LOGNAME=oracle
>SHLVL=1
>ORA_NLS33=/u01/oracle/product/9iR2/ocommon/nls/admin/data
>SHELL=/bin/bash
>CVSROOT=/opt/cvs
>TERM=xterm
>HOME=/home/oracle
>PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/u01/oracle/product/9iR2/bin:/sbin:/usr/local/sbin:/opt/WindowMaker/bin:/opt/java/bin:/u01/oracle/product/9iR2/bin:/u01/oracle/product/9iR2/bin
>NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
>TNS_ADMIN=/u01/oracle/product/9iR2/network/admin
>_=/usr/bin/env
>========================================================
>oracle_at_syrinx:/u01/oracle/product/9iR2/rdbms/lib$ dpkg -l | egrep -i
>'(libc|gcc)'
>ii gcc 2.95.4-14 The GNU C compiler.
>ii gcc-2.95 2.95.4-11woody The GNU C compiler.
>ii gcc-3.0 3.0.4-7 The GNU C compiler.
>ii gcc-3.0-base 3.0.4-7 The GNU Compiler Collection (base
>package).
>ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries and
>Timezone
>ii libc6-dev 2.3.2.ds1-11 GNU C Library: Development Libraries
>and Hea
>ii libcap1 1.10-12 support for getting/setting POSIX.1e
>capabil
>ii libcurl2 7.9.5-1 Multi-protocol file transfer
>library. (no SS
>ii libdb1-compat 2.1.3-7 The Berkeley database routines
>[glibc 2.0/2.
>ii libgcc1 3.0.4-7 GCC support library.
>ii libgpmg1 1.19.6-12 General Purpose Mouse Library
>[libc6]
>oracle_at_syrinx:/u01/oracle/product/9iR2/rdbms/lib$ ll /usr/bin/gcc
>lrwxrwxrwx 1 root root 8 Feb 5 19:09 /usr/bin/gcc
>-> gcc-2.95
>oracle_at_syrinx:/u01/oracle/product/9iR2/rdbms/lib$ java -version
>java version "1.4.1"
>Java(TM) 2 Runtime Environment, Standard Edition (build
>Blackdown-1.4.1-01)
>Java HotSpot(TM) Client VM (build Blackdown-1.4.1-01, mixed mode)
>oracle_at_syrinx:/proc/sys/kernel$ more sh*
>::::::::::::::
>shmall
>::::::::::::::
>2097152
>::::::::::::::
>shmmax
>::::::::::::::
>134217728
>::::::::::::::
>shmmni
>::::::::::::::
>4096
>oracle_at_syrinx:/proc/sys/kernel$ uname -a
>Linux syrinx 2.4.24 #1 SMP Sat Feb 14 09:39:29 EST 2004 i686 unknown
>oracle_at_syrinx:/proc$ cat meminfo
> total: used: free: shared: buffers: cached:
>Mem: 926162944 653393920 272769024 0 50487296 400306176
>Swap: 1998733312 32534528 1966198784
>MemTotal: 904456 kB
>MemFree: 266376 kB
>MemShared: 0 kB
>Buffers: 49304 kB
>Cached: 386248 kB
>SwapCached: 4676 kB
>Active: 77028 kB
>Inactive: 482964 kB
>HighTotal: 0 kB
>HighFree: 0 kB
>LowTotal: 904456 kB
>LowFree: 266376 kB
>SwapTotal: 1951888 kB
>SwapFree: 1920116 kB
>
>
>My current plan is to try the 9.2.0.4 patch for linux. If that
>doesn't work, go to 10g for linux, if that doesn't work, then stay
>with my iddy biddy solaris box
>
>Thanks for helping,
>Michael
Received on Tue Feb 17 2004 - 21:59:50 CST