Non-professional Oracle wrestling

Null Pointer

Chris Duckett

Chris Duckett dispenses with "trends", "magic quadrants" and other salesbot speak to investigate what is really the foundation of IT: source code.

Related gallery

CeBIT 2012 opens: photos

CeBIT 2012 opens: photos

The latest and greatest version of the Oracle database, 11g Release 2, was made available recently and as the resident technical person at ZDNet.com.au, it fell to me to take it for a spin. Little did I realise the hell that I had just walked into.

I will admit that two of the following mistakes are my fault entirely and could easily be fixed, but the third and final one is enough to drive anyone mad.

Mistake #1: choosing an "Enterprise Linux" as a test platform


The Asus server that was about to cause endless stress (see next mistake) came with a copy of Windows 2008 R2 on it. That's a bit of a problem since Oracle 11g Release 2 is only currently available for Linux.

No biggie, I'll just put Ubuntu server on there and we can live happily ever after. Wrong! The database's operating system requirements demand Asianux, SUSE Enterprise, Red Hat Enterprise, or Oracle Enterprise Linux and an X server. The headless Ubuntu server would not be any good in this trial.

Since I was testing an Oracle database, I figured that I'd take Oracle Enterprise Linux (OEL) 5.0 for a spin as well. Bad move. The catch with OEL is that you need a paid key to get updates from the online repositories, so you are stuck with the packages on the install DVD as a test. If any of the packages are buggy, you are stuck with them.

On the plus side, OEL had far less forms and registration loops than the other Oracle database-supported distributions, and clearly marked a single DVD download. I didn't want to download 8GB of Red Hat or SUSE only to find out that the second DVD is optional or more likely useless.

But in the interest of remaining on a supported OS, OEL was the best of a bad litter. I'm sure that CentOS or Fedora would work, but that doesn't get much love in the Oracle forums, as I saw people were told to get a supported OS as their first order of business.

Mistake #2: combining Linux and AHCI RAID


Since I am not a sysadmin everyday, I forgot about the whacky world of motherboard bus controllers and the varying degree of Linux support. Suffice to say that for the foreseeable future, I will not make this mistake again.

Installing Linux is not an activity I recommend with the Asus RS700-E6. Despite AHCI, RAID or legacy IDE modes being available, none were sufficient to install the OS and have it boot correctly without a significant amount of GRUB manipulation.

Legacy IDE mode was initially a non-event as it was dog slow, until an "enhanced" option was noticed in the BIOS and returned the drives to 21st century speeds.

But my favourite solution to this horrid situation was to use the Lenovo server with a proper hardware RAID card inside that worked with no dramas (hardware-wise at least).

Mistake #3: attempting to install Oracle

To the people that install, configure and maintain Oracle databases day in and day out: "More power to you!" I understand why it is that you are so well paid because if I had an option at this point, I would always have someone install, configure and create the database environment the way I wanted. I'd make the money back in the 10 years I would have lost from my life and save on dental fees I would have needed to replace my ground-away teeth.

The process for installing Oracle is arcane and should be better for a company that claims to be the leader in databases. Why do I have to go to the trouble of creating users, groups and environment variables by hand when other database and enterprise applications have been doing this for years? The answer escapes me; I'm hoping that there is a very good reason for this.

Over the course of wrestling with various instances of the Oracle install process I've had many things fail — so at least there is variety amongst the copious levels of frustration on offer — Java runtime crashes, kernel parameter errors due to not reading the instructions closely enough, and services failing during the configuration stage.

At least the database software itself always gets installed properly; it's the configuration of the listeners and the database itself that gives me grief. The configuration can be done manually, but wading through the documentation and ecma errors is a nightmare; not to mention that invoking netca causes the Java VM to crash hard.

It just shouldn't happen though. I'm not a 24/7 Oracle person, I'm a techie attempting to try the software out. If I was tasked with evaluating Oracle to run our next project on, I'd have to report back: "I'm sure it must be great when it is up and running, but once it is, pray to your deity of choice that it doesn't fall over or we'll have to get that expensive Oracle professional back."

So far it has taken days and I am yet to have a 100 per cent faultless installation experience, and I know that I could have MySQL, PostgreSQL or MS SQL up and running in hours by comparison.

For the time being, I am done with these vain attempts to get Oracle up and working. Perhaps I'll return to it when Windows' build appears — I can't say I'm looking forward to the next time our paths cross though.

Talkback

Add your opinion

In order to post a comment, you need to be registered. (Sign In or register below)

Post your comment

Terms of Service - As a ZDNet registrant, and by using this service, you indicate that you agree to our Terms and Conditions and have read and understand our Privacy Policy.

ZDNet Australia Live

RT @MADinMelbourne: roxon "will enable more families to access credit" @MLolderandwiser: Privacy Act amendments http://t.co/Mv4c7PC2 via @zdnetaustralia

NBN users opt for 100Mbps - ZDNet Australia http://t.co/fLfHMzPn #australia #technews

RT @konradski: Whaddayaknow - turns out Wi-Fi CAN interfere with a plane's navigation systems http://t.co/ospQCU2S

This story has been voted 5 times in the last 24 hours!

1 hour ago, NBN's Tassie upgrade to cost $1.3 million

Sorry no deal Cinders, I'd rather send my money to someone and watch them desperately try to stop the NBN as this has much better enterta...

1 hour ago by Hubert Cumberdale on NBN users opt for 100Mbps

What else can you expect from a Dodo customer?

2 hours ago by Hubert Cumberdale on NBN users opt for 100Mbps

NBN users opt for 100Mbps - Communications - News - ZDNet Australia: NBN users opt for 100Mbps - Communications ... http://t.co/btB9gKWg

NBN users opt for 100Mbps http://t.co/xKqEb4bE via @zdnetaustralia

Biometric bugs too dangerous for public? http://t.co/8JLz5tdF via @zdnetaustralia

Oh please dont be unkind, I gotta have some fan's. btw I agree I dont set the standard, but who does I wonder?

4 hours ago by Doubt on NBN users opt for 100Mbps

You agree but give him thumbs down... I think you'd better take the medication before one of your alter ego's Fred/Frank/Frergers appear...

4 hours ago by Beta on NBN users opt for 100Mbps

Exploring: http://t.co/rT7RPZLA

+1

4 hours ago by Beta on NBN users opt for 100Mbps

War talk dominates #AusCERT 2012 - http://t.co/SlBpMj0c - #security #cyber

So we agree it was a stupid idea and even stupider comment then ;-)

4 hours ago by Beta on NBN users opt for 100Mbps

Not you obviously ;-)

And stop giving yourself thumbs up FFS.

4 hours ago by Beta on NBN users opt for 100Mbps

Ok Beta, understand now, just one point who sets the standard?

4 hours ago by Doubt on NBN users opt for 100Mbps

Oh no Beta you misunderstand me. I like my waterfront home and deep water jetty, it's those "other" people who can move to Willunga.

4 hours ago by Doubt on NBN users opt for 100Mbps

I agree with you Magnus, but really most people like living on the coastal fringe.

4 hours ago by Doubt on NBN users opt for 100Mbps

Travel Tech Q&A: Skyscanner's Ewan Gray http://t.co/vYexrDwu #ipad

Exploring: http://t.co/YNVjdrct

Exploring: Travel Tech Q and A: Skyscanner's Ewan Gray: Ewan Gray, Skyscanner's director for Asia ... http://t.co/bNLCyobv #ICTChallenge

Exploring: Travel Tech Q and A: Skyscanner's Ewan Gray: Ewan Gray, Skyscanner's director for Asia ... http://t.co/HEPuJgyt #ICTChallenge

#NewSouthWales ditches registration stickers 4 light #vehicles in favour of #technology http://t.co/xX5N0Rp9

Another use is city based top surgeons using 8K resolution monitors to provide real-time assistance to country surgeons and doctors to op...

5 hours ago by Magnus on NBN users opt for 100Mbps

In terms of capacity, fibre is basically future proof. Never mind 100Mbps or even 1Gbps. Computer scientists have already achieved 100 gi...

5 hours ago by Magnus on NBN users opt for 100Mbps

What I like about Mike Quigley is that he is making it happen, despite all the bull**t barriers being put in front of him by Coalition po...

5 hours ago by Magnus on NBN users opt for 100Mbps

Anonymous hacks Reliance's Internet filtering server - ZDNet (blog) http://t.co/uObU1HBP http://t.co/0UBXxwX4

Which Windows will make for a better tablet? http://t.co/4mAHg850

Gonna be crowded when TA switches of the inter webby thingy and everyone moves there, just as you suggested though.

7 hours ago by Beta on NBN users opt for 100Mbps

Yes "without secure internet identification methods" I cannot see a future for online voting be it a referendum or selecting a Gov (at ...

7 hours ago by Taskmanager on A farewell to democracy: Kaspersky

Oh of course you would would want something in return. hmmm I see, well maybe my best wishes for and your family. btw, Western Union is ...

7 hours ago by Doubt on NBN users opt for 100Mbps

Well Willunga looks like a nice place to live, close to wine growing areas, a golf club. Houses are probably reasonably priced. Very nice...

7 hours ago by Doubt on NBN users opt for 100Mbps

Listening to @stilgherrian cover AusCERT and cyberwar, http://t.co/6lGUEz8H

http://edfarmaciaes.com/#0500 generico viagra barcelona EdFarmaciaEs sildenafil y sulfatos

8 hours ago by buy priligy cheap on Top alternatives to Microsoft Outlook

Travel Tech Q and A: Skyscanner's Ewan Gray http://t.co/VN5tGJzC

#Westpac Board goes paperless with #Ipads with #Tabula #App http://t.co/duxuj2fd #Cybersecurity #Bank

Microsoft is serious about open source??? http://t.co/mqQGgta7

If I give you money what do I get in return? Do you know how commerce works or are you just a filthy poor that wants my monies for nothin...

8 hours ago by Hubert Cumberdale on NBN users opt for 100Mbps

@joedamato just try varying caps randomly. Maybe they do this http://t.co/1FN5FwYv

NSW outlines datacentre migration plans - Hardware - News - ZDNet Australia http://t.co/OQfUl0D1

MikeSkoey - thanks for your comments. Rather than hang my head in shame, I am proud of my achievements, particularly of being able to ru...

8 hours ago by Paul_Berryman on 30 servers to 7: BUPA redoes virtualisation

"on the new fast Internets everyone wants the fast plan" #orly #nareally #yarly http://t.co/kvfCa84A

Chrome overtakes IE: does it matter? http://t.co/e4SILk8a

A ZDNet study showed that British Facebook users are drunk in 76 percent of their photos.

The HDMI cable ripoff and why retail is really dying http://t.co/eFT7zEW7

Travel Tech Q and A: Skyscanner's Ewan Gray http://t.co/IUysbyKf

Travel Tech Q and A: Skyscanner's Ewan Gray http://t.co/V7vL5QB9

ZDNet reports Microsoft launches its own social service http://t.co/VJS5BkwF

by http://t.co/vmlLt4bh: Travel Tech Q and A: Skyscanner's Ewan Gray: Ewan Gray, Skyscanner's director for Asia P... http://t.co/4bfDRXo4

Travel Tech Q and A: Skyscanner's Ewan Gray http://t.co/CtNlVWN7

Travel Tech Q and A: Skyscanner's Ewan Gray: Ewan Gray, Skyscanner's director for Asia Pacific, shares some of h... http://t.co/ZxjpmqiM

Microsoft is serious about open source: 10 proof points http://t.co/iv2ji74q

Accelerator targets 'clean-tech' start-ups http://t.co/p9VPCzCa

RT @vexnews: NBN users opt for highest speed plan http://t.co/8eUvvVvQ

OutsourcingLive: #Outsourcing is still on the rise http://t.co/5U6R431A ^NK http://t.co/B8HtVvAD

This story has been voted 12000 times in the last 24 hours!

2 days ago, Is Bill Gates a great leader?

This story has been voted 10 times in the last 24 hours!

3 days ago, CeBIT 2012 opens: photos

This story has been voted 15 times in the last 24 hours!

3 days ago, Lenovo ThinkPad 3G tablet (32GB)

Facebook Activity

Keep up with ZDNet Australia

ZDNet Events Calendar

ZDNet Events Calendar