<br /> How About Oracle? – Debian Planet

Welcome to Debian Planet

News for Debian. Stuff that *really* matters

These are important Debian sites one should not be without!

  • Official Debian site
  • Package search
  • Mailing list archives
  • Bug reports
  • Debian on CD
  • Debian Weekly News — excellent news source!
  • Unofficial APT sources

  • Developers’ Corner
  • Community
    Need help? You’re not alone on this planet.

  • Planet Debian
  • debianHELP
    (User support site)

  • Debian International
  • DebianForum.de

  • DebianForum.dk

  • EsDebian

  • DebianWorld

  • Debian-Fr

  • MaximumDebian

  • DebianUsers

  • Debian-BR

  • DebianHOWTO

  • Russian Debian
  • Debian-JP
  • Debian Suisse
  • Contribute
    Got that latest or greatest scoop? Perhaps you have some important news for the Debian community? Submit a news item!

    Or perhaps you’ve written a rather ground breaking insight into some aspect of Debian and you feel compelled to share it with others? Knock up a longer editorial article and send it to the editors.

    General feedback should be sent to staff@debianplanet.org

    The place to get help on a Debian problem (after reading docs) or to just chat and chill is #debian on irc.oftc.net.

    Many of the Debian Planet staff live there so pop by and say hello.

    Debian Planet also has its own channel on the same network called #debianplanet.


    DP is sponsored by Xinit Systems.

    Domains paid for and hosted by uklinux.net.

    Buy your Debian merchandise at DebianShop.com.

    Support Debian through Bytemark Hosting. At least £7 will be given for each new account


    How About Oracle?
    Submitted by Anonymous on Wednesday, April 04, 2001 – 18:57
    I was surprised when the site search returned zero on my Oracle query.
    Anybody willing to start this topic: Oracle on Debian?
    Without the products like this one it’s not going anywhere…

    Control panel

    Comment viewing options:

    Select your prefered way to display the comments and click ‘Update settings’ to activate your changes.

    Subject: Re: How About Oracle?
    Author: Anonymous
    Date: Thursday, 2001/04/05 – 17:56
    Oracle install on Debian fall into three general problem areas, IMHO:
    1> glibc version,
    2> Memory Allocation, and
    3> The &*^%$# oracle install process.

    I haven’t tried the intelligent agents.

    re 1: Oracle 8.0.5 (which is old, but for testing runs great on 64M + 300M swap) needs some additional files that need to be alien’d (see this). I just installed 8.1.7 on potato with no additional files req’d.
    re 2: Before you get started, read the installation req’s! I’ve been able to get away with 96M + 400M swap for 8.1.7, but it is pretty slow. As long as you are just making test instances, you can ignore the RAM req’s as long as you have enough RAM+swap. Production instances – well, there you’d want it all. I’ve also found the default kernel for potato works just fine to get Oracle 8.0.5 or 8.1.7 working – tweeking those params will make it faster fer sher.
    re 3: Oracle requires a lot of manual set up – directories, system variables, etc. It can be very frustrating if you’ve never seen Oracle before. I’ve used both the Fort Wayne and ArsDigita instructions; both are quite good for the installation process.

    [ Please login, or register ]

    Subject: Why bother?
    Author: Anonymous
    Date: Thursday, 2001/04/05 – 09:42
    Others have touched on parts of this, but here’s the summary: If you can afford Oracle you can afford to pay for support and an admin who doesn’t care what distribution (or OS) you use.

    Debian and Oracle have very little shared problem-solving-space. Problems for which one is the solution will probably not want the other.

    On the other hand, IBM has been very Free Software friendly, and I hear their db2 product is pretty cool. I don’t know what their current official stance is, but I bet they’re working on swaying more in our direction.

    [ Please login, or register ]

    Subject: Re: How About Oracle?
    Author: camh
    Date: Thursday, 2001/04/05 – 05:25
    Good timing… Just this morning I just got Oracle 8.1.7 usefully working
    on my Debian sid (unstable) box. By “usefully” I mean with data in the
    database and querying that in my applications. I’ve actually had Oracle
    installed since 8.1.7 came out, but I just hadn’t done anything with
    it yet.

    Installing Oracle wasn’t terribly difficult – there are no rpms or debs,
    but Oracle has its own installer which did the job just fine.

    There is one gotcha for installing on Debian testing or unstable – the
    glibc version (>= 2.2) causes problems with the install because Oracle
    is linked against glibc 2.1. This is not a problem for most applications,
    but Oracle wants to re-link its binaries when it installs them, and that
    level of backward compatibility between 2.1 and 2.2 is not preserved.

    My solution to this was to install Oracle on a Debian potato box in
    /opt/oracle, tar that up and untar it on my sid box. This worked just
    fine. Dont forget /etc/oratab and /etc/oraInst.loc too.

    [ Please login, or register ]


    Subject: Oracle on Woody — single machine
    Author: Anonymous
    Date: Tuesday, 2001/07/10 – 12:50
    I managed to install Oracle w/o having to use two machines or a chrooted environment.

    – Install the jdk1.1 (green threads only… maybe native threads will work too, but beter safe than sorry) and the mawk packages (I think ldso is also necessary, and maybe others that I already had installed…)
    – Create users oracle:oinstall and dba:dba, create your ‘mount points’, tweak kernel, etc.. as per Oracle documentation.
    – Copy the contents of your CD into a temporary dir. I actually used a little “symlink forest” to save time.
    – Change THREADS_FLAG to “green” in runInstaller and set the path to the JDK in install/oparam.ini to /usr/lib/jdk1.1
    – Make a symbolic link /bin/awk pointing to /usr/bin/awk
    – Execute runInstaller and make the installation as usual, but do not create a database. You’ll get a few errors in the lines of “error in invoking target install (/relink) of make file xxxx”. Ignore them. The process will hang at the end. Locate a process using the jdk which comes with ORACLE and native threads. Kill -9 it.
    – Grab the patch you’ll find in (thanks to the RedHat user who published it… sorry I can’t remember his name), uncompress it in the $ORACLE_HOME directory and run ./setup_stubs.sh.
    – You’re essentially done, but you should take care that whenever you run a Java-based program, you’re actually using the JDK in /usr/bin/jdk1.1 and not the one installed by Oracle… otherwise they’ll hang and you’ll need to kill -9 them. This helped in accomplishing this:
    – Change the link $ORACLE_HOME/JRE to point to /usr/lib/jdk1.1 instead.
    – Add a link /usr/lib/jdk1.1/lib/rt.jar pointing to classes.zip.
    – Define an environment var ORACLE_OEM_JAVARUNTIME=/usr/lib/jdk1.1

    Finally, buy a bigger hard disk, double your RAM and upgrade your CPU… or go back to mySQL 🙂

    Good luck.

    [ Please login, or register ]


    Subject: Re: How About Oracle?
    Author: Anonymous
    Date: Thursday, 2001/04/05 – 15:24
    I installed Oracle on my Debian box at work a while back…I’m only using it as a client, but it is successfully installed. I found the following instructions pretty useful in getting around the glibc problem among others:


    [ Please login, or register ]

    Subject: Re: How About Oracle?
    Author: Anonymous
    Date: Wednesday, 2001/04/04 – 22:44
    Simple… Oracle is not free, i’m working on becoming an Oracle DBA and was able to get a free (as in beer) copy of the personal edition for windows and linux, but only because i registered for it and promised only to use it for private non-comercial puposes. Until Oracle can be freely distributed at will, Oracle could be a candidate for package maintenance. At least that’s my theory. If you want an Oracle package, you can beg and plead for oracle to offer it as a debian package but for now you can get it as an ISO to be burnt on the CD for free.
    [ Please login, or register ]


    Subject: Re: How About Oracle?
    Author: Caesar
    Date: Tuesday, 2001/07/31 – 20:51
    It is possible to create a wrapper deb for the tar from Oracle – using the silent configuration, via the response files (no gui).

    Put the (as an example) linux81701ee.tar into /tmp, create defaults, but ask for overrides… even create a starting db, management tools… etc.

    The Oracle license should be satisfied with this route.

    Of course, each Oracle installation is subjective – but given the power of dpkg, it should not (in theory) be really not that tough.

    SuSE, btw, has an RPM for Oracle – they effectively tar’d up the $ORACLE_BASE directory and installed – no options.

    Hum… I’ve been meaning to find a personal path to contribute to Debian… oracle-817ee*.deb anyone?

    [ Please login, or register ]


    Subject: Re: How About Oracle?
    Author: tpabka
    Date: Thursday, 2001/04/05 – 02:07
    Oracle Database Server is free (as in beer) for non-comercial use, even so-called “enterprise edition”, as well as Oracle iAS and a few other tools. You can download it for Linux, Solaris and Windows NT Server from technet.oracle.com. And I have great doubt that it will ever be GPLed as well as packaged – simply because the install process is somewhat complicated and a DBA *must* figure out how to install.
    So try harder in becoming one. 😉
    [ Please login, or register ]

    Subject: Re: How About Oracle?
    Author: Shadowhawk
    Date: Wednesday, 2001/04/04 – 21:47
    Making sure Oracle works is only important if we wish Debian to be used by commercial entities. I think this is not a necessarily bad thing. In fact, there were projects I thought we could have used a reliable Linux distribution with Oracle (it would have made my life much easier). However, my company doesn’t support Linux (at least in my area) because they believe that Linux could support Oracle or any other mission critical application.

    To change that perception, you need to show that Oracle can work on Linux as a mission critical server. Suggestions on how?

    [ Please login, or register ]

    Subject: Re: How About Oracle?
    Author: robster
    Date: Wednesday, 2001/04/04 – 19:27
    There are plenty of GPL relational databases out there (PostgeSQL + MySQL). However as Oracle license prohibits the modification of the software I *assume* this means you can’t alien an RPM to a deb. Furthermore as many of Debian’s users are devoted to the DFSG (or is this just me?) it would be against my principles personally to encourage the use of proprietary software when *free* equivalents exists.My tuppence’s worth.
    [ Please login, or register ]


    Subject: Re: How About Oracle?
    Author: tpabka
    Date: Wednesday, 2001/04/04 – 21:01
    Oracle comes as neither .rpm nor .deb. It has it’s own installation program. I am a supporter of DFSG but this primarily concerns distributing packages with the operating system, which wouldn’t be possible with Oracle. Also I don’t agree when people are trying to “convince” me not to install unpackaged software. I’m doing Linux not because I support it or I support Debian. I’m doing it because it provides me with very useful tool that I can use any way I want.
    On the other hand installing Oracle on Debian doesn’t come against DFSG im my opinion. In general, for people who do want to install it, it’s not much different than to install on RH. Oracle software is free for non-commercial use.
    I also think that testing commercial software on Debian is important in sense that as enterprises look for to run such software and Oracle is an application that is of big interest to companies – tell them it will run on a cluster of a few 32 CPUs boxes under Debian or a clone and they will be very happy. Thus, this would provide for commercial use of Debian derived distros, such as Progeny. I don’t think Debian itself should be commercialized because it’s a project to make this wonderfull *tool*, not to sell it (It’s almost proven now that one cannot make money on Linux or GPLed software – only on services). I personally have a lot respect for what you [Debian developers] do. Keep this project going! 🙂 Debian is the best distro I’ve ever dealt with, and I’ve dealt with almost every of them.

    Must admit, I’m an Oracle developer and my goal is to run it on Debian, I just didn’t get a chance to install it yet. I’m comparatively new to Debian and I want to setup the system prior to installing Oracle. Will be installing it in a few weeks, not expecting any complications.

    [ Please login, or register ]


    Subject: Re: How About Oracle?
    Author: Anonymous
    Date: Wednesday, 2001/04/04 – 22:58
    Please keep us posted. I’ll be setting up a Linux box at work for development shortly, and I’d love to use Debian, but alas, seeing that products such as JRun and Oracle (and even Sun’s JDK) only account for RPMs (or custom installers), I’m afraid I’ll have to use RedHat.
    I’d like to be able to apt-get any of those packages, instead of using custom installers or alien.
    [ Please login, or register ]


    Subject: Re: How About Oracle?
    Author: Anonymous
    Date: Thursday, 2001/04/05 – 03:16
    Apart from RPM or DEB, everyone can install the Sun JDK with the tarball format (tar.gz). It’s fine for me to run the JSP and Serlvet on my company debian linux server.
    [ Please login, or register ]


    Subject: IBM JDK
    Author: Anonymous
    Date: Friday, 2001/04/06 – 02:53
    I installed the IBM JDK without a problem. The only problem I’ve run into is some packages that need a JDK installed see that I haven’t installed the IBM JDK package (which really doesn’t install the JDK, it just provides a wrapper for the installation, but its for their older version of JDK), therefore the packages won’t install unless you force them to.
    [ Please login, or register ]


    Subject: Re: IBM JDK
    Author: Anonymous
    Date: Monday, 2001/04/09 – 01:00
    That’s what “equivs” is for! Get the “equivs” package and read check out the examples under /usr/share/doc/equivs/examples
    [ Please login, or register ]

    Search articles

    ·News (282)
    ·Features (5)
    ·Site News (11)
    ·HOWTOs (50)
    ·Tips (11)
    ·Opinion (21)
    ·Q & A (21)
    ·Sponsorship (1)
    ·Press Releases

    Log in


    Remember me

    » Register
    » New password

    Debian Security Announcements
    DSA-527 pavuk
    DSA-526 webmin
    DSA-525 apache
    DSA-524 rlpr
    DSA-523 www-sql
    DSA-522 super
    DSA-521 sup
    DSA-520 krb5
    DSA-519 cvs
    DSA-518 kdelibs

    Planet Debian
    Adam Kessel: Who is going to stand up?
    Daniel Silverstone: Order begets order
    Manoj Srivastava: Beyond crumbling consensus – communication in Debian
    Ross Burton: Nearly Time!
    James Morrison: Checking my junk mail folder …
    Daniel Stone: [life] work work work
    Lars Wirzenius: Review: Romeo + Juliet
    Manoj Srivastava: Debian and tyranny of the masses
    Julien Danjou: apt-build: babel tower
    MJ Ray: Oddments

    Latest poll: How often would you like to see a Debian release?
    3 months
    6 months
    9 months
    1 year
    1.5 years
    2 years
    3 years

    Total votes: 615
    8 comments · older polls

    home · archives · news feeds · about · polls · search · sections · user account

    Powered by the amazing Drupal

    Debian Planet is not officially related to the Debian Project.
    Debian and the Debian logo are trademarks of Software in the Public Interest, Inc.