Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Installing Oracle10g on Fedora 4 on a home PC 1

Status
Not open for further replies.

CDV405

IS-IT--Management
Joined
Aug 2, 2005
Messages
1
Location
US
I'm getting the ubiquitous "java.lang.UnsatisfiedLinkError" when running the Oracle 10g runInstaller program. The error ends with "...libawt.so: cannot restore segment prot after reloc: Permission denied". The installation aborts at that point.

I'm a novice trying to teach myself Linux and Oracle, following Oracle's installation guide, and have a low level of expertise at this point.
 
Are you running it as root? Also, and I'm making a guess based on the protection error, do you have SELinux enabled? I'd try disabling it and see if you get the same errors. You can probably re-enable it after you've finished your installation.

Java sucks, and just when you think you've seen all its suckage, it suprises you with new and different ways to suck.
 
LOL, nice sweeping generalisation there eric without actually knowing the real cause of the issue - try to get the facts before making erroneous claims eh :P

The error is not caused by java, but by the OS restricting access of a process to libraries.
It is actually caused by (as eric hints at) the SELinux programme in FC4.

If you typed :

setenforce 0

this disables it termporarily, and allows the java process to access the libraries it requires.

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Actually, I thought I did a pretty good job of diagnosing the problem, clearly I was right about selinux interfering with Java. You just acknowledged it.

But that doesn't change the fact: Java sucks. Big time.
 
[rofl]
Care to expand on that point eric or are you happy with unquantified sweeping generalizations ?!

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
It's hard to install, configure and maintain, the VMs are bloated and riduculously resource hungry, the language is overly verbose to program in, most applications almost impossibly convoluted in interdepencies interdependecies among modules and the entire system is incredibly tedious to use.

And before you ask: yes, I have programmed extensively in it. Two and a half years developing and maintaining J2EE applications for a major transport provider using BEA and then JBoss.

With almost 2000 posts in the Java forums, you clearly have a good understanding of Java, and probably like it. I think it's a poor implementation of a mediocre language and has formed the worst basis of bad code since Larry Wall excreted Perl.

But that's just my opinion. YMMV :-)
 
I don't think Java is hard to install at all - unzip it, and add two environment variables (if not using the installer). I don't call that hard - compared to most Linux packages which require a knowledge of make, gcc etc.

Yes, the JVM can be resource hungry - but its doing quite a lot behind the scenes - and no, its not slow. (Yes Swing is carp and slow, but Swing is not the only package in Java).

"Convoluted interdepencies" ... like what exactly ? And any worse than on any OS ??? Tried moving from GCC 3.* to GCC 4.0 lately ? I can tell you its a lot easier moving Java versions than it is GCC versions !!!

J2EE is a bunch of over-hyped over-written over-wrapped carp - I agree - but much of J2EE is not Java itself, its Sun and other Open-Souce people just overengineering sockets. But then again - its not like its just Sun is it ? WinAPI, .NET, MC++ anyone ?

I've written a lot of code in Java admittedly, but am no means a "die-hard" - its got its limitations, but so has everything. Its still a great language in the long run - ts flexible, extensible, scales well (as long as you have lots of [what is now cheap] RAM), and is a lot easier to write than C/C++. Plus its shed loads quicker than your common scripting langauges (and no, PHP is not a viable replacement for J2EE web based tech in a large corporate e-shop !).


--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top